Packages

svgo

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

Your version

1.2.0

24 Feb 2019Where it was published

1.3.2 is the newest release of 1.x.

npm marks 1.2.0 as deprecated: This SVGO version is no longer supported. Upgrade to v2.x.x.

In short

6 new1 fixed2 changed

Security

3 advisories affect 1.2.0; 2.8.4 fixes them

Release note

Some goodness from pull-requests.

  • Fixed extra blank lines when processing many files

  • Added --recursive option to process folders recursevely with option -f

  • Added removeAttributesBySelector plugin to remove elements matching a css selector

  • Added removeOffCanvasPaths plugin to remove elements outside of the viewbox

  • removeAttrs plugin: added preserveCurrentColor color

  • Added reusePaths plugin to replace duplicated elements with link

  • Added support of comma-separated plugins list in --disable and --enable options

  • Added option to preserve IDs based on prefix in cleanupIDs plugin

  • Replaced colors dependency with chalk

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.