Bump svgo from 3.0.2 to 3.3.3
Type: Pull Request
State: Closed
Association: Unknown
Comments: 3
(6 days ago)
(6 days ago)
(6 days ago)
dependencies javascript
Bumps svgo from 3.0.2 to 3.3.3.
Release notes
Sourced from svgo's releases.
v3.3.3
What's Changed
Dependencies
- Migrates from our unsupported fork of sax (
@trysound/sax) to the upstream version of sax (sax).Bug Fixes
- No longer throws error when encountering comments in DTD.
Metrics
Before and after of the browser bundle of each respective version:
v3.3.2 v3.3.3 Delta svgo.browser.js 910.9 kB 912.9 kB ⬆️ 2 kB Support
SVGO v3 is not officially supported, please consider upgrading to SVGO v4 instead. We've backported this fix as there are security implications, but there is no commitment to do this for more complex changes in future.
Consider reading our Migration Guide from v3 to v4 which should ease the process.
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 ESM 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 make the release go smoothly! 👍🏽
Sorry for the headache, and thank you 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
... (truncated)
Commits
bbab162deps: upgrade to sax v1.5.0c4dc2bechore: 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)- 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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Package Dependencies
Technical Details
| ID: | 14381794 |
| UUID: | 4024796133 |
| Node ID: | PR_kwDOKrVUDs7IBZvS |
| Host: | GitHub |
| Repository: | GleapSDK/JavaScript-AdminHelper-SDK |