reshape / minify

a reshape plugin to minify html output
Other
5 stars 3 forks source link

Update svgo to the latest version 🚀 #25

Open greenkeeper[bot] opened 6 years ago

greenkeeper[bot] commented 6 years ago

Version 1.0.0 of svgo was just published.

Dependency svgo
Current Version 0.7.2
Type dependency

The version 1.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of svgo.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 1.0.0 / 30.10.2017
  • SVGO now requires Node 4 or higher.
  • Changed CLI syntax to treat filenames as input, thus allowing svgo *.svg syntax.
  • SVGO.optimize() now returns Promise.
  • Added datauri option to JS API.
  • Added support for SVG 2 href attribute.
  • cleanupIDs now don't removes IDs if an image consists only of defs.
  • New plugin inlineStyles for converting styles from <style> element to attributes if possible (by @strarsis).
  • cleanupNumericValues now rounds values in viewBox (by @caub).
  • New plugin: removeScriptElement (disabled by default) to align with removeStyleElement (by @pklingem).
  • minifyStyles now removes styles based on usage with controlling options (by @lahmatiy).
  • New option except in cleanupIDs to keep IDs (by @Velenir).
  • New option force in cleanupIDs to work even if SVG contains style or script elements (by @Velenir).
  • Fixed arcs transforming with different signed scale parameters (by @JoshyPHP).
  • Fixed removeUselessStrokeAndFill to check for style or script elements per file (by @caub).
  • New option keepAriaAttrs in removeUnknownsAndDefaults (by @davidtheclark).
  • Corrected parsing in cleanupIDs to account animation syntax (by @caub).
  • #ff0000 now converts to red as well as #f00 (by @davidleston).
  • Added “gray” variation to colors list per CSS Color Module Level 4 (by @JoshyPHP).
  • Fixed error on empty files.
  • A separator character in removeAttrs now can be changed per elemSeparator option (by @mikestreety).
  • addAttributesToSVGElement now can add values to attributes.
Commits

The new version differs by 82 commits.

  • 80ed684 v1.0.0
  • 1aa9e9a Remove 'recursvie' option as not implemented
  • 999cfbd Convert circles/ellipses to paths (#818)
  • b51192c Fixed addClassesToSVGElement and added test
  • eceb95c Updated addElementsToSVGElement plugin to support attribute values, as well as attribute names.
  • 239f383 Pin css-tree version (fixes #813)
  • 6459089 Allow element seperator to be changed in config
  • 91d9810 Add prefixIds plugin (#700)
  • d828a62 Bump dependencies and minor fix for inlineStyles
  • 2523799 Add inlineStyles plugin (rewrite of localStyles plugin) (#592)
  • f2fa7a3 add support for tab indent
  • 055e303 Tune plugins
  • f8234fd Prevent removing IDs in SVGs only with defs
  • 3b6fa1e Fix typo in test
  • 93f2760 Support "href" attribute from SVG 2, fixes #772

There are 82 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.9%) to 99.091% when pulling 720e58ea97f0f373be5c9fd3fb44fbe4bd5445c2 on greenkeeper/svgo-1.0.0 into 3d660b634069faf8d125d35b89ba957f6192e833 on master.

greenkeeper[bot] commented 6 years ago

Version 1.0.1 just got published.

Update to this version instead 🚀

Release Notes 1.0.1 / 31.10.2017
  • Fixed error “Object.defineProperty called on non-object” in images with <foreignObject/>.
Commits

The new version differs by 2 commits.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.0.2 just got published.

Update to this version instead 🚀

Release Notes 1.0.2 / 03.11.2017
  • Fixed a couple of errors related to inlineStyles plugin.
  • Updated some lost details in documentation to reflect v1.0 changes.
Commits

The new version differs by 4 commits.

  • 3ec0767 v1.0.2
  • ceccf1f Fix inlineStyles working on foreignObject content. Fixes #823
  • f03d832 Update readme to sync with actual state
  • e25cf30 Add tests and fix for onlyMatchedOnce option cleaning classes/IDs that matched more than once.

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.0.3 just got published.

Update to this version instead 🚀

Release Notes 1.0.3 / 08.11.2017
  • Fixed removeViewBox plugin to check for zero start coordinates.
  • Removed extra info from STDOUT when it set to output.
Commits

The new version differs by 4 commits.

  • a6d2c88 v1.0.3
  • f067ea9 Fix removeViewBox to check for zero start coordinates. Fixes #832
  • efcb07e Avoid extra trailing whitespace in stdout mode
  • 7797bba Do not print statistics when using in stdout mode

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.0.4 just got published.

Update to this version instead 🚀

Commits

The new version differs by 6 commits.

  • c47c71b v1.0.4
  • b6274f2 Bump dependencies
  • 1a3c32b Fix error due to invalid transform. Close #846
  • b182569 Fixes #218
  • 54de6f7 Correct check for switch
  • eb3b4b8 Prevent removing groups that are direct child of "". Fix #845

See the full diff

greenkeeper[bot] commented 6 years ago

Version 1.0.5 just got published.

Update to this version instead 🚀

Commits

The new version differs by 9 commits.

  • cd36e14 v1.0.5
  • 4dbd257 Merge pull request #908 from harrisjose/master
  • 40987c9 Fix issue with prefixIDs plugin not replacing url() values correctly
  • 2ce1066 Add failing test case for prefixIDs plugin
  • 6a9bc56 Clarify how to enable/disable multiple plugins (#904)
  • e0a8367 Fix enable-background attribute
  • 36213a8 inkscape-svgo
  • 981328e Merge pull request #902 from bnjmn-jns/patch-1
  • 3ec6cef Added config example to node example file

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for 1.1.0 / 16.09.2018
  • Fixed collapseGroups plugin removing property with a child having inherit value.
  • version attribute value is not more being rounded.
  • Fixed jsAPI clone method with respect to the introduced CSS classes.
  • Fixed scaling strokes with vector-effect="non-scaling-stroke" (by @alexjlockwood).
  • Fixed passing properties from groups in collapseGroups plugin if child have a filter (by @stristr).
  • Fixed arc path commands parsing without separators after flags, effectively producing a JS error.
  • Fixed viewBox separators parsing.
  • Fixed removeNonInheritableGroupAttrs plugin to work as intended.
  • Fixed removing path segments without length in presence of stroke-linecap.
  • Fixed removeUnknownsAndDefaults plugin removing attributes from elements with id.
  • Fixed converting to large arcs from nearly straight lines curves.
  • Fixed collapseGroups plugin affecting <switch> and its subgroups.
  • Fixed convertTransform plugin converting to rotate() with wrong sign in some case.
  • Fixed cleanupListOfValues plugin not preserving non-numeric values.
  • Fixed !important being passed to attributes in convertStyleToAttrs plugin.
  • Added option keepImportant to convertStyleToAttrs plugin to preserve styles with !important.
  • removeHiddenElems plugin now also removes elements with visibility="hidden" attribute (by @mikolaj92).
  • Added forceAbsolutePath option to convertPathData plugin to always use absolute coordinates (by @cool).
  • Added keepRoleAttr for removeUnknownsAndDefaults plugin to preserve role- attributes (by @himedlooff).
  • Added xmlns order option in sortAttrs plugin (by @hellatan).
  • Added an option to prefixIds plugin to pass prefix as false or as a function that returns false (by @vzaidman).
  • prefixIds plugin now adds prefix to every class (by @vzaidman).
  • Updated and improved docs a bit (multiple authors).
Commits

The new version differs by 49 commits.

  • e7bdce6 v1.1.0
  • 37d4ca8 Fix cleanupListOfValues to preserve non-numeric values
  • eeeb67d Fix convertTransform wrong rotate sign
  • 7a07b84 Fix collapseGroups plugin affecting switch and subgroups
  • 5800635 Fix converting to large arcs from nearly straight lines curves
  • a4fb3a4 Prevent removeUnknownsAndDefaults removing attributes from elements with id
  • 831f95f Fix empty path segments removing with stroke-linecap
  • a165206 Update presentation attribute collection for removeNonInheritableGroupAttrs plugin
  • 36db31a Fix removeNonInheritableGroupAttrs not working as intended
  • f3bcbcc Fix viewBox value parsing
  • 3c82fd7 Correct parsing of arc flags without following comma/spaces
  • 86ecd37 Handle !important keyword in convertStyleToAttrs
  • 72fa7d3 Sync readme and tty help
  • 32e9e41 Update css-select to version 2
  • aa99c6f Update js-yaml to version 3.12

There are 49 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for 1.1.1 / 17.09.2018
  • Fixed crash in SVGO.optimize() when ‘info’ is absent.
  • Removed extra space after cleanupListOfValues plugin.
Commits

The new version differs by 3 commits.

  • e68d24f v1.1.1
  • dfcc145 Fix crash when ‘info’ is absent
  • ed75e56 Fix and update cleanupListOfValues tests

See the full diff