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

@types/seedrandom

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/seedrandom - npm Package Compare versions

Comparing version 2.4.20-alpha to 2.4.21-alpha

64

index.d.ts

@@ -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"
}
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