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

8

color/index.d.ts

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

// Type definitions for color 2.0
// Type definitions for color 3.0
// Project: https://github.com/qix-/color#readme
// Definitions by: Junyoung Clare Jang <https://github.com/Airlun>
// Definitions by: Junyoung Clare Jang <https://github.com/Airlun>, James W. Lane <https://github.com/jameswlane>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -75,4 +75,4 @@ // TypeScript Version: 2.3

level(color2: Color): 'AAA' | 'AA' | '';
dark(): boolean;
light(): boolean;
isDark(): boolean;
isLight(): boolean;
negate(): Color;

@@ -79,0 +79,0 @@ lighten(ratio: number): Color;

{
"name": "@types/color",
"version": "2.0.0",
"version": "3.0.0",
"description": "TypeScript definitions for color",

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

"name": "Junyoung Clare Jang",
"url": "https://github.com/Airlun"
"url": "https://github.com/Airlun",
"githubUsername": "Airlun"
},
{
"name": "James W. Lane",
"url": "https://github.com/jameswlane",
"githubUsername": "jameswlane"
}

@@ -22,5 +28,4 @@ ],

},
"peerDependencies": {},
"typesPublisherContentHash": "ef39d47f1730430d1f601fd01caf66fedc0df8490219ad555b54423296ff6385",
"typesPublisherContentHash": "7e31fde8dd1b3f137fb7c42dc7bfa000951f7157864f809e8c85602b6cb97c10",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Wed, 02 Aug 2017 13:47:41 GMT
* Last updated: Sat, 27 Jan 2018 18:39:47 GMT
* Dependencies: color-convert

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

# Credits
These definitions were written by Junyoung Clare Jang <https://github.com/Airlun>.
These definitions were written by Junyoung Clare Jang <https://github.com/Airlun>, James W. Lane <https://github.com/jameswlane>.

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