Skip to content

Commit 34c76bd

Browse files
chore(deps): update dependency svgo to v3.0.3 (#1725)
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [svgo](https://svgo.dev) ([source](https://github.com/svg/svgo)) | [`3.0.2` -> `3.0.3`](https://renovatebot.com/diffs/npm/svgo/3.0.2/3.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/svgo/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/svgo/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/svgo/3.0.2/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/svgo/3.0.2/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>svg/svgo (svgo)</summary> ### [`v3.0.3`](https://github.com/svg/svgo/releases/tag/v3.0.3) [Compare Source](https://github.com/svg/svgo/compare/v3.0.2...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](https://svgo.dev/)! The frontend for svgo.dev is maintained in [svg/svgo.dev](https://github.com/svg/svgo.dev), contributions are welcome. #### What's Changed ##### Settings - **Remove Comments**, introduces `preservePatterns` parameter. Preserves legal comments by default, same as the previous behavior, but can now be overridden. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1812](https://github.com/svg/svgo/pull/1812) - **Remove Description**, set the `removeAny` parameter to `false` by default for accessibility. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1806](https://github.com/svg/svgo/pull/1806) ##### Bug Fixes - **Remove Raster Images**, removes inlined JPEG images. By [@&#8203;abejfehr](https://github.com/abejfehr) in [https://github.com/svg/svgo/pull/1742](https://github.com/svg/svgo/pull/1742) - **Cleanup IDs**, correctly handle when 2 IDs have been referenced in a single attribute. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1795](https://github.com/svg/svgo/pull/1795) - **Cleanup IDS**, correctly handle when we've encountered a reference to a node that doesn't exist. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1817](https://github.com/svg/svgo/pull/1817) - **Inline Styles**, treat style prop keys as case-insensitive. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1797](https://github.com/svg/svgo/pull/1797) - **Inline Styles**, remove all classes in multiclass selector. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1801](https://github.com/svg/svgo/pull/1801) - **Inline Styles**, ignore empty CSS blocks instead of adding empty style attribute. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1823](https://github.com/svg/svgo/pull/1823) - **Minify Styles**, removes unused class selectors when the document has no classes. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1800](https://github.com/svg/svgo/pull/1800) - **Prefix IDs**, reuse the same prefix when encountering an ID multiple times. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1814](https://github.com/svg/svgo/pull/1814) - **Remove Hidden Elements**, stops removing non-rendering elements like masks. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1793](https://github.com/svg/svgo/pull/1793) - **Reuse Paths**, creates a new ID if the current one is referenced by another element. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1784](https://github.com/svg/svgo/pull/1784) - **Reuse Paths**, removes redundant `defs` children after optimization. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1785](https://github.com/svg/svgo/pull/1785) - **Reuse Paths**, stops duplicating attributes into the shared definition. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1791](https://github.com/svg/svgo/pull/1791) - Don't crash on a `null`, `undefined`, or empty plugin. Instead, log a warning and ignore it. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/issues/1128](https://github.com/svg/svgo/issues/1128) ##### SVG Optimization - **Convert Transform**, omit spaces between functions. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1802](https://github.com/svg/svgo/pull/1802) - **Remove Scripts**, removes callbacks (`on*`) and `href` attributes with `javascript:` URIs. By [@&#8203;cakeinpanic](https://github.com/cakeinpanic) and [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1807](https://github.com/svg/svgo/pull/1807), [https://github.com/svg/svgo/pull/1818](https://github.com/svg/svgo/pull/1818), [https://github.com/svg/svgo/pull/1819](https://github.com/svg/svgo/pull/1819), [https://github.com/svg/svgo/pull/1820](https://github.com/svg/svgo/pull/1820) - **Convert One-Stop Gradients**, new plugin to convert gradients with one stop to a solid color, disabled by default. By [@&#8203;SethFalco](https://github.com/SethFalco) in [https://github.com/svg/svgo/pull/1790](https://github.com/svg/svgo/pull/1790) ##### Performance - Various optimizations for path handling. By [@&#8203;marvinhagemeister](https://github.com/marvinhagemeister) in [https://github.com/svg/svgo/pull/1716](https://github.com/svg/svgo/pull/1716) and [https://github.com/svg/svgo/pull/1717](https://github.com/svg/svgo/pull/1717) ##### Chores - Revise the README. By [@&#8203;ADTC](https://github.com/ADTC) in [https://github.com/svg/svgo/pull/1731](https://github.com/svg/svgo/pull/1731) - Fix dead link to postcss-svgo in README. By [@&#8203;Lehoczky](https://github.com/Lehoczky) in [https://github.com/svg/svgo/pull/1770](https://github.com/svg/svgo/pull/1770) - Replace webpack loader library in README as previous was deprecated. By [@&#8203;tanyabouman](https://github.com/tanyabouman) in [https://github.com/svg/svgo/pull/1771](https://github.com/svg/svgo/pull/1771) #### Metrics Before and after using vectors from various sources, with the default preset of each respective version: | SVG | Original | v3.0.2 | v3.0.3 | Delta | |---|---|---|---|---| | [Arch Linux Logo](https://archlinux.org/art/) | 8.584 KiB | 4.748 KiB | 4.747 KiB | ⬇️ 0.001 KiB | | [Blobs](https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/blob/main/backgrounds/blobs-d.svg) | 50.45 KiB | 42.949 KiB | 42.949 KiB | | | [Isometric Madness](https://inkscape.org/~Denis_Kuznetsky/%E2%98%85isometric-madness) | 869.034 KiB | 550.829 KiB | 550.699 KiB | ⬇️ 0.13 KiB | | [tldr-pages Banner](https://github.com/tldr-pages/tldr/blob/main/images/banner.svg) | 2.071 KiB | 1.07 KiB | 1.07 KiB | | | [Wikipedia Logo](https://en.wikipedia.org/wiki/File:Wikipedia-logo-v2.svg) | 161.552 KiB | 118.441 KiB | 118.441 KiB | | Before and after of the browser bundle of each respective version: | | v3.0.2 | v3.0.3 | Delta | |---|---|---|---| | svgo.browser.js | 643.5 kB | 651.7 kB | ⬆️ 8.2 kB | </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on Monday after 10am before 7pm" in timezone Asia/Seoul, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/channel-io/bezier-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ed Sungik Choi <[email protected]>
1 parent 92307e7 commit 34c76bd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: packages/bezier-react/src/components/Help/__snapshots__/Help.test.tsx.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exports[`Help > Snapshot > 1`] = `
3434
>
3535
<path
3636
clip-rule="evenodd"
37-
d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm.83 12.541h-1.9v-.708c0-1.156.625-2.24 1.672-2.9.867-.546 1.337-.939 1.337-1.447 0-1.014-1-1.561-1.94-1.561-1.035 0-1.942.73-1.942 1.56h-1.9c0-1.875 1.758-3.46 3.841-3.46 2.154 0 3.842 1.52 3.842 3.46 0 1.655-1.393 2.533-2.225 3.056-.236.15-.784.573-.784 1.292v.708Zm-.889 3.631a1.244 1.244 0 1 1 0-2.487 1.244 1.244 0 0 1 0 2.487Z"
37+
d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm.83 12.541h-1.9v-.708c0-1.156.625-2.24 1.672-2.9.867-.546 1.337-.939 1.337-1.447 0-1.014-1-1.561-1.94-1.561-1.035 0-1.942.73-1.942 1.56h-1.9c0-1.875 1.758-3.46 3.841-3.46 2.154 0 3.842 1.52 3.842 3.46 0 1.655-1.392 2.533-2.225 3.056-.236.15-.784.573-.784 1.292v.708Zm-.889 3.631a1.244 1.244 0 1 1 0-2.487 1.244 1.244 0 0 1 0 2.487Z"
3838
fill="currentColor"
3939
fill-rule="evenodd"
4040
/>

Diff for: yarn.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -9819,7 +9819,7 @@ __metadata:
98199819
languageName: node
98209820
linkType: hard
98219821

9822-
"csso@npm:^5.0.5":
9822+
"csso@npm:5.0.5":
98239823
version: 5.0.5
98249824
resolution: "csso@npm:5.0.5"
98259825
dependencies:
@@ -19285,18 +19285,18 @@ __metadata:
1928519285
linkType: hard
1928619286

1928719287
"svgo@npm:^3.0.2":
19288-
version: 3.0.2
19289-
resolution: "svgo@npm:3.0.2"
19288+
version: 3.0.3
19289+
resolution: "svgo@npm:3.0.3"
1929019290
dependencies:
1929119291
"@trysound/sax": 0.2.0
1929219292
commander: ^7.2.0
1929319293
css-select: ^5.1.0
1929419294
css-tree: ^2.2.1
19295-
csso: ^5.0.5
19295+
csso: 5.0.5
1929619296
picocolors: ^1.0.0
1929719297
bin:
19298-
svgo: bin/svgo
19299-
checksum: 381ba14aa782e71ab7033227634a3041c11fa3e2769aeaf0df43a08a615de61925108e34f55af6e7c5146f4a3109e78deabb4fa9d687e36d45d1f848b4e23d17
19298+
svgo: ./bin/svgo
19299+
checksum: 0e34c70b9ff429e6c6773a0607063c2893fa655fffe3d0c2ea236764e54f77c6eb0cfc510a05ae11f589e343b59aef5ad210022aa49cd81eb6ad16446e2e0388
1930019300
languageName: node
1930119301
linkType: hard
1930219302

0 commit comments

Comments
 (0)