Skip to content

Deprecated transitive: phin@{2,3} via jimp@0.14 in terminal-image #324

Description

@QutritSystems

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions