postcss-merge-idents
Advanced tools
Comparing version 6.0.1 to 6.0.2
{ | ||
"name": "postcss-merge-idents", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Merge keyframe and counter style identifiers.", | ||
@@ -37,3 +37,3 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"postcss": "^8.4.32" | ||
"postcss": "^8.4.35" | ||
}, | ||
@@ -40,0 +40,0 @@ "peerDependencies": { |
@@ -80,5 +80,8 @@ 'use strict'; | ||
} else { | ||
let toString = node.nodes.toString(); | ||
const toString = node.nodes ? node.nodes.toString() : ''; | ||
relevant.cache.forEach((cached) => { | ||
const cachedStringContent = cached.nodes | ||
? cached.nodes.toString() | ||
: ''; | ||
if ( | ||
@@ -90,3 +93,3 @@ cached.name.toLowerCase() === node.name.toLowerCase() && | ||
) && | ||
cached.nodes.toString() === toString | ||
cachedStringContent === toString | ||
) { | ||
@@ -93,0 +96,0 @@ relevant.removals.push(cached); |
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
6697
137