[PR #1055] [CLOSED] Bump svgo from 2.8.0 to 3.0.1 #1183

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

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/1055
Author: @dependabot[bot]
Created: 11/14/2022
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/svgo-3.0.1


📝 Commits (1)

  • 4f03ed6 Bump svgo from 2.8.0 to 3.0.1

📊 Changes

2 files changed (+72 additions, -73 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+71 -72)

📄 Description

Bumps svgo from 2.8.0 to 3.0.1.

Release notes

Sourced from svgo's releases.

v3.0.1

  • store exposed types only in .d.ts files, no longer need to enable js checking
  • update svgo.browser.js
  • fixed "begin" attribute cleanup

Thanks to @​Kreeg, @​XhmikosR and @​TrySound

v3.0.0

SVGO v3

Improvements and fixes

  • fixed datauri option when multipass is not enabled
  • improved default preset warnings

Breaking channges

  • Node.js 14+ is required for version
  • stable package is replaced with native stable sort (required node 12+)

Config

Typescript types are exposed out of the box. No longer need to install @types/svgo

// svgo.config.js
/**
 * @type {import('svgo').Config}
 */
export default {
  // svgo configuration
}

Active flag is no longer supported

export default {
  plugins: [
    {
      name: 'removeDoctype',
      active: true
    },
    {
      name: 'removeComments',
      active: false
    }
  ]
}
</tr></table> 

... (truncated)

Commits

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 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/1055 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/14/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/svgo-3.0.1` --- ### 📝 Commits (1) - [`4f03ed6`](https://github.com/lipis/flag-icons/commit/4f03ed661c0cac1e73a1ac6fa2825d295f681468) Bump svgo from 2.8.0 to 3.0.1 ### 📊 Changes **2 files changed** (+72 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+71 -72) </details> ### 📄 Description Bumps [svgo](https://github.com/svg/svgo) from 2.8.0 to 3.0.1. <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.1</h2> <ul> <li>store exposed types only in .d.ts files, no longer need to enable js checking</li> <li>update svgo.browser.js</li> <li>fixed &quot;begin&quot; attribute cleanup</li> </ul> <p>Thanks to <a href="https://github.com/Kreeg"><code>@​Kreeg</code></a>, <a href="https://github.com/XhmikosR"><code>@​XhmikosR</code></a> and <a href="https://github.com/TrySound"><code>@​TrySound</code></a></p> <h2>v3.0.0</h2> <h1>SVGO v3</h1> <h2>Improvements and fixes</h2> <ul> <li>fixed <code>datauri</code> option when <code>multipass</code> is not enabled</li> <li>improved default preset warnings</li> </ul> <h2>Breaking channges</h2> <ul> <li>Node.js 14+ is required for version</li> <li>stable package is replaced with native stable sort (required node 12+)</li> </ul> <h3>Config</h3> <p>Typescript types are exposed out of the box. No longer need to install <code>@types/svgo</code></p> <pre lang="js"><code>// svgo.config.js /** * @type {import('svgo').Config} */ export default { // svgo configuration } </code></pre> <p>Active flag is no longer supported</p> <pre lang="js"><code>export default { plugins: [ { name: 'removeDoctype', active: true }, { name: 'removeComments', active: false } ] } &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/svg/svgo/commit/da8840c0e18534f4ecf88c358054df7f70164df4"><code>da8840c</code></a> v3.0.1</li> <li><a href="https://github.com/svg/svgo/commit/8dda989fadc2b78b6941265bb3362d3a97c95d25"><code>8dda989</code></a> Revert version plugin</li> <li><a href="https://github.com/svg/svgo/commit/0f8aa5dffa3b6f429df54f804386fa0d2da52420"><code>0f8aa5d</code></a> Add version plugin to yarn</li> <li><a href="https://github.com/svg/svgo/commit/216082c591f95a97b96a68c93c41ad29272c0644"><code>216082c</code></a> Remove unused json plugin</li> <li><a href="https://github.com/svg/svgo/commit/dd70f34b6778f68285df25be8738e6be0acdeb47"><code>dd70f34</code></a> fix: begin's attribute incorrectly modification (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1658">#1658</a>)</li> <li><a href="https://github.com/svg/svgo/commit/422fa142f24adbd12a89623e8b3dfffc2976e4e7"><code>422fa14</code></a> Reuse plugin types for config</li> <li><a href="https://github.com/svg/svgo/commit/e2e65cfc1e674914277e3193a8d291c994942b1b"><code>e2e65cf</code></a> Move plugin types into d.ts</li> <li><a href="https://github.com/svg/svgo/commit/a40fa216b67d297e84ab8017bf4b45b4a0001223"><code>a40fa21</code></a> 3.0.0</li> <li><a href="https://github.com/svg/svgo/commit/cb1569b2215dda19b0d4b046842344218fd31f06"><code>cb1569b</code></a> Update readme</li> <li><a href="https://github.com/svg/svgo/commit/6295c60fbfcc8325bf8c089ecd27cad7e5567f3d"><code>6295c60</code></a> Rename cleanupIDs to cleanupIds for consistency with prefixIds</li> <li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v2.8.0...v3.0.1">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=2.8.0&new-version=3.0.1)](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 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:31 +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#1183
No description provided.