Socket
Socket
Sign inDemoInstall

@types/color

Package Overview
Dependencies
1
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

4

color/index.d.ts

@@ -19,5 +19,5 @@ // Type definitions for color 3.0

array(): number[];
object(): { alpha?: number } & { [key: string]: number };
object(): { alpha?: number | undefined } & { [key: string]: number };
unitArray(): number[];
unitObject(): { r: number, g: number, b: number, alpha?: number };
unitObject(): { r: number, g: number, b: number, alpha?: number | undefined };
round(places?: number): Color;

@@ -24,0 +24,0 @@ alpha(): number;

{
"name": "@types/color",
"version": "3.0.1",
"version": "3.0.2",
"description": "TypeScript definitions for color",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color",
"license": "MIT",

@@ -34,4 +35,4 @@ "contributors": [

},
"typesPublisherContentHash": "f66a8658d7c993033d835bbd978e5b28b14e79734d6c20375279ca7cdb59858f",
"typesPublisherContentHash": "ff1f0f5ed464fbcbf7c75927a01eba6e883a52a8845666cf699cb87472acaa35",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Thu, 02 Jan 2020 23:42:49 GMT
* Last updated: Tue, 06 Jul 2021 18:05:56 GMT
* Dependencies: [@types/color-convert](https://npmjs.com/package/@types/color-convert)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Junyoung Clare Jang (https://github.com/Airlun), James W. Lane (https://github.com/jameswlane), and Adam Haglund (https://github.com/BeeeQueue).
These definitions were written by [Junyoung Clare Jang](https://github.com/Airlun), [James W. Lane](https://github.com/jameswlane), and [Adam Haglund](https://github.com/BeeeQueue).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc