@esportsplus/template 0.16.12 → 0.16.13

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.
@@ -7,13 +7,13 @@ import onresize from './onresize.js';
7
7
  import ontick from './ontick.js';
8
8
  let controllers = new Map(), host = window.document, keys = {}, passive = new Set([
9
9
  'animationend', 'animationiteration', 'animationstart',
10
- 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'mousewheel',
10
+ 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup',
11
11
  'pointerenter', 'pointerleave', 'pointermove', 'pointerout', 'pointerover',
12
12
  'scroll',
13
13
  'touchcancel', 'touchend', 'touchleave', 'touchmove', 'touchstart', 'transitionend',
14
14
  'wheel'
15
15
  ]);
16
- ['mousemove', 'mousewheel', 'scroll', 'touchend', 'touchmove', 'touchstart', 'wheel'].map(event => {
16
+ ['mousemove', 'scroll', 'touchend', 'touchmove', 'touchstart', 'wheel'].map(event => {
17
17
  controllers.set(event, null);
18
18
  });
19
19
  function register(element, event) {
package/package.json CHANGED
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "type": "module",
41
41
  "types": "./build/index.d.ts",
42
- "version": "0.16.12",
42
+ "version": "0.16.13",
43
43
  "scripts": {
44
44
  "build": "tsc",
45
45
  "test": "vitest run",
@@ -13,7 +13,7 @@ let controllers = new Map<string, (AbortController & { listeners: number }) | nu
13
13
  keys: Record<string, symbol> = {},
14
14
  passive = new Set<string>([
15
15
  'animationend', 'animationiteration', 'animationstart',
16
- 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'mousewheel',
16
+ 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup',
17
17
  'pointerenter', 'pointerleave', 'pointermove', 'pointerout', 'pointerover',
18
18
  'scroll',
19
19
  'touchcancel', 'touchend', 'touchleave', 'touchmove', 'touchstart', 'transitionend',
@@ -21,7 +21,7 @@ let controllers = new Map<string, (AbortController & { listeners: number }) | nu
21
21
  ]);
22
22
 
23
23
 
24
- (['mousemove', 'mousewheel', 'scroll', 'touchend', 'touchmove', 'touchstart', 'wheel'] as string[]).map(event => {
24
+ (['mousemove', 'scroll', 'touchend', 'touchmove', 'touchstart', 'wheel'] as string[]).map(event => {
25
25
  controllers.set(event, null);
26
26
  });
27
27