Skip to content

Commit f9fccda

Browse files
chore(deps): update dependency svgo to v3.0.4 (#1739)
[![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://togithub.com/svg/svgo)) | [`3.0.3` -> `3.0.4`](https://renovatebot.com/diffs/npm/svgo/3.0.3/3.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/svgo/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/svgo/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/svgo/3.0.3/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/svgo/3.0.3/3.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>svg/svgo (svgo)</summary> ### [`v3.0.4`](https://togithub.com/svg/svgo/releases/tag/v3.0.4) [Compare Source](https://togithub.com/svg/svgo/compare/v3.0.3...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 - **Remove XML Namespace**, no longer removes the XLink (`xmlns:xlink`) namespace. If that is desirable, you should enable the new [Remove XLink](https://svgo.dev/docs/plugins/remove-xlink/) (`removeXlink`) plugin, which does more while being safer. By [@&#8203;TrySound](https://togithub.com/TrySound) and [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1535](https://togithub.com/svg/svgo/pull/1535) ##### Bug Fixes - **Convert Path Commands**, ignore instances where transform applied via style tag. By [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1830](https://togithub.com/svg/svgo/pull/1830) - **Inline Styles**, inline properties with the same specificity in the order that they appear in the stylesheet. By [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1831](https://togithub.com/svg/svgo/pull/1831) - **Inline Styles**, don't remove class or id from node if it's traversed in another CSS selector. By [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1832](https://togithub.com/svg/svgo/pull/1832) and [https://github.com/svg/svgo/pull/1836](https://togithub.com/svg/svgo/pull/1836) - Don't trim [`pre`](https://developer.mozilla.org/docs/Web/HTML/Element/pre) elements in [`foreignObject`](https://developer.mozilla.org/docs/Web/SVG/Element/foreignObject). By [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1796](https://togithub.com/svg/svgo/pull/1796) - Don't crash when encountering [`@-webkit-keyframes`](https://webkit.org/blog/324/css-animation-2/) in `<style>` node. By [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1826](https://togithub.com/svg/svgo/pull/1826) ##### SVG Optimization - **Convert Path Commands**, convert to `z` command if going back to initial position, or drop `z` if redundant. By [@&#8203;KTibow](https://togithub.com/KTibow) in [https://github.com/svg/svgo/pull/1822](https://togithub.com/svg/svgo/pull/1822) - **Inline Styles**, when inlining a CSS property that's already declared in a presentation attribute of the node, drop the attribute. By [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1829](https://togithub.com/svg/svgo/pull/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 [@&#8203;TrySound](https://togithub.com/TrySound) and [@&#8203;SethFalco](https://togithub.com/SethFalco) in [https://github.com/svg/svgo/pull/1535](https://togithub.com/svg/svgo/pull/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](https://archlinux.org/art/) | 9.529 KiB | 4.738 KiB | 4.735 KiB | ⬇️ 0.003 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.699 KiB | 550.593 KiB | ⬇️ 0.106 KiB | | [tldr-pages Banner](https://togithub.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 | 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 | </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:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ed Sungik Choi <sungik.dev@gmail.com>
1 parent a032551 commit f9fccda

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

packages/bezier-react/src/components/Avatars/AvatarGroup/__snapshots__/AvatarGroup.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ exports[`AvatarGroup Ellipsis type - Icon Snapshot 1`] = `
544544
>
545545
<path
546546
clip-rule="evenodd"
547-
d="M2.5 12a2.257 2.257 0 0 0 2.25 2.25A2.257 2.257 0 0 0 7 12a2.257 2.257 0 0 0-2.25-2.25A2.257 2.257 0 0 0 2.5 12Zm9.5 2.25A2.257 2.257 0 0 1 9.75 12 2.257 2.257 0 0 1 12 9.75 2.257 2.257 0 0 1 14.25 12 2.257 2.257 0 0 1 12 14.25Zm7.25 0A2.257 2.257 0 0 1 17 12a2.257 2.257 0 0 1 2.25-2.25A2.257 2.257 0 0 1 21.5 12a2.257 2.257 0 0 1-2.25 2.25Z"
547+
d="M2.5 12a2.257 2.257 0 0 0 2.25 2.25A2.257 2.257 0 0 0 7 12a2.257 2.257 0 0 0-2.25-2.25A2.257 2.257 0 0 0 2.5 12m9.5 2.25A2.257 2.257 0 0 1 9.75 12 2.257 2.257 0 0 1 12 9.75 2.257 2.257 0 0 1 14.25 12 2.257 2.257 0 0 1 12 14.25m7.25 0A2.257 2.257 0 0 1 17 12a2.257 2.257 0 0 1 2.25-2.25A2.257 2.257 0 0 1 21.5 12a2.257 2.257 0 0 1-2.25 2.25"
548548
fill="currentColor"
549549
fill-rule="evenodd"
550550
/>

packages/bezier-react/src/components/Forms/Inputs/Select/__snapshots__/Select.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ exports[`Select Test > Default Style > Snapshot > 1`] = `
144144
>
145145
<path
146146
clip-rule="evenodd"
147-
d="M19.707 8.793a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 1.414-1.414L12 15.086l6.293-6.293a1 1 0 0 1 1.414 0Z"
147+
d="M19.707 8.793a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 1.414-1.414L12 15.086l6.293-6.293a1 1 0 0 1 1.414 0"
148148
fill="currentColor"
149149
fill-rule="evenodd"
150150
/>
@@ -300,7 +300,7 @@ exports[`Select Test > rightContent > Snapshot > 1`] = `
300300
>
301301
<path
302302
clip-rule="evenodd"
303-
d="M19.707 8.793a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 1.414-1.414L12 15.086l6.293-6.293a1 1 0 0 1 1.414 0Z"
303+
d="M19.707 8.793a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 1.414-1.414L12 15.086l6.293-6.293a1 1 0 0 1 1.414 0"
304304
fill="currentColor"
305305
fill-rule="evenodd"
306306
/>

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

Lines changed: 1 addition & 1 deletion
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.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"
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.708m-.889 3.631a1.244 1.244 0 1 1 0-2.487 1.244 1.244 0 0 1 0 2.487"
3838
fill="currentColor"
3939
fill-rule="evenodd"
4040
/>

packages/bezier-react/src/components/KeyValueListItem/__snapshots__/KeyValueListItem.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ exports[`KeyValueListItem Snapshot > 1`] = `
155155
>
156156
<path
157157
clip-rule="evenodd"
158-
d="M15.832 1s.272 1.628-1.033 3.197c-1.394 1.675-2.979 1.4-2.979 1.4s-.297-1.317.872-2.857C14.006 1.01 15.832 1 15.832 1Zm3.637 6.81s-2.163 1.105-2.163 3.789c0 3.027 2.694 4.07 2.694 4.07s-1.883 5.302-4.427 5.302c-.577 0-1.09-.192-1.611-.387-.534-.2-1.075-.401-1.698-.401-.695 0-1.388.25-2.005.475-.497.18-.945.342-1.306.342-2.322 0-5.257-5.03-5.257-9.071 0-3.977 2.484-6.063 4.814-6.063.88 0 1.646.295 2.288.542.462.178.86.33 1.19.33.264 0 .618-.142 1.047-.315.669-.27 1.522-.613 2.517-.613 2.81 0 3.917 2 3.917 2Z"
158+
d="M15.832 1s.272 1.628-1.033 3.197c-1.394 1.675-2.979 1.4-2.979 1.4s-.297-1.317.872-2.857C14.006 1.01 15.832 1 15.832 1m3.637 6.81s-2.163 1.105-2.163 3.789c0 3.027 2.694 4.07 2.694 4.07s-1.883 5.302-4.427 5.302c-.577 0-1.09-.192-1.611-.387-.534-.2-1.075-.401-1.698-.401-.695 0-1.388.25-2.005.475-.497.18-.945.342-1.306.342-2.322 0-5.257-5.03-5.257-9.071 0-3.977 2.484-6.063 4.814-6.063.88 0 1.646.295 2.288.542.462.178.86.33 1.19.33.264 0 .618-.142 1.047-.315.669-.27 1.522-.613 2.517-.613 2.81 0 3.917 2 3.917 2"
159159
fill="currentColor"
160160
fill-rule="evenodd"
161161
/>

packages/bezier-react/src/components/Navigator/NavGroup/__snapshots__/NavGroup.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ exports[`NavGroup Test > Snapshot > Active 1`] = `
136136
>
137137
<path
138138
clip-rule="evenodd"
139-
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
139+
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0"
140140
fill="currentColor"
141141
fill-rule="evenodd"
142142
/>
@@ -168,7 +168,7 @@ exports[`NavGroup Test > Snapshot > Active 1`] = `
168168
>
169169
<path
170170
clip-rule="evenodd"
171-
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
171+
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0"
172172
fill="currentColor"
173173
fill-rule="evenodd"
174174
/>
@@ -320,7 +320,7 @@ exports[`NavGroup Test > Snapshot > Not active 1`] = `
320320
>
321321
<path
322322
clip-rule="evenodd"
323-
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
323+
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0"
324324
fill="currentColor"
325325
fill-rule="evenodd"
326326
/>
@@ -352,7 +352,7 @@ exports[`NavGroup Test > Snapshot > Not active 1`] = `
352352
>
353353
<path
354354
clip-rule="evenodd"
355-
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
355+
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0"
356356
fill="currentColor"
357357
fill-rule="evenodd"
358358
/>

packages/bezier-react/src/components/Navigator/NavItem/__snapshots__/NavItem.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ exports[`NavItem Test > Snapshot > Active 1`] = `
9898
>
9999
<path
100100
clip-rule="evenodd"
101-
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
101+
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0"
102102
fill="currentColor"
103103
fill-rule="evenodd"
104104
/>
@@ -218,7 +218,7 @@ exports[`NavItem Test > Snapshot > Not active 1`] = `
218218
>
219219
<path
220220
clip-rule="evenodd"
221-
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"
221+
d="M17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0"
222222
fill="currentColor"
223223
fill-rule="evenodd"
224224
/>

yarn.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19285,18 +19285,19 @@ __metadata:
1928519285
linkType: hard
1928619286

1928719287
"svgo@npm:^3.0.2":
19288-
version: 3.0.3
19289-
resolution: "svgo@npm:3.0.3"
19288+
version: 3.0.4
19289+
resolution: "svgo@npm:3.0.4"
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+
css-what: ^6.1.0
1929519296
csso: 5.0.5
1929619297
picocolors: ^1.0.0
1929719298
bin:
1929819299
svgo: ./bin/svgo
19299-
checksum: 0e34c70b9ff429e6c6773a0607063c2893fa655fffe3d0c2ea236764e54f77c6eb0cfc510a05ae11f589e343b59aef5ad210022aa49cd81eb6ad16446e2e0388
19300+
checksum: b78aa6f0a2873f41d6e62d68a59c41a706885cd5164c21709461546f26ec2b37a0bb40fd4904c0d39f97a22c61b4b9834baac395aefd44439a0207c25e048a6c
1930019301
languageName: node
1930119302
linkType: hard
1930219303

0 commit comments

Comments
 (0)