Huge News!Announcing our $40M Series B led by Abstract Ventures.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.13 to 0.4.14

2

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

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

@@ -62,4 +62,5 @@ var Class = require('../util/Class'),

EXTEND: 'extend',
FORMAT: 'format'
FORMAT: 'format',
KEYFRAMES: 'keyframes'
});
module.exports = Node;

@@ -55,3 +55,17 @@ var Class = require('../util/Class'),

head: function() {
switch(this.look.content()) {
var s = this.look.content();
var i = -1;
if((i = s.indexOf('-webkit-')) > -1) {
s = s.slice(0, i) + s.slice(i + 8);
}
else if((i = s.indexOf('-moz-')) > -1) {
s = s.slice(0, i) + s.slice(i + 5);
}
else if((i = s.indexOf('-ms-')) > -1) {
s = s.slice(0, i) + s.slice(i + 4);
}
else if((i = s.indexOf('-o-')) > -1) {
s = s.slice(0, i) + s.slice(i + 3);
}
switch(s) {
case '@import':

@@ -58,0 +72,0 @@ return this.impt();

@@ -63,5 +63,6 @@ define(function(require, exports, module) {

EXTEND: 'extend',
FORMAT: 'format'
FORMAT: 'format',
KEYFRAMES: 'keyframes'
});
module.exports = Node;
});

@@ -56,3 +56,17 @@ define(function(require, exports, module) {

head: function() {
switch(this.look.content()) {
var s = this.look.content();
var i = -1;
if((i = s.indexOf('-webkit-')) > -1) {
s = s.slice(0, i) + s.slice(i + 8);
}
else if((i = s.indexOf('-moz-')) > -1) {
s = s.slice(0, i) + s.slice(i + 5);
}
else if((i = s.indexOf('-ms-')) > -1) {
s = s.slice(0, i) + s.slice(i + 4);
}
else if((i = s.indexOf('-o-')) > -1) {
s = s.slice(0, i) + s.slice(i + 3);
}
switch(s) {
case '@import':

@@ -59,0 +73,0 @@ return this.impt();

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