csso
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -0,1 +1,5 @@ | ||
## 3.0.1 (March 14, 2017) | ||
- Fixed declaration merging when declaration contains an `!important` | ||
## 3.0.0 (March 13, 2017) | ||
@@ -2,0 +6,0 @@ |
@@ -20,11 +20,9 @@ var translate = require('css-tree').translate; | ||
module.exports = function createDeclarationIndexer() { | ||
var names = new Index(); | ||
var values = new Index(); | ||
var ids = new Index(); | ||
return function markDeclaration(node) { | ||
var property = node.property; | ||
var value = translate(node.value); | ||
var id = translate(node); | ||
node.id = names.resolve(property) + (values.resolve(value) << 12); | ||
node.length = property.length + 1 + value.length; | ||
node.id = ids.resolve(id); | ||
node.length = id.length; | ||
node.fingerprint = null; | ||
@@ -31,0 +29,0 @@ |
{ | ||
"name": "csso", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "CSSO (CSS Optimizer) is a CSS minifier with structural optimisations", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
301939
3021