@signal24/vue-foundation 4.16.0 → 4.16.1

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.
@@ -1174,6 +1174,7 @@ function Sn(e, t) {
1174
1174
  Fe(e, t), Ve(e, t);
1175
1175
  }
1176
1176
  function Re(e) {
1177
+ if (typeof e.key != "string") return;
1177
1178
  const t = e.key.toLowerCase(), n = C.get(t);
1178
1179
  if (n) {
1179
1180
  const s = st(n);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@signal24/vue-foundation",
3
3
  "type": "module",
4
- "version": "4.16.0",
4
+ "version": "4.16.1",
5
5
  "description": "Common components, directives, and helpers for Vue 3 apps",
6
6
  "module": "./dist/vue-foundation.es.js",
7
7
  "exports": {
@@ -41,6 +41,7 @@ function reset(el: HTMLButtonElement, binding: DirectiveBinding<string>) {
41
41
  }
42
42
 
43
43
  function handleKeydown(event: KeyboardEvent) {
44
+ if (typeof event.key !== 'string') return;
44
45
  const hotkey = event.key.toLowerCase();
45
46
  const elements = ElementsByHotkey.get(hotkey);
46
47
  if (elements) {