postcss-minify-selectors
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -0,1 +1,5 @@ | ||
# 1.4.3 | ||
* Fixed an issue where `.from` was transformed to `0%`. | ||
# 1.4.2 | ||
@@ -2,0 +6,0 @@ |
@@ -70,4 +70,4 @@ 'use strict'; | ||
// Minimise from/100% | ||
if (selector.value === 'from') { selector.value = '0%'; } | ||
if (selector.value === '100%') { selector.value = 'to'; } | ||
if (selector.value === 'from' && selector.type === 'tag') { selector.value = '0%'; } | ||
if (selector.value === '100%' && selector.type === 'tag') { selector.value = 'to'; } | ||
if (selector.type === 'combinator') { | ||
@@ -74,0 +74,0 @@ var value = selector.value.trim(); |
{ | ||
"name": "postcss-minify-selectors", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Minify selectors with PostCSS.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
8042