Skip to content

chore: bump svgo and @svgr/webpack - #343

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-3e6a932061
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-3e6a932061

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Bumps svgo to 3.3.5 and updates ancestor dependency @svgr/webpack. These dependencies need to be updated together.

Updates svgo from 1.3.2 to 3.3.5

Release notes

Sourced from svgo's releases.

v3.3.5

What's Changed

Security

  • Backport the removeScriptElement hardening from SVGO v4 in #2269:
    • reject executable data: URLs and legacy vbscript: URLs
    • sanitize executable HTML inside <foreignObject> elements
    • handle namespace-prefixed SVG anchors and URL schemes containing ASCII tabs or newlines

This addresses GHSA-4vpr-x523-8j87 and GHSA-w27v-7q3p-w38r for the v3 release line.

Support

SVGO v3 is not officially supported; please consider upgrading to SVGO v4. This security fix has been backported, but there is no commitment to backport more complex changes in the future.

See the migration guide from v3 to v4.

v3.3.4

What's Changed

Security

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.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

... (truncated)

Commits
  • 4380590 ci: configure v3 publish tag in package metadata (#2271)
  • 4c84fe7 ci: publish v3 with npm trusted publishing (#2270)
  • 994a9f0 fix(removeScriptElement): backport security hardening to v3 (#2269)
  • 72a2388 Merge commit from fork
  • bbab162 deps: upgrade to sax v1.5.0
  • c4dc2be chore: increment version to v3.3.2
  • 252b28c chore: increment version to 3.2.0 (#1919)
  • 8644cf3 feat(convertPathData): convert c to q (#1892)
  • 2661dac fix(convertTransform): fix scale and rotate on skew + refactors (#1916)
  • f6a2ca2 chore: improve jest tests with more precise assertions (#1912)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for svgo since your current version.


Updates @svgr/webpack from 5.5.0 to 8.1.0

Release notes

Sourced from @​svgr/webpack's releases.

v8.1.0

Bug Fixes

  • cli: fix default dimensions, prettier & svgo (571d5c8)
  • config: prefer cli config over rc config (#845) (8b97248)
  • react-native: fix duplicate import (#894) (e612b6a)

Features

  • esm: add support for svgo.config.cjs (#879) (ae91e2e)

v8.0.1

Bug Fixes

v8.0.0

Bug Fixes

  • parseObject error causes website broken (05f2946)

Features

  • types: change SVGProps from import to import type (#853) (095f021)
  • add snake_case filename option (#857) (428b0c7)
  • make index template more flexible (#861) (003009c)

BREAKING CHANGES

  • index template now receives an array of objects containing both the created component path (path) and the original SVG path (originalPath)

v7.0.0

Features

... (truncated)

Changelog

Sourced from @​svgr/webpack's changelog.

8.1.0 (2023-08-15)

Bug Fixes

  • cli: fix default dimensions, prettier & svgo (571d5c8)
  • config: prefer cli config over rc config (#845) (8b97248)
  • react-native: fix duplicate import (#894) (e612b6a)

Features

  • esm: add support for svgo.config.cjs (#879) (ae91e2e)

8.0.1 (2023-05-09)

Bug Fixes

8.0.0 (2023-05-09)

Bug Fixes

  • parseObject error causes website broken (05f2946)

Features

  • add snake_case filename option (#857) (428b0c7)
  • make index template more flexible (#861) (003009c)
  • types: change SVGProps from import to import type (#853) (095f021)

BREAKING CHANGES

  • index template now receives an array of objects containing both the created component path (path) and the original SVG path (originalPath)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 10, 2026
@mergify
mergify Bot requested a review from a team September 10, 2026 04:19
mergify[bot]
mergify Bot previously approved these changes Sep 10, 2026

@mergify mergify Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approving dependabot

@mergify
mergify Bot requested review from a team and gavmck and removed request for a team September 10, 2026 04:19
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-3e6a932061 branch from a612119 to d1ebee0 Compare October 7, 2026 10:49
mergify[bot]
mergify Bot previously approved these changes Oct 7, 2026

@mergify mergify Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approving dependabot

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ EDITORCONFIG editorconfig-checker 2 0 0.02s
✅ JSON jsonlint 2 0 0.24s
✅ JSON npm-package-json-lint yes no 0.56s
✅ JSON prettier 2 0 1.29s
✅ JSON v8r 2 0 17.39s
✅ REPOSITORY checkov yes no 16.47s
✅ REPOSITORY gitleaks yes no 10.2s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY secretlint yes no 1.48s
✅ REPOSITORY trivy-sbom yes no 3.4s
✅ REPOSITORY trufflehog yes no 4.6s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@DanWebb DanWebb added the wontfix This will not be worked on label Oct 8, 2026
@DanWebb

DanWebb commented Oct 8, 2026

Copy link
Copy Markdown
Member

Breaks icons, needs migration

Bumps [svgo](https://github.com/svg/svgo) to 3.3.5 and updates ancestor dependency [@svgr/webpack](https://github.com/gregberge/svgr). These dependencies need to be updated together.


Updates `svgo` from 1.3.2 to 3.3.5
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](svg/svgo@v1.3.2...v3.3.5)

Updates `@svgr/webpack` from 5.5.0 to 8.1.0
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/main/CHANGELOG.md)
- [Commits](gregberge/svgr@v5.5.0...v8.1.0)

---
updated-dependencies:
- dependency-name: "@svgr/webpack"
  dependency-version: 8.1.0
  dependency-type: direct:production
- dependency-name: svgo
  dependency-version: 2.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-3e6a932061 branch from d1ebee0 to 69d3c67 Compare October 8, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code wontfix This will not be worked on

Development

Successfully merging this pull request may close these issues.

1 participant