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.1.1 to 6.0.0

7

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

@@ -33,3 +33,3 @@ "main": "src/index.js",

"engines": {
"node": "^10 || ^12 || >=14.0"
"node": "^14 || ^16 || >=18.0"
},

@@ -41,4 +41,3 @@ "devDependencies": {

"postcss": "^8.2.15"
},
"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