@quenty/randomutils 6.16.0 → 6.17.0

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
@@ -3,360 +3,198 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [6.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.15.0...@quenty/randomutils@6.16.0) (2026-04-23)
6
+ # [6.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.16.0...@quenty/randomutils@6.17.0) (2026-05-29)
7
7
 
8
8
  **Note:** Version bump only for package @quenty/randomutils
9
9
 
10
+ # [6.16.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.15.0...@quenty/randomutils@6.16.0) (2026-04-23)
10
11
 
11
-
12
-
12
+ **Note:** Version bump only for package @quenty/randomutils
13
13
 
14
14
  # [6.15.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.14.0...@quenty/randomutils@6.15.0) (2026-02-20)
15
15
 
16
-
17
16
  ### Features
18
17
 
19
- * **cli:** add CI annotation support to game and plugin templates ([#666](https://github.com/Quenty/NevermoreEngine/issues/666)) ([098971b](https://github.com/Quenty/NevermoreEngine/commit/098971bb04dfe40be09f475330b69a48b38c54c5))
20
-
21
-
22
-
23
-
18
+ - **cli:** add CI annotation support to game and plugin templates ([#666](https://github.com/Quenty/NevermoreEngine/issues/666)) ([098971b](https://github.com/Quenty/NevermoreEngine/commit/098971bb04dfe40be09f475330b69a48b38c54c5))
24
19
 
25
20
  # [6.14.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.13.0...@quenty/randomutils@6.14.0) (2026-02-19)
26
21
 
27
-
28
22
  ### Features
29
23
 
30
- * **cli:** add aggregated batch test execution ([58f20e4](https://github.com/Quenty/NevermoreEngine/commit/58f20e437540c597ea445f47d47076c08ea9ca21))
31
-
32
-
33
-
34
-
24
+ - **cli:** add aggregated batch test execution ([58f20e4](https://github.com/Quenty/NevermoreEngine/commit/58f20e437540c597ea445f47d47076c08ea9ca21))
35
25
 
36
26
  # [6.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.12.2...@quenty/randomutils@6.13.0) (2026-02-17)
37
27
 
38
-
39
28
  ### Features
40
29
 
41
- * Add CI/CD batch unit testing ([016a366](https://github.com/Quenty/NevermoreEngine/commit/016a3663509c8fffa518b07cfc49ebecba2a1fa6))
42
-
43
-
44
-
45
-
30
+ - Add CI/CD batch unit testing ([016a366](https://github.com/Quenty/NevermoreEngine/commit/016a3663509c8fffa518b07cfc49ebecba2a1fa6))
46
31
 
47
32
  ## [6.12.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.12.1...@quenty/randomutils@6.12.2) (2026-01-12)
48
33
 
49
-
50
34
  ### Bug Fixes
51
35
 
52
- * Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
53
-
54
-
55
-
56
-
36
+ - Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
57
37
 
58
38
  ## [6.12.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.12.0...@quenty/randomutils@6.12.1) (2026-01-10)
59
39
 
60
40
  **Note:** Version bump only for package @quenty/randomutils
61
41
 
62
-
63
-
64
-
65
-
66
42
  # [6.12.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.11.1...@quenty/randomutils@6.12.0) (2026-01-04)
67
43
 
68
44
  **Note:** Version bump only for package @quenty/randomutils
69
45
 
70
-
71
-
72
-
73
-
74
46
  ## [6.11.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.11.0...@quenty/randomutils@6.11.1) (2026-01-03)
75
47
 
76
48
  **Note:** Version bump only for package @quenty/randomutils
77
49
 
78
-
79
-
80
-
81
-
82
50
  # [6.11.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.10.3...@quenty/randomutils@6.11.0) (2025-05-10)
83
51
 
84
52
  **Note:** Version bump only for package @quenty/randomutils
85
53
 
86
-
87
-
88
-
89
-
90
54
  ## [6.10.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.10.2...@quenty/randomutils@6.10.3) (2025-04-10)
91
55
 
92
56
  **Note:** Version bump only for package @quenty/randomutils
93
57
 
94
-
95
-
96
-
97
-
98
58
  ## [6.10.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.10.0...@quenty/randomutils@6.10.2) (2025-04-07)
99
59
 
100
-
101
60
  ### Bug Fixes
102
61
 
103
- * Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
104
- * Bump package versions for republishing ([ba47c62](https://github.com/Quenty/NevermoreEngine/commit/ba47c62e32170bf74377b0c658c60b84306dc294))
105
-
106
-
107
-
108
-
62
+ - Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
63
+ - Bump package versions for republishing ([ba47c62](https://github.com/Quenty/NevermoreEngine/commit/ba47c62e32170bf74377b0c658c60b84306dc294))
109
64
 
110
65
  ## [6.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.10.0...@quenty/randomutils@6.10.1) (2025-04-07)
111
66
 
112
-
113
67
  ### Bug Fixes
114
68
 
115
- * Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
116
-
117
-
118
-
119
-
69
+ - Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
120
70
 
121
71
  # [6.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.9.1...@quenty/randomutils@6.10.0) (2025-04-02)
122
72
 
123
-
124
73
  ### Bug Fixes
125
74
 
126
- * Fix existing tests ([655787c](https://github.com/Quenty/NevermoreEngine/commit/655787ced1139136e12f81800e229aa076731561))
127
-
128
-
129
-
130
-
75
+ - Fix existing tests ([655787c](https://github.com/Quenty/NevermoreEngine/commit/655787ced1139136e12f81800e229aa076731561))
131
76
 
132
77
  ## [6.9.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.9.0...@quenty/randomutils@6.9.1) (2025-03-21)
133
78
 
134
79
  **Note:** Version bump only for package @quenty/randomutils
135
80
 
136
-
137
-
138
-
139
-
140
81
  # [6.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.8.0...@quenty/randomutils@6.9.0) (2025-02-18)
141
82
 
142
83
  **Note:** Version bump only for package @quenty/randomutils
143
84
 
144
-
145
-
146
-
147
-
148
85
  # [6.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.7.1...@quenty/randomutils@6.8.0) (2024-11-13)
149
86
 
150
87
  **Note:** Version bump only for package @quenty/randomutils
151
88
 
152
-
153
-
154
-
155
-
156
89
  ## [6.7.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.7.0...@quenty/randomutils@6.7.1) (2024-11-04)
157
90
 
158
91
  **Note:** Version bump only for package @quenty/randomutils
159
92
 
160
-
161
-
162
-
163
-
164
93
  # [6.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.6.0...@quenty/randomutils@6.7.0) (2024-10-06)
165
94
 
166
95
  **Note:** Version bump only for package @quenty/randomutils
167
96
 
168
-
169
-
170
-
171
-
172
97
  # [6.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.5.0...@quenty/randomutils@6.6.0) (2024-10-04)
173
98
 
174
99
  **Note:** Version bump only for package @quenty/randomutils
175
100
 
176
-
177
-
178
-
179
-
180
101
  # [6.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.4.0...@quenty/randomutils@6.5.0) (2024-09-25)
181
102
 
182
103
  **Note:** Version bump only for package @quenty/randomutils
183
104
 
184
-
185
-
186
-
187
-
188
105
  # [6.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.3.0...@quenty/randomutils@6.4.0) (2024-09-12)
189
106
 
190
107
  **Note:** Version bump only for package @quenty/randomutils
191
108
 
192
-
193
-
194
-
195
-
196
109
  # [6.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.2.1...@quenty/randomutils@6.3.0) (2024-05-09)
197
110
 
198
-
199
111
  ### Bug Fixes
200
112
 
201
- * Fix .package-lock.json replicating in packages ([75d0efe](https://github.com/Quenty/NevermoreEngine/commit/75d0efeef239f221d93352af71a5b3e930ec23c5))
202
-
203
-
204
-
205
-
113
+ - Fix .package-lock.json replicating in packages ([75d0efe](https://github.com/Quenty/NevermoreEngine/commit/75d0efeef239f221d93352af71a5b3e930ec23c5))
206
114
 
207
115
  ## [6.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.2.0...@quenty/randomutils@6.2.1) (2024-04-28)
208
116
 
209
-
210
117
  ### Bug Fixes
211
118
 
212
- * RandomUtils.weightedChoice when chances array starts with 0(s) ([cd4a616](https://github.com/Quenty/NevermoreEngine/commit/cd4a61663ece9f731f1c6184ae0107124f1120dd))
213
-
214
-
215
-
216
-
119
+ - RandomUtils.weightedChoice when chances array starts with 0(s) ([cd4a616](https://github.com/Quenty/NevermoreEngine/commit/cd4a61663ece9f731f1c6184ae0107124f1120dd))
217
120
 
218
121
  # [6.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.1.0...@quenty/randomutils@6.2.0) (2024-04-27)
219
122
 
220
123
  **Note:** Version bump only for package @quenty/randomutils
221
124
 
222
-
223
-
224
-
225
-
226
125
  # [6.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@6.0.0...@quenty/randomutils@6.1.0) (2024-03-09)
227
126
 
228
127
  **Note:** Version bump only for package @quenty/randomutils
229
128
 
230
-
231
-
232
-
233
-
234
129
  # [6.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@5.0.0...@quenty/randomutils@6.0.0) (2024-02-14)
235
130
 
236
131
  **Note:** Version bump only for package @quenty/randomutils
237
132
 
238
-
239
-
240
-
241
-
242
133
  # [5.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@4.0.0...@quenty/randomutils@5.0.0) (2024-02-13)
243
134
 
244
135
  **Note:** Version bump only for package @quenty/randomutils
245
136
 
246
-
247
-
248
-
249
-
250
137
  # [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@3.2.0...@quenty/randomutils@4.0.0) (2024-02-13)
251
138
 
252
139
  **Note:** Version bump only for package @quenty/randomutils
253
140
 
254
-
255
-
256
-
257
-
258
141
  # [3.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@3.1.0...@quenty/randomutils@3.2.0) (2024-01-08)
259
142
 
260
143
  **Note:** Version bump only for package @quenty/randomutils
261
144
 
262
-
263
-
264
-
265
-
266
145
  # [3.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@3.0.0...@quenty/randomutils@3.1.0) (2023-12-14)
267
146
 
268
-
269
147
  ### Features
270
148
 
271
- * Cache random choice calculations to be speedy ([c32f301](https://github.com/Quenty/NevermoreEngine/commit/c32f30184d11e1ce04e3e9fa2cbd21861c54a09b))
272
-
273
-
274
-
275
-
149
+ - Cache random choice calculations to be speedy ([c32f301](https://github.com/Quenty/NevermoreEngine/commit/c32f30184d11e1ce04e3e9fa2cbd21861c54a09b))
276
150
 
277
151
  # [3.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@2.3.0...@quenty/randomutils@3.0.0) (2023-10-11)
278
152
 
279
-
280
153
  ### Features
281
154
 
282
- * Add GetProbability ([2267080](https://github.com/Quenty/NevermoreEngine/commit/2267080fc6c1c53153f15cd9f638bddbff2371b7))
283
- * Add WeightedRandomChooser ([b0cdcd1](https://github.com/Quenty/NevermoreEngine/commit/b0cdcd1ab69104535683609469cd806e647ef000))
284
-
285
-
286
-
287
-
155
+ - Add GetProbability ([2267080](https://github.com/Quenty/NevermoreEngine/commit/2267080fc6c1c53153f15cd9f638bddbff2371b7))
156
+ - Add WeightedRandomChooser ([b0cdcd1](https://github.com/Quenty/NevermoreEngine/commit/b0cdcd1ab69104535683609469cd806e647ef000))
288
157
 
289
158
  # [2.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@2.2.0...@quenty/randomutils@2.3.0) (2023-08-23)
290
159
 
291
-
292
160
  ### Bug Fixes
293
161
 
294
- * Use table.clone() ([28f311b](https://github.com/Quenty/NevermoreEngine/commit/28f311b9c2534fa7b2056265db05c1447dc43a8a))
295
-
162
+ - Use table.clone() ([28f311b](https://github.com/Quenty/NevermoreEngine/commit/28f311b9c2534fa7b2056265db05c1447dc43a8a))
296
163
 
297
164
  ### Features
298
165
 
299
- * Add RandomSampler object to RandomUtils ([5ca48d9](https://github.com/Quenty/NevermoreEngine/commit/5ca48d91697ee0b20ec1df8dda91a0e9f9ceb0a3))
300
-
301
-
302
-
303
-
166
+ - Add RandomSampler object to RandomUtils ([5ca48d9](https://github.com/Quenty/NevermoreEngine/commit/5ca48d91697ee0b20ec1df8dda91a0e9f9ceb0a3))
304
167
 
305
168
  # [2.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@2.1.1...@quenty/randomutils@2.2.0) (2022-03-27)
306
169
 
307
170
  **Note:** Version bump only for package @quenty/randomutils
308
171
 
309
-
310
-
311
-
312
-
313
172
  ## [2.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@2.1.0...@quenty/randomutils@2.1.1) (2021-12-30)
314
173
 
315
174
  **Note:** Version bump only for package @quenty/randomutils
316
175
 
317
-
318
-
319
-
320
-
321
176
  # [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@2.0.0...@quenty/randomutils@2.1.0) (2021-10-02)
322
177
 
323
-
324
178
  ### Features
325
179
 
326
- * Add RandomUtils.guassuanRandom() and RandomUtils.randomUnitVector3 ([f903846](https://github.com/Quenty/NevermoreEngine/commit/f90384651aedd4a79600b2825b996123441227c9))
327
-
328
-
329
-
330
-
180
+ - Add RandomUtils.guassuanRandom() and RandomUtils.randomUnitVector3 ([f903846](https://github.com/Quenty/NevermoreEngine/commit/f90384651aedd4a79600b2825b996123441227c9))
331
181
 
332
182
  # [2.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/randomutils@1.2.0...@quenty/randomutils@2.0.0) (2021-09-05)
333
183
 
334
-
335
184
  ### Bug Fixes
336
185
 
337
- * Remove peer dependencies. This is because lerna doesn't really support peer dependencies being linked and getting a new version on build, which is unfortunate. ([5f5aeee](https://github.com/Quenty/NevermoreEngine/commit/5f5aeeea8de9975435309e53679f0ef7064f9dd0))
338
-
339
-
340
-
341
-
186
+ - Remove peer dependencies. This is because lerna doesn't really support peer dependencies being linked and getting a new version on build, which is unfortunate. ([5f5aeee](https://github.com/Quenty/NevermoreEngine/commit/5f5aeeea8de9975435309e53679f0ef7064f9dd0))
342
187
 
343
188
  # 1.2.0 (2021-07-31)
344
189
 
345
-
346
190
  ### Bug Fixes
347
191
 
348
- * Add CI and CD ([47513e9](https://github.com/Quenty/NevermoreEngine/commit/47513e9b568162707534af132396dd8756947dd3))
349
- * Adjust CI badge to show automatic build and release state ([5a55d3f](https://github.com/Quenty/NevermoreEngine/commit/5a55d3f19bf8d66a760d67da9b56ed47fab74656))
350
- * Fix selene linting ([45fc074](https://github.com/Quenty/NevermoreEngine/commit/45fc07489ee59127ac6582689f19a0e87c1e5b5a))
351
-
352
-
192
+ - Add CI and CD ([47513e9](https://github.com/Quenty/NevermoreEngine/commit/47513e9b568162707534af132396dd8756947dd3))
193
+ - Adjust CI badge to show automatic build and release state ([5a55d3f](https://github.com/Quenty/NevermoreEngine/commit/5a55d3f19bf8d66a760d67da9b56ed47fab74656))
194
+ - Fix selene linting ([45fc074](https://github.com/Quenty/NevermoreEngine/commit/45fc07489ee59127ac6582689f19a0e87c1e5b5a))
353
195
 
354
196
  ## 1.0.2 (2021-07-25)
355
197
 
356
-
357
-
358
198
  ## 1.0.1 (2021-07-25)
359
199
 
360
-
361
-
362
200
  # 1.0.0 (2021-07-24)
@@ -0,0 +1,10 @@
1
+ {
2
+ "targets": {
3
+ "test": {
4
+ "universeId": 9716264427,
5
+ "placeId": 127308539328267,
6
+ "project": "test/default.project.json",
7
+ "scriptTemplate": "test/scripts/Server/ServerMain.server.lua"
8
+ }
9
+ }
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/randomutils",
3
- "version": "6.16.0",
3
+ "version": "6.17.0",
4
4
  "description": "Quenty's RandomUtils, utility functions for Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -37,5 +37,5 @@
37
37
  "@quenty/table": "3.9.2",
38
38
  "@quentystudios/jest-lua": "3.10.0-quenty.2"
39
39
  },
40
- "gitHead": "9413391da8b6f9026762285b601fd1d37d385a54"
40
+ "gitHead": "f4a374a0a294ee8900aa5cb68ab138b0acf3e0ae"
41
41
  }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "RandomUtilsTest",
3
+ "globIgnorePaths": [
4
+ "**/.package-lock.json",
5
+ "**/.pnpm",
6
+ "**/.pnpm-workspace-state-v1.json",
7
+ "**/.modules.yaml",
8
+ "**/.ignored",
9
+ "**/.ignored_*"
10
+ ],
11
+ "tree": {
12
+ "$className": "DataModel",
13
+ "ServerScriptService": {
14
+ "$properties": {
15
+ "LoadStringEnabled": true
16
+ },
17
+ "randomutils": {
18
+ "$path": ".."
19
+ },
20
+ "Script": {
21
+ "$path": "scripts/Server"
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,13 @@
1
+ --[[
2
+ @class ServerMain
3
+ ]]
4
+ local ServerScriptService = game:GetService("ServerScriptService")
5
+
6
+ local root = ServerScriptService.randomutils
7
+ local loader = root:FindFirstChild("LoaderUtils", true).Parent
8
+ local require = require(loader).bootstrapGame(root)
9
+
10
+ local NevermoreTestRunnerUtils = require("NevermoreTestRunnerUtils")
11
+ if NevermoreTestRunnerUtils.runTestsIfNeededAsync(root) then
12
+ return
13
+ end