@asyra/input-system 0.2.3 → 0.2.5
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/.turbo/turbo-test$colon$local.log +8 -4
- package/CHANGELOG.md +18 -0
- package/package.json +3 -3
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.9 [39m[90m/Users/asa/Desktop/workspace/asra/packages/input-system[39m
|
|
5
5
|
|
|
6
|
-
[?25l [32m✓[39m should
|
|
6
|
+
[?25l [32m✓[39m should set up event listeners on window during construction
|
|
7
|
+
[32m✓[39m should add key to activeKeys and prevent default if not input active
|
|
8
|
+
[32m✓[39m should not prevent default if input field is active
|
|
9
|
+
[32m✓[39m should start timer for non-modifier keys
|
|
10
|
+
[32m✓[39m should not start timer for modifier keys
|
|
7
11
|
[32m✓[39m should remove key from activeKeys and clear timer
|
|
8
12
|
[32m✓[39m should add mouse button key to activeKeys and set startPos
|
|
9
13
|
[32m✓[39m should add mouse up key, remove mouse down key, and trigger checkCombinations
|
|
@@ -18,7 +22,7 @@
|
|
|
18
22
|
[32m✓[39m should call registered listeners when triggerAction is called
|
|
19
23
|
[32m✓[39m should handle async listeners correctly
|
|
20
24
|
[32m✓[39m should catch errors in async listeners
|
|
21
|
-
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [32m✓[39m [2msrc/__tests__/[22minput-system[2m.test.ts[22m[2m (19)[22m
|
|
25
|
+
[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[1A[2K[G [32m✓[39m [2msrc/__tests__/[22minput-system[2m.test.ts[22m[2m (19)[22m
|
|
22
26
|
[32m✓[39m InputSystem[2m (19)[22m
|
|
23
27
|
[32m✓[39m should set up event listeners on window during construction
|
|
24
28
|
[32m✓[39m should add key to activeKeys and prevent default if not input active
|
|
@@ -42,7 +46,7 @@
|
|
|
42
46
|
|
|
43
47
|
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
44
48
|
[2m Tests [22m [1m[32m19 passed[39m[22m[90m (19)[39m
|
|
45
|
-
[2m Start at [22m
|
|
46
|
-
[2m Duration [22m
|
|
49
|
+
[2m Start at [22m 02:13:35
|
|
50
|
+
[2m Duration [22m 1.77s[2m (transform 280ms, setup 9ms, collect 255ms, tests 10ms, environment 943ms, prepare 251ms)[22m
|
|
47
51
|
|
|
48
52
|
[?25h[?25h
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @asyra/input-system
|
|
2
2
|
|
|
3
|
+
## 0.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Auto-patch all packages.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @asyra/reactive-events@0.2.5
|
|
10
|
+
- @asyra/utils@0.2.5
|
|
11
|
+
|
|
12
|
+
## 0.2.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Auto-patch all packages.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @asyra/reactive-events@0.2.4
|
|
19
|
+
- @asyra/utils@0.2.4
|
|
20
|
+
|
|
3
21
|
## 0.2.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asyra/input-system",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Keyboard and Mouse event listener plugin",
|
|
5
5
|
"author": "Asa Tsai",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"vitest": "^2.1.8"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@asyra/reactive-events": "^0.2.
|
|
26
|
-
"@asyra/utils": "^0.2.
|
|
25
|
+
"@asyra/reactive-events": "^0.2.5",
|
|
26
|
+
"@asyra/utils": "^0.2.5"
|
|
27
27
|
}
|
|
28
28
|
}
|