Packages

svgo

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

Your version

1.1.0

16 Sep 2018Where it was published

1.3.2 is the newest release of 1.x.

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

In short

5 new14 fixed4 changed

Security

3 advisories affect 1.1.0; 2.8.4 fixes them

Release note

  • Fixed collapseGroups plugin removing property with a child having inherit value.

  • version attribute value is not more being rounded.

  • Fixed jsAPI clone method with respect to the introduced CSS classes.

  • Fixed scaling strokes with vector-effect="non-scaling-stroke"

  • Fixed passing properties from groups in collapseGroups plugin if child have a filter

  • Fixed arc path commands parsing without separators after flags, effectively producing a JS error.

  • Fixed viewBox separators parsing.

  • Fixed removeNonInheritableGroupAttrs plugin to work as intended.

  • Fixed removing path segments without length in presence of stroke-linecap.

  • Fixed removeUnknownsAndDefaults plugin removing attributes from elements with id.

  • Fixed converting to large arcs from nearly straight lines curves.

  • Fixed collapseGroups plugin affecting <switch> and its subgroups.

  • Fixed convertTransform plugin converting to rotate() with wrong sign in some case.

  • Fixed cleanupListOfValues plugin not preserving non-numeric values.

  • Fixed !important being passed to attributes in convertStyleToAttrs plugin.

  • Added option keepImportant to convertStyleToAttrs plugin to preserve styles with !important.

  • removeHiddenElems plugin now also removes elements with visibility="hidden" attribute

  • Added forceAbsolutePath option to convertPathData plugin to always use absolute coordinates

  • Added keepRoleAttr for removeUnknownsAndDefaults plugin to preserve role- attributes

  • Added xmlns order option in sortAttrs plugin

  • Added an option to prefixIds plugin to pass prefix as false or as a function that returns false

  • prefixIds plugin now adds prefix to every class

  • Updated and improved docs a bit (multiple authors).

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.