Socket
Socket
Sign inDemoInstall

csso

Package Overview
Dependencies
2
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

4

HISTORY.md

@@ -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 @@

10

lib/restructure/prepare/createDeclarationIndexer.js

@@ -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

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