felixfbecker / svg-screenshots

📸🧩 Browser extension to take scalable, semantic, accessible screenshots of websites in SVG format.
826 stars 31 forks source link

fix(deps): update dependency svgo to v2 #63

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svgo ^1.3.2 -> ^2.3.0 age adoption passing confidence

Release Notes

svg/svgo ### [`v2.3.0`](https://togithub.com/svg/svgo/releases/v2.3.0) [Compare Source](https://togithub.com/svg/svgo/compare/v2.2.2...v2.3.0) Hey, everybody! We have a big release here. - The new plugin is added for merging style elements into one. See [#​1381](https://togithub.com/svg/svgo/issues/1381) Before: ```svg ``` After: ```svg ``` - CLI got new `--exclude` flag which uses regexps to exclude some files from `--folder`. See [#​1409](https://togithub.com/svg/svgo/issues/1409) ```bash svgo --folder=svgs --exclude "invalid-icon" "bad-.+" ``` - Internal AST is migrated to [XAST](https://togithub.com/syntax-tree/xast). This spec makes maintaining plugins easier and may be used as interop with other tools like SVGR. - The new visitor plugin type combines features of "full", "perItem" and "perItemReverse" plugins without loosing simplicity. Eventually only visitor api will be supported. See [#​1454](https://togithub.com/svg/svgo/issues/1454) Also small fixes - override default floatPrecision in plugins with globally specified one ([`7389bcd`](https://togithub.com/svg/svgo/commit/7389bcddbfadc49de84203b048199b4a397d656a)) - fix rendering -0 in path data ([`3d4adb6`](https://togithub.com/svg/svgo/commit/3d4adb6b044ff1361a970ea049f90d5626ea9888)) - make browser bundle 30% smaller ([`2799622`](https://togithub.com/svg/svgo/commit/279962207e8c99ca8dd9f0ac093071aabafc8721)) - simplified convertPathData plugin ([`a04b27a`](https://togithub.com/svg/svgo/commit/a04b27a1df12b9e6dc019fb8d50733d3d280a5c5) and [`6165743`](https://togithub.com/svg/svgo/commit/61657433e161b6e5de61d470ac34e302b3aa297b)) - prepared for more regression tests ([`d89d36e`](https://togithub.com/svg/svgo/commit/d89d36eacec7bd52002ef55ec6e2bd698352123e)) Thanks to [@​chambo-e](https://togithub.com/chambo-e), [@​strarsis](https://togithub.com/strarsis), [@​XhmikosR](https://togithub.com/XhmikosR), [@​omgovich](https://togithub.com/omgovich) and [@​TrySound](https://togithub.com/TrySound) ### [`v2.2.2`](https://togithub.com/svg/svgo/releases/v2.2.2) [Compare Source](https://togithub.com/svg/svgo/compare/v2.2.1...v2.2.2) - ignore keyframes in computeStyle ([`ddbd704`](https://togithub.com/svg/svgo/commit/ddbd7046b2aed8133864b2d98feef6a80f665540)) ### [`v2.2.1`](https://togithub.com/svg/svgo/releases/v2.2.1) [Compare Source](https://togithub.com/svg/svgo/compare/v2.2.0...v2.2.1) This is a big patch with new style computing ([#​1399](https://togithub.com/svg/svgo/pull/1399)) and landed to master regression tests A lot of bugs are fixed - fixed scientific notation parsing in paths ([`d6f972c`](https://togithub.com/svg/svgo/commit/d6f972c970d3cdd68ccc740e1a610ff0b23fcd34)) - forbade invalid `