Packages

@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

Other targets from 2.0.0Newest 2.x, Latest2.2.1
  1. 2.0.0yours
  2. 2.1.0target

Before you upgrade

Tick each one off as you go
  • Breaking2.1.0

Security

  • Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where svgo: false would return untouched SVGs. The sanitizer now removes SMIL attribute injection, foreign content (<foreignObject>, <iframe>, etc.), and unsafe URIs across all elements

    2.1.0

Release by release

  1. 2.1.0

    Security fix28 Jul 202630 new · 17 fixes
    • Security

      Stronger SVG security: SVG sanitization now always runs, regardless of optimization settings. This fixes a potential XSS vector where svgo: false would 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, and linear

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.