Commit Graph

513 Commits (e7127b3f8da66b6bd82eebae7bce8608a8610e09)
 

Author SHA1 Message Date
jaywcjlove e7127b3f8d released v3.13.2 #465 1 year ago
AllenLee 964d66f0d9
fix: `single` config will conflict with other combinations (#465) 1 year ago
jaywcjlove cfd47cab74 released v3.13.1 #441 #464 1 year ago
jaywcjlove 9268f8da33 revert: "fix types under node16 moduleResolution" #441 #464 1 year ago
jaywcjlove 511e85529f released v3.13.0 (#441 #463) 1 year ago
jaywcjlove 3c9bb77e05 test: fix test error. 1 year ago
jaywcjlove 89e801e0d8 chore: update jest config. 1 year ago
jaywcjlove aeaff2d5dd chore: update scripts. 1 year ago
Maddy Miller 2767829cc7
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
1 year ago
AllenLee 7bf34e9dfa
feat: add single option. (#463)
* feat: single callback

* type: Option.single
1 year ago
jaywcjlove 7782744eaa released v3.12.2 1 year ago
jaywcjlove 699a2b19f7 chore: add `funding` field in package.json 1 year ago
jaywcjlove ee5b3f382c ci: update workflows config. 1 year ago
jaywcjlove 7cb62b4054 chore: fix repository url error. 1 year ago
jaywcjlove d662b94201 released v3.12.1 1 year ago
jaywcjlove 06c01f2a73 ci: update workflows config. 1 year ago
jaywcjlove f9c6e3a754 doc: Update README.md 1 year ago
jaywcjlove f5107839a2 chore: update .github/FUNDING.yml 1 year ago
jaywcjlove 031bc4d5da doc: Update README.md 2 years ago
jaywcjlove 35c40dd515 released v3.12.0 (##439) 2 years ago
jaywcjlove d875fe33c0 chore: update workflows config. 2 years ago
jaywcjlove 6193fd8a26 doc: Update document. (#439) 2 years ago
jaywcjlove f26f95c63b clean: Optimize `getAllKeyCodes` method & compatible with older browers. (#439) 2 years ago
jaywcjlove edfd3ef372 type: add getAllKeyCodes method type. (#439) 2 years ago
Lokesh Pathrabe 7a8e2b2e4b
Add getAllKeyCodes method to API (#439) 2 years ago
jaywcjlove 3d5b789986 chore(deps): update devDependencies. 2 years ago
jaywcjlove 307ebbd6aa released v3.11.2. (#434) 2 years ago
jaywcjlove e193f9a32e fix: fix callback not executing when scope is `all`. (#434) (#432) 2 years ago
jaywcjlove ce461c9f30 chore(deps): update package-lock.json file. 2 years ago
jaywcjlove 16b9cef8a5 released v3.11.1 (#437) 2 years ago
jaywcjlove ed76b04b73 doc: fix homepage url error. (#437) 2 years ago
Geremia Taglialatela 814060f8cb
fix: Fix url to the project homepage in package.json (#437)
The old unsecure URL returned a 404. This commit fixes the project
homepage by pointing to the correct URL, taken from GitHub

[ci skip]
2 years ago
jaywcjlove 1f540de23a released v3.11.0 (#436) 2 years ago
jaywcjlove 42c82b9ea1 feat: add `keys` data to the callback function HotkeysEvent. (#436) 2 years ago
jaywcjlove 1b813fae72 released v3.10.4 (#426) (#433) (#432) 2 years ago
jaywcjlove 830e850f96 fix: fix key combination trigger issue. (#426) (#433) (#432) 2 years ago
jaywcjlove edab10f45b released v3.10.3 (#433) 2 years ago
jaywcjlove eb206602b1 test: fix test case error. (#433) 2 years ago
Blue Daydreaming 8b8d7d968a
fix: downkeys order error in multi listeners (#433)
Co-authored-by: Weng Yuxuan <yuxuan.weng@dealbridge.tech>
2 years ago
小弟调调 c6b7e25c16
doc: Update README.md (#430) 2 years ago
jaywcjlove 33487c6f22 released v3.10.2 #399 (#424) 2 years ago
jaywcjlove 9078a963f5 chore: update workflows config. 2 years ago
Selphine bb7481ec21
type: add `getPressedKeyString` to `index.d.ts` for #399 (#424) 2 years ago
Arni Fannar 862a224672
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.
2 years ago
jaywcjlove 0a8c8bc1d6 released v3.10.1 #403 #406 2 years ago
Zhanghao c9f693b2f6
fix: fix trigger isn't work well in duplicate shortcut #403 (#406)
* update readme

* fix: trigger api support multi listeners #403
2 years ago
jaywcjlove db269a920f released v3.10.0 (#146) 2 years ago
jaywcjlove 5a06998fe4 chore: update workflows config. 2 years ago
Lee Gary 5f108c506f
feat: implement getPressedKeyString for #360, #377 (#394) 2 years ago
jaywcjlove ce3b4ceb14 released v3.9.5 (#384) 2 years ago