[PR #800] [MERGED] Bump svgo from 1.3.2 to 2.0.0 #1028

Closed
opened 2026-03-03 14:41:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/800
Author: @dependabot-preview[bot]
Created: 2/18/2021
Status: Merged
Merged: 2/18/2021
Merged by: @dependabot-preview[bot]

Base: masterHead: dependabot/npm_and_yarn/svgo-2.0.0


📝 Commits (1)

  • 403efa0 Bump svgo from 1.3.2 to 2.0.0

📊 Changes

2 files changed (+79 additions, -248 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+78 -247)

📄 Description

Bumps svgo from 1.3.2 to 2.0.0.

Release notes

Sourced from svgo's releases.

v2.0.0

Happy to introduce SVGO 2.0. Package size was drastically reduced. Configuration is heavily simplified. Node 10.13+ is required.

Config changes

Since early versions plugins configuration was affected by yaml syntax. Though it was not practial in json or javascript for writing and for internal work.

plugins:
    - removeViewBox: true
    - removeAttr:
        attrs: '(fill|stroke)'
{
  plugins: [
    {
      removeViewBox: true
    },
    {
      removeAttr: {
        attrs: '(fill|stroke)'
      }
    }
  ]
}

In the new version plugins configuration is closer to internal representation.

{
  plugins: [
    {
      name: 'removeViewBox'
    },
    {
      name: 'removeAttr',
      params: {
        attrs: '(fill|stroke)'
      }
    }
  ]
}

In v1 full flag allowed to disable all default plugins and run only specified

... (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.

If all status checks pass Dependabot will automatically merge this pull request.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

🔄 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/800 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 2/18/2021 **Status:** ✅ Merged **Merged:** 2/18/2021 **Merged by:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/svgo-2.0.0` --- ### 📝 Commits (1) - [`403efa0`](https://github.com/lipis/flag-icons/commit/403efa0ec606fc52e162c0b1ab8bf6c2c7b81412) Bump svgo from 1.3.2 to 2.0.0 ### 📊 Changes **2 files changed** (+79 additions, -248 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+78 -247) </details> ### 📄 Description Bumps [svgo](https://github.com/svg/svgo) from 1.3.2 to 2.0.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.0.0</h2> <p>Happy to introduce SVGO 2.0. Package size was drastically reduced. Configuration is heavily simplified. Node 10.13+ is required.</p> <h2>Config changes</h2> <p>Since early versions plugins configuration was affected by yaml syntax. Though it was not practial in json or javascript for writing and for internal work.</p> <pre lang="yaml"><code>plugins: - removeViewBox: true - removeAttr: attrs: '(fill|stroke)' </code></pre> <pre lang="js"><code>{ plugins: [ { removeViewBox: true }, { removeAttr: { attrs: '(fill|stroke)' } } ] } </code></pre> <p>In the new version plugins configuration is closer to internal representation.</p> <pre lang="js"><code>{ plugins: [ { name: 'removeViewBox' }, { name: 'removeAttr', params: { attrs: '(fill|stroke)' } } ] } </code></pre> <p>In v1 <code>full</code> flag allowed to disable all default plugins and run only specified</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/svg/svgo/commit/814863bcd29ea9902cf84b2148f72bf83abc796f"><code>814863b</code></a> v2.0.0</li> <li><a href="https://github.com/svg/svgo/commit/9cfa98d03bb35156e47b4c25806b1059fb8fdb57"><code>9cfa98d</code></a> Bump node to 10.13</li> <li><a href="https://github.com/svg/svgo/commit/8cf52c024701aa90e2c91125f7f21ed4c42a4ef0"><code>8cf52c0</code></a> Replace npmignore with package.json files</li> <li><a href="https://github.com/svg/svgo/commit/fbe82cd9c28099e3a8d8e590e83ea7c69e547509"><code>fbe82cd</code></a> Upgrade commander</li> <li><a href="https://github.com/svg/svgo/commit/7a4217db4bb71d81dfaec857e2519132b7eb38bf"><code>7a4217d</code></a> Replace fs-extra with del</li> <li><a href="https://github.com/svg/svgo/commit/2236d0fd60f368929465f9e747092170b5719e87"><code>2236d0f</code></a> Upgrade mocha and refactor cli tests with async/await</li> <li><a href="https://github.com/svg/svgo/commit/d761decc0e7026d45c0ca81812c1cd7a8ab334f0"><code>d761dec</code></a> Drop --enable and --disable flags</li> <li><a href="https://github.com/svg/svgo/commit/fd5e6406b1d1da144ae8137a341da1a562f220f3"><code>fd5e640</code></a> Upgrade css-select</li> <li><a href="https://github.com/svg/svgo/commit/a6f14018eee0c9df0fe9050d1e75052099a43c0a"><code>a6f1401</code></a> Implement loadConfig utility (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1328">#1328</a>)</li> <li><a href="https://github.com/svg/svgo/commit/d273b266054c0dbdec997d995b420110bb8e99ab"><code>d273b26</code></a> Provide es module bundle for browser (<a href="https://github-redirect.dependabot.com/svg/svgo/issues/1326">#1326</a>)</li> <li>Additional commits viewable in <a href="https://github.com/svg/svgo/compare/v1.3.2...v2.0.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://api.dependabot.com/badges/compatibility_score?dependency-name=svgo&package-manager=npm_and_yarn&previous-version=1.3.2&new-version=2.0.0)](https://dependabot.com/compatibility-score/?dependency-name=svgo&package-manager=npm_and_yarn&previous-version=1.3.2&new-version=2.0.0) 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) If all status checks pass Dependabot will automatically merge this pull request. [//]: # (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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </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:41:49 +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#1028
No description provided.