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

keystroke

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keystroke - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

dist/keystroke.js

@@ -125,3 +125,3 @@ (function (global, factory) {

function codetoString(keyCode) {
function codeToString(keyCode) {
if (isAlphabet(keyCode) || isNumber(keyCode)) {

@@ -149,3 +149,3 @@ return String.fromCharCode(keyCode);

exports.codetoString = codetoString;
exports.codeToString = codeToString;
exports.default = keystroke;

@@ -152,0 +152,0 @@ exports.isAlphabet = isAlphabet;

{
"name": "keystroke",
"description": "A keypress code-to-label helper library for the browser",
"version": "1.0.1",
"version": "1.0.2",
"main": "dist/keystroke.js",

@@ -19,4 +19,5 @@ "repository": {

"scripts": {
"prepublishOnly": "npm run build",
"build": "rollup keystroke.js --file dist/keystroke.js --format umd --name keystroke"
}
}
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