Socket
Socket
Sign inDemoInstall

@types/chance

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chance - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

7

chance/index.d.ts

@@ -7,2 +7,3 @@ // Type definitions for Chance 1.0

// Colby M. White <https://github.com/colbywhite>
// Zachary Dow <https://github.com/NewDark90>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -178,3 +179,3 @@ // TypeScript Version: 2.3

unique<T>(generator: () => T, count: number): T[];
unique<T, O extends Options>(generator: (options: O) => T, count: number, options: O): T[];
unique<T, O extends UniqueOptions<T>>(generator: (options: O) => T, count: number, options: O): T[];
weighted<T>(values: T[], weights: number[]): T;

@@ -210,3 +211,3 @@

numeric: boolean;
symbols: string;
symbols: boolean;
}

@@ -276,2 +277,4 @@

type UniqueOptions<T> = { comparator?: (array: T[], value: T) => boolean } & Options;
interface Month {

@@ -278,0 +281,0 @@ name: string;

{
"name": "@types/chance",
"version": "1.0.7",
"version": "1.0.8",
"description": "TypeScript definitions for Chance",

@@ -26,6 +26,11 @@ "license": "MIT",

"githubUsername": "colbywhite"
},
{
"name": "Zachary Dow",
"url": "https://github.com/NewDark90",
"githubUsername": "NewDark90"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -38,4 +43,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "71f78093514a861373eb9901f9246d7080ca30c435984970d8320c2c930ae5e0",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "452ac66dbf0a0c57c2b810cd0c4fcd040e204d598979a26a68893ea7810261ec",
"typeScriptVersion": "2.8"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chance
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chance.
Additional Details
* Last updated: Thu, 03 Oct 2019 21:25:52 GMT
### Additional Details
* Last updated: Mon, 23 Dec 2019 17:29:18 GMT
* Dependencies: none

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

# Credits
These definitions were written by Chris Bowdon <https://github.com/cbowdon>, Brice BERNARD <https://github.com/brikou>, Carlos Sanchez <https://github.com/cafesanu>, and Colby M. White <https://github.com/colbywhite>.
These definitions were written by Chris Bowdon (https://github.com/cbowdon), Brice BERNARD (https://github.com/brikou), Carlos Sanchez (https://github.com/cafesanu), Colby M. White (https://github.com/colbywhite), and Zachary Dow (https://github.com/NewDark90).
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