Description
Installing or updating appwrite-cli globally produces deprecation warnings for phin@2.9.3 and phin@3.7.1:
npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated phin@3.7.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Affected dependency chain
appwrite-cli@22.0.0
└─ terminal-image@3.1.1
└─ render-gif@2.0.4
└─ jimp@0.14.0
└─ @jimp/custom@0.14.0
└─ @jimp/core@0.14.0
├─ load-bmfont@1.4.2
│ └─ phin@3.7.1 (deprecated)
└─ phin@2.9.3 (deprecated)
The root cause is jimp@0.14.0, which is a very old version (initial 0.14 was released in 2020). Modern jimp (1.x) no longer depends on phin, and terminal-image@4.x already migrated to it.
Suggested fix
- Bump
terminal-image to v4+, which pulls in modern jimp and drops phin entirely.
- Or, if
terminal-image is no longer needed, consider removing it.
Environment
- OS: macOS (Apple Silicon)
- Node: v22.x
- npm: 11.16.0
- appwrite-cli: 22.0.0 (latest on npm)
Description
Installing or updating
appwrite-cliglobally produces deprecation warnings forphin@2.9.3andphin@3.7.1:Affected dependency chain
The root cause is
jimp@0.14.0, which is a very old version (initial 0.14 was released in 2020). Modernjimp(1.x) no longer depends onphin, andterminal-image@4.xalready migrated to it.Suggested fix
terminal-imageto v4+, which pulls in modernjimpand dropsphinentirely.terminal-imageis no longer needed, consider removing it.Environment