[PR #886] [CLOSED] Bump svgo from 2.7.0 to 2.8.0 #1094

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

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/886
Author: @dependabot[bot]
Created: 11/3/2021
Status: Closed

Base: mainHead: dependabot/npm_and_yarn/svgo-2.8.0


📝 Commits (1)

  • 4666a58 Bump svgo from 2.7.0 to 2.8.0

📊 Changes

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

View changed files

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

📄 Description

Bumps svgo from 2.7.0 to 2.8.0.

Release notes

Sourced from svgo's releases.

v2.8.0

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

Join us in our discord

Features and bug fixes

  • added --no-color flag for testing purposes but you may find it useful (svg/svgo#1588)
  • handle url() in style attributes properly (svg/svgo#1592)
  • removeXMLNS plugin now removes xmlns:xlink attribute (svg/svgo#1508)
  • load .cjs configuration only with require to fix segfaults in linux (svg/svgo#1605)

Refactorings

  • simplified and covered with types svg stringifier (svg/svgo#1593)
  • migrated to visitor api and covered with types removeEmptyAttrs plugin (svg/svgo#1594)
  • migrated to visitor api and covered with types inlineStyles plugin (svg/svgo#1601)
  • migrated to picocolors (svg/svgo#1606)

DX

I found some users are trying to enable plugins which are not part of default preset, for example

{
  name: 'preset-default',
  params: {
    overrides: {
      cleanupListOfValues: true
    }
  }
}

To fix this I made docs more concrete about plugin (https://github.com/svg/svgo/commit/5165ccb9d1f116b26a30a020e65aadd666012cb1) and introduced a warning when true is specified in overrides (https://github.com/svg/svgo/commit/cb7e9be623b6e2fbbfcb9b67c4c85131e1477925). Please give us feedback if you still have issues.

Thanks to @​IlyaSkriblovsky, @​devongovett, @​matheus1lva, @​omgovich, @​renatorib and @​TrySound

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/886 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/3/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/svgo-2.8.0` --- ### 📝 Commits (1) - [`4666a58`](https://github.com/lipis/flag-icons/commit/4666a58d7df75adedfa73a32cf5d9a50ecb2c712) Bump svgo from 2.7.0 to 2.8.0 ### 📊 Changes **2 files changed** (+11 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+10 -10) </details> ### 📄 Description Bumps [svgo](https://github.com/svg/svgo) from 2.7.0 to 2.8.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.8.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>Features and bug fixes</h2> <ul> <li>added --no-color flag for testing purposes but you may find it useful (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1588">svg/svgo#1588</a>)</li> <li>handle url() in style attributes properly (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1592">svg/svgo#1592</a>)</li> <li>removeXMLNS plugin now removes <code>xmlns:xlink</code> attribute (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1508">svg/svgo#1508</a>)</li> <li>load .cjs configuration only with <code>require</code> to fix segfaults in linux (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1605">svg/svgo#1605</a>)</li> </ul> <h2>Refactorings</h2> <ul> <li>simplified and covered with types svg stringifier (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1593">svg/svgo#1593</a>)</li> <li>migrated to visitor api and covered with types removeEmptyAttrs plugin (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1594">svg/svgo#1594</a>)</li> <li>migrated to visitor api and covered with types inlineStyles plugin (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1601">svg/svgo#1601</a>)</li> <li>migrated to picocolors (<a href="https://github-redirect.dependabot.com/svg/svgo/pull/1606">svg/svgo#1606</a>)</li> </ul> <h2>DX</h2> <p>I found some users are trying to enable plugins which are not part of default preset, for example</p> <pre lang="js"><code>{ name: 'preset-default', params: { overrides: { cleanupListOfValues: true } } } </code></pre> <p>To fix this I made docs more concrete about plugin (<a href="https://github.com/svg/svgo/commit/5165ccb9d1f116b26a30a020e65aadd666012cb1">https://github.com/svg/svgo/commit/5165ccb9d1f116b26a30a020e65aadd666012cb1</a>) and introduced a warning when true is specified in overrides (<a href="https://github.com/svg/svgo/commit/cb7e9be623b6e2fbbfcb9b67c4c85131e1477925">https://github.com/svg/svgo/commit/cb7e9be623b6e2fbbfcb9b67c4c85131e1477925</a>). Please give us feedback if you still have issues.</p> <p>Thanks to <a href="https://github.com/IlyaSkriblovsky"><code>@​IlyaSkriblovsky</code></a>, <a href="https://github.com/devongovett"><code>@​devongovett</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/renatorib"><code>@​renatorib</code></a> and <a href="https://github.com/TrySound"><code>@​TrySound</code></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/svg/svgo/commit/b37d90e12a87312bba87a6c52780884e6e595e23"><code>b37d90e</code></a> 2.8.0</li> <li><a href="https://github.com/svg/svgo/commit/cb7e9be623b6e2fbbfcb9b67c4c85131e1477925"><code>cb7e9be</code></a> Add warning about enabling plugins in presets</li> <li><a href="https://github.com/svg/svgo/commit/5165ccb9d1f116b26a30a020e65aadd666012cb1"><code>5165ccb</code></a> Make docs more descriptive</li> <li><a href="https://github.com/svg/svgo/commit/72b972261d03f0c40315cd6b9325100d7305a5d6"><code>72b9722</code></a> Refactor inlineStyles (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1601">#1601</a>)</li> <li><a href="https://github.com/svg/svgo/commit/c7995035efc2a5c11fabd1f53f990e954c64cb09"><code>c799503</code></a> Load .cjs with require only (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1605">#1605</a>)</li> <li><a href="https://github.com/svg/svgo/commit/4b4391fbe36c7844535a42b79775d671683da87d"><code>4b4391f</code></a> Refactor basic cli tests (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1595">#1595</a>)</li> <li><a href="https://github.com/svg/svgo/commit/2d6deeaf219edacbad9cf362a67fc65456486040"><code>2d6deea</code></a> Remove xmlns:xlink in removeXMLNS plugin (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1508">#1508</a>)</li> <li><a href="https://github.com/svg/svgo/commit/d29cec48e3f540bad8a20dbd68a2b9bd600a369d"><code>d29cec4</code></a> Migrate to picocolors (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1606">#1606</a>)</li> <li><a href="https://github.com/svg/svgo/commit/4166c32eb8b0dbf09ab921b9e31ac3f8e02650fd"><code>4166c32</code></a> Migrate to simple yarn cache (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1608">#1608</a>)</li> <li><a href="https://github.com/svg/svgo/commit/4377ea38c419fba373acef2eb56f6f7a21a77dda"><code>4377ea3</code></a> Refactor removeEmptyAttrs (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1594">#1594</a>)</li> <li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v2.7.0...v2.8.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=2.7.0&new-version=2.8.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:07 +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#1094
No description provided.