Packages

svgo

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

Upgrading svgo From 3.0.3 to 3.0.4

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Security

Release by release

  1. 3.0.4

    18 Nov 20235 fixes
    • Fixed

      convertPathData, ignore instances where transform applied via style tag.

    • Fixed

      inlineStyles, inline properties with the same specificity in the order that they appear in the stylesheet.

    • Fixed

      inlineStyles, don't remove class or id from node if it's traversed in another CSS selector.

    • Fixed

      Don't trim pre elements in foreignObject.

    • Fixed

      Don't crash when encountering @-webkit-keyframes in <style> node.

4 other lines we could not sort, mostly version bumps
  • removeXMLNS, no longer removes the XLink (xmlns:xlink) namespace. If that is desirable, you should enable the new removeXlink plugin, which does more while being safer.

    3.0.4
  • convertPathData, convert to z command if going back to initial position, or drop z if redundant.

    3.0.4
  • inlineStyles, when inlining a CSS property that's already declared in a presentation attribute of the node, drop the attribute.

    3.0.4
  • removeXlink, new plugin that removes the XLink (xmlns:xlink) namespace and migrates from XLink attributes to the SVG 2 equivalent. Disabled by default.

    3.0.4

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.