color-rgba
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -14,3 +14,3 @@ /** @module color-rgba */ | ||
if (!parsed.space) return null; | ||
if (!parsed.space) return []; | ||
@@ -17,0 +17,0 @@ if (Array.isArray(color)) return color; |
{ | ||
"name": "color-rgba", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "Convert color string to rgba array", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,3 +14,3 @@ const assert = require('assert') | ||
assert.equal(rgba('xyz'), null) | ||
assert.deepEqual(rgba('xyz'), []) | ||
// console.log(rgba('hsla(170, 50%, 45%, 1)')) |
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