Socket
Socket
Sign inDemoInstall

clean-css

Package Overview
Dependencies
1
Maintainers
2
Versions
211
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.3 to 4.1.4

25

lib/optimizer/level-2/remove-unused-at-rules.js

@@ -22,3 +22,4 @@ var populateComponents = require('./properties/populate-components');

var atRule;
var token;
var atRuleTokens;
var atRuleToken;
var zeroAt;

@@ -38,5 +39,9 @@ var i, l;

for (atRule in atRules) {
token = atRules[atRule];
zeroAt = token[0] == Token.AT_RULE ? 1 : 2;
token[zeroAt] = [];
atRuleTokens = atRules[atRule];
for (i = 0, l = atRuleTokens.length; i < l; i++) {
atRuleToken = atRuleTokens[i];
zeroAt = atRuleToken[0] == Token.AT_RULE ? 1 : 2;
atRuleToken[zeroAt] = [];
}
}

@@ -65,3 +70,4 @@ }

match = token[1][0][1].split(' ')[1];
atRules[match] = token;
atRules[match] = atRules[match] || [];
atRules[match].push(token);
}

@@ -108,3 +114,4 @@ }

match = property[2][1].toLowerCase();
atRules[match] = token;
atRules[match] = atRules[match] || [];
atRules[match].push(token);
break;

@@ -162,3 +169,4 @@ }

match = token[1][0][1].split(' ')[1];
atRules[match] = token;
atRules[match] = atRules[match] || [];
atRules[match].push(token);
}

@@ -208,3 +216,4 @@ }

match = token[1].split(' ')[1];
atRules[match] = token;
atRules[match] = atRules[match] || [];
atRules[match].push(token);
}

@@ -211,0 +220,0 @@ }

{
"name": "clean-css",
"version": "4.1.3",
"version": "4.1.4",
"author": "Jakub Pawlowicz <contact@jakubpawlowicz.com> (http://twitter.com/jakubpawlowicz)",

@@ -5,0 +5,0 @@ "description": "A well-tested CSS minifier",

Sorry, the diff of this file is too big to display

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