released v3.10.4 (#426) (#433) (#432)

pull/437/head v3.10.4
jaywcjlove 2 years ago
parent 830e850f96
commit 1b813fae72

@ -1,5 +1,5 @@
/**!
* hotkeys-js v3.10.3
* hotkeys-js v3.10.4
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2023 kenny wong <wowohoo@qq.com>

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
/**!
* hotkeys-js v3.10.3
* hotkeys-js v3.10.4
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2023 kenny wong <wowohoo@qq.com>

2
dist/hotkeys.js vendored

@ -1,5 +1,5 @@
/**!
* hotkeys-js v3.10.3
* hotkeys-js v3.10.4
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2023 kenny wong <wowohoo@qq.com>

File diff suppressed because one or more lines are too long

@ -1,7 +1,7 @@
{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.10.3",
"version": "3.10.4",
"main": "index.js",
"types": "index.d.ts",
"module": "dist/hotkeys.esm.js",

@ -114,7 +114,7 @@ describe('\n Hotkeys.js Test Case222.\n', () => {
expect(e.metaKey).toBeTruthy();
expect(e.ctrlKey).toBeTruthy();
expect(e.shiftKey).toBeTruthy();
expect(hotkeys.getPressedKeyString()).toEqual(['⇧', '⌘', '⌃', 'A']);
expect(hotkeys.getPressedKeyString()).toEqual(['⇧', '⌃', 'A', '⌘']);
});
__triggerKeyboardEvent(document.body, 65, {
metaKey: true,

Loading…
Cancel
Save