Socket
Socket
Sign inDemoInstall

is-hotkey

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-hotkey - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

lib/index.js

@@ -198,3 +198,3 @@ 'use strict';

if (key === 'key') {
if (key === 'key' && event.key != null) {
actual = event.key.toLowerCase();

@@ -201,0 +201,0 @@ } else if (key === 'which') {

{
"name": "is-hotkey",
"description": "Check whether a browser event matches a hotkey.",
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "git://github.com/ianstormtaylor/is-hotkey.git",

@@ -168,3 +168,3 @@

if (key === 'key') {
if (key === 'key' && event.key != null) {
actual = event.key.toLowerCase()

@@ -171,0 +171,0 @@ } else if (key === 'which') {

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