[PR #1175] [MERGED] Bump svgo from 3.0.2 to 3.0.3 #1248

Closed
opened 2026-03-03 14:42:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/1175
Author: @dependabot[bot]
Created: 11/9/2023
Status: Merged
Merged: 11/9/2023
Merged by: @lipis

Base: mainHead: dependabot/npm_and_yarn/svgo-3.0.3


📝 Commits (1)

  • e306174 Bump svgo from 3.0.2 to 3.0.3

📊 Changes

2 files changed (+7 additions, -7 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+6 -6)

📄 Description

Bumps svgo from 3.0.2 to 3.0.3.

Release notes

Sourced from svgo's releases.

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! The frontend for svgo.dev is maintained in 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 @​SethFalco in svg/svgo#1812
  • Remove Description, set the removeAny parameter to false by default for accessibility. By @​SethFalco in svg/svgo#1806

Bug Fixes

SVG Optimization

Performance

Chores

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 |

... (truncated)

Commits
  • 96fedb4 chore: change link to homepage in package.json (#1824)
  • 43df633 docs: add documentation for all commands (#1808)
  • 5aad38b fix(inlineStyles): empty css block created empty attribute (#1823)
  • 07c0919 fix: remove hrefs for unconventional namespaces (#1820)
  • e21e560 feat(removeScriptElement): add all known event types (#1819)
  • e73ee2d fix(removeScriptElement): collapse a tag propertly (#1818)
  • 1df2e0f fix(cleanupIds): skip generated ids for malformed references (#1817)
  • a880505 fix(removeScriptElement): remove link anchors with scripts (#1807)
  • 7de793c fix(removeComments): make preserving comments a param (#1812)
  • bf45a02 fix(prefixIds): dynamic functions should produce same prefix for given id (#1...
  • Additional commits viewable in compare view
Maintainer changes

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


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lipis/flag-icons/pull/1175 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/9/2023 **Status:** ✅ Merged **Merged:** 11/9/2023 **Merged by:** [@lipis](https://github.com/lipis) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/svgo-3.0.3` --- ### 📝 Commits (1) - [`e306174`](https://github.com/lipis/flag-icons/commit/e3061746bb658c244f31bbb54df6d12b3133feb6) Bump svgo from 3.0.2 to 3.0.3 ### 📊 Changes **2 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+6 -6) </details> ### 📄 Description Bumps [svgo](https://github.com/svg/svgo) from 3.0.2 to 3.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/svg/svgo/releases">svgo's releases</a>.</em></p> <blockquote> <h2>v3.0.3</h2> <p>Includes various bug fixes and optimizations for existing plugins.</p> <p>We're also revamped the documentation for the project. You can find it on <a href="https://svgo.dev/">svgo.dev</a>! The frontend for svgo.dev is maintained in <a href="https://github.com/svg/svgo.dev">svg/svgo.dev</a>, contributions are welcome.</p> <h2>What's Changed</h2> <h3>Settings</h3> <ul> <li><strong>Remove Comments</strong>, introduces <code>preservePatterns</code> parameter. Preserves legal comments by default, same as the previous behavior, but can now be overridden. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1812">svg/svgo#1812</a></li> <li><strong>Remove Description</strong>, set the <code>removeAny</code> parameter to <code>false</code> by default for accessibility. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1806">svg/svgo#1806</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>Remove Raster Images</strong>, removes inlined JPEG images. By <a href="https://github.com/abejfehr"><code>@​abejfehr</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1742">svg/svgo#1742</a></li> <li><strong>Cleanup IDs</strong>, correctly handle when 2 IDs have been referenced in a single attribute. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1795">svg/svgo#1795</a></li> <li><strong>Cleanup IDS</strong>, correctly handle when we've encountered a reference to a node that doesn't exist. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1817">svg/svgo#1817</a></li> <li><strong>Inline Styles</strong>, treat style prop keys as case-insensitive. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1797">svg/svgo#1797</a></li> <li><strong>Inline Styles</strong>, remove all classes in multiclass selector. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1801">svg/svgo#1801</a></li> <li><strong>Inline Styles</strong>, ignore empty CSS blocks instead of adding empty style attribute. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1823">svg/svgo#1823</a></li> <li><strong>Minify Styles</strong>, removes unused class selectors when the document has no classes. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1800">svg/svgo#1800</a></li> <li><strong>Prefix IDs</strong>, reuse the same prefix when encountering an ID multiple times. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1814">svg/svgo#1814</a></li> <li><strong>Remove Hidden Elements</strong>, stops removing non-rendering elements like masks. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1793">svg/svgo#1793</a></li> <li><strong>Reuse Paths</strong>, creates a new ID if the current one is referenced by another element. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1784">svg/svgo#1784</a></li> <li><strong>Reuse Paths</strong>, removes redundant <code>defs</code> children after optimization. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1785">svg/svgo#1785</a></li> <li><strong>Reuse Paths</strong>, stops duplicating attributes into the shared definition. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1791">svg/svgo#1791</a></li> <li>Don't crash on a <code>null</code>, <code>undefined</code>, or empty plugin. Instead, log a warning and ignore it. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/issues/1128">svg/svgo#1128</a></li> </ul> <h3>SVG Optimization</h3> <ul> <li><strong>Convert Transform</strong>, omit spaces between functions. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1802">svg/svgo#1802</a></li> <li><strong>Remove Scripts</strong>, removes callbacks (<code>on*</code>) and <code>href</code> attributes with <code>javascript:</code> URIs. By <a href="https://github.com/cakeinpanic"><code>@​cakeinpanic</code></a> and <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1807">svg/svgo#1807</a>, <a href="https://redirect.github.com/svg/svgo/pull/1818">svg/svgo#1818</a>, <a href="https://redirect.github.com/svg/svgo/pull/1819">svg/svgo#1819</a>, <a href="https://redirect.github.com/svg/svgo/pull/1820">svg/svgo#1820</a></li> <li><strong>Convert One-Stop Gradients</strong>, new plugin to convert gradients with one stop to a solid color, disabled by default. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1790">svg/svgo#1790</a></li> </ul> <h3>Performance</h3> <ul> <li>Various optimizations for path handling. By <a href="https://github.com/marvinhagemeister"><code>@​marvinhagemeister</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1716">svg/svgo#1716</a> and <a href="https://redirect.github.com/svg/svgo/pull/1717">svg/svgo#1717</a></li> </ul> <h3>Chores</h3> <ul> <li>Revise the README. By <a href="https://github.com/ADTC"><code>@​ADTC</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1731">svg/svgo#1731</a></li> <li>Fix dead link to postcss-svgo in README. By <a href="https://github.com/Lehoczky"><code>@​Lehoczky</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1770">svg/svgo#1770</a></li> <li>Replace webpack loader library in README as previous was deprecated. By <a href="https://github.com/tanyabouman"><code>@​tanyabouman</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1771">svg/svgo#1771</a></li> </ul> <h2>Metrics</h2> <p>Before and after using vectors from various sources, with the default preset of each respective version:</p> <p>| SVG | Original | v3.0.2 | v3.0.3 | Delta |</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/svg/svgo/commit/96fedb4855969c0862ab1a9b0cb840ce9efafde3"><code>96fedb4</code></a> chore: change link to homepage in package.json (<a href="https://redirect.github.com/svg/svgo/issues/1824">#1824</a>)</li> <li><a href="https://github.com/svg/svgo/commit/43df633348e712db4862012c7f3412c235b8003a"><code>43df633</code></a> docs: add documentation for all commands (<a href="https://redirect.github.com/svg/svgo/issues/1808">#1808</a>)</li> <li><a href="https://github.com/svg/svgo/commit/5aad38bcc730d8a4257f8c69c0a8f1349e5a3a66"><code>5aad38b</code></a> fix(inlineStyles): empty css block created empty attribute (<a href="https://redirect.github.com/svg/svgo/issues/1823">#1823</a>)</li> <li><a href="https://github.com/svg/svgo/commit/07c09199ed3de3955b64adf15a1046d4b786238e"><code>07c0919</code></a> fix: remove hrefs for unconventional namespaces (<a href="https://redirect.github.com/svg/svgo/issues/1820">#1820</a>)</li> <li><a href="https://github.com/svg/svgo/commit/e21e56060b6290b8a579f55ed46ce644f5a6cfc4"><code>e21e560</code></a> feat(removeScriptElement): add all known event types (<a href="https://redirect.github.com/svg/svgo/issues/1819">#1819</a>)</li> <li><a href="https://github.com/svg/svgo/commit/e73ee2de96d79b1956f971750e6f62ee7dcbe94b"><code>e73ee2d</code></a> fix(removeScriptElement): collapse a tag propertly (<a href="https://redirect.github.com/svg/svgo/issues/1818">#1818</a>)</li> <li><a href="https://github.com/svg/svgo/commit/1df2e0fa395d9c0999e066a751d04a6dc5b82ce2"><code>1df2e0f</code></a> fix(cleanupIds): skip generated ids for malformed references (<a href="https://redirect.github.com/svg/svgo/issues/1817">#1817</a>)</li> <li><a href="https://github.com/svg/svgo/commit/a880505859db8db556f2f920b89a026a0e3c2dff"><code>a880505</code></a> fix(removeScriptElement): remove link anchors with scripts (<a href="https://redirect.github.com/svg/svgo/issues/1807">#1807</a>)</li> <li><a href="https://github.com/svg/svgo/commit/7de793c54ab75eebe3b474e9ee646a2f07489f03"><code>7de793c</code></a> fix(removeComments): make preserving comments a param (<a href="https://redirect.github.com/svg/svgo/issues/1812">#1812</a>)</li> <li><a href="https://github.com/svg/svgo/commit/bf45a0225ab04875497f1fb1534e907be74baf1f"><code>bf45a02</code></a> fix(prefixIds): dynamic functions should produce same prefix for given id (<a href="https://redirect.github.com/svg/svgo/issues/1">#1</a>...</li> <li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v3.0.2...v3.0.3">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~sethiii">sethiii</a>, a new releaser for svgo since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=svgo&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:42:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#1248
No description provided.