@reecelucas/react-use-hotkeys
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -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": { |
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
2
21877