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.4 to 0.1.5

2

lib/index.js

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

var optional = value.endsWith('?');
var optional = value.endsWith('?') && value.length > 1;

@@ -149,0 +149,0 @@ if (optional) {

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

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

@@ -130,3 +130,3 @@

for (let value of values) {
const optional = value.endsWith('?')
const optional = value.endsWith('?') && value.length > 1;

@@ -133,0 +133,0 @@ if (optional) {

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