[PR #862] [CLOSED] Bump svgo from 1.3.2 to 2.7.0 #1077

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

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/862
Author: @dependabot[bot]
Created: 10/22/2021
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/svgo-2.7.0


📝 Commits (1)

  • e363090 Bump svgo from 1.3.2 to 2.7.0

📊 Changes

2 files changed (+80 additions, -397 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+79 -396)

📄 Description

Bumps svgo from 1.3.2 to 2.7.0.

Release notes

Sourced from svgo's releases.

v2.7.0

If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our OpenCollective.

Join us in our discord

ES Modules support

This release adds support for es modules in svgo.config.js when package.json type field is "module". For projects with mixed cjs and esm svgo.config.mjs and svgo.config.cjs are also supported as fallback.

See svg/svgo#1583

export default {
  plugins: [
    'preset-default'
  ]
}

Fixes

Refactorings

Follwing plugins are migrated to the new visitor plugin api and covered with tsdoc

Other internal changes

  • covered svg parser with tsdoc (svg/svgo#1584)
  • avoided parentNode in style manager which makes us one step closer to releasing new plugin api publicly (svg/svgo#1576)
  • replaced colorette with nanocolors (svg/svgo#1586)

Thanks to @​renatorib, @​matheus1lva, @​omgovich, @​deepsweet, @​ai, @​samouss and @​TrySound

v2.6.1

  • fixed optimize(svg) usage without config (svg/svgo#1573)
  • added missing filter primitives to collections (svg/svgo#1571)
  • migrated to visitor plugin api and covered with tsdoc removeEmptyContainers plugin (svg/svgo#1570)

Thanks to @​XhmikosR, @​thewilkybarkid, @​renatorib, @​matheus1lva, @​omgovich and @​TrySound

v2.6.0

If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our OpenCollective.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by trysound, 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 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/862 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/22/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/svgo-2.7.0` --- ### 📝 Commits (1) - [`e363090`](https://github.com/lipis/flag-icons/commit/e363090431b38e73aae6268632e356d217f46eb0) Bump svgo from 1.3.2 to 2.7.0 ### 📊 Changes **2 files changed** (+80 additions, -397 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+79 -396) </details> ### 📄 Description Bumps [svgo](https://github.com/svg/svgo) from 1.3.2 to 2.7.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>v2.7.0</h2> <p>If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our <a href="https://opencollective.com/svgo">OpenCollective</a>.</p> <p>Join us in our <a href="https://discord.gg/z8jX8NYxrE">discord</a></p> <h2>ES Modules support</h2> <p>This release adds support for es modules in svgo.config.js when package.json type field is &quot;module&quot;. For projects with mixed cjs and esm svgo.config.mjs and svgo.config.cjs are also supported as fallback.</p> <p>See <a href="https://github-redirect.dependabot.com/svg/svgo/pull/1583">svg/svgo#1583</a></p> <pre lang="js"><code>export default { plugins: [ 'preset-default' ] } </code></pre> <h2>Fixes</h2> <ul> <li>added validation to removeAttrs plugin (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1582">svg/svgo#1582</a>)</li> </ul> <h2>Refactorings</h2> <p>Follwing plugins are migrated to the new visitor plugin api and covered with tsdoc</p> <ul> <li>collapseGroups (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1572">svg/svgo#1572</a>)</li> <li>mergeStyles (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1575">svg/svgo#1575</a>)</li> <li>moveElemsAttrsToGroup (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1574">svg/svgo#1574</a>)</li> </ul> <p>Other internal changes</p> <ul> <li>covered svg parser with tsdoc (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1584">svg/svgo#1584</a>)</li> <li>avoided parentNode in style manager which makes us one step closer to releasing new plugin api publicly (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1576">svg/svgo#1576</a>)</li> <li>replaced colorette with nanocolors (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1586">svg/svgo#1586</a>)</li> </ul> <p>Thanks to <a href="https://github.com/renatorib"><code>@​renatorib</code></a>, <a href="https://github.com/matheus1lva"><code>@​matheus1lva</code></a>, <a href="https://github.com/omgovich"><code>@​omgovich</code></a>, <a href="https://github.com/deepsweet"><code>@​deepsweet</code></a>, <a href="https://github.com/ai"><code>@​ai</code></a>, <a href="https://github.com/samouss"><code>@​samouss</code></a> and <a href="https://github.com/TrySound"><code>@​TrySound</code></a></p> <h2>v2.6.1</h2> <ul> <li>fixed <code>optimize(svg)</code> usage without config (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1573">svg/svgo#1573</a>)</li> <li>added missing filter primitives to collections (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1571">svg/svgo#1571</a>)</li> <li>migrated to visitor plugin api and covered with tsdoc removeEmptyContainers plugin (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1570">svg/svgo#1570</a>)</li> </ul> <p>Thanks to <a href="https://github.com/XhmikosR"><code>@​XhmikosR</code></a>, <a href="https://github.com/thewilkybarkid"><code>@​thewilkybarkid</code></a>, <a href="https://github.com/renatorib"><code>@​renatorib</code></a>, <a href="https://github.com/matheus1lva"><code>@​matheus1lva</code></a>, <a href="https://github.com/omgovich"><code>@​omgovich</code></a> and <a href="https://github.com/TrySound"><code>@​TrySound</code></a></p> <h2>v2.6.0</h2> <p>If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our <a href="https://opencollective.com/svgo">OpenCollective</a>.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/svg/svgo/commit/acd91835f5dc554d76ce0cf16f88aca842f24a93"><code>acd9183</code></a> 2.7.0</li> <li><a href="https://github.com/svg/svgo/commit/543346ca9718c9bb4aaf0261a982615f91a3c169"><code>543346c</code></a> Refactor moveElemsAttrsToGroup (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1574">#1574</a>)</li> <li><a href="https://github.com/svg/svgo/commit/9ebff13725d716fdbf8bbaa266f34de1cd20c499"><code>9ebff13</code></a> Refactor mergeStyles (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1575">#1575</a>)</li> <li><a href="https://github.com/svg/svgo/commit/8af10de8d440a4bfdeffeadcba6a34bed615b25c"><code>8af10de</code></a> fix(plugin): removeAttrs: warn without attrs (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1582">#1582</a>)</li> <li><a href="https://github.com/svg/svgo/commit/6e23b9cf562b40290e87105eb98e291a2c364bb0"><code>6e23b9c</code></a> Cover svg parser with tsdoc (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1584">#1584</a>)</li> <li><a href="https://github.com/svg/svgo/commit/7111c52f9609bb91c2338ffcd703bedd2a22b30e"><code>7111c52</code></a> Support es modules (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1583">#1583</a>)</li> <li><a href="https://github.com/svg/svgo/commit/4c6a091a9026a6fdd0e67728e7bf7532e4b525dd"><code>4c6a091</code></a> Replace colorette with nanocolors (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1586">#1586</a>)</li> <li><a href="https://github.com/svg/svgo/commit/08373acf22370406aa03d49033d961629bc924ef"><code>08373ac</code></a> Create SECURITY.md (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1580">#1580</a>)</li> <li><a href="https://github.com/svg/svgo/commit/79ceb09dafc0ee2dc88482f3a875cd5e4b264741"><code>79ceb09</code></a> Avoid node.parentNode in style manager (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1576">#1576</a>)</li> <li><a href="https://github.com/svg/svgo/commit/e3c687324338be8d793177e0854d0a935e221191"><code>e3c6873</code></a> Refactor collapseGroups (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1572">#1572</a>)</li> <li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v1.3.2...v2.7.0">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/~trysound">trysound</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=1.3.2&new-version=2.7.0)](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:02 +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#1077
No description provided.