color-string
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -145,3 +145,3 @@ /* MIT license */ | ||
var alpha = parseFloat(match[4]); | ||
var h = (parseFloat(match[1]) + 360) % 360; | ||
var h = ((parseFloat(match[1]) % 360) + 360) % 360; | ||
var s = clamp(parseFloat(match[2]), 0, 100); | ||
@@ -148,0 +148,0 @@ var l = clamp(parseFloat(match[3]), 0, 100); |
{ | ||
"name": "color-string", | ||
"description": "Parser and generator for CSS color strings", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"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
9968