svgo
4.1.0 · 24 Aug 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed
Upgrading svgo From 2.2.2 to 2.3.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
4 advisories still affect 2.3.0
- SVGO removeScripts plugin leaves some executable scripts intacthigh · GHSA-2p49-hgcm-8545
- SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elementsmoderate · GHSA-4vpr-x523-8j87
- SVGO: removeScripts allows executable links through namespace and control-character bypasseshigh · GHSA-w27v-7q3p-w38r
- SVGO DoS through entity expansion in DOCTYPE (Billion Laughs)high · GHSA-xpqw-6gx7-v673
Upgrading to 2.8.4 clears them.
Release by release
8 other lines we could not sort, mostly version bumps
- 2.3.0
The new plugin is added for merging style elements into one. See #1381
- 2.3.0
CLI got new
--excludeflag which uses regexps to exclude some files from--folder. See #1409 - 2.3.0
Internal AST is migrated to XAST. This spec makes maintaining plugins easier and may be used as interop with other tools like SVGR.
- 2.3.0
The new visitor plugin type combines features of "full", "perItem" and "perItemReverse" plugins without loosing simplicity. Eventually only visitor api will be supported. See #1454
- 2.3.0
Override default floatPrecision in plugins with globally specified one (7389bcd)
- 2.3.0
Make browser bundle 30% smaller (2799622)
- 2.3.0
- 2.3.0
Prepared for more regression tests (d89d36e)
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.