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

@reecelucas/react-use-hotkeys

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reecelucas/react-use-hotkeys - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

esm/helpers/mapModifierKeys.js

@@ -1,2 +0,2 @@

var modiferKeyMap = {
var modifierKeyMap = {
control: 'ctrlKey',

@@ -7,2 +7,2 @@ shift: 'shiftKey',

};
export default (function (keys) { return keys.map(function (k) { return modiferKeyMap[k]; }); });
export default (function (keys) { return keys.map(function (k) { return modifierKeyMap[k]; }); });
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var modiferKeyMap = {
var modifierKeyMap = {
control: 'ctrlKey',

@@ -9,2 +9,2 @@ shift: 'shiftKey',

};
exports.default = (function (keys) { return keys.map(function (k) { return modiferKeyMap[k]; }); });
exports.default = (function (keys) { return keys.map(function (k) { return modifierKeyMap[k]; }); });
{
"name": "@reecelucas/react-use-hotkeys",
"version": "1.3.0",
"version": "1.3.1",
"description": "React hook to create keyboard shortcuts",

@@ -45,4 +45,3 @@ "main": "lib/index.js",

"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
"react": ">=16.8.0"
},

@@ -49,0 +48,0 @@ "devDependencies": {

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