@quenty/textfilterutils 10.10.4 → 10.10.5-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,17 @@
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.10.5-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/textfilterutils@10.10.4...@quenty/textfilterutils@10.10.5-canary.11a5dcf.0) (2025-05-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [10.10.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/textfilterutils@10.10.3...@quenty/textfilterutils@10.10.4) (2025-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/textfilterutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/textfilterutils",
3
- "version": "10.10.4",
3
+ "version": "10.10.5-canary.11a5dcf.0",
4
4
  "description": "Utility functions for filtering text",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,12 +25,12 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/loader": "^10.8.3",
29
- "@quenty/promise": "^10.10.4",
30
- "@quenty/typeutils": "^1.0.3"
28
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
29
+ "@quenty/promise": "10.10.5-canary.11a5dcf.0",
30
+ "@quenty/typeutils": "1.0.4-canary.11a5dcf.0"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
35
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
36
36
  }
@@ -7,8 +7,8 @@
7
7
 
8
8
  local require = require(script.Parent.loader).load(script)
9
9
 
10
- local TextService = game:GetService("TextService")
11
10
  local Chat = game:GetService("Chat")
11
+ local TextService = game:GetService("TextService")
12
12
 
13
13
  local Promise = require("Promise")
14
14
  local TypeUtils = require("TypeUtils")
@@ -58,7 +58,7 @@ end
58
58
  @param text string
59
59
  @return Promise<string>
60
60
  ]=]
61
- function TextFilterUtils.promiseLegacyChatFilter(playerFrom: Player, text: string)
61
+ function TextFilterUtils.promiseLegacyChatFilter(playerFrom: Player, text: string): Promise.Promise<string>
62
62
  assert(typeof(playerFrom) == "Instance" and playerFrom:IsA("Player"), "Bad playerFrom")
63
63
  assert(type(text) == "string", "Bad text")
64
64
 
@@ -93,7 +93,7 @@ function TextFilterUtils.promiseNonChatStringForUserAsync(
93
93
  fromUserId: number,
94
94
  toUserId: number,
95
95
  textFilterContext: Enum.TextFilterContext
96
- )
96
+ ): Promise.Promise<string>
97
97
  assert(type(text) == "string", "Bad text")
98
98
  assert(type(fromUserId) == "number", "Bad fromUserId")
99
99
  assert(type(toUserId) == "number", "Bad toUserId")