Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

csso

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csso - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

HISTORY.md

@@ -0,1 +1,5 @@

## 2.3.1 (January 6, 2016)
- Added `\0` IE hack support (#320)
## 2.3.0 (October 25, 2016)

@@ -2,0 +6,0 @@

9

lib/compressor/restructure/4-restructShorthand.js

@@ -80,3 +80,3 @@ var List = require('../../utils/list.js');

var values = [];
var iehack = false;
var iehack = '';
var hasBadValues = value.sequence.some(function(child) {

@@ -88,4 +88,5 @@ var special = false;

switch (child.name) {
case '\\0':
case '\\9':
iehack = true;
iehack = child.name;
return;

@@ -146,3 +147,3 @@

if (typeof this.iehack === 'boolean' && this.iehack !== iehack) {
if (typeof this.iehack === 'string' && this.iehack !== iehack) {
return false;

@@ -307,3 +308,3 @@ }

info: {},
name: '\\9'
name: this.iehack
});

@@ -310,0 +311,0 @@ }

@@ -75,3 +75,3 @@ var resolveProperty = require('../../utils/names.js').property;

var vendorId = '';
var hack9 = '';
var iehack = '';
var special = {};

@@ -94,4 +94,4 @@

if (/\\9/.test(name)) {
hack9 = name;
if (/\\[09]/.test(name)) {
iehack = RegExp.lastMatch;
}

@@ -156,3 +156,3 @@

fingerprint = '|' + Object.keys(special).sort() + '|' + hack9 + vendorId;
fingerprint = '|' + Object.keys(special).sort() + '|' + iehack + vendorId;

@@ -159,0 +159,0 @@ fingerprints[declarationId] = fingerprint;

{
"name": "csso",
"version": "2.3.0",
"version": "2.3.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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc