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

@thi.ng/random

Package Overview
Dependencies
Maintainers
0
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/random - npm Package Compare versions

Comparing version 4.1.3 to 4.1.4

2

CHANGELOG.md
# Change Log
- **Last updated**: 2024-11-10T17:11:51Z
- **Last updated**: 2024-11-24T18:15:48Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -5,0 +5,0 @@

@@ -22,3 +22,3 @@ import type { IBuffered, ICopy } from "@thi.ng/api";

copy(): Crypto;
bytes(): Uint8Array;
bytes(): Uint8Array<ArrayBufferLike>;
int(): number;

@@ -25,0 +25,0 @@ }

{
"name": "@thi.ng/random",
"version": "4.1.3",
"version": "4.1.4",
"description": "Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation",

@@ -39,10 +39,10 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.11.12",
"@thi.ng/errors": "^2.5.18"
"@thi.ng/api": "^8.11.13",
"@thi.ng/errors": "^2.5.19"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.9",
"@microsoft/api-extractor": "^7.48.0",
"esbuild": "^0.24.0",
"typedoc": "^0.26.7",
"typescript": "^5.6.2"
"typedoc": "^0.26.11",
"typescript": "^5.7.2"
},

@@ -161,3 +161,3 @@ "keywords": [

},
"gitHead": "ef89090bb19fc5bca23be5da8cfce05b82ff4ad1\n"
"gitHead": "85e2f0935b58bde5d165fbe754fafec5da0b731e\n"
}

@@ -11,3 +11,3 @@ import type { IRandom } from "./api.js";

*/
export declare const randomBytesFrom: (rnd: IRandom, buf: Uint8Array, start?: number, end?: number) => Uint8Array;
export declare const randomBytesFrom: (rnd: IRandom, buf: Uint8Array, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
/**

@@ -22,3 +22,3 @@ * Fills given byte array with random values. Wrapper for

*/
export declare const randomBytes: (buf: Uint8Array, start?: number, end?: number) => Uint8Array;
export declare const randomBytes: (buf: Uint8Array, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
//# sourceMappingURL=random-bytes.d.ts.map

@@ -15,3 +15,3 @@ import type { IBuffered, ICopy } from "@thi.ng/api";

copy(): SFC32;
bytes(): Uint8Array;
bytes(): Uint8Array<ArrayBufferLike>;
int(): number;

@@ -18,0 +18,0 @@ seed(seed: ArrayLike<number>): this;

@@ -12,3 +12,3 @@ import type { IBuffered, ICopy } from "@thi.ng/api";

copy(): XorShift128;
bytes(): Uint8Array;
bytes(): Uint8Array<ArrayBufferLike>;
seed(seed: ArrayLike<number>): this;

@@ -15,0 +15,0 @@ int(): number;

@@ -13,5 +13,5 @@ import type { IBuffered, ICopy } from "@thi.ng/api";

seed(seed: ArrayLike<number>): this;
bytes(): Uint8Array;
bytes(): Uint8Array<ArrayBufferLike>;
int(): number;
}
//# sourceMappingURL=xorwow.d.ts.map

@@ -14,3 +14,3 @@ import type { IBuffered, ICopy } from "@thi.ng/api";

copy(): Xoshiro128;
bytes(): Uint8Array;
bytes(): Uint8Array<ArrayBufferLike>;
seed(seed: ArrayLike<number>): this;

@@ -17,0 +17,0 @@ int(): number;

@@ -11,3 +11,3 @@ import type { IBuffered, ICopy } from "@thi.ng/api";

constructor(seed?: number);
bytes(): Uint8Array;
bytes(): Uint8Array<ArrayBufferLike>;
copy(): XsAdd;

@@ -14,0 +14,0 @@ seed(seed: number): this;

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