@thi.ng/random
Advanced tools
Comparing version 3.6.36 to 3.6.37
# 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 |
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
69962
Updated@thi.ng/api@^8.9.30
Updated@thi.ng/checks@^3.5.3
Updated@thi.ng/errors@^2.5.0
Updated@thi.ng/hex@^2.3.40