Commit Graph

31 Commits (b3cb4a37bc0c6513da6fb9286b6f3bf14c76232a)

Author SHA1 Message Date
jaywcjlove 9c0d12f2b7 v3.13.8 fix: remove unnecessary if condition for meta key handling (#504) bcdd3f62f6 2 months ago
jaywcjlove de19f77270 v3.13.7 Merge pull request #502 from foxhatleo/leo/fix-command-keyup-not-fired 0dd7438ed1 2 months ago
jaywcjlove 2e3a1c519a v3.13.7 ci: add pr workflows config. d5d0aef3e5 2 months ago
jaywcjlove 116a4c61d7 v3.13.7 ci: update workflows config. b0038773f3 8 months ago
jaywcjlove 138bbcba6e v3.13.6 fix(removeEvent): fix detachEvent typo (#475) 1e802bdf88 1 year ago
jaywcjlove a75bc07deb v3.13.5 chore: fix eslint error. #473 99025bbc59 1 year ago
jaywcjlove 047eaa24f4 v3.13.3 fix: Keyboard event memory leak (#469)
* fix: Keyboard event memory leak

* fix: add dist 816d76d13d
1 year ago
jaywcjlove cf0f23c3e4 v3.13.2 type: fix getAllKeyCodes return type (#466) 478ee66989 1 year ago
jaywcjlove 32f28df367 v3.13.1 fix: `single` config will conflict with other combinations (#465) 964d66f0d9 1 year ago
jaywcjlove c5d004a77e v3.12.2 fix: fix types under node16 moduleResolution (#441)
The types of this library do not match the actual JS code, leading to a situation where using ESM under the `node16` moduleResolution method in TypeScript, the default export types will fail to resolve. TypeScript is more strict around type compliance with these settings enabled, and therefore requires the types to match.

The JS code does not use a default import, as `export default` in ESM is not identical to `module.exports = `. `export =` can be used in the `index.d.ts` to match the behaviour within the JS file.

More information on this specific issue is available here, https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseExportDefault.md 2767829cc7
1 year ago
jaywcjlove a1e953d9df v3.12.2 feat: add single option. (#463)
* feat: single callback

* type: Option.single 7bf34e9dfa
1 year ago
jaywcjlove 48fdc9f753 v3.12.0 ci: update workflows config. 06c01f2a73 1 year ago
jaywcjlove 809f1204fc v3.11.2 Add getAllKeyCodes method to API (#439) 7a8e2b2e4b 2 years ago
jaywcjlove 288fdc85ab v3.11.1 released v3.11.1 (#437) 16b9cef8a5 2 years ago
jaywcjlove 05393ceecf v3.10.2 test: fix test case error. (#433) eb206602b1 2 years ago
jaywcjlove aa7ec6d864 v3.10.1 type: add `getPressedKeyString` to `index.d.ts` for #399 (#424) bb7481ec21 2 years ago
jaywcjlove c103a94edb v3.10.1 doc: Removed $ from install command in README.md (#416)
When pressing the copy button that Github provides it also copies the $ sign making pasting the command to the terminal very annoying. 862a224672
2 years ago
jaywcjlove 4160f3a960 v3.10.0 fix: fix trigger isn't work well in duplicate shortcut #403 (#406)
* update readme

* fix: trigger api support multi listeners #403 c9f693b2f6
2 years ago
jaywcjlove 4ae8706b66 v3.9.5 feat: implement getPressedKeyString for #360, #377 (#394) 5f108c506f 2 years ago
jaywcjlove e96f3639ed v3.9.4 chore: add some special symbols (#384) 294093d60d 3 years ago
jaywcjlove 95f342b88e v3.9.3 fix: Make it so unbind('') does not remove all event handlers (#372) 4aab68fd94 3 years ago
jaywcjlove 2b7d87bde5 v3.9.2 feat: add capture option (#368) 56af32dccb 3 years ago
jaywcjlove 9c19d23290 v3.9.1 feat: export hotkeys interface (#366) 791cc61db7 3 years ago
jaywcjlove 564823160c v3.9.0 type: Fix index.d.ts deleteScope declaration, fix README deleteScope (#362) 0dc845bac4 3 years ago
jaywcjlove 9e6ccd6431 v3.8.8 fix: Fix problem with element scope (#352) 973e607a26 3 years ago
jaywcjlove eb442f3295 v3.8.8 fix: Fixed an error when executing the command "npm run watch" (#351) 411006ef10 3 years ago
jaywcjlove 201ca21cd0 deploy: 1b34ff3a48 3 years ago
jaywcjlove 1f0652fe9f deploy: 9145770285 3 years ago
jaywcjlove 942c3a94c7 deploy: c4b5eab8ee 3 years ago
jaywcjlove 86fe95c6c2 deploy: 7a3c36dd94 3 years ago
jaywcjlove f6afd36dba deploy: 2dc4981339 3 years ago