svgo
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,5 @@ | ||
### [ [>](https://github.com/svg/svgo/tree/v1.1.1) ] 1.1.1 / 17.09.2018 | ||
* Fixed crash in `SVGO.optimize()` when ‘info’ is absent. | ||
* Removed extra space after `cleanupListOfValues` plugin. | ||
### [ [>](https://github.com/svg/svgo/tree/v1.1.0) ] 1.1.0 / 16.09.2018 | ||
@@ -2,0 +6,0 @@ * Fixed `collapseGroups` plugin removing property with a child having `inherit` value. |
@@ -48,3 +48,3 @@ 'use strict'; | ||
} | ||
if(info.path) { | ||
if (info && info.path) { | ||
svgjs.path = info.path; | ||
@@ -51,0 +51,0 @@ } |
{ | ||
"name": "svgo", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Nodejs-based tool for optimizing SVG vector graphics files", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -128,3 +128,3 @@ 'use strict'; | ||
roundedListArr.push('new'); | ||
} else { | ||
} else if (elem) { | ||
roundedListArr.push(elem); | ||
@@ -131,0 +131,0 @@ } |
377772