postcss-svgo
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
# 2.0.0 | ||
* Upgraded to PostCSS 5.0. | ||
# 1.1.0 | ||
@@ -2,0 +6,0 @@ |
@@ -56,3 +56,3 @@ 'use strict'; | ||
var promises = []; | ||
css.eachDecl(function (decl) { | ||
css.walkDecls(function (decl) { | ||
if (dataURI.test(decl.value)) { | ||
@@ -59,0 +59,0 @@ promises.push(minifyPromise(svgo, decl)); |
{ | ||
"name": "postcss-svgo", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Optimise inline SVG with PostCSS.", | ||
@@ -9,3 +9,3 @@ "main": "dist/index.js", | ||
"test-unformatted": "babel-tape-runner \"src/**/__tests__/*.js\"", | ||
"test": "npm run test-unformatted | faucet" | ||
"test": "npm run test-unformatted | tap-spec" | ||
}, | ||
@@ -27,7 +27,7 @@ "files": [ | ||
"devDependencies": { | ||
"babel": "^5.6.2", | ||
"babel-tape-runner": "^1.1.0", | ||
"faucet": "0.0.1", | ||
"babel": "^5.8.21", | ||
"babel-tape-runner": "^1.2.0", | ||
"pleeease-filters": "^1.0.1", | ||
"tape": "^4.0.0" | ||
"tap-spec": "^4.1.0", | ||
"tape": "^4.2.0" | ||
}, | ||
@@ -44,5 +44,5 @@ "homepage": "https://github.com/ben-eb/postcss-svgo", | ||
"is-svg": "^1.1.1", | ||
"postcss": "^4.1.11", | ||
"svgo": "^0.5.2" | ||
"postcss": "^5.0.2", | ||
"svgo": "^0.5.6" | ||
} | ||
} |
7238
0.6%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated