@nuxt/image
2.2.1 · 30 Oct 2026MIT817.3k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxt/image From 2.0.0 to 2.1.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 30
- new
- 17
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.1.0
Security
- 2.1.0
Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where
svgo: falsewould return untouched SVGs. The sanitizer now removes SMIL attribute injection, foreign content (<foreignObject>,<iframe>, etc.), and unsafe URIs across all elements
Release by release
- Security
Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where
svgo: falsewould return untouched SVGs. The sanitizer now removes SMIL attribute injection, foreign content (<foreignObject>,<iframe>, etc.), and unsafe URIs across all elements - Breaking
Remove deprecated github silent config
- New
Smaller bundles: IPX is now ESM-only with reduced dependency size
- New
New image modifiers:
opacity,brightness,saturation,hue,lightness,autoorient,dilate,erode,clahe, andlinear
- Security
42 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.