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

keycharm

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keycharm - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

12

keycharm.js

@@ -121,3 +121,3 @@ /**

}
}
};

@@ -152,6 +152,8 @@ // get the key label from an event

var newBindings = [];
var bound = _bound[type][_keys[key].code]
for (var i = 0; i < bound.length; i++) {
if (!(bound[i].fn == callback && bound[i].shift == _keys[key].shift)) {
newBindings.push(_bound[type][_keys[key].code][i]);
var bound = _bound[type][_keys[key].code];
if (bound !== undefined) {
for (var i = 0; i < bound.length; i++) {
if (!(bound[i].fn == callback && bound[i].shift == _keys[key].shift)) {
newBindings.push(_bound[type][_keys[key].code][i]);
}
}

@@ -158,0 +160,0 @@ }

@@ -5,5 +5,5 @@ {

"description": "Simple, lightweight key-binding lib",
"version": "0.1.4",
"version": "0.1.5",
"main": "keycharm.js",
"repository": "https://github.com/AlexDM0/keycharm"
}
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