@quenty/characterutils 12.33.0 → 12.35.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 +10 -0
- package/package.json +7 -7
- package/src/Shared/RxCharacterUtils.spec.lua +6 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
# [12.35.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.34.0...@quenty/characterutils@12.35.0) (2026-07-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- 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))
|
|
11
|
+
|
|
12
|
+
# [12.34.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.33.0...@quenty/characterutils@12.34.0) (2026-07-18)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @quenty/characterutils
|
|
15
|
+
|
|
6
16
|
# [12.33.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/characterutils@12.32.1...@quenty/characterutils@12.33.0) (2026-07-15)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/characterutils",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.35.0",
|
|
4
4
|
"description": "CharacterUtils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"Quenty"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@quenty/brio": "14.
|
|
31
|
+
"@quenty/brio": "14.32.0",
|
|
32
32
|
"@quenty/deferred": "2.3.2",
|
|
33
|
-
"@quenty/instanceutils": "13.
|
|
33
|
+
"@quenty/instanceutils": "13.32.0",
|
|
34
34
|
"@quenty/loader": "10.11.0",
|
|
35
|
-
"@quenty/maid": "3.
|
|
35
|
+
"@quenty/maid": "3.10.0",
|
|
36
36
|
"@quenty/nevermore-test-runner": "1.4.0",
|
|
37
|
-
"@quenty/promise": "10.
|
|
38
|
-
"@quenty/rx": "13.
|
|
37
|
+
"@quenty/promise": "10.20.0",
|
|
38
|
+
"@quenty/rx": "13.30.0",
|
|
39
39
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "647acfad93dca41c38f59cda247d2bfc0fff36d4"
|
|
45
45
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
--!
|
|
1
|
+
--!strict
|
|
2
2
|
--[[
|
|
3
3
|
Unit tests for RxCharacterUtils.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 Brio = require("Brio")
|
|
11
9
|
local Jest = require("Jest")
|
|
@@ -39,8 +37,8 @@ local originalObserveLocalPlayerCharacter = RxCharacterUtils.observeLocalPlayerC
|
|
|
39
37
|
Returns setCharacter(char) to change the character and cleanup() to restore.
|
|
40
38
|
]]
|
|
41
39
|
local function createMockEnvironment()
|
|
42
|
-
local currentCharacter = nil
|
|
43
|
-
local subscribers = {}
|
|
40
|
+
local currentCharacter: Model? = nil
|
|
41
|
+
local subscribers: { any } = {}
|
|
44
42
|
|
|
45
43
|
-- Mock Players: only needs .LocalPlayer to be truthy to pass the nil-check
|
|
46
44
|
-- in observeIsOfLocalCharacter. We never pass this to RxInstanceUtils.
|
|
@@ -68,10 +66,10 @@ local function createMockEnvironment()
|
|
|
68
66
|
table.remove(subscribers, idx)
|
|
69
67
|
end
|
|
70
68
|
end
|
|
71
|
-
end)
|
|
69
|
+
end) :: any
|
|
72
70
|
end
|
|
73
71
|
|
|
74
|
-
local function setCharacter(char)
|
|
72
|
+
local function setCharacter(char: Model?)
|
|
75
73
|
currentCharacter = char
|
|
76
74
|
for _, sub in subscribers do
|
|
77
75
|
sub:Fire(char)
|