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

chartjs-color

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chartjs-color - npm Package Compare versions

Comparing version 1.0.22 to 2.0.0

index.js

26

CHANGELOG.md

@@ -0,1 +1,27 @@

# 0.11.1 - 2016-01-03
- Fixed: three tests being ignored `if() -> it()`
- Changed: moved to XO standard
# 0.11.0 - 2016-01-02
- Fixed: Hue modulo when specifying values < 0 or > 360
([#76](https://github.com/MoOx/color/pull/76))
- Corrected some package.json information
# 0.10.1 - 2015-07-02
- Fixed: handling of 0% mix
([#65](https://github.com/harthur/color/pull/65))
# 0.10.0 - 2015-07-02
- Fixed: `mix()` works with a 0..1 range (instead of 0..100 since 0.9.0)
([#64](https://github.com/harthur/color/pull/64))
# 0.9.0 - 2015-06-21
- Fixed: `mix()` implementation is now the same as in Sass
([#60](https://github.com/harthur/color/pull/60))
# 0.8.0 - 2015-03-03

@@ -2,0 +28,0 @@

33

package.json
{
"name": "chartjs-color",
"version": "1.0.22",
"version": "2.0.0",
"description": "Color conversion and manipulation with CSS string support",
"main": "src/color.js",
"keywords": [

@@ -13,8 +12,15 @@ "color",

"Heather Arthur <fayearthur@gmail.com>",
"Maxime Thirouin"
"Maxime Thirouin",
"Josh Junon"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/harthur/color.git"
"repository": "chartjs/chartjs-color",
"xo": {
"envs": ["browser", "node"],
"rules": {
"one-var": [2, { "initialized": "never" }],
"linebreak-style": 0,
"no-cond-assign": 0,
"new-cap": 0
}
},

@@ -24,10 +30,11 @@ "files": [

"LICENSE",
"dist/",
"src/"
"index.js"
],
"scripts": {
"test": "node test"
"build": "gulp build",
"pretest": "xo",
"test": "mocha"
},
"dependencies": {
"color-convert": "^0.5.0",
"color-convert": "^0.5.3",
"chartjs-color-string": "^0.4.0"

@@ -40,5 +47,7 @@ },

"gulp-uglify": "^1.2.0",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0"
"gulp-streamify": "^1.0.2",
"mocha": "^2.2.5",
"vinyl-source-stream": "^1.1.0",
"xo": "^0.12.1"
}
}

@@ -1,4 +0,4 @@

# 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/chartjs/chartjs-color.svg?branch=master)](https://travis-ci.org/chartjs/chartjs-color)
> JavaScript library for color conversion and manipulation with support for CSS color strings. Original work done by https://github.com/harthur/color, and forked for use in Chart.js. A special thanks to him!
> JavaScript library for color conversion and manipulation with support for CSS color strings.

@@ -13,7 +13,11 @@ ```js

## Install
```console
$ npm install color
```
## Usage
```js
window.Color
// or
var Color = require("color")

@@ -20,0 +24,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