postcss-merge-rules
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,5 @@ | ||
# 2.0.1 | ||
* Fixed a crash when `rule.nodes` was not defined. | ||
# 2.0.0 | ||
@@ -2,0 +6,0 @@ |
@@ -64,3 +64,3 @@ 'use strict'; | ||
var getDecls = function getDecls(rule) { | ||
return rule.nodes.map(String); | ||
return rule.nodes ? rule.nodes.map(String) : []; | ||
}; | ||
@@ -67,0 +67,0 @@ var joinSelectors = function joinSelectors() { |
{ | ||
"name": "postcss-merge-rules", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Merge CSS rules with PostCSS.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
12103