Socket
Socket
Sign inDemoInstall

csso

Package Overview
Dependencies
0
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.9 to 1.3.10

docs/description/description.en.meta.json

17

lib/compressor.js

@@ -845,2 +845,8 @@ function TRBL(name, imp) {

}
// check if color is followed by number
var parent = token[0].parent;
var parentIx = parent.indexOf(token);
var appendSpace = parent[parentIx + 1] && parent[parentIx + 1][1] != 's';
if (v.length === 3) {

@@ -850,3 +856,12 @@ h += (t = Number(v[0][2]).toString(16)).length === 1 ? '0' + t : t;

h += (t = Number(v[2][2]).toString(16)).length === 1 ? '0' + t : t;
if (h.length === 6) return this._compressHashColor(h, {});
if (h.length === 6) {
var vhash = this._compressHashColor(h, {});
if (appendSpace) {
// che: I guess this is not right: modify color token with
// indentation, but I can't find any better solution right now
vhash[2] += ' ';
}
return vhash;
}
}

@@ -853,0 +868,0 @@ }

8

package.json
{
"name": "csso",
"description": "CSSO — CSS optimizer",
"version": "1.3.9",
"homepage": "http://github.com/css/csso",
"version": "1.3.10",
"homepage": "https://github.com/css/csso",
"author": "Sergey Kryzhanovsky <skryzhanovsky@ya.ru> (http://github.com/afelix)",
"repository": {
"type": "git",
"url": "http://github.com/css/csso.git"
"url": "https://github.com/css/csso.git"
},

@@ -14,3 +14,3 @@ "bin": "./bin/csso",

"engines": {
"node": ">=0.4.0"
"node": ">=0.8.0"
},

@@ -17,0 +17,0 @@ "licenses": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc