Context
This package depends on npm image-size. Upstream is archived and the latest release (2.0.2) remains affected by:
npm audit fix will not switch package names automatically.
Maintained drop-in
Community MIT fork with the same public API as image-size@2.0.2:
Not affiliated with the original image-size maintainer — honest community fork only.
Migration options
A — Direct dependency
npm install image-size-next
- import { imageSize } from 'image-size'
+ import { imageSize } from 'image-size-next'
B — Force transitive resolution (npm 8.3+)
{
"overrides": {
"image-size": "npm:image-size-next@2.1.0"
}
}
Ask
Happy to open a PR for tinyjs-cli if useful. Thanks for maintaining open source.
Context
This package depends on npm
image-size. Upstream is archived and the latest release (2.0.2) remains affected by:npm audit fixwill not switch package names automatically.Maintained drop-in
Community MIT fork with the same public API as
image-size@2.0.2:image-size-next@2.1.0)Not affiliated with the original
image-sizemaintainer — honest community fork only.Migration options
A — Direct dependency
B — Force transitive resolution (npm 8.3+)
{ "overrides": { "image-size": "npm:image-size-next@2.1.0" } }Ask
Happy to open a PR for
tinyjs-cliif useful. Thanks for maintaining open source.