Socket
Socket
Sign inDemoInstall

postcss-discard-empty

Package Overview
Dependencies
4
Maintainers
8
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1 to 5.0.2

15

package.json
{
"name": "postcss-discard-empty",
"version": "5.0.1",
"version": "5.0.2",
"description": "Discard empty rules and values with PostCSS.",

@@ -10,7 +10,2 @@ "main": "dist/index.js",

],
"scripts": {
"prebuild": "del-cli dist",
"build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"",
"prepublish": "yarn build"
},
"keywords": [

@@ -45,3 +40,7 @@ "compress",

},
"gitHead": "28c247175032fa03f04911cde56ad82d74d211cc"
}
"scripts": {
"prebuild": "rimraf dist",
"build": "babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\""
},
"readme": "# [postcss][postcss]-discard-empty\n\n> Discard empty rules and values with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-discard-empty) do:\n\n```\nnpm install postcss-discard-empty --save\n```\n\n## Example\n\nFor more examples see the [tests](src/__tests__/index.js).\n\n### Input\n\n```css\n@font-face;\nh1 {}\n{color:blue}\nh2 {color:}\nh3 {color:red}\n```\n\n### Output\n\n```css\nh3 {color:red}\n```\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n\n[postcss]: https://github.com/postcss/postcss\n"
}
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