kolibri-design-system
kolibri-design-system copied to clipboard
Bump svgo from 1.3.2 to 3.3.2
Bumps svgo from 1.3.2 to 3.3.2.
Release notes
Sourced from svgo's releases.
v3.3.2
Notice
An update on what happened with v3.3.0 and v3.3.1. While we have retained CJS support, the migration to EMS has changed the acceptable ways to import SVGO, in ways that users depended on before. This effectively made SVGO v3 a breaking change.
Rather than resolve or workaround these differences, we've opted to release SVGO v3.3.2, which is effectively a revert to v3.2.0, and deprecate versions v3.3.0 and v3.3.1. We'll then proceed to work on releasing v4 which will document the breaking changes, and feature further breaking changes that were slated for v4, like disabling
removeViewBoxby default.Before the v4.0.0 release, I'll put more focus on testing and use release candidates, just to help make the release go smoothly! 👍🏽
Sorry for the headache, and thanks for your patience.
v3.3.1
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
loadConfigfunction wasn't available in the CJS bundle and lead to issues for many users.Thanks to everyone who raised the issue, and to
@nuintunwho submitted a pull request to resolve it so quickly.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.
v3.3.0
Deprecated
This release introduced breaking changes, which have been reverted in v3.3.2. The bug fixes will be reintroduced in v4.0.0.
What's Changed
ESM
SVGO is now a dual package, serving for both Common JS and ESM usage. We believe there shouldn't be any problems, especially as SVGO as largely stateless, but feel free to open an issue if you encounter problems with this.
To be explicit, this is not a breaking change, and SVGO should continue to work in Common JS projects!
Thanks to
@jdufresnefor doing the bulk of the work.Default Behavior
- convertColors, now converts all references to colors excluding references to IDs to lowercase. This can be disabled by setting
convertCasetofalse.Bug Fixes
- cleanupIds, treat both URI encoded and non-URI encoded IDs as the same. By
@liuweifengin #1982- collapseGroups, check styles as well as attributes. By
@johnkenny54in #1952- collapseGroups, move attributes atomically. By
@johnkenny54in svg/svgo#1930- convertPathData, fix q control point when item is removed. By
@KTibowin svg/svgo#1927- convertPathData, preserve vertex for markers only paths. By
@SethFalcoin #1967- mergePaths, don't merge paths if attributes/styles depend depend on the nodes bounding box. By
@johnkenny54in #1964- moveElemsAttrsToGroups, no longer moves the transforms if group has the
filterattribute. By@johnkenny54in #1933
... (truncated)
Commits
c4dc2bechore: increment version to v3.3.2252b28cchore: increment version to 3.2.0 (#1919)8644cf3feat(convertPathData): convert c to q (#1892)2661dacfix(convertTransform): fix scale and rotate on skew + refactors (#1916)f6a2ca2chore: improve jest tests with more precise assertions (#1912)db05c57chore: Use idiomatic Jest patterns to assert exceptions (#1909)433dcefrefactor(convertPaths): clean up plugin (#1913)f238d6afeat(convertPathData): allow converting q to t in more cases (#1889)967d2f1deps: update css-tree and clean ts-ignores (#1911)4768af6chore: Update@types/cssoand correct types (#1910)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by sethiii, a new releaser for svgo since your current version.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
I think it's worth revisiting this package once we've upgraded the NodeJS version.