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

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 1.1.0 to 1.1.1

46

package.json
{
"name": "color-space",
"description": "Convert color from/to any color space or get space data. Spaces can be required selectively.",
"version": "1.1.0",
"version": "1.1.1",
"author": "Deema Yvanow <dfcreative@gmail.com>",
"keywords": [
"color",
"colour",
"rgb",
"hsl",
"hsv",
"lab",
"lch",
"luv",
"lch",
"cie",
"husl",
"color-convert",
"gamut",
"color-conversions",
"color-space",
"color-translation",
"color-data"
],
"repository": {

@@ -33,2 +52,5 @@ "type": "git",

"main": "./index.js",
"dependencies": {
"husl": ">=5.0"
},
"devDependencies": {

@@ -43,21 +65,2 @@ "mumath": "~0.x",

},
"keywords": [
"color",
"colour",
"rgb",
"hsl",
"hsv",
"lab",
"lch",
"luv",
"lch",
"cie",
"husl",
"color-convert",
"gamut",
"color-conversions",
"color-space",
"color-translation",
"color-data"
],
"scripts": {

@@ -68,6 +71,3 @@ "test": "mocha",

"build-test": "browserify -r ./util/add-space:../util/add-space -r ./index:../index -r ./xyy:../xyy -r ./labh:../labh -r ./cmy:../cmy -r husl -r assert -r mumath -r query-relative > test/test.bundle.js"
},
"dependencies": {
"husl": ">=5.0"
}
}

@@ -43,5 +43,3 @@ /**

else throw Error('Can’t add convertor from ' + fromSpace.name + ' to ' + toSpaceName);
return fromSpace[toSpaceName];
throw Error('Can’t add convertor from ' + fromSpace.name + ' to ' + toSpaceName);
}

@@ -17,3 +17,3 @@ /**

module.exports = function(spaces){
var res = '(function(){\nvar spaces = {};\n';
var res = '(function(){\nvar space = {};\n';

@@ -43,5 +43,5 @@ var fnSrc, space;

res += '\nreturn spaces;})()';
res += '\nreturn space;})()';
return res;
};
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