svgo
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "svgo", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Nodejs-based tool for optimizing SVG vector graphics files", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -16,3 +16,3 @@ 'use strict'; | ||
csstree = require('css-tree'), | ||
cssRx = require('css-url-regex')(), | ||
cssRx = require('css-url-regex'), | ||
unquote = require('unquote'), | ||
@@ -41,3 +41,3 @@ collections = require('./_collections.js'), | ||
var matchUrl = function(val) { | ||
var urlMatches = cssRx.exec(val); | ||
var urlMatches = cssRx().exec(val); | ||
if (urlMatches === null) { | ||
@@ -44,0 +44,0 @@ return false; |
@@ -50,3 +50,3 @@ **english** | [русский](https://github.com/svg/svgo/blob/master/README.ru.md) | ||
| [cleanupNumericValues](https://github.com/svg/svgo/blob/master/plugins/cleanupNumericValues.js) | round numeric values to the fixed precision, remove default `px` units | | ||
| [cleanupListOfValues](https://github.com/svg/svgo/blob/master/plugins/cleanupListOfValues.js) | round numeric values in attributes that take a list of numbers (like `viewBox` or `enableBackground`) | | ||
| [cleanupListOfValues](https://github.com/svg/svgo/blob/master/plugins/cleanupListOfValues.js) | round numeric values in attributes that take a list of numbers (like `viewBox` or `enable-background`) | | ||
| [moveElemsAttrsToGroup](https://github.com/svg/svgo/blob/master/plugins/moveElemsAttrsToGroup.js) | move elements' attributes to their enclosing group | | ||
@@ -93,4 +93,4 @@ | [moveGroupAttrsToElems](https://github.com/svg/svgo/blob/master/plugins/moveGroupAttrsToElems.js) | move some group attributes to the contained elements | | ||
--config=CONFIG : Config file or JSON string to extend or replace default | ||
--disable=DISABLE : Disable plugin by name | ||
--enable=ENABLE : Enable plugin by name | ||
--disable=PLUGIN : Disable plugin by name, "--disable={PLUGIN1,PLUGIN2}" for multiple plugins | ||
--enable=PLUGIN : Enable plugin by name, "--enable={PLUGIN3,PLUGIN4}" for multiple plugins | ||
--datauri=DATAURI : Output as Data URI string (base64, URI encoded or unencoded) | ||
@@ -190,2 +190,3 @@ --multipass : Enable multipass | ||
* as a PostCSS plugin - [postcss-svgo](https://github.com/ben-eb/postcss-svgo) | ||
* as an Inkscape plugin - [inkscape-svgo](https://github.com/konsumer/inkscape-svgo) | ||
@@ -192,0 +193,0 @@ ## License and Copyright |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
370192
195
1