postcss-custom-properties
Advanced tools
Comparing version 8.0.7 to 8.0.8
# Changes to PostCSS Custom Properties | ||
### 8.0.8 (October 2, 2018) | ||
- Fixed: Issue with nested fallbacks | ||
### 8.0.7 (October 2, 2018) | ||
@@ -4,0 +8,0 @@ |
@@ -303,3 +303,4 @@ 'use strict'; | ||
// conditionally replace a custom property with a fallback | ||
child.replaceWith(...asClonedArrayWithBeforeSpacing(fallbacks, child.raws.before)); | ||
const index = root.nodes.indexOf(child); | ||
root.nodes.splice(index, 1, ...asClonedArrayWithBeforeSpacing(fallbacks, child.raws.before)); | ||
transformValueAST(root, customProperties); | ||
@@ -306,0 +307,0 @@ } |
{ | ||
"name": "postcss-custom-properties", | ||
"version": "8.0.7", | ||
"version": "8.0.8", | ||
"description": "Use Custom Properties Queries in CSS", | ||
@@ -5,0 +5,0 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
107226
902