Comparing version 2.3.0 to 2.3.1
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
303784
5654