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 1.4.3 to 2.0.0

4

chroma-js/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Chroma.js 1.4
// Type definitions for Chroma.js 2.0
// Project: https://github.com/gka/chroma.js

@@ -65,3 +65,3 @@ // Definitions by: Sebastian Brückner <https://github.com/invliD>, Marcin Pacholec <https://github.com/mpacholec>

valid(color: any): boolean;
valid(color: any, mode?: string): boolean;

@@ -68,0 +68,0 @@ hsl(h: number, s: number, l: number): Color;

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

@@ -19,3 +19,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -28,4 +28,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "1279d7402880232d51e28e039434a3cdd6c680752130734893afda736ba652e4",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "b4e8a0a1e094c841fb87eb12cf635d8ad4abbc8720ada34c5a43dcf45c524716",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chroma-js
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chroma-js.
Additional Details
* Last updated: Thu, 26 Sep 2019 19:35:29 GMT
### Additional Details
* Last updated: Wed, 05 Feb 2020 21:50:45 GMT
* Dependencies: none
* Global values: chroma
* Global values: `chroma`
# Credits
These definitions were written by Sebastian Brückner <https://github.com/invliD>, and Marcin Pacholec <https://github.com/mpacholec>.
These definitions were written by Sebastian Brückner (https://github.com/invliD), and Marcin Pacholec (https://github.com/mpacholec).
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