@symbo.ls/scratch
Advanced tools
Comparing version 0.3.13 to 0.3.14
@@ -5,3 +5,3 @@ { | ||
"author": "Symbols", | ||
"version": "0.3.13", | ||
"version": "0.3.14", | ||
"files": [ | ||
@@ -8,0 +8,0 @@ "src" |
@@ -163,3 +163,3 @@ 'use strict' | ||
const a = Math.max(r, g, b); const n = a - Math.min(r, g, b); const f = (1 - Math.abs(a + a - n - 1)) | ||
const h = n && ((a == r) ? (g - b) / n : ((a == g) ? 2 + (b - r) / n : 4 + (r - g) / n)) | ||
const h = n && ((a == r) ? (g - b) / n : ((a == g) ? 2 + (b - r) / n : 4 + (r - g) / n)) //eslint-disable-line | ||
return [60 * (h < 0 ? h + 6 : h), f ? n / f : 0, (a + a - n) / 2] | ||
@@ -332,3 +332,3 @@ } | ||
if (val === '-' || val === '') return ({ }) | ||
if (val === 'auto' || val === 'fit-content' || val === 'min-content' || val === 'max-content') return ({ [prop]: val }) | ||
if (val === 'none' || val === 'auto' || val === 'fit-content' || val === 'min-content' || val === 'max-content') return ({ [prop]: val }) | ||
@@ -335,0 +335,0 @@ // const startsWithLetterRegex = /^[a-zA-Z]/i |
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
27104