Skip to content

Commit 8a47aae

Browse files
committed
3.1.0 Release 🎉 🎆 🔔
1 parent 9f3274f commit 8a47aae

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [v3.1.0](https://github.com/kabirbaidhya/keycode-js/tree/v3.1.0) (2020-06-14)
4+
[Full Changelog](https://github.com/kabirbaidhya/keycode-js/compare/v3.0.0...v3.1.0)
5+
6+
**Changes**
7+
8+
- Add key event code constants [\#38](https://github.com/kabirbaidhya/keycode-js/pull/38) [[feature](https://github.com/kabirbaidhya/keycode-js/labels/feature)] ([kabirbaidhya](https://github.com/kabirbaidhya))
9+
- Add key value constants [\#37](https://github.com/kabirbaidhya/keycode-js/pull/37) [[feature](https://github.com/kabirbaidhya/keycode-js/labels/feature)] ([kabirbaidhya](https://github.com/kabirbaidhya))
10+
311
## [v3.0.0](https://github.com/kabirbaidhya/keycode-js/tree/v3.0.0) (2020-06-05)
412
[Full Changelog](https://github.com/kabirbaidhya/keycode-js/compare/v2.0.3...v3.0.0)
513

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# KeyCode Constants
22

33
[![npm version](https://img.shields.io/npm/v/keycode-js.svg?style=flat-square)](https://www.npmjs.com/package/keycode-js)
4-
[![deno](https://img.shields.io/badge/deno-v3.0.0-green?style=flat-square)](https://deno.land/x/keycode/README.md#usagewithdeno)
4+
[![deno](https://img.shields.io/badge/deno-v3.1.0-green?style=flat-square)](https://deno.land/x/keycode/README.md#usagewithdeno)
55
[![Build Status](https://img.shields.io/travis/kabirbaidhya/keycode-js.svg?style=flat-square)](https://travis-ci.org/kabirbaidhya/keycode-js)
66
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/kabirbaidhya/keycode-js.svg?style=flat-square&logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kabirbaidhya/keycode-js/context:javascript)
77
[![npm downloads per week](https://img.shields.io/npm/dw/keycode-js.svg?style=flat-square)](https://www.npmjs.com/package/keycode-js)
@@ -45,7 +45,7 @@ import { KEY_RETURN } from 'keycode-js';
4545
Or, using `<script>` tag:
4646

4747
```html
48-
<script src="https://unpkg.com/keycode-js@3.0.0/dist/keycode.min.js"></script>
48+
<script src="https://unpkg.com/keycode-js@3.1.0/dist/keycode.min.js"></script>
4949
```
5050

5151
Finally:
@@ -80,10 +80,10 @@ window.addEventListener('keyup', function(e) {
8080

8181
```ts
8282
// Import all constants
83-
import * as KeyCode from 'https://deno.land/x/keycode@v3.0.0/mod.ts';
83+
import * as KeyCode from 'https://deno.land/x/keycode@v3.1.0/mod.ts';
8484

8585
// Import individual constants
86-
import { KEY_ENTER } from 'https://deno.land/x/keycode@v3.0.0/mod.ts';
86+
import { KEY_ENTER } from 'https://deno.land/x/keycode@v3.1.0/mod.ts';
8787

8888
console.assert(KeyCode.KEY_ENTER === KEY_ENTER);
8989
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "keycode-js",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "A JavaScript package with Key Code constants",
55
"license": "MIT",
66
"author": "Kabir Baidhya <kabirbaidhya@gmail.com>",

0 commit comments

Comments
 (0)