@quenty/throttle 10.9.3 → 10.9.4-canary.11a5dcf.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,6 +3,14 @@
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
+ ## [10.9.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.9.3...@quenty/throttle@10.9.4-canary.11a5dcf.0) (2025-05-10)
7
+
8
+ **Note:** Version bump only for package @quenty/throttle
9
+
10
+
11
+
12
+
13
+
6
14
  ## [10.9.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/throttle@10.9.2...@quenty/throttle@10.9.3) (2025-04-10)
7
15
 
8
16
  **Note:** Version bump only for package @quenty/throttle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/throttle",
3
- "version": "10.9.3",
3
+ "version": "10.9.4-canary.11a5dcf.0",
4
4
  "description": "Adds the throttle function to Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,8 +26,8 @@
26
26
  "Quenty"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/loader": "^10.8.3",
30
- "@quenty/typeutils": "^1.0.3"
29
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
30
+ "@quenty/typeutils": "1.0.4-canary.11a5dcf.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@quenty/loader": "file:../loader"
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
38
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
39
39
  }
@@ -129,4 +129,4 @@ function ThrottledFunction.Destroy<T...>(self: ThrottledFunction<T...>)
129
129
  setmetatable(private, nil)
130
130
  end
131
131
 
132
- return ThrottledFunction
132
+ return ThrottledFunction
@@ -22,7 +22,11 @@ export type ThrottleConfig = ThrottledFunction.ThrottleConfig
22
22
  @param throttleConfig? { leading = true; trailing = true; }
23
23
  @return function
24
24
  ]=]
25
- local function throttle<T...>(timeoutInSeconds: number, func: ThrottledFunction.Func<T...>, throttleConfig: ThrottledFunction.ThrottleConfig): (T...) -> ()
25
+ local function throttle<T...>(
26
+ timeoutInSeconds: number,
27
+ func: ThrottledFunction.Func<T...>,
28
+ throttleConfig: ThrottledFunction.ThrottleConfig
29
+ ): (T...) -> ()
26
30
  assert(type(timeoutInSeconds) == "number", "timeoutInSeconds is not a number")
27
31
  assert(type(func) == "function", "func is not a function")
28
32
 
@@ -33,4 +37,4 @@ local function throttle<T...>(timeoutInSeconds: number, func: ThrottledFunction.
33
37
  end
34
38
  end
35
39
 
36
- return throttle
40
+ return throttle