Packages

svgo

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

Your version

3.2.0

2 Jan 2024Where it was published

3.3.5 is the newest release of 3.x.

In short

3 faster2 fixed3 changed

Security

4 advisories affect 3.2.0; 3.3.5 fixes them

Release note

What's Changed

Bug Fixes

SVG Optimization

  • convertPathData, improves closing paths and how we determine if to use absolute or relative commands.

  • convertPathData, round arc or convert to lines based on the sagitta, can be disabled by setting smartArcRounding to false.

  • convertPathData, convert cubic Bézier curves to quadratic Bézier curves where possible, can be disabled by setting convertToQ to false.

Performance

Metrics

Before and after using vectors from various sources, with the default preset of each respective version:

SVGOriginalv3.1.0v3.2.0Delta
Arch Linux Logo9.529 KiB4.162 KiB4.115 KiB⬇️ 0.047 KiB
Blobs50.45 KiB42.949 KiB42.623 KiB⬇️ 0.326 KiB
Isometric Madness869.034 KiB550.153 KiB540.582 KiB⬇️ 9.571 KiB
tldr-pages Banner2.071 KiB1.07 KiB1.07 KiB
Wikipedia Logo161.551 KiB116 KiB111.668 KiB⬇️ 4.332 KiB

Before and after of the browser bundle of each respective version:

v3.1.0v3.2.0Delta
svgo.browser.js660.9 kB910.9 kB⬆️ 250 kB

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.