Packages

svgo

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

Your version

3.3.1

8 May 2024Where it was published

3.3.5 is the newest release of 3.x.

npm marks 3.3.1 as deprecated: introduced breaking changes, reverted in v3.3.2

In short

1 breaking

  • Breaking

    I apologize for letting that breaking change through, and will aim to do better.

Security

4 advisories affect 3.3.1; 3.3.5 fixes them

Release note

Notice

SVGO v3.3.0, which was meant to migrate to ESM without breaking CJS support, unfortunately broke CJS projects. There was a mistake with exports, so the loadConfig function wasn't available in the CJS bundle and lead to issues for many users.

I apologize for letting that breaking change through, and will aim to do better. Namely, by adding more tests to cover our exports, and any other public interface in general for each distribution of SVGO, so this doesn't happen again.

SVGO v3.3.1 should resolve the issue for CJS projects, but if you encounter anything else, do let us know by opening an issue on GitHub.

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.