@santi100/coloring-lib
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -17,5 +17,5 @@ // @ts-check | ||
function coloring(string, color) { | ||
assertType(color, 'string'); assert(Array.isArray(color), { | ||
assertType(color, 'string'); assert(typeof color === 'string' || Array.isArray(color), { | ||
expected: true, | ||
actual: Array.isArray(color), | ||
actual: typeof color === 'string' || Array.isArray(color), | ||
operator: 'Array.isArray()' | ||
@@ -22,0 +22,0 @@ }); |
{ | ||
"name": "@santi100/coloring-lib", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"repository": { | ||
@@ -10,5 +10,5 @@ "url": "https://github.com/santi100a/coloring-lib" | ||
"dependencies": { | ||
"@santi100/assertion-lib": "^1.0.2" | ||
"@santi100/assertion-lib": "^1.0.3" | ||
}, | ||
"type": "module" | ||
} |
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
8640