Comparing version
@@ -0,1 +1,5 @@ | ||
# 1.3.1 | ||
* Fixes crash on undefined `decl.before` from prior AST. | ||
# 1.3.0 | ||
@@ -2,0 +6,0 @@ |
@@ -54,3 +54,5 @@ 'use strict'; | ||
// Remove extra semicolons and whitespace before the declaration | ||
declaration.before = declaration.before.replace(/[;\s]/g, ''); | ||
if (declaration.before) { | ||
declaration.before = declaration.before.replace(/[;\s]/g, ''); | ||
} | ||
declaration.between = ':'; | ||
@@ -57,0 +59,0 @@ declaration.semicolon = false; |
{ | ||
"name": "cssnano", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "A modular minifier, built on top of the PostCSS ecosystem.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
27914
0.44%489
0.41%