postcss-convert-values
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -0,1 +1,5 @@ | ||
# 2.3.1 | ||
* Fixed a behaviour where `0deg` was being converted to `0`. | ||
# 2.3.0 | ||
@@ -2,0 +6,0 @@ |
@@ -27,3 +27,3 @@ 'use strict'; | ||
if (num === 0) { | ||
node.value = stripZeroUnit || u === 'ms' || u === 's' ? 0 + u : 0; | ||
node.value = stripZeroUnit || u === 'ms' || u === 's' || u === 'deg' || u === 'rad' || u === 'grad' || u === 'turn' ? 0 + u : 0; | ||
} else { | ||
@@ -30,0 +30,0 @@ node.value = (0, _libConvert2['default'])(num, u, opts); |
{ | ||
"name": "postcss-convert-values", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Convert values with PostCSS (e.g. ms -> s)", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
10425