damianstasik / vite-svg

Use SVG files as Vue components with Vite
MIT License
106 stars 14 forks source link

Bump svgo from 1.3.2 to 3.0.0 #93

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps svgo from 1.3.2 to 3.0.0.

Release notes

Sourced from svgo's releases.

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
    }
  ]
}

extendDefaultPlugins is removed, preset-default plugin should be used instead when need to customize plugins defaults

</tr></table> 

... (truncated)

Commits
  • a40fa21 3.0.0
  • cb1569b Update readme
  • 6295c60 Rename cleanupIDs to cleanupIds for consistency with prefixIds
  • bc07c48 Remove prefix param from cleanupIDs plugin
  • 53ed57c Expose typescript types
  • f5d1dd0 Loosly cover with types convertPathData
  • 5857816 Remove result.info.width and result.info.height
  • 420ae9d Throw SvgoParserError
  • dd9cad1 Add sortAttrs to default preset
  • e6bd703 Remove unused active and type fields from plugins
  • Additional commits viewable in compare view
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)
dependabot[bot] commented 1 year ago

Superseded by #96.