Socket
Socket
Sign inDemoInstall

color-space

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-space - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

index.js
//TODO: save hue on setting sat = 0;
//TODO: if to start with lchuv, it gets bad rgb/other values
//TODO: specify exact lchuv/luv limits

@@ -21,3 +23,3 @@ var spaces = {

for (var toSpaceName in spaces) {
if (!fromSpace[toSpaceName]) {
if (toSpaceName !== fromSpaceName && !fromSpace[toSpaceName]) {
fromSpace[toSpaceName] = getConverter(fromSpace, toSpaceName);

@@ -24,0 +26,0 @@ }

{
"name": "color-space",
"description": "Math & data behind color spaces and color conversions.",
"version": "0.3.1",
"version": "0.3.2",
"author": "Deema Ywanow <dfcreative@gmail.com>",

@@ -6,0 +6,0 @@ "repository": {

@@ -54,2 +54,3 @@ # color-space [![Build Status](https://travis-ci.org/dfcreative/color-space.svg?branch=master)](https://travis-ci.org/dfcreative/color-space)

space.illuminant //space-specific properties
space.observer
```

@@ -56,0 +57,0 @@

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