New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

more-css

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

more-css - npm Package Compare versions

Comparing version 0.4.19 to 0.4.20

2

package.json
{
"name": "more-css",
"version": "0.4.19",
"version": "0.4.20",
"description": "a css pre-compiler & agressive compressor",

@@ -5,0 +5,0 @@ "maintainers": [

@@ -151,3 +151,3 @@ var CssLexer = require('./lexer/CssLexer'),

for(var i = first; i <= other; i++) {
if(/::-ms-/.test(node[i].s2s)) {
if(node[i].s2s.indexOf(':-ms-') > -1) {
return false;

@@ -154,0 +154,0 @@ }

@@ -358,2 +358,3 @@ var Class = require('../util/Class'),

if(this.look.type() == Token.ID) {
outer:
for(var i = this.index; i < this.length; i++) {

@@ -364,10 +365,20 @@ var token = this.tokens[i];

node.add(this.style(true));
break;
}
else if(token.content() == ';' || token.content() == '}') {
node.add(this.extend(true));
for(var j = i; j < this.length; j++) {
token = this.tokens[j];
if(!S[token.type()]) {
if(token.type() == Token.ID) {
continue;
}
else if(token.content() == ';' || token.content() == '}') {
node.add(this.extend(true));
break outer;
}
else {
node.add(this.styleset());
break outer;
}
}
}
else {
node.add(this.styleset());
}
break;
}

@@ -374,0 +385,0 @@ }

@@ -152,3 +152,3 @@ define(function(require, exports) {

for(var i = first; i <= other; i++) {
if(/::-ms-/.test(node[i].s2s)) {
if(node[i].s2s.indexOf(':-ms-') > -1) {
return false;

@@ -155,0 +155,0 @@ }

@@ -359,2 +359,3 @@ define(function(require, exports, module) {

if(this.look.type() == Token.ID) {
outer:
for(var i = this.index; i < this.length; i++) {

@@ -365,10 +366,20 @@ var token = this.tokens[i];

node.add(this.style(true));
break;
}
else if(token.content() == ';' || token.content() == '}') {
node.add(this.extend(true));
for(var j = i; j < this.length; j++) {
token = this.tokens[j];
if(!S[token.type()]) {
if(token.type() == Token.ID) {
continue;
}
else if(token.content() == ';' || token.content() == '}') {
node.add(this.extend(true));
break outer;
}
else {
node.add(this.styleset());
break outer;
}
}
}
else {
node.add(this.styleset());
}
break;
}

@@ -375,0 +386,0 @@ }

Sorry, the diff of this file is not supported yet

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