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

electrum-events

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrum-events - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

10

lib/mouse-capture.js

@@ -34,4 +34,6 @@ 'use strict';

this._listeners = listeners || {};
document.addEventListener('mouseup', this.mouseupListener, EventListenerMode);
document.addEventListener('mousemove', this.mousemoveListener, EventListenerMode);
this._mouseup = e => this.mouseupListener(e);
this._mousemove = e => this.mousemoveListener(e);
document.addEventListener('mouseup', this._mouseup, EventListenerMode);
document.addEventListener('mousemove', this._mousemove, EventListenerMode);
preventGlobalMouseEvents();

@@ -55,4 +57,4 @@ }

}
document.removeEventListener('mouseup', this.mouseupListener, EventListenerMode);
document.removeEventListener('mousemove', this.mousemoveListener, EventListenerMode);
document.removeEventListener('mouseup', this._mouseup, EventListenerMode);
document.removeEventListener('mousemove', this._mousemove, EventListenerMode);
e.stopPropagation();

@@ -59,0 +61,0 @@ }

2

package.json
{
"name": "electrum-events",
"version": "2.2.0",
"version": "2.2.1",
"description": "Electrum Events forwards web component events to the bus.",

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

@@ -20,4 +20,6 @@ 'use strict';

this._listeners = listeners || {};
document.addEventListener ('mouseup', this.mouseupListener, EventListenerMode);
document.addEventListener ('mousemove', this.mousemoveListener, EventListenerMode);
this._mouseup = e => this.mouseupListener (e);
this._mousemove = e => this.mousemoveListener (e);
document.addEventListener ('mouseup', this._mouseup, EventListenerMode);
document.addEventListener ('mousemove', this._mousemove, EventListenerMode);
preventGlobalMouseEvents ();

@@ -38,4 +40,4 @@ }

}
document.removeEventListener ('mouseup', this.mouseupListener, EventListenerMode);
document.removeEventListener ('mousemove', this.mousemoveListener, EventListenerMode);
document.removeEventListener ('mouseup', this._mouseup, EventListenerMode);
document.removeEventListener ('mousemove', this._mousemove, EventListenerMode);
e.stopPropagation ();

@@ -42,0 +44,0 @@ }

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