Socket
Socket
Sign inDemoInstall

@github/hotkey

Package Overview
Dependencies
0
Maintainers
14
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

2

dist/index.esm.js

@@ -204,3 +204,3 @@ function _classCallCheck(instance, Constructor) {

function hotkey(event) {
return "".concat(event.ctrlKey ? 'Control+' : '').concat(event.altKey ? 'Alt+' : '').concat(event.metaKey ? 'Meta+' : '').concat(event.shiftKey ? 'Shift+' : '').concat(event.key);
return "".concat(event.ctrlKey ? 'Control+' : '').concat(event.altKey ? 'Alt+' : '').concat(event.metaKey ? 'Meta+' : '').concat(event.shiftKey && event.key.toUpperCase() !== event.key ? 'Shift+' : '').concat(event.key);
}

@@ -207,0 +207,0 @@

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

function hotkey(event) {
return "".concat(event.ctrlKey ? 'Control+' : '').concat(event.altKey ? 'Alt+' : '').concat(event.metaKey ? 'Meta+' : '').concat(event.shiftKey ? 'Shift+' : '').concat(event.key);
return "".concat(event.ctrlKey ? 'Control+' : '').concat(event.altKey ? 'Alt+' : '').concat(event.metaKey ? 'Meta+' : '').concat(event.shiftKey && event.key.toUpperCase() !== event.key ? 'Shift+' : '').concat(event.key);
}

@@ -213,0 +213,0 @@

{
"name": "@github/hotkey",
"version": "1.3.1",
"version": "1.3.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.umd.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc