Skip to content

chore(deps): update dependency svgo to v3.3.3#45

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/svgo-3.x-lockfile
Open

chore(deps): update dependency svgo to v3.3.3#45
renovate[bot] wants to merge 1 commit intomainfrom
renovate/svgo-3.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 31, 2024

This PR contains the following updates:

Package Change Age Confidence
svgo (source) 3.2.03.3.3 age confidence

Release Notes

svg/svgo (svgo)

v3.3.3

Compare Source

v3.3.2

Compare Source

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 removeViewBox by 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

Compare Source

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 loadConfig function wasn't available in the CJS bundle and lead to issues for many users.

Thanks to everyone who raised the issue, and to @​nuintun who 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

Compare Source

Deprecated

This release introduced breaking changes, which have been reverted in v3.3.2. The bug fixes will be reintroduced in v4.0.0.

What's Changed

ESM

SVGO is now a dual package, serving for both Common JS and ESM usage. We believe there shouldn't be any problems, especially as SVGO as largely stateless, but feel free to open an issue if you encounter problems with this.

To be explicit, this is not a breaking change, and SVGO should continue to work in Common JS projects!

Thanks to @​jdufresne for doing the bulk of the work.

Default Behavior
  • convertColors, now converts all references to colors excluding references to IDs to lowercase. This can be disabled by setting convertCase to false.
Bug Fixes
SVG Optimization
  • convertColors, introduce parameter to convert colors to common casing (lowercase/uppercase). By @​JayLeininger in #​1692
  • removeDeprecatedAttrs, new plugin that is disabled by default to remove SVG attributes that are deprecated. By @​jdufresne in #​1869

Metrics

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

SVG Original v3.2.0 v3.3.0 Delta
Arch Linux Logo 9.529 KiB 4.115 KiB 4.097 KiB ⬇️ 0.018 KiB
Blobs 50.45 KiB 42.623 KiB 42.609 KiB ⬇️ 0.014 KiB
Isometric Madness 869.034 KiB 540.582 KiB 540.073 KiB ⬇️ 0.509 KiB
tldr-pages Banner 2.071 KiB 1.07 KiB 1.07 KiB
Wikipedia Logo 161.551 KiB 111.668 KiB 111.668 KiB

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

v3.2.0 v3.3.0 Delta
svgo.browser.js 910.9 kB 753.0 kB ⬇️ 157.9 kB

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 4377a5f to f609240 Compare January 23, 2025 20:30
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from f609240 to 02f6bab Compare February 9, 2025 12:56
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 02f6bab to aad7f0e Compare March 3, 2025 15:55
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch 3 times, most recently from 5a4667d to e465f1c Compare March 17, 2025 18:12
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch 2 times, most recently from 18cdd78 to 63c51a7 Compare April 8, 2025 13:23
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 63c51a7 to 26d6c67 Compare April 24, 2025 07:49
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 26d6c67 to 4c87c84 Compare May 19, 2025 20:54
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch 2 times, most recently from d1d6eba to 77b2679 Compare June 4, 2025 12:00
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 77b2679 to 9aae2ab Compare June 22, 2025 15:33
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 9aae2ab to 1304fe3 Compare July 2, 2025 18:06
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch 2 times, most recently from 6aadfd0 to f7890c1 Compare August 13, 2025 16:54
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from f7890c1 to fe38213 Compare August 19, 2025 17:07
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from fe38213 to 7b518f2 Compare August 31, 2025 10:32
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 7b518f2 to 84438dd Compare September 25, 2025 20:13
@renovate renovate bot changed the title fix(deps): update dependency svgo to v3.3.2 chore(deps): update dependency svgo to v3.3.2 Sep 25, 2025
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 84438dd to f9e1cda Compare October 21, 2025 17:00
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from f9e1cda to f1ebf73 Compare November 10, 2025 20:35
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from f1ebf73 to 22e26db Compare November 18, 2025 11:16
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 22e26db to b220ff8 Compare December 3, 2025 18:14
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from b220ff8 to 1158e76 Compare December 31, 2025 13:45
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 1158e76 to 6b19e6e Compare January 8, 2026 18:33
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch 2 times, most recently from 141a607 to 0724204 Compare January 23, 2026 17:39
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 0724204 to 5dcdb8d Compare February 2, 2026 20:44
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 5dcdb8d to 4d65f42 Compare February 12, 2026 18:34
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 4d65f42 to d750ba5 Compare February 17, 2026 15:14
@renovate renovate bot changed the title chore(deps): update dependency svgo to v3.3.2 chore(deps): update dependency svgo to v3.3.3 Mar 4, 2026
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from d750ba5 to 64c7e22 Compare March 4, 2026 17:22
@renovate renovate bot force-pushed the renovate/svgo-3.x-lockfile branch from 64c7e22 to e1544bb Compare March 5, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants