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

@glomex/glomex-dialog

Package Overview
Dependencies
Maintainers
12
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glomex/glomex-dialog - npm Package Compare versions

Comparing version 1.10.3 to 1.10.4

32

glomex-dialog.js

@@ -762,7 +762,7 @@ const NON_VISIBLE_WIDTH = window.innerWidth < 720 ? 320 : 640;

window.addEventListener('touchmove', onNonPassiveTouchMove, { passive: false, once: true });
document.addEventListener('mousemove', onMove, false);
document.addEventListener('touchmove', onMove, false);
document.addEventListener('mouseup', mouseUp, false);
document.addEventListener('touchend', mouseUp, false);
document.addEventListener('touchcancel', mouseUp, false);
document.addEventListener('mousemove', onMove, { passive: true });
document.addEventListener('touchmove', onMove, { passive: true });
document.addEventListener('mouseup', mouseUp, { passive: true });
document.addEventListener('touchend', mouseUp, { passive: true });
document.addEventListener('touchcancel', mouseUp, { passive: true });
};

@@ -772,7 +772,7 @@

window.removeEventListener('touchmove', onNonPassiveTouchMove, { passive: false, once: true });
document.removeEventListener('mousemove', onMove, false);
document.removeEventListener('touchmove', onMove, false);
document.removeEventListener('mouseup', mouseUp, false);
document.removeEventListener('touchend', mouseUp, false);
document.removeEventListener('touchcancel', mouseUp, false);
document.removeEventListener('mousemove', onMove, { passive: true });
document.removeEventListener('touchmove', onMove, { passive: true });
document.removeEventListener('mouseup', mouseUp, { passive: true });
document.removeEventListener('touchend', mouseUp, { passive: true });
document.removeEventListener('touchcancel', mouseUp, { passive: true });
}

@@ -783,11 +783,11 @@

// get hover working on iOS
document.documentElement.addEventListener('touchstart', fixIosHover, false);
dragHandle.addEventListener('mousedown', mouseDown, false);
dragHandle.addEventListener('touchstart', mouseDown, false);
document.documentElement.addEventListener('touchstart', fixIosHover, { passive: true });
dragHandle.addEventListener('mousedown', mouseDown, { passive: false });
dragHandle.addEventListener('touchstart', mouseDown, { passive: true });
return () => {
mouseUp();
document.documentElement.removeEventListener('touchstart', fixIosHover, false);
dragHandle.removeEventListener('mousedown', mouseDown, false);
dragHandle.removeEventListener('touchstart', mouseDown, false);
document.documentElement.removeEventListener('touchstart', fixIosHover, { passive: true });
dragHandle.removeEventListener('mousedown', mouseDown, { passive: false });
dragHandle.removeEventListener('touchstart', mouseDown, { passive: true });
};

@@ -794,0 +794,0 @@ }

{
"name": "@glomex/glomex-dialog",
"version": "1.10.3",
"version": "1.10.4",
"description": "A dialog web component that allows docking a video player or putting it in a lightbox",

@@ -5,0 +5,0 @@ "type": "module",

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