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.4 to 1.0.5

11

chance/index.d.ts

@@ -34,3 +34,3 @@ // Type definitions for Chance 1.0

bool(opts?: {likelihood: number}): boolean;
character(opts?: Options): string;
character(opts?: AtLeastOneKey<CharacterOptions>): string;
floating(opts?: Options): number;

@@ -201,7 +201,12 @@ integer(opts?: AtLeastOneKey<IntegerOptions>): number;

interface StringOptions {
length: number;
interface CharacterOptions {
casing: 'upper' | 'lower';
pool: string;
alpha: boolean;
numeric: boolean;
symbols: string;
}
type StringOptions = CharacterOptions & { length: number } ;
interface UrlOptions {

@@ -208,0 +213,0 @@ protocol: string;

{
"name": "@types/chance",
"version": "1.0.4",
"version": "1.0.5",
"description": "TypeScript definitions for Chance",

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

"dependencies": {},
"typesPublisherContentHash": "e39fc9c07abf98c7789a1b87313316f909011f2bda94b91f6da2f68f09336337",
"typesPublisherContentHash": "ccf60f27320d4291c63909f02e7a3e10fc55c991c289254cfd76b5235ba82078",
"typeScriptVersion": "2.3"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for Chance ( http://chancejs.com ).
This package contains type definitions for Chance (http://chancejs.com).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Tue, 14 May 2019 18:19:42 GMT
* Last updated: Mon, 01 Jul 2019 17:57:08 GMT
* Dependencies: none

@@ -18,2 +18,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>.
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>.
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