appwrite / appwrite/sdk-for-cli

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

Open
#324 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
100
Forks
45
Avg merge
1d 1h
Merged PRs (30d)
5

Description

## 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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.