svgo
4.1.0 · 24 Aug 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.7.2 is the newest release of 0.6.x.
npm marks 0.6.4 as deprecated: This SVGO version is no longer supported. Upgrade to v2.x.x.
In short
2 new1 fixed1 changed
Release note
Fixed bug in “convertStyleToAttrs” plugin with converting styling properties to non-existent attributes (which are normally removed later by
removeUnknownsAndDefaults).Added
--indentoption to style pretty-printed SVG. (e.g.--indent 2)Added
currentColorparam toconvertColorsplugin for converting values likefillandstroketocurrentColorBumped CSSO to the current version and used its new shiny API (thanks to @lahmatiy).
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.