postcss-normalize-whitespace
Advanced tools
Comparing version 5.1.0 to 5.1.1
{ | ||
"name": "postcss-normalize-whitespace", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Trim whitespace inside and around CSS rules & declarations.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -68,3 +68,2 @@ 'use strict'; | ||
node.value = node.value.replace(/\s*(\\9)\s*/, '$1'); | ||
const value = node.value; | ||
@@ -83,2 +82,5 @@ | ||
if (node.prop.startsWith('--') && node.value === '') { | ||
node.value = ' '; | ||
} | ||
// Remove extra semicolons and whitespace before the declaration | ||
@@ -85,0 +87,0 @@ if (node.raws.before) { |
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
6597
102