Socket
Socket
Sign inDemoInstall

uglifycss

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uglifycss - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

issue38.css

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Port of YUI CSS Compressor to NodeJS",
"version": "0.0.19",
"version": "0.0.20",
"keywords": [

@@ -8,0 +8,0 @@ "css",

@@ -98,4 +98,13 @@ /**

if (foundTerminator) {
token = css.substring(startIndex, endIndex);
token = token.replace(/\s+/g, "");
var parts = token.split(",");
if (parts.length > 1 && parts[0].slice(-7) == ";base64") {
token = token.replace(/\s+/g, "");
} else {
token = token.replace(/\n/g, " ");
token = token.replace(/\s+/g, " ");
token = token.replace(/(^\s+|\s+$)/g, "");
}
preservedTokens.push(token);

@@ -102,0 +111,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