Socket
Socket
Sign inDemoInstall

postcss-discard-comments

Package Overview
Dependencies
Maintainers
8
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-discard-comments - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

2

package.json
{
"name": "postcss-discard-comments",
"version": "5.1.0",
"version": "5.1.1",
"description": "Discard comments in your CSS files with PostCSS.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -47,3 +47,2 @@ 'use strict';

}
const parsed = commentParser(source).reduce((value, [type, start, end]) => {

@@ -110,2 +109,4 @@ const contents = source.slice(start, end);

node.raws.important = b.length ? node.raws.important : '!important';
} else {
node.value = replaceComments(node.value, list.space);
}

@@ -112,0 +113,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc