+1
-1
@@ -10,3 +10,3 @@ 'use strict' | ||
| constructor(plugins = []) { | ||
| this.version = '8.5.21' | ||
| this.version = '8.5.22' | ||
| this.plugins = this.normalize(plugins) | ||
@@ -13,0 +13,0 @@ } |
@@ -65,10 +65,11 @@ 'use strict' | ||
| let childSemicolon = last !== i || semicolon | ||
| // A childless at-rule that still has following siblings must be | ||
| // terminated. Without the semicolon those trailing comments are folded | ||
| // into the at-rule's prelude and disappear when the output is re-parsed. | ||
| // A childless at-rule or a custom property declaration that still has | ||
| // following siblings must be terminated. Without the semicolon those | ||
| // trailing comments are folded into the at-rule's prelude or the custom | ||
| // property's value and disappear when the output is re-parsed. | ||
| if ( | ||
| !childSemicolon && | ||
| i < nodes.length - 1 && | ||
| child.type === 'atrule' && | ||
| !child.nodes | ||
| ((child.type === 'atrule' && !child.nodes) || | ||
| (child.type === 'decl' && child.prop.startsWith('--'))) | ||
| ) { | ||
@@ -75,0 +76,0 @@ childSemicolon = true |
+1
-1
| { | ||
| "name": "postcss", | ||
| "version": "8.5.21", | ||
| "version": "8.5.22", | ||
| "description": "Tool for transforming styles with JS plugins", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
216108
0.06%7354
0.01%