@asyra/input-system 0.2.4 → 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.
@@ -3,7 +3,11 @@
3
3
 
4
4
   RUN  v2.1.9 /Users/asa/Desktop/workspace/asra/packages/input-system
5
5
 
6
- [?25l ✓ should not start timer for modifier keys
6
+ [?25l ✓ should set up event listeners on window during construction
7
+ ✓ should add key to activeKeys and prevent default if not input active
8
+ ✓ should not prevent default if input field is active
9
+ ✓ should start timer for non-modifier keys
10
+ ✓ should not start timer for modifier keys
7
11
  ✓ should remove key from activeKeys and clear timer
8
12
  ✓ should add mouse button key to activeKeys and set startPos
9
13
  ✓ should add mouse up key, remove mouse down key, and trigger checkCombinations
@@ -18,7 +22,7 @@
18
22
  ✓ should call registered listeners when triggerAction is called
19
23
  ✓ should handle async listeners correctly
20
24
  ✓ should catch errors in async listeners
21
-  ✓ src/__tests__/input-system.test.ts (19)
25
+  ✓ src/__tests__/input-system.test.ts (19)
22
26
  ✓ InputSystem (19)
23
27
  ✓ should set up event listeners on window during construction
24
28
  ✓ should add key to activeKeys and prevent default if not input active
@@ -42,7 +46,7 @@
42
46
 
43
47
   Test Files  1 passed (1)
44
48
   Tests  19 passed (19)
45
-  Start at  01:58:31
46
-  Duration  2.21s (transform 304ms, setup 206ms, collect 386ms, tests 10ms, environment 1.37s, prepare 40ms)
49
+  Start at  02:13:35
50
+  Duration  1.77s (transform 280ms, setup 9ms, collect 255ms, tests 10ms, environment 943ms, prepare 251ms)
47
51
 
48
52
  [?25h[?25h
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
3
12
  ## 0.2.4
4
13
 
5
14
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asyra/input-system",
3
- "version": "0.2.4",
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.4",
26
- "@asyra/utils": "^0.2.4"
25
+ "@asyra/reactive-events": "^0.2.5",
26
+ "@asyra/utils": "^0.2.5"
27
27
  }
28
28
  }