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
107226
902