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 1.0.10 to 1.1.0

12

chance/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for Chance 1.0
// Type definitions for Chance 1.1
// Project: http://chancejs.com

@@ -9,4 +9,4 @@ // Definitions by: Chris Bowdon <https://github.com/cbowdon>

// Jacob Easley <https://github.com/jacobez>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

@@ -30,2 +30,7 @@ declare namespace Chance {

type FalsyType = false | null | undefined | 0 | typeof NaN | '';
interface FalsyOptions {
pool: FalsyType[];
}
interface Chance extends Seeded {

@@ -35,2 +40,4 @@ // Basics

character(opts?: Partial<CharacterOptions>): string;
/** https://chancejs.com/basics/falsy.html */
falsy(ops?: FalsyOptions): FalsyType;
floating(opts?: Options): number;

@@ -41,2 +48,3 @@ integer(opts?: Partial<IntegerOptions>): number;

string(opts?: Partial<StringOptions>): string;
template(template: string): string;

@@ -43,0 +51,0 @@ // Text

11

chance/package.json
{
"name": "@types/chance",
"version": "1.0.10",
"version": "1.1.0",
"description": "TypeScript definitions for Chance",

@@ -36,2 +36,7 @@ "license": "MIT",

"githubUsername": "jacobez"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}

@@ -48,4 +53,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "fb0c2d7b2bfaa8e57ab42a182f2e63b25461f59fe299694bd1051fc9a217033c",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "5e970b6776e3a6cd00d04698c9ddff4ef267cf8ab1f4acc070fac12a16ee717d",
"typeScriptVersion": "2.9"
}

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

### Additional Details
* Last updated: Fri, 03 Apr 2020 00:19:10 GMT
* Last updated: Tue, 12 May 2020 20:04:02 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), [Colby M. White](https://github.com/colbywhite), [Zachary Dow](https://github.com/NewDark90), and [Jacob Easley](https://github.com/jacobez).
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), [Zachary Dow](https://github.com/NewDark90), [Jacob Easley](https://github.com/jacobez), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).

Sorry, the diff of this file is not supported yet

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