Packages

svgo

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

Upgrading svgo From 2.1.0 to 2.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Security

Release by release

  1. 2.2.0

    1 Mar 20216 fixes
    • Fixed

      Fixed optimisation when stroke-linecap=round is specified (7901588)

    • Fixed

      Fixed removing hidden elements when descendant enables visibility (d06747a)

    • Fixed

      Fixed removing elements with zero opacity inside clipPath (9d67586)

    • Fixed

      Fixed removing empty mask which can hide elements by id (d14315b)

    • Fixed

      Fixed removing stroke-width when marker-end is specified (3639156)

    • Fixed

      Fixed <tspan> inside <a> (091172a)

2 other lines we could not sort, mostly version bumps
  • Prevented transform applying when inline style is present (79dbb4b)

    2.2.0
  • Apply transform to stroke-dasharray and stroke-dashoffset (dd37fcf)

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