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])