postcss-discard-empty
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -0,3 +1,7 @@ | ||
# 1.1.0 | ||
* Now uses the PostCSS `4.1` plugin API. | ||
# 1.0.0 | ||
* Initial release. |
'use strict'; | ||
var postcss = require('postcss'); | ||
function remove (callback) { | ||
@@ -9,3 +11,3 @@ return function (node) { | ||
module.exports = function () { | ||
module.exports = postcss.plugin('postcss-discard-empty', function () { | ||
return function (css) { | ||
@@ -25,2 +27,2 @@ css.eachDecl(remove(function (decl) { | ||
}; | ||
}; | ||
}); |
{ | ||
"name": "postcss-discard-empty", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Discard empty rules and values with PostCSS.", | ||
@@ -17,6 +17,8 @@ "main": "index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"postcss": "^4.1.2" | ||
}, | ||
"devDependencies": { | ||
"jshint": "^2.6.3", | ||
"jshint-stylish": "^1.0.1", | ||
"postcss": "^4.0.6", | ||
"tap-spec": "^2.2.2", | ||
@@ -23,0 +25,0 @@ "tape": "^3.5.0" |
3835
4
23
1
+ Addedpostcss@^4.1.2
+ Addedamdefine@1.0.1(transitive)
+ Addedes6-promise@2.3.0(transitive)
+ Addedjs-base64@2.1.9(transitive)
+ Addedpostcss@4.1.16(transitive)
+ Addedsource-map@0.4.4(transitive)