Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump svgo from 3.0.2 to 3.0.4 #1870

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 20, 2023

Bumps svgo from 3.0.2 to 3.0.4.

Release notes

Sourced from svgo's releases.

v3.0.4

Includes various bug fixes for existing plugins and a new optimization. Also splits removeXMLNS, which removed XLink, into two separate plugins, removeXMLNS and removeXlink.

What's Changed

Default Behavior

Bug Fixes

SVG Optimization

  • Convert Path Commands, convert to z command if going back to initial position, or drop z if redundant. By @​KTibow in svg/svgo#1822
  • Inline Styles, when inlining a CSS property that's already declared in a presentation attribute of the node, drop the attribute. By @​SethFalco in svg/svgo#1829
  • Remove XLink, new plugin that removes the XLink (xmlns:xlink) namespace and migrates from XLink attributes to the SVG 2 equivalent. Disabled by default. By @​TrySound and @​SethFalco in svg/svgo#1535

Metrics

Before and after using vectors from various sources, with the default preset of each respective version:

SVG Original v3.0.3 v3.0.4 Delta
Arch Linux Logo 9.529 KiB 4.738 KiB 4.735 KiB ⬇️ 0.003 KiB
Blobs 50.45 KiB 42.949 KiB 42.949 KiB
Isometric Madness 869.034 KiB 550.699 KiB 550.593 KiB ⬇️ 0.106 KiB
tldr-pages Banner 2.071 KiB 1.07 KiB 1.07 KiB
Wikipedia Logo 161.552 KiB 118.441 KiB 117.152 KiB ⬇️ 1.289 KiB

Before and after of the browser bundle of each respective version:

v3.0.3 v3.0.4 Delta
svgo.browser.js 651.7 kB 656.9 kB ⬆️ 5.2 kB

v3.0.3

Includes various bug fixes and optimizations for existing plugins.

We're also revamped the documentation for the project. You can find it on svgo.dev! The frontend for svgo.dev is maintained in svg/svgo.dev, contributions are welcome.

What's Changed

Default Behavior

... (truncated)

Commits
  • ee0a0f5 docs(removeXlink): add tip to run plugin last (#1840)
  • bf5cf1f docs: add params section to remove xlink docs (#1839)
  • 9fca7be feat(removeXlink): new plugin to map xlink attrs to svg 2
  • 9a20ad2 chore: add contribution guide (#1837)
  • 9809b67 fix(inlineStyles): dont remove id if traversed in another selector (#1836)
  • 0e5f0f1 chore: revamp readme (#1835)
  • 7d481ac test: enable regression test that now passes (#1833)
  • b740c07 fix(inlineStyles): dont remove wrapper class if traversed (#1832)
  • 7e25b62 fix(inlineStyles): inline styles in order of priority (#1831)
  • 1f766ac fix(convertPathData): skip if transform overridden in styles (#1830)
  • 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 compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [svgo](https://github.com/svg/svgo) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/svg/svgo/releases)
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md)
- [Commits](svg/svgo@v3.0.2...v3.0.4)

---
updated-dependencies:
- dependency-name: svgo
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/svgo-3.0.4 branch from ff49f3d to 0fb2c70 Compare November 20, 2023 20:25
@XhmikosR
Copy link
Member

Closing because it breaks svg-sprite. We should pin svgo to 3.0.2.

@XhmikosR XhmikosR closed this Nov 20, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 20, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@XhmikosR XhmikosR deleted the dependabot/npm_and_yarn/svgo-3.0.4 branch November 20, 2023 20:27
@XhmikosR XhmikosR restored the dependabot/npm_and_yarn/svgo-3.0.4 branch November 20, 2023 20:33
@XhmikosR XhmikosR reopened this Nov 20, 2023
@XhmikosR
Copy link
Member

NVM, the errors (which don't make the build fail BTW) are caused because we generate a broken sprite file. Related #1852

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 21, 2023

Looks like svgo is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Nov 21, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/svgo-3.0.4 branch November 21, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant