color-string
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -93,3 +93,3 @@ /* MIT license */ | ||
if (match[5]) { | ||
rgb[3] = parseInt(match[4], 0) * 0.01; | ||
rgb[3] = parseFloat(match[4]) * 0.01; | ||
} else { | ||
@@ -106,3 +106,3 @@ rgb[3] = parseFloat(match[4]); | ||
if (match[5]) { | ||
rgb[3] = parseInt(match[4], 0) * 0.01; | ||
rgb[3] = parseFloat(match[4]) * 0.01; | ||
} else { | ||
@@ -109,0 +109,0 @@ rgb[3] = parseFloat(match[4]); |
{ | ||
"name": "color-string", | ||
"description": "Parser and generator for CSS color strings", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"author": "Heather Arthur <fayearthur@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
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
9980