jaywcjlove / svgtofont

Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
https://jaywcjlove.github.io/svgtofont
MIT License
536 stars 84 forks source link

fix(deps): update dependency svgo to v2.5.0 #123

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svgo 2.4.0 -> 2.5.0 age adoption passing confidence
@types/svgo 2.4.0 -> 2.4.1 age adoption passing confidence

Release Notes

svg/svgo ### [`v2.5.0`](https://togithub.com/svg/svgo/releases/v2.5.0) [Compare Source](https://togithub.com/svg/svgo/compare/v2.4.0...v2.5.0) In this release we have a couple of fixes - fixed removing transform-origin attribute (https://github.com/svg/svgo/commit/680e143daf622bc3ace9e0b82f626507caad0530) - fixed applying transform to path arc with zero radius (https://github.com/svg/svgo/commit/ac8edbaf4163fd7e0934b72175d60e71844d8cf9) Visitor api now get parentNode in enter and exit callback ```js return { element: { enter: (node, parentNode) => { }, exit: (node, parentNode) => { } } } ``` And a lot of plugins are migrated to visitor api and covered them with tsdoc - addAttributesToSVGElement - addClassesToSVGElement - cleanupAttrs - cleanupEnableBackground - cleanupListOfValues - cleanupNumericValues - convertColors - convertEllipseToCircle - convertShapeToPath - convertTransform - mergePaths - removeAttributesBySelector - removeAttrs - removeComments - removeDesc - removeDoctype - removeElementsByAttr - removeEmptyText - removeMetadata - removeRasterImages - removeScriptElement - removeStyleElement - removeTitle - removeXMLProcInst - removeHiddenElems - removeViewBox - removeUselessDefs - removeOffCanvasPaths - removeUnknownsAndDefaults - sortDefsChildren Thanks to [@​XhmikosR](https://togithub.com/XhmikosR), [@​morganney](https://togithub.com/morganney), [@​oBusk](https://togithub.com/oBusk), [@​matheus1lva](https://togithub.com/matheus1lva) and [@​TrySound](https://togithub.com/TrySound)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by WhiteSource Renovate. View repository job log here.