Comparing version 3.1.2 to 3.1.3
{ | ||
"name": "culori", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./bundled/culori.cjs", |
@@ -230,5 +230,5 @@ import converter from './converter.js'; | ||
let end = candidate.c; | ||
let ε = (ranges.c[1] - ranges.c[0]) / 4000; // 0.0001 for oklch() | ||
let epsilon = (ranges.c[1] - ranges.c[0]) / 4000; // 0.0001 for oklch() | ||
let clipped = clipToGamut(candidate); | ||
while (end - start > ε) { | ||
while (end - start > epsilon) { | ||
candidate.c = (start + end) * 0.5; | ||
@@ -235,0 +235,0 @@ clipped = clipToGamut(candidate); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1048739