@thi.ng/random 3.3.18 → 3.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-20T16:33:11Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -8,7 +8,7 @@ import type { IRandom } from "../api.js";
8
8
  * The default configuration produces samples in the approx. [-0.5,0.5] range
9
9
  * with a ~12% standard deviation.
10
10
  *
11
- * Reference: {@link https://en.wikipedia.org/wiki/Central_limit_theorem}
11
+ * Reference: https://en.wikipedia.org/wiki/Central_limit_theorem
12
12
  *
13
13
  * @param rnd - default `SYSTEM`
14
14
  * @param n - num samples, default 24
@@ -8,7 +8,7 @@ import { SYSTEM } from "../system.js";
8
8
  * The default configuration produces samples in the approx. [-0.5,0.5] range
9
9
  * with a ~12% standard deviation.
10
10
  *
11
- * Reference: {@link https://en.wikipedia.org/wiki/Central_limit_theorem}
11
+ * Reference: https://en.wikipedia.org/wiki/Central_limit_theorem
12
12
  *
13
13
  * @param rnd - default `SYSTEM`
14
14
  * @param n - num samples, default 24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/random",
3
- "version": "3.3.18",
3
+ "version": "3.3.19",
4
4
  "description": "Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,7 +34,7 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.6.0",
37
+ "@thi.ng/api": "^8.6.1",
38
38
  "@thi.ng/checks": "^3.3.5",
39
39
  "@thi.ng/errors": "^2.2.6",
40
40
  "@thi.ng/hex": "^2.3.2"
@@ -156,5 +156,5 @@
156
156
  "ksuid"
157
157
  ]
158
158
  },
159
- "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
159
+ "gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
160
160
  }
package/random-id.d.ts CHANGED
@@ -5,7 +5,8 @@ import type { IRandom } from "./api.js";
5
5
  * lowercase a-z).
6
6
  *
7
7
  * @remarks
8
- * See {@link @thi.ng/ksuid#} for a more advanced and collision-free approach.
8
+ * See [thi.ng/ksuid](https://thi.ng/thi.ng/ksuid) for a more advanced and
9
+ * collision-free approach.
9
10
  *
10
11
  * @example
11
12
  * ```ts
package/random-id.js CHANGED
@@ -5,7 +5,8 @@ import { SYSTEM } from "./system.js";
5
5
  * lowercase a-z).
6
6
  *
7
7
  * @remarks
8
- * See {@link @thi.ng/ksuid#} for a more advanced and collision-free approach.
8
+ * See [thi.ng/ksuid](https://thi.ng/thi.ng/ksuid) for a more advanced and
9
+ * collision-free approach.
9
10
  *
10
11
  * @example
11
12
  * ```ts
@@ -13,7 +13,7 @@ import type { IRandom } from "./api.js";
13
13
  * the resulting function will only ever return the first `choice`.
14
14
  *
15
15
  * Based on:
16
- * {@link https://www.electricmonk.nl/log/2009/12/23/weighted-random-distribution/}
16
+ * https://www.electricmonk.nl/log/2009/12/23/weighted-random-distribution/
17
17
  *
18
18
  * @param choices -
19
19
  * @param weights - optional weights
@@ -13,7 +13,7 @@ import { SYSTEM } from "./system.js";
13
13
  * the resulting function will only ever return the first `choice`.
14
14
  *
15
15
  * Based on:
16
- * {@link https://www.electricmonk.nl/log/2009/12/23/weighted-random-distribution/}
16
+ * https://www.electricmonk.nl/log/2009/12/23/weighted-random-distribution/
17
17
  *
18
18
  * @param choices -
19
19
  * @param weights - optional weights