Packages

svgo

4.1.0 · 24 Aug 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed

Upgrading svgo From 3.0.2 to 3.0.3

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.0.2Newest 3.x, Clears its 4 advisories3.3.5Latest4.1.0
  1. 3.0.2yours
  2. 3.0.3target
0
changes to make
0
advisories fixed
1
new
13
fixes

Security

Release by release

  1. 3.0.3

    8 Nov 20231 new · 13 fixes
    • New

      Various optimizations for path handling.

    • Fixed

      removeRasterImages, removes inline JPEG images.

    • Fixed

      cleanupIds, correctly handle when 2 IDs have been referenced in a single attribute.

    • Fixed

      cleanupIds, correctly handle when we've encountered a reference to a node that doesn't exist.

5 other lines we could not sort, mostly version bumps
  • removeComments, introduces preservePatterns parameter. Preserves legal comments by default, same as the previous behavior, but can now be overridden.

    3.0.3
  • removeDesc, set the removeAny parameter to false by default for accessibility.

    3.0.3
  • convertTransform, omit spaces between functions.

    3.0.3
  • removeScriptElement, removes callbacks (on*) and href attributes with javascript: URIs.

    3.0.3
  • convertOneStopGradients, new plugin to convert gradients with one stop to a solid color, disabled by default.

    3.0.3

3 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.