Releases: kabirbaidhya/keycode-js
Releases · kabirbaidhya/keycode-js
v3.1.0
- Add key event code constants #38 [feature] (@kabirbaidhya)
- Add key value constants #37 [feature] (@kabirbaidhya)
v3.0.0
Breaking Changes
-
Update missing keys and prefix key codes specific to firefox #36 [breaking change] (kabirbaidhya)
- Several keys we were done as per this list that also had Gecko specific constants that only worked for Firefox. They've been prefixed as
KEY_FIREFOX_
- Constants
KEY_SEMICOLON
andKEY_EQUALS
were previously using the firefox specific values - now updated to use the standard values. To use the older value you'll need to useKEY_FIREFOX_SEMICOLON
andKEY_FIREFOX_EQUALS
. See #35 - Fix
KEY_RIGHT_CMD
value which is92
- old value was wrong. - Added a new missing key
KEY_DASH = 189
- Several keys we were done as per this list that also had Gecko specific constants that only worked for Firefox. They've been prefixed as
Other Changes
- Update outdated dev dependencies #33 [dependencies] (kabirbaidhya)
Closed Issues
v2.0.3
Changes
- Generate ES5 compatible build #32 (@inspirado)
v2.0.2
Improvements
- Make the main build (common js) fully-compatible with ES5 #31 [bugfix] (@kabirbaidhya)
v2.0.1
Improvements
- Use named export for ES2015 #29 [documentation] (mesaugat)
v2.0.0
Breaking Change
-
For ES2015+ default import syntax is no longer supported.
Upgrade will need the following change if you're using ES2015+.- import KeyCode from 'keycode-js'; + import * as KeyCode from 'keycode-js';
Alternatively, you can still use named export.
import { KEY_RETURN } from 'keycode-js';
Closed issues
- Add an example for usage with deno #26 [example] [good first issue] [help wanted]
- Make sure everything works when used in browser via a script tag #25 [test]
- Add support for deno i.e make it available on deno registry #21 [feature]
Improvements
- Test and build enhancements for node, deno and browser builds #28 [test] (kabirbaidhya)
- Include docs for usage with deno #27 [documentation] (mesaugat)
- Make keycode-js compatible with deno #24 [feature] [refactor] (mesaugat)
- Change unpkg URL to next version when creating changelog #23 (mesaugat)
- Remove deprecated options from rollup config #22 (mesaugat)
- Run tests for both original library and the generated build #20 [test] (kabirbaidhya)
- Use eslint-config-leapfrog for eslint configuration #19 [dependencies] (kabirbaidhya)
- Remove npm-run-all and other unused dependencies #18 [dependencies] (kabirbaidhya)
- Bump lodash from 4.17.10 to 4.17.14 #17 [dependencies] (dependabot[bot])
v1.0.4
Implemented enhancements
- Add macOS left CMD and right CMD key code #15 [enhancement] (@igogo5yo)
v1.0.3
- Add fields for content delivery networks
unpkg
andjsdelivr
topackage.json
https://unpkg.com/keycode-js
https://cdn.jsdelivr.net/npm/keycode-js
https://unpkg.com/[email protected]/dist/keycode.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/keycode.min.js