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

@discourse/itsatrap

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discourse/itsatrap - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

8

itsatrap.js

@@ -1125,7 +1125,7 @@ /*global define:false */

/**
* adds a pause and unpause method to Mousetrap
* adds a pause and unpause method to ItsATrap
* this allows you to enable or disable keyboard shortcuts
* without having to reset Mousetrap and rebind everything
* without having to reset ItsATrap and rebind everything
*/
Mousetrap.prototype.pause = function() {
ItsATrap.prototype.pause = function() {
var self = this;

@@ -1135,3 +1135,3 @@ self.paused = true;

Mousetrap.prototype.unpause = function() {
ItsATrap.prototype.unpause = function() {
var self = this;

@@ -1138,0 +1138,0 @@ self.paused = false;

{
"name": "@discourse/itsatrap",
"version": "2.0.2",
"version": "2.0.3",
"description": "Fork of the original Mousetrap, Simple library for handling keyboard shortcuts",

@@ -5,0 +5,0 @@ "main": "itsatrap.js",

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