Socket
Socket
Sign inDemoInstall

postcss-discard-empty

Package Overview
Dependencies
5
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

4

CHANGELOG.md

@@ -0,3 +1,7 @@

# 1.1.0
* Now uses the PostCSS `4.1` plugin API.
# 1.0.0
* Initial release.

6

index.js
'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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc