| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-07-11 | 1.3 kB | |
| v4.0.2 source code.tar.gz | 2026-07-11 | 525.2 kB | |
| v4.0.2 source code.zip | 2026-07-11 | 744.5 kB | |
| Totals: 3 Items | 1.3 MB | 3 | |
What's Changed
Security
- removeScripts, remove JavaScript URIs case-insensitively and make
<script>handling namespace aware. By @SethFalco
Bug Fixes
- convertColors, skip case-normalization for CSS custom properties. By @SethFalco in https://github.com/svg/svgo/pull/2213
- convertPathData, improve handling of consecutive
tcommands. By @KTibow in https://github.com/svg/svgo/pull/2156 - convertPathData, safer handling of paths. By @KTibow in https://github.com/svg/svgo/issues/2158
- Improve parsing of negative (or +) arc radii. By @KTibow in https://github.com/svg/svgo/pull/2205
- When converting to a data URI, only encode it as a data URI once. By @johnkenny54 in https://github.com/svg/svgo/pull/2053
Performance
- mergePaths, speed up child node removal. By @mozzie in https://github.com/svg/svgo/pull/2216
Other Changes
- removeAttributesBySelector, log warning and noop if missing parameters. By @KTibow in https://github.com/svg/svgo/pull/2215