color-convert
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -131,4 +131,4 @@ /* MIT license */ | ||
b = rgb[2], | ||
h = rgb2hsl(rgb)[0] | ||
w = 1/255 * Math.min(r, Math.min(g, b)) | ||
h = rgb2hsl(rgb)[0], | ||
w = 1/255 * Math.min(r, Math.min(g, b)), | ||
b = 1 - 1/255 * Math.max(r, Math.max(g, b)); | ||
@@ -135,0 +135,0 @@ |
{ | ||
"name": "color-convert", | ||
"description": "Plain color conversion functions", | ||
"version": "0.5.0", | ||
"author": "Heather Arthur <fayearthur@gmail.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/harthur/color-convert.git" | ||
}, | ||
"main": "./index", | ||
"devDependencies": { | ||
"browserify": ">=1.0.0", | ||
"uglify-js": "1.0.x" | ||
}, | ||
"keywords": ["color", "colour", "rgb"] | ||
} | ||
"name": "color-convert", | ||
"description": "Plain color conversion functions", | ||
"version": "0.5.1", | ||
"author": "Heather Arthur <fayearthur@gmail.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/harthur/color-convert.git" | ||
}, | ||
"main": "./index", | ||
"devDependencies": { | ||
"browserify": "^6.1.0", | ||
"uglify-js": "1.0.x", | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-uglify": "^0.6.0" | ||
}, | ||
"keywords": [ | ||
"color", | ||
"colour", | ||
"rgb" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69008
15
1543
4
3
5