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

shortcuts

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shortcuts - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

7

build/lib/index.js

@@ -115,3 +115,6 @@ var Keyconfig, Shortcuts, events, getPlatformBindings, os,

return function(sequence) {
var cb, listener, ref;
var cb, listener, ref, ref1;
if (((ref = model.options) != null ? ref.enabled : void 0) === false) {
return;
}
cb = function(e) {

@@ -128,3 +131,3 @@ e.collection = collection;

listeners.push(listener);
if (((ref = model.options) != null ? ref.global : void 0) === true) {
if (((ref1 = model.options) != null ? ref1.global : void 0) === true) {
return Mousetrap.bindGlobal(listener.sequence, listener.cb);

@@ -131,0 +134,0 @@ } else {

{
"name": "shortcuts",
"version": "0.2.2",
"version": "0.3.0",
"description": "manages keyboard shortcuts in browser",

@@ -5,0 +5,0 @@ "main": "build/lib/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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