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

color

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

7

index.js

@@ -118,2 +118,6 @@ /* MIT license */

hue: function(val) {
if (val) {
val = val % 360;
val = val < 0 ? 360 + val : val;
}
return this.setChannel("hsl", 0, val);

@@ -426,2 +430,5 @@ },

return this.values[space][index];
} else if (val === this.values[space][index]) {
// color.red(color.red())
return this;
}

@@ -428,0 +435,0 @@ // color.red(100)

7

package.json
{
"name": "color",
"version": "0.10.1",
"version": "0.11.0",
"description": "Color conversion and manipulation with CSS string support",

@@ -12,3 +12,4 @@ "keywords": [

"Heather Arthur <fayearthur@gmail.com>",
"Maxime Thirouin"
"Maxime Thirouin",
"Josh Junon"
],

@@ -18,3 +19,3 @@ "license": "MIT",

"type": "git",
"url": "http://github.com/harthur/color.git"
"url": "http://github.com/MoOx/color.git"
},

@@ -21,0 +22,0 @@ "files": [

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

# color [![Build Status](https://travis-ci.org/harthur/color.svg?branch=master)](https://travis-ci.org/harthur/color)
# color [![Build Status](https://travis-ci.org/MoOx/color.svg?branch=master)](https://travis-ci.org/MoOx/color)

@@ -3,0 +3,0 @@ > JavaScript library for color conversion and manipulation with support for CSS color strings.

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