@thi.ng/random 3.3.13 → 3.3.15
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 +11 -11
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -13,8 +13,8 @@ and/or version bumps of transitive dependencies.
|
|
|
13
13
|
|
|
14
14
|
#### 🚀 Features
|
|
15
15
|
|
|
16
|
-
- add pickRandomKey(), weightedRandomKey() ([9b8ed07](https://github.com/thi-ng/umbrella/commit/9b8ed07))
|
|
17
16
|
- update IRandom, add SFC32 impl ([970d7f4](https://github.com/thi-ng/umbrella/commit/970d7f4))
|
|
17
|
+
- add pickRandomKey(), weightedRandomKey() ([9b8ed07](https://github.com/thi-ng/umbrella/commit/9b8ed07))
|
|
18
18
|
|
|
19
19
|
### [3.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@3.2.2) (2021-11-21)
|
|
20
20
|
|
|
@@ -57,9 +57,9 @@ and/or version bumps of transitive dependencies.
|
|
|
57
57
|
|
|
58
58
|
#### ♻️ Refactoring
|
|
59
59
|
|
|
60
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
61
60
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
62
61
|
- add .js suffix for all relative imports
|
|
62
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
63
63
|
|
|
64
64
|
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@3.0.0) (2021-10-12)
|
|
65
65
|
|
|
@@ -80,16 +80,16 @@ and/or version bumps of transitive dependencies.
|
|
|
80
80
|
|
|
81
81
|
#### ♻️ Refactoring
|
|
82
82
|
|
|
83
|
+
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
84
|
+
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
85
|
+
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
86
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
83
87
|
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
84
88
|
- largely related to recent updates/restructuring of these packages:
|
|
85
89
|
- api
|
|
86
90
|
- defmulti
|
|
87
91
|
- errors
|
|
88
92
|
- logger
|
|
89
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
90
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
91
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
92
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
93
93
|
|
|
94
94
|
### [2.4.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@2.4.4) (2021-08-04)
|
|
95
95
|
|
|
@@ -134,8 +134,8 @@ and/or version bumps of transitive dependencies.
|
|
|
134
134
|
|
|
135
135
|
#### 🚀 Features
|
|
136
136
|
|
|
137
|
-
- add CRYPTO IRandom impl ([94e69c1](https://github.com/thi-ng/umbrella/commit/94e69c1))
|
|
138
137
|
- add opt start/end for randomBytes() ([4d095da](https://github.com/thi-ng/umbrella/commit/4d095da))
|
|
138
|
+
- add CRYPTO IRandom impl ([94e69c1](https://github.com/thi-ng/umbrella/commit/94e69c1))
|
|
139
139
|
|
|
140
140
|
#### 🩹 Bug fixes
|
|
141
141
|
|
|
@@ -166,14 +166,14 @@ and/or version bumps of transitive dependencies.
|
|
|
166
166
|
|
|
167
167
|
#### 🚀 Features
|
|
168
168
|
|
|
169
|
-
- add distribution HOFs, move gaussian() ([9328821](https://github.com/thi-ng/umbrella/commit/9328821))
|
|
170
|
-
- add exponential(), geometric(), normal(), uniform() HOFs
|
|
171
|
-
- migrate gaussian() to /distributions
|
|
172
169
|
- add randomBytesFrom(), update UUID fns ([b31c872](https://github.com/thi-ng/umbrella/commit/b31c872))
|
|
173
170
|
- add [@thi.ng/hex](https://github.com/thi-ng/umbrella/tree/main/packages/hex) dependency
|
|
174
171
|
- update uuidv4Bytes() to take opt IRandom arg
|
|
175
172
|
- refactor/optimize uuid()
|
|
176
173
|
- add tests
|
|
174
|
+
- add distribution HOFs, move gaussian() ([9328821](https://github.com/thi-ng/umbrella/commit/9328821))
|
|
175
|
+
- add exponential(), geometric(), normal(), uniform() HOFs
|
|
176
|
+
- migrate gaussian() to /distributions
|
|
177
177
|
|
|
178
178
|
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/random@2.0.0) (2020-08-28)
|
|
179
179
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/random",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.15",
|
|
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,17 +34,17 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/hex": "^2.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/checks": "^3.3.3",
|
|
39
|
+
"@thi.ng/errors": "^2.2.4",
|
|
40
|
+
"@thi.ng/hex": "^2.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.33.5",
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
+
"@thi.ng/testament": "^0.3.5",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
47
|
+
"typedoc": "^0.23.20",
|
|
48
48
|
"typescript": "^4.8.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"node": ">=12.7"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
|
-
"
|
|
76
|
-
"
|
|
75
|
+
"./*.js",
|
|
76
|
+
"./*.d.ts",
|
|
77
77
|
"distributions"
|
|
78
78
|
],
|
|
79
79
|
"exports": {
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
"ksuid"
|
|
157
157
|
]
|
|
158
158
|
},
|
|
159
|
-
"gitHead": "
|
|
159
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
160
160
|
}
|