@quenty/throttle 10.12.2 → 10.14.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 +19 -216
- package/package.json +3 -3
- package/src/Shared/ThrottledFunction.spec.lua +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,432 +3,235 @@
|
|
|
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
|
+
# [10.14.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.13.0...@quenty/throttle@10.14.0) (2026-07-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @quenty/throttle
|
|
9
9
|
|
|
10
|
+
# [10.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.12.2...@quenty/throttle@10.13.0) (2026-07-18)
|
|
10
11
|
|
|
12
|
+
### Bug Fixes
|
|
11
13
|
|
|
14
|
+
- pin translation behavior with tests and fix camelCase key generation ([#737](https://github.com/Quenty/NevermoreEngine/issues/737)) ([1b7a536](https://github.com/Quenty/NevermoreEngine/commit/1b7a536dde7e124f8432e57612ec8138dd835d75))
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
## [10.12.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.12.0...@quenty/throttle@10.12.1) (2026-04-29)
|
|
16
|
+
## [10.12.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.12.1...@quenty/throttle@10.12.2) (2026-04-30)
|
|
15
17
|
|
|
16
18
|
**Note:** Version bump only for package @quenty/throttle
|
|
17
19
|
|
|
20
|
+
## [10.12.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.12.0...@quenty/throttle@10.12.1) (2026-04-29)
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
**Note:** Version bump only for package @quenty/throttle
|
|
21
23
|
|
|
22
24
|
# [10.12.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.11.0...@quenty/throttle@10.12.0) (2026-04-23)
|
|
23
25
|
|
|
24
26
|
**Note:** Version bump only for package @quenty/throttle
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
28
|
# [10.11.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.10.3...@quenty/throttle@10.11.0) (2026-02-17)
|
|
31
29
|
|
|
32
30
|
**Note:** Version bump only for package @quenty/throttle
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
32
|
## [10.10.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.10.2...@quenty/throttle@10.10.3) (2026-01-12)
|
|
39
33
|
|
|
40
|
-
|
|
41
34
|
### Bug Fixes
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
- Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
|
|
48
37
|
|
|
49
38
|
## [10.10.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.10.1...@quenty/throttle@10.10.2) (2026-01-10)
|
|
50
39
|
|
|
51
40
|
**Note:** Version bump only for package @quenty/throttle
|
|
52
41
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
42
|
## [10.10.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.10.0...@quenty/throttle@10.10.1) (2026-01-03)
|
|
58
43
|
|
|
59
44
|
**Note:** Version bump only for package @quenty/throttle
|
|
60
45
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
46
|
# [10.10.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.9.3...@quenty/throttle@10.10.0) (2025-05-10)
|
|
66
47
|
|
|
67
48
|
**Note:** Version bump only for package @quenty/throttle
|
|
68
49
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
50
|
## [10.9.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.9.2...@quenty/throttle@10.9.3) (2025-04-10)
|
|
74
51
|
|
|
75
52
|
**Note:** Version bump only for package @quenty/throttle
|
|
76
53
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
54
|
## [10.9.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.9.0...@quenty/throttle@10.9.2) (2025-04-07)
|
|
82
55
|
|
|
83
|
-
|
|
84
56
|
### Bug Fixes
|
|
85
57
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
58
|
+
- Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
59
|
+
- Bump package versions for republishing ([ba47c62](https://github.com/Quenty/NevermoreEngine/commit/ba47c62e32170bf74377b0c658c60b84306dc294))
|
|
92
60
|
|
|
93
61
|
## [10.9.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.9.0...@quenty/throttle@10.9.1) (2025-04-07)
|
|
94
62
|
|
|
95
|
-
|
|
96
63
|
### Bug Fixes
|
|
97
64
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
65
|
+
- Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
103
66
|
|
|
104
67
|
# [10.9.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.8.1...@quenty/throttle@10.9.0) (2025-02-18)
|
|
105
68
|
|
|
106
69
|
**Note:** Version bump only for package @quenty/throttle
|
|
107
70
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
71
|
## [10.8.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.8.0...@quenty/throttle@10.8.1) (2024-11-04)
|
|
113
72
|
|
|
114
73
|
**Note:** Version bump only for package @quenty/throttle
|
|
115
74
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
75
|
# [10.8.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.7.0...@quenty/throttle@10.8.0) (2024-10-06)
|
|
121
76
|
|
|
122
77
|
**Note:** Version bump only for package @quenty/throttle
|
|
123
78
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
79
|
# [10.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.6.0...@quenty/throttle@10.7.0) (2024-10-04)
|
|
129
80
|
|
|
130
81
|
**Note:** Version bump only for package @quenty/throttle
|
|
131
82
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
83
|
# [10.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.5.0...@quenty/throttle@10.6.0) (2024-09-25)
|
|
137
84
|
|
|
138
85
|
**Note:** Version bump only for package @quenty/throttle
|
|
139
86
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
87
|
# [10.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.4.0...@quenty/throttle@10.5.0) (2024-09-12)
|
|
145
88
|
|
|
146
89
|
**Note:** Version bump only for package @quenty/throttle
|
|
147
90
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
91
|
# [10.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.3.0...@quenty/throttle@10.4.0) (2024-08-09)
|
|
153
92
|
|
|
154
|
-
|
|
155
93
|
### Features
|
|
156
94
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
95
|
+
- Added \_\_call metamethod to ThrottledFunction ([#484](https://github.com/Quenty/NevermoreEngine/issues/484)) ([b74baa6](https://github.com/Quenty/NevermoreEngine/commit/b74baa6ec5b85ed3f7ec33b2a487343b3e6b2726))
|
|
162
96
|
|
|
163
97
|
# [10.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.2.0...@quenty/throttle@10.3.0) (2024-05-09)
|
|
164
98
|
|
|
165
|
-
|
|
166
99
|
### Bug Fixes
|
|
167
100
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
101
|
+
- Fix .package-lock.json replicating in packages ([75d0efe](https://github.com/Quenty/NevermoreEngine/commit/75d0efeef239f221d93352af71a5b3e930ec23c5))
|
|
173
102
|
|
|
174
103
|
# [10.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.1.0...@quenty/throttle@10.2.0) (2024-04-27)
|
|
175
104
|
|
|
176
105
|
**Note:** Version bump only for package @quenty/throttle
|
|
177
106
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
107
|
# [10.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.0.0...@quenty/throttle@10.1.0) (2024-03-09)
|
|
183
108
|
|
|
184
109
|
**Note:** Version bump only for package @quenty/throttle
|
|
185
110
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
111
|
# [10.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@9.0.0...@quenty/throttle@10.0.0) (2024-02-14)
|
|
191
112
|
|
|
192
113
|
**Note:** Version bump only for package @quenty/throttle
|
|
193
114
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
115
|
# [9.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@8.0.0...@quenty/throttle@9.0.0) (2024-02-13)
|
|
199
116
|
|
|
200
117
|
**Note:** Version bump only for package @quenty/throttle
|
|
201
118
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
119
|
# [8.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@7.2.0...@quenty/throttle@8.0.0) (2024-02-13)
|
|
207
120
|
|
|
208
121
|
**Note:** Version bump only for package @quenty/throttle
|
|
209
122
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
123
|
# [7.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@7.1.0...@quenty/throttle@7.2.0) (2024-01-08)
|
|
215
124
|
|
|
216
125
|
**Note:** Version bump only for package @quenty/throttle
|
|
217
126
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
127
|
# [7.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@7.0.0...@quenty/throttle@7.1.0) (2023-12-14)
|
|
223
128
|
|
|
224
129
|
**Note:** Version bump only for package @quenty/throttle
|
|
225
130
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
131
|
# [7.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@6.3.0...@quenty/throttle@7.0.0) (2023-10-11)
|
|
231
132
|
|
|
232
133
|
**Note:** Version bump only for package @quenty/throttle
|
|
233
134
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
135
|
# [6.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@6.2.1...@quenty/throttle@6.3.0) (2023-08-23)
|
|
239
136
|
|
|
240
137
|
**Note:** Version bump only for package @quenty/throttle
|
|
241
138
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
139
|
## [6.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@6.2.0...@quenty/throttle@6.2.1) (2023-04-07)
|
|
247
140
|
|
|
248
141
|
**Note:** Version bump only for package @quenty/throttle
|
|
249
142
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
143
|
# [6.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@6.1.0...@quenty/throttle@6.2.0) (2023-03-05)
|
|
255
144
|
|
|
256
145
|
**Note:** Version bump only for package @quenty/throttle
|
|
257
146
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
147
|
# [6.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@6.0.1...@quenty/throttle@6.1.0) (2023-02-21)
|
|
263
148
|
|
|
264
149
|
**Note:** Version bump only for package @quenty/throttle
|
|
265
150
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
151
|
## [6.0.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@6.0.0...@quenty/throttle@6.0.1) (2022-11-04)
|
|
271
152
|
|
|
272
153
|
**Note:** Version bump only for package @quenty/throttle
|
|
273
154
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
155
|
# [6.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@5.0.1...@quenty/throttle@6.0.0) (2022-09-27)
|
|
279
156
|
|
|
280
157
|
**Note:** Version bump only for package @quenty/throttle
|
|
281
158
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
159
|
## [5.0.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@5.0.0...@quenty/throttle@5.0.1) (2022-08-16)
|
|
287
160
|
|
|
288
161
|
**Note:** Version bump only for package @quenty/throttle
|
|
289
162
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
163
|
# [5.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@4.1.0...@quenty/throttle@5.0.0) (2022-05-21)
|
|
295
164
|
|
|
296
165
|
**Note:** Version bump only for package @quenty/throttle
|
|
297
166
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
167
|
# [4.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@4.0.0...@quenty/throttle@4.1.0) (2022-03-27)
|
|
303
168
|
|
|
304
169
|
**Note:** Version bump only for package @quenty/throttle
|
|
305
170
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
171
|
# [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.5.0...@quenty/throttle@4.0.0) (2022-03-06)
|
|
311
172
|
|
|
312
173
|
**Note:** Version bump only for package @quenty/throttle
|
|
313
174
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
175
|
# [3.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.4.0...@quenty/throttle@3.5.0) (2022-01-17)
|
|
319
176
|
|
|
320
|
-
|
|
321
177
|
### Features
|
|
322
178
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
179
|
+
- Add ability to call leading upon the first execution. ([621c8c8](https://github.com/Quenty/NevermoreEngine/commit/621c8c83bd760c7b75714721a87cb042bd64be54))
|
|
328
180
|
|
|
329
181
|
# [3.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.3.0...@quenty/throttle@3.4.0) (2022-01-07)
|
|
330
182
|
|
|
331
183
|
**Note:** Version bump only for package @quenty/throttle
|
|
332
184
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
185
|
# [3.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.2.1...@quenty/throttle@3.3.0) (2022-01-03)
|
|
338
186
|
|
|
339
187
|
**Note:** Version bump only for package @quenty/throttle
|
|
340
188
|
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
189
|
## [3.2.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.2.0...@quenty/throttle@3.2.1) (2021-12-30)
|
|
346
190
|
|
|
347
191
|
**Note:** Version bump only for package @quenty/throttle
|
|
348
192
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
193
|
# [3.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.1.1...@quenty/throttle@3.2.0) (2021-11-20)
|
|
354
194
|
|
|
355
|
-
|
|
356
195
|
### Bug Fixes
|
|
357
196
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
197
|
+
- Support MacOS syncing ([#225](https://github.com/Quenty/NevermoreEngine/issues/225)) ([03f9183](https://github.com/Quenty/NevermoreEngine/commit/03f918392c6a5bdd33f8a17c38de371d1e06c67a))
|
|
363
198
|
|
|
364
199
|
## [3.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.1.0...@quenty/throttle@3.1.1) (2021-10-30)
|
|
365
200
|
|
|
366
201
|
**Note:** Version bump only for package @quenty/throttle
|
|
367
202
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
203
|
# [3.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.0.1...@quenty/throttle@3.1.0) (2021-10-02)
|
|
373
204
|
|
|
374
205
|
**Note:** Version bump only for package @quenty/throttle
|
|
375
206
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
207
|
## [3.0.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@3.0.0...@quenty/throttle@3.0.1) (2021-09-18)
|
|
381
208
|
|
|
382
209
|
**Note:** Version bump only for package @quenty/throttle
|
|
383
210
|
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
211
|
# [3.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@2.1.0...@quenty/throttle@3.0.0) (2021-09-11)
|
|
389
212
|
|
|
390
213
|
**Note:** Version bump only for package @quenty/throttle
|
|
391
214
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
215
|
# [2.1.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@2.0.0...@quenty/throttle@2.1.0) (2021-09-05)
|
|
397
216
|
|
|
398
217
|
**Note:** Version bump only for package @quenty/throttle
|
|
399
218
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
219
|
# [2.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@1.2.0...@quenty/throttle@2.0.0) (2021-09-05)
|
|
405
220
|
|
|
406
|
-
|
|
407
221
|
### Bug Fixes
|
|
408
222
|
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
223
|
+
- 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))
|
|
414
224
|
|
|
415
225
|
# 1.2.0 (2021-07-31)
|
|
416
226
|
|
|
417
|
-
|
|
418
227
|
### Bug Fixes
|
|
419
228
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
229
|
+
- Add CI and CD ([47513e9](https://github.com/Quenty/NevermoreEngine/commit/47513e9b568162707534af132396dd8756947dd3))
|
|
230
|
+
- Adjust CI badge to show automatic build and release state ([5a55d3f](https://github.com/Quenty/NevermoreEngine/commit/5a55d3f19bf8d66a760d67da9b56ed47fab74656))
|
|
231
|
+
- Fix selene linting ([45fc074](https://github.com/Quenty/NevermoreEngine/commit/45fc07489ee59127ac6582689f19a0e87c1e5b5a))
|
|
425
232
|
|
|
426
233
|
## 1.0.2 (2021-07-25)
|
|
427
234
|
|
|
428
|
-
|
|
429
|
-
|
|
430
235
|
## 1.0.1 (2021-07-25)
|
|
431
236
|
|
|
432
|
-
|
|
433
|
-
|
|
434
237
|
# 1.0.0 (2021-07-24)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/throttle",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.14.0",
|
|
4
4
|
"description": "Adds the throttle function to Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@quenty/loader": "10.11.0",
|
|
33
|
-
"@quenty/nevermore-test-runner": "1.
|
|
33
|
+
"@quenty/nevermore-test-runner": "1.5.0",
|
|
34
34
|
"@quenty/typeutils": "1.3.0",
|
|
35
35
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
36
36
|
},
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "1de37218a2bedb8e3f8614a2e09bba9eddc812da"
|
|
44
44
|
}
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
@class ThrottledFunction.spec.lua
|
|
4
4
|
]]
|
|
5
5
|
|
|
6
|
-
local require = (
|
|
7
|
-
game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent
|
|
8
|
-
).bootstrapStory(script) :: typeof(require(script.Parent.loader).load(script))
|
|
6
|
+
local require = require(script.Parent.loader).load(script)
|
|
9
7
|
|
|
10
8
|
local Jest = require("Jest")
|
|
11
9
|
local ThrottledFunction = require("ThrottledFunction")
|
|
@@ -18,10 +16,12 @@ local jest = Jest.Globals.jest
|
|
|
18
16
|
local TIMEOUT = 1
|
|
19
17
|
local TIMEOUT_MS = TIMEOUT * 1000
|
|
20
18
|
|
|
21
|
-
local function recordCalls
|
|
19
|
+
local function recordCalls()
|
|
22
20
|
local calls = {}
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
-- Variadic-any so a single throttled function can be called with different arities
|
|
23
|
+
-- across the test (a generic T... would bind to the first call's shape).
|
|
24
|
+
local function callback(...: any)
|
|
25
25
|
table.insert(calls, table.pack(...))
|
|
26
26
|
end
|
|
27
27
|
|