Comparing version 1.3.0 to 1.4.0
@@ -15,2 +15,3 @@ /** | ||
backspace: 8, | ||
tab: 9, | ||
enter: 13, | ||
@@ -26,3 +27,4 @@ escape: 27, | ||
down: 40, | ||
insert: 45, | ||
'delete': 46 | ||
}; |
{ | ||
"name": "spa-keys", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Keyboard keys codes.", | ||
@@ -9,7 +9,15 @@ "author": { | ||
}, | ||
"repository": "spasdk/app", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/spasdk/keys.git" | ||
}, | ||
"scripts": { | ||
"lint": "eslint *.js", | ||
"lint": "eslint .", | ||
"test": "npm run lint", | ||
"jsdoc": "jsdoc --destination doc *.js readme.md" | ||
}, | ||
"devDependencies": { | ||
"eslint": "3.*.*", | ||
"spa-eslint-config": "1.*.*" | ||
}, | ||
"keywords": [ | ||
@@ -23,3 +31,3 @@ "spa", | ||
], | ||
"license": "GPL-3.0" | ||
"license": "MIT" | ||
} |
Keyboard keys codes | ||
=================== | ||
[![NPM version](https://img.shields.io/npm/v/spa-keys.svg?style=flat-square)](https://www.npmjs.com/package/spa-keys) | ||
[![Dependencies Status](https://img.shields.io/david/spasdk/keys.svg?style=flat-square)](https://david-dm.org/spasdk/keys) | ||
[![build status](https://img.shields.io/travis/spasdk/keys.svg?style=flat-square)](https://travis-ci.org/spasdk/keys) | ||
[![npm version](https://img.shields.io/npm/v/spa-keys.svg?style=flat-square)](https://www.npmjs.com/package/spa-keys) | ||
[![dependencies status](https://img.shields.io/david/spasdk/keys.svg?style=flat-square)](https://david-dm.org/spasdk/keys) | ||
[![devDependencies status](https://img.shields.io/david/dev/spasdk/keys.svg?style=flat-square)](https://david-dm.org/spasdk/keys?type=dev) | ||
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-blue.svg?style=flat-square)](https://gitter.im/DarkPark/spasdk) | ||
@@ -31,3 +33,3 @@ | ||
if ( event.code === keys.enter ) { | ||
... | ||
/* ... */ | ||
} | ||
@@ -45,2 +47,2 @@ ``` | ||
`spa-keys` is released under the [GPL-3.0 License](http://opensource.org/licenses/GPL-3.0). | ||
`spa-keys` is released under the [MIT License](license.md). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
2490
0
100
25
47
0
2