Skip to content

Security: vulnerable dependency image-size (CVE-2025-71329/71330) — maintained drop-in available #330006

Description

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 @theia/vscode-builtin-emmet if useful. Thanks for maintaining open source.

Metadata

Metadata

Labels

debtCode quality issuesemmetEmmet related issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions