[PR #1205] [MERGED] Bump svgo from 3.1.0 to 3.2.0 #1260

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

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/1205
Author: @dependabot[bot]
Created: 1/2/2024
Status: Merged
Merged: 2/19/2024
Merged by: @lipis

Base: mainHead: dependabot/npm_and_yarn/svgo-3.2.0


📝 Commits (1)

  • 34affbb Bump svgo from 3.1.0 to 3.2.0

📊 Changes

2 files changed (+22 additions, -9 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+21 -8)

📄 Description

Bumps svgo from 3.1.0 to 3.2.0.

Release notes

Sourced from svgo's releases.

v3.2.0

What's Changed

Bug Fixes

SVG Optimization

Performance

Metrics

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

SVG Original v3.1.0 v3.2.0 Delta
Arch Linux Logo 9.529 KiB 4.162 KiB 4.115 KiB ⬇️ 0.047 KiB
Blobs 50.45 KiB 42.949 KiB 42.623 KiB ⬇️ 0.326 KiB
Isometric Madness 869.034 KiB 550.153 KiB 540.582 KiB ⬇️ 9.571 KiB
tldr-pages Banner 2.071 KiB 1.07 KiB 1.07 KiB
Wikipedia Logo 161.551 KiB 116 KiB 111.668 KiB ⬇️ 4.332 KiB

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

v3.1.0 v3.2.0 Delta
svgo.browser.js 660.9 kB 910.9 kB ⬆️ 250 kB
Commits
  • 252b28c chore: increment version to 3.2.0 (#1919)
  • 8644cf3 feat(convertPathData): convert c to q (#1892)
  • 2661dac fix(convertTransform): fix scale and rotate on skew + refactors (#1916)
  • f6a2ca2 chore: improve jest tests with more precise assertions (#1912)
  • db05c57 chore: Use idiomatic Jest patterns to assert exceptions (#1909)
  • 433dcef refactor(convertPaths): clean up plugin (#1913)
  • f238d6a feat(convertPathData): allow converting q to t in more cases (#1889)
  • 967d2f1 deps: update css-tree and clean ts-ignores (#1911)
  • 4768af6 chore: Update @​types/csso and correct types (#1910)
  • c2cacc7 chore: move health files to .github (#1906)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


🔄 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/1205 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 1/2/2024 **Status:** ✅ Merged **Merged:** 2/19/2024 **Merged by:** [@lipis](https://github.com/lipis) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/svgo-3.2.0` --- ### 📝 Commits (1) - [`34affbb`](https://github.com/lipis/flag-icons/commit/34affbb91367168cff848548947933e03bc4d134) Bump svgo from 3.1.0 to 3.2.0 ### 📊 Changes **2 files changed** (+22 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+21 -8) </details> ### 📄 Description Bumps [svgo](https://github.com/svg/svgo) from 3.1.0 to 3.2.0. <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.2.0</h2> <h2>What's Changed</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://svgo.dev/docs/plugins/convert-path-data/"><strong>Convert Path Commands</strong></a>, fix instances were <code>q</code> was incorrectly converted to <code>t</code>. By <a href="https://github.com/KTibow"><code>@​KTibow</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1889">svg/svgo#1889</a></li> <li><a href="https://svgo.dev/docs/plugins/convert-transform/"><strong>Convert Transform</strong></a>, fix for some transforms that weren't being converted correctly. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1916">svg/svgo#1916</a></li> </ul> <h3>SVG Optimization</h3> <ul> <li><a href="https://svgo.dev/docs/plugins/convert-path-data/"><strong>Convert Path Commands</strong></a>, improves closing paths and how we determine if to use absolute or relative commands. By <a href="https://github.com/KTibow"><code>@​KTibow</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1867">svg/svgo#1867</a></li> <li><a href="https://svgo.dev/docs/plugins/convert-path-data/"><strong>Convert Path Commands</strong></a>, round arc or convert to lines based on the sagitta, can be disabled by setting <code>smartArcRounding</code> to <code>false</code>. By <a href="https://github.com/KTibow"><code>@​KTibow</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1873">svg/svgo#1873</a></li> <li><a href="https://svgo.dev/docs/plugins/convert-path-data/"><strong>Convert Path Commands</strong></a>, convert cubic Bézier curves to quadratic Bézier curves where possible, can be disabled by setting <code>convertToQ</code> to <code>false</code>. By <a href="https://github.com/KTibow"><code>@​KTibow</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1889">svg/svgo#1889</a></li> </ul> <h3>Performance</h3> <ul> <li><a href="https://svgo.dev/docs/plugins/merge-paths/"><strong>Merge Paths</strong></a>, refactor for performance with large files. By <a href="https://github.com/mozzie"><code>@​mozzie</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1764">svg/svgo#1764</a> and <a href="https://redirect.github.com/svg/svgo/pull/1904">svg/svgo#1904</a></li> <li><a href="https://svgo.dev/docs/plugins/convert-path-data/"><strong>Convert Path Commands</strong></a>, refactor <code>#stringifyPathData</code> for performance. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1900">svg/svgo#1900</a></li> <li>Use <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set"><code>Set</code></a> instead of <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array"><code>Array</code></a> for faster lookups. By <a href="https://github.com/SethFalco"><code>@​SethFalco</code></a> in <a href="https://redirect.github.com/svg/svgo/pull/1899">svg/svgo#1899</a></li> </ul> <h2>Metrics</h2> <p>Before and after using vectors from various sources, with the default preset of each respective version:</p> <table> <thead> <tr> <th>SVG</th> <th>Original</th> <th>v3.1.0</th> <th>v3.2.0</th> <th>Delta</th> </tr> </thead> <tbody> <tr> <td><a href="https://archlinux.org/art/">Arch Linux Logo</a></td> <td>9.529 KiB</td> <td>4.162 KiB</td> <td>4.115 KiB</td> <td>⬇️ 0.047 KiB</td> </tr> <tr> <td><a href="https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/blob/main/backgrounds/blobs-d.svg">Blobs</a></td> <td>50.45 KiB</td> <td>42.949 KiB</td> <td>42.623 KiB</td> <td>⬇️ 0.326 KiB</td> </tr> <tr> <td><a href="https://inkscape.org/~Denis_Kuznetsky/%E2%98%85isometric-madness">Isometric Madness</a></td> <td>869.034 KiB</td> <td>550.153 KiB</td> <td>540.582 KiB</td> <td>⬇️ 9.571 KiB</td> </tr> <tr> <td><a href="https://github.com/tldr-pages/tldr/blob/main/images/banner.svg">tldr-pages Banner</a></td> <td>2.071 KiB</td> <td>1.07 KiB</td> <td>1.07 KiB</td> <td></td> </tr> <tr> <td><a href="https://en.wikipedia.org/wiki/File:Wikipedia-logo-v2.svg">Wikipedia Logo</a></td> <td>161.551 KiB</td> <td>116 KiB</td> <td>111.668 KiB</td> <td>⬇️ 4.332 KiB</td> </tr> </tbody> </table> <p>Before and after of the browser bundle of each respective version:</p> <table> <thead> <tr> <th></th> <th>v3.1.0</th> <th>v3.2.0</th> <th>Delta</th> </tr> </thead> <tbody> <tr> <td>svgo.browser.js</td> <td>660.9 kB</td> <td>910.9 kB</td> <td>⬆️ 250 kB</td> </tr> </tbody> </table> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/svg/svgo/commit/252b28c4bf20f3165f08529ea32d753a251b11be"><code>252b28c</code></a> chore: increment version to 3.2.0 (<a href="https://redirect.github.com/svg/svgo/issues/1919">#1919</a>)</li> <li><a href="https://github.com/svg/svgo/commit/8644cf36e8839a3dc3c6a90f8eec62c25fbc68a6"><code>8644cf3</code></a> feat(convertPathData): convert c to q (<a href="https://redirect.github.com/svg/svgo/issues/1892">#1892</a>)</li> <li><a href="https://github.com/svg/svgo/commit/2661dacc249958471d10cfb887eba3c87728ce3a"><code>2661dac</code></a> fix(convertTransform): fix scale and rotate on skew + refactors (<a href="https://redirect.github.com/svg/svgo/issues/1916">#1916</a>)</li> <li><a href="https://github.com/svg/svgo/commit/f6a2ca20d6472cb0f2b18dadd626d6db092f8767"><code>f6a2ca2</code></a> chore: improve jest tests with more precise assertions (<a href="https://redirect.github.com/svg/svgo/issues/1912">#1912</a>)</li> <li><a href="https://github.com/svg/svgo/commit/db05c5782a02b3c137800cb04098bb1ef5b552bf"><code>db05c57</code></a> chore: Use idiomatic Jest patterns to assert exceptions (<a href="https://redirect.github.com/svg/svgo/issues/1909">#1909</a>)</li> <li><a href="https://github.com/svg/svgo/commit/433dcefd646edba35b015fc4f567077a79d1d8ee"><code>433dcef</code></a> refactor(convertPaths): clean up plugin (<a href="https://redirect.github.com/svg/svgo/issues/1913">#1913</a>)</li> <li><a href="https://github.com/svg/svgo/commit/f238d6a213a499deed31895d7ebbf139eb9996c5"><code>f238d6a</code></a> feat(convertPathData): allow converting q to t in more cases (<a href="https://redirect.github.com/svg/svgo/issues/1889">#1889</a>)</li> <li><a href="https://github.com/svg/svgo/commit/967d2f1e1452a7c0adf952a9d676416eb31680c9"><code>967d2f1</code></a> deps: update css-tree and clean ts-ignores (<a href="https://redirect.github.com/svg/svgo/issues/1911">#1911</a>)</li> <li><a href="https://github.com/svg/svgo/commit/4768af63e4ec15a10f5f721db79163341ad9947f"><code>4768af6</code></a> chore: Update <code>@​types/csso</code> and correct types (<a href="https://redirect.github.com/svg/svgo/issues/1910">#1910</a>)</li> <li><a href="https://github.com/svg/svgo/commit/c2cacc7060a87ce1c2cd81bb7fa4245838189e78"><code>c2cacc7</code></a> chore: move health files to .github (<a href="https://redirect.github.com/svg/svgo/issues/1906">#1906</a>)</li> <li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v3.1.0...v3.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=svgo&package-manager=npm_and_yarn&previous-version=3.1.0&new-version=3.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <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:52 +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#1260
No description provided.