Socket
Socket
Sign inDemoInstall

@types/chroma-js

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chroma-js - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

7

chroma-js/index.d.ts

@@ -1,6 +0,5 @@

// Type definitions for Chroma.js 2.0
// Type definitions for Chroma.js 2.1
// Project: https://github.com/gka/chroma.js
// Definitions by: Sebastian Brückner <https://github.com/invliD>, Marcin Pacholec <https://github.com/mpacholec>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

@@ -107,3 +106,3 @@ /**

*/
average(colors: Array<string | Color>, colorSpace?: keyof ColorSpaces): Color;
average(colors: Array<string | Color>, colorSpace?: keyof ColorSpaces, weights?: number[]): Color;

@@ -251,3 +250,3 @@ /**

* Returns a single channel value.
* @see set
* Also @see set
*/

@@ -254,0 +253,0 @@ get(modechan: string): number;

{
"name": "@types/chroma-js",
"version": "2.0.1",
"version": "2.1.0",
"description": "TypeScript definitions for Chroma.js",

@@ -27,4 +27,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "7f8847d251ac2e353a11185138988fb51d840f4b7476a765495cb26236ed3079",
"typeScriptVersion": "3.1"
"typesPublisherContentHash": "bee1def2e523699b9787372424ff86b92bf13aa89e7888168cca607ad45d38ee",
"typeScriptVersion": "3.2"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 10 Sep 2020 17:17:08 GMT
* Last updated: Thu, 17 Sep 2020 20:40:15 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `chroma`

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