github svg/svgo v2.2.1

latest releases: v3.2.0, v3.1.0, v3.0.5...
3 years ago

This is a big patch with new style computing (#1399) and landed to master regression tests

A lot of bugs are fixed

  • fixed scientific notation parsing in paths (d6f972c)
  • forbade invalid <style> type attribute in inlineStyles plugin (#1400)
  • fixed <style> support in removeHiddenElems plugin (#1399)
  • fixed noSpaceAfterFlags option support (0e02fd9)
  • fixed floatPrecision when extending default plugins (d58a7e6)
  • fixed <style> support when removing useless path commands (c21fef5)
  • fixed <style> support when combining path commands (ba7e9bd)
  • prevent removing filter primitive defaults (555a961)
  • prevent merging paths with markers (de4fd79)
  • prevent removing single point paths with markers (21c04e4)
  • keep empty <pattern> when at least one argument is present (0e6b0c4)
  • keep <marker> with display none (d3e3726)
  • preserve empty conditional processing attributes (a2b0e73)
  • preserve viewBox in nested <svg> (28c01cf)

435 of 526 regression tests are passing

Thanks to @XhmikosR @sk- and @TrySound

Don't miss a new svgo release

NewReleases is sending notifications on new releases.