Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
preservePatterns
parameter. Preserves legal comments by default, same as the previous behavior, but can now be overridden. By @SethFalco in fix(removeComments): make preserving comments a param svg/svgo#1812removeAny
parameter tofalse
by default for accessibility. By @SethFalco in fix(removeDesc): removeAny should be disabled by default svg/svgo#1806Bug Fixes
defs
children after optimization. By @SethFalco in fix(reusePaths): reuse defs tag if exists and remove redundant nodes svg/svgo#1785null
,undefined
, or empty plugin. Instead, logs a warning and ignore it. By @SethFalco in What is the benefit of stripping viewBox? svg/svgo#1128SVG Optimization
on*
) andhref
attributes withjavascript:
URIs. By @cakeinpanic and @SethFalco in fix(removeScriptElement): remove link anchors with scripts svg/svgo#1807, fix(removeScriptElement): collapse a tag propertly svg/svgo#1818, feat(removeScriptElement): add all known event types svg/svgo#1819, fix: remove hrefs for unconventional namespaces svg/svgo#1820Performance
Chores
Metrics
Before and after using vectors from various sources, with the default preset of each respective version:
Before and after of the browser bundle of each respective version: