Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

color-rgba

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-rgba - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

2

index.js

@@ -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)'))
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc