Packages

svgo

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

Upgrading svgo From 2.0.3 to 2.1.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.3Newest 2.x, Clears its 3 advisories2.8.4Latest4.1.0
  1. 2.0.3yours
  2. 2.1.0target
0
changes to make
0
advisories fixed
0
new
3
fixes

Security

Release by release

  1. 2.1.0

    23 Feb 20213 fixes
    • Fixed

      Fixed empty <svg /> with enabled cleanupIDs plugin (9b97e06)

    • Fixed

      Fixed removing xml:space="preserve" (776ec1e)

    • Fixed

      Fixed parsing xml entities (#1371 #200)

7 other lines we could not sort, mostly version bumps
  • We forked sax parser to fix issues inaccessible from public api (github.com/svg/sax)

    2.1.0
  • We added regression tests which already caught 4 bugs (WIP)

    2.1.0
  • Fail when file specified in --config flag does not exist or json string is specified (a855b40)

    2.1.0
  • Disabled convertStyleToAttrs by default (#1365)

    2.1.0
  • Preserve whitespace in elements containing text (#1220)

    2.1.0
  • Preserve whitespace in nested textual elements (9de471a)

    2.1.0
  • Keep empty <g> when filter attribute is specified (c1d5f0f)

    2.1.0

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.