Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spa-keys

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spa-keys - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

index.js

@@ -15,2 +15,3 @@ /**

backspace: 8,
tab: 9,
enter: 13,

@@ -26,3 +27,4 @@ escape: 27,

down: 40,
insert: 45,
'delete': 46
};

16

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc