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

@thi.ng/random

Package Overview
Dependencies
Maintainers
1
Versions
183
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 3.6.36 to 3.6.37

2

CHANGELOG.md
# Change Log
- **Last updated**: 2024-03-07T20:40:47Z
- **Last updated**: 2024-03-13T14:04:31Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

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

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

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

"dependencies": {
"@thi.ng/api": "^8.9.29",
"@thi.ng/checks": "^3.5.2",
"@thi.ng/errors": "^2.4.20",
"@thi.ng/hex": "^2.3.39"
"@thi.ng/api": "^8.9.30",
"@thi.ng/checks": "^3.5.3",
"@thi.ng/errors": "^2.5.0",
"@thi.ng/hex": "^2.3.40"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.40.1",
"esbuild": "^0.20.0",
"@microsoft/api-extractor": "^7.42.3",
"esbuild": "^0.20.1",
"rimraf": "^5.0.5",
"typedoc": "^0.25.7",
"typescript": "^5.3.3"
"typedoc": "^0.25.12",
"typescript": "^5.4.2"
},

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

},
"gitHead": "69100942474942f7446ac645d59d91e7dfc352f9\n"
"gitHead": "7f3fcbd6c0462b0ce45afa141fe163d1f297fd51\n"
}

@@ -50,3 +50,3 @@ import type { Fn0 } from "@thi.ng/api";

*/
export declare const pickRandomUnique: <T>(k: number, src: T[], existing?: T[] | undefined, maxTrials?: number, rnd?: IRandom) => T[];
export declare const pickRandomUnique: <T>(k: number, src: T[], existing?: T[], maxTrials?: number, rnd?: IRandom) => T[];
//# sourceMappingURL=unique-indices.d.ts.map

@@ -21,3 +21,3 @@ import type { Fn0 } from "@thi.ng/api";

*/
export declare const weightedRandom: <T>(choices: T[], weights?: ArrayLike<number>, rnd?: IRandom) => () => T;
export declare const weightedRandom: <T>(choices: Array<T>, weights?: ArrayLike<number>, rnd?: IRandom) => () => T;
/**

@@ -24,0 +24,0 @@ * Alt version of {@link weightedRandom}, accepting an object of weights

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