Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency svgo to v3.0.4 (#4227)
[![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 [@​TrySound](https://togithub.com/TrySound) and [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​TrySound](https://togithub.com/TrySound) and [@​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 - "before 6am on Monday" in timezone Europe/Paris, 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/cozy/cozy-stack). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
- Loading branch information