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

color-parse

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-parse - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

2

index.js

@@ -164,3 +164,3 @@ /**

//array
else if (Array.isArray(cstr) || ArrayBuffer.isView(cstr)) {
else if (Array.isArray(cstr) || global.ArrayBuffer && ArrayBuffer.isView && ArrayBuffer.isView(cstr)) {
parts = [cstr[0], cstr[1], cstr[2]];

@@ -167,0 +167,0 @@ space = 'rgb'

{
"name": "color-parse",
"version": "1.3.2",
"version": "1.3.3",
"description": "Color string parser",

@@ -10,3 +10,3 @@ "main": "index.js",

"scripts": {
"test": "mocha"
"test": "node test"
},

@@ -34,4 +34,4 @@ "repository": {

"devDependencies": {
"mocha": "^3.0.2"
"tape": "^4.7.0"
}
}

@@ -1,2 +0,2 @@

# color-parse [![Build Status](https://travis-ci.org/dfcreative/color-parse.svg?branch=master)](https://travis-ci.org/dfcreative/color-parse) [![Code Climate](https://codeclimate.com/github/dfcreative/color-parse/badges/gpa.svg)](https://codeclimate.com/github/dfcreative/color-parse)
# color-parse [![Build Status](https://travis-ci.org/colorjs/color-parse.svg?branch=master)](https://travis-ci.org/colorjs/color-parse)

@@ -15,2 +15,3 @@ Fast and tiny color string parser.

* [x] `red`, see [color-name](https://github.com/colorjs/color-name)
* [x] `rgb(10, 20, 30)`, `rgba(10, 20, 30, .3)`

@@ -42,3 +43,3 @@ * [x] `hsl()`, `hsla()` inc. [named hues](http://dev.w3.org/csswg/css-color/#simple-hues)

* [x] `yellowblue` returns null
* [x] `'yellowblue'` returns `null`

@@ -45,0 +46,0 @@ ## Related

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