@types/seedrandom
Advanced tools
Comparing version 2.4.20-alpha to 2.4.21-alpha
@@ -6,39 +6,41 @@ // Type definitions for seedrandom 2.4.2 | ||
declare type seedrandomStateType = boolean | (() => prng); | ||
declare namespace seedrandom { | ||
interface prng { | ||
new(seed?: string, options?: seedRandomOptions, callback?: any): prng; | ||
(): number; | ||
quick(): number; | ||
int32(): number; | ||
double(): number; | ||
state(): () => prng; | ||
} | ||
export type seedrandomStateType = boolean | (() => prng); | ||
interface seedrandom_prng { | ||
(seed?: string, options?: seedRandomOptions, callback?: any): prng; | ||
alea: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xor128: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
tychei: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xorwow: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xor4096: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xorshift7: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
quick: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
} | ||
interface prng { | ||
new (seed?: string, options?: seedRandomOptions, callback?: any): prng; | ||
(): number; | ||
quick(): number; | ||
int32(): number; | ||
double(): number; | ||
state(): () => prng; | ||
} | ||
interface seedrandomCallback { | ||
(prng?: prng, shortseed?: string, global?: boolean, state?: seedrandomStateType): prng; | ||
} | ||
interface seedrandom_prng { | ||
(seed?: string, options?: seedRandomOptions, callback?: any): prng; | ||
alea: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xor128: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
tychei: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xorwow: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xor4096: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
xorshift7: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
quick: (seed?: string, options?: seedRandomOptions, callback?: seedrandomCallback) => prng; | ||
} | ||
interface seedRandomOptions { | ||
entropy?: boolean; | ||
'global'?: boolean; | ||
state?: seedrandomStateType; | ||
pass?: seedrandomCallback; | ||
interface seedrandomCallback { | ||
(prng?: prng, shortseed?: string, global?: boolean, state?: seedrandomStateType): prng; | ||
} | ||
interface seedRandomOptions { | ||
entropy?: boolean; | ||
'global'?: boolean; | ||
state?: seedrandomStateType; | ||
pass?: seedrandomCallback; | ||
} | ||
} | ||
declare var seedrandom: seedrandom_prng; | ||
declare var seedrandom: seedrandom.seedrandom_prng; | ||
declare module "seedrandom" { | ||
export = seedrandom; | ||
} | ||
export = seedrandom; | ||
export as namespace seedrandom; |
{ | ||
"name": "@types/seedrandom", | ||
"version": "2.4.20-alpha", | ||
"version": "2.4.21-alpha", | ||
"description": "TypeScript definitions for seedrandom 2.4.2", | ||
@@ -8,2 +8,6 @@ "main": "", | ||
"author": "Kern Handa <https://github.com/kernhanda>", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"license": "MIT", | ||
@@ -10,0 +14,0 @@ "typings": "index.d.ts", |
@@ -11,4 +11,4 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 25 May 2016 04:20:35 GMT | ||
* File structure: Mixed | ||
* Last updated: Fri, 01 Jul 2016 18:42:33 GMT | ||
* File structure: UMD | ||
* Library Dependencies: none | ||
@@ -15,0 +15,0 @@ * Module Dependencies: none |
@@ -13,13 +13,11 @@ { | ||
"sourceBranch": "types-2.0", | ||
"kind": "Mixed", | ||
"kind": "UMD", | ||
"globals": [ | ||
"seedrandom" | ||
], | ||
"declaredModules": [ | ||
"seedrandom" | ||
], | ||
"declaredModules": [], | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"contentHash": "0250bee2cfd8ea061cb2c2dfb6e8d6b58a894fc85b6c2234a41d2a6c88fe39b5" | ||
"contentHash": "6ad69483683964e97254f65e374a17f845154a74df41e5bf3ea0d53ec1b70e19" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3389
0
58