vite-svg
vite-svg copied to clipboard
Bump svgo from 1.3.2 to 2.8.0
Bumps svgo from 1.3.2 to 2.8.0.
Release notes
Sourced from svgo's releases.
v2.8.0
If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our OpenCollective.
Join us in our discord
Features and bug fixes
- added --no-color flag for testing purposes but you may find it useful (svg/svgo#1588)
- handle url() in style attributes properly (svg/svgo#1592)
- removeXMLNS plugin now removes
xmlns:xlink
attribute (svg/svgo#1508)- load .cjs configuration only with
require
to fix segfaults in linux (svg/svgo#1605)Refactorings
- simplified and covered with types svg stringifier (svg/svgo#1593)
- migrated to visitor api and covered with types removeEmptyAttrs plugin (svg/svgo#1594)
- migrated to visitor api and covered with types inlineStyles plugin (svg/svgo#1601)
- migrated to picocolors (svg/svgo#1606)
DX
I found some users are trying to enable plugins which are not part of default preset, for example
{ name: 'preset-default', params: { overrides: { cleanupListOfValues: true } } }
To fix this I made docs more concrete about plugin (https://github.com/svg/svgo/commit/5165ccb9d1f116b26a30a020e65aadd666012cb1) and introduced a warning when true is specified in overrides (https://github.com/svg/svgo/commit/cb7e9be623b6e2fbbfcb9b67c4c85131e1477925). Please give us feedback if you still have issues.
Thanks to
@IlyaSkriblovsky
,@devongovett
,@matheus1lva
,@omgovich
,@renatorib
and@TrySound
v2.7.0
If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our OpenCollective.
Join us in our discord
ES Modules support
This release adds support for es modules in svgo.config.js when package.json type field is "module". For projects with mixed cjs and esm svgo.config.mjs and svgo.config.cjs are also supported as fallback.
... (truncated)
Commits
b37d90e
2.8.0cb7e9be
Add warning about enabling plugins in presets5165ccb
Make docs more descriptive72b9722
Refactor inlineStyles (#1601)c799503
Load .cjs with require only (#1605)4b4391f
Refactor basic cli tests (#1595)2d6deea
Remove xmlns:xlink in removeXMLNS plugin (#1508)d29cec4
Migrate to picocolors (#1606)4166c32
Migrate to simple yarn cache (#1608)4377ea3
Refactor removeEmptyAttrs (#1594)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by trysound, 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)