curbengh / hexo-yam

Yet Another Minifier. Minify static web assets and compress using brotli and zstd.
MIT License
24 stars 2 forks source link

chore(deps): bump svgo from 2.8.0 to 3.0.0 #135

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps svgo from 2.8.0 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


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)
codecov-commenter commented 1 year ago

Codecov Report

Base: 98.96% // Head: 97.94% // Decreases project coverage by -1.01% :warning:

Coverage data is based on head (a6e2ea0) compared to base (4b4d3cb). Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #135 +/- ## ========================================== - Coverage 98.96% 97.94% -1.02% ========================================== Files 1 1 Lines 193 195 +2 Branches 44 44 ========================================== Hits 191 191 - Misses 2 4 +2 ``` | [Impacted Files](https://codecov.io/gh/curbengh/hexo-yam/pull/135?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [lib/filter.js](https://codecov.io/gh/curbengh/hexo-yam/pull/135/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-bGliL2ZpbHRlci5qcw==) | `97.94% <75.00%> (-1.02%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.