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.6 to 1.0.7

6

chance/index.d.ts

@@ -169,3 +169,4 @@ // Type definitions for Chance 1.0

hash(opts?: Options): string;
n<T>(generator: () => T, count: number, opts?: Options): T[];
n<T>(generator: () => T, count: number): T[];
n<T, O extends Options>(generator: (options: O) => T, count: number, options: O): T[];
normal(opts?: Options): number;

@@ -176,3 +177,4 @@ radio(opts?: Options): string;

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

@@ -179,0 +181,0 @@

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

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

"dependencies": {},
"typesPublisherContentHash": "f3e64e441933a48e1b38787a2c259bec6abb3dce72c8c5d15c68d9f5cac3e6d8",
"typesPublisherContentHash": "71f78093514a861373eb9901f9246d7080ca30c435984970d8320c2c930ae5e0",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Mon, 19 Aug 2019 17:51:12 GMT
* Last updated: Thu, 03 Oct 2019 21:25:52 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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