Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 0.7.33 to 0.7.34

9

chance/index.d.ts

@@ -7,5 +7,6 @@ // Type definitions for Chance 0.7.3

declare namespace Chance {
type Seed = number | string;
interface Seeded {
seed: number;
seed: Seed;
}

@@ -17,7 +18,7 @@

(): Chance
(seed: number): SeededChance
(seed: Seed): SeededChance
(generator: () => any): Chance
new(): Chance;
new(seed: number): SeededChance;
new(seed: Seed): SeededChance;
new(generator: () => any): Chance;

@@ -161,3 +162,3 @@ }

cc_types(): CreditCardType[];
mersenne_twister(seed?: number): any; // API return type not defined in docs
mersenne_twister(seed?: Seed): any; // API return type not defined in docs
months(): Month[];

@@ -164,0 +165,0 @@ name_prefixes(): Name[];

{
"name": "@types/chance",
"version": "0.7.33",
"version": "0.7.34",
"description": "TypeScript definitions for Chance",

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

"peerDependencies": {},
"typesPublisherContentHash": "307a108bee7ee9b6e874def91ff8cf5d8f5279b0f1e7de48203c434080779186",
"typesPublisherContentHash": "965f8f8b5d670e7ecae3167a4506e5dfc91e86d4bb3ffd00221862229545aaad",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Wed, 26 Apr 2017 17:34:12 GMT
* Last updated: Tue, 01 Aug 2017 21:20:06 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: Chance, chance

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