postcss-discard-unused
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,6 @@ | ||
# 1.0.2 | ||
* Fixes an integration issue where the module would crash on `undefined` | ||
`rule.nodes`. | ||
# 1.0.1 | ||
@@ -2,0 +7,0 @@ |
@@ -38,2 +38,3 @@ 'use strict'; | ||
css.eachAtRule('font-face', function (rule) { | ||
if (!rule.nodes) { return; } | ||
var fontFamilies = rule.nodes.filter(function (node) { | ||
@@ -40,0 +41,0 @@ return node.prop === 'font-family'; |
{ | ||
"name": "postcss-discard-unused", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Discard unused counter styles, keyframes and fonts.", | ||
@@ -5,0 +5,0 @@ "main": "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
6056
58