New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

iframe-touch-relay

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iframe-touch-relay - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

5

index.js

@@ -151,3 +151,4 @@

const dehidratedTouches = touches.map((t) => {
const target = document.elementFromPoint(t.clientX, t.clientY) || document.body;
const targetCandidates = document.elementsFromPoint(t.clientX, t.clientY);
const target = targetCandidates.filter(item => !item.classList.contains("debug-iframe-relay-point"))[0];
const elementRelativeX = t.clientX;

@@ -157,3 +158,3 @@ const elementRelativeY = t.clientY;

const point = document.createElement("div");
point.className = "point";
point.className = "debug-iframe-relay-point point";
point.id = "touch-" + t.identifier;

@@ -160,0 +161,0 @@ point.style.left = elementRelativeX - pointSize / 2 + "px";

2

package.json
{
"name": "iframe-touch-relay",
"version": "0.0.7",
"version": "0.0.8",
"description": "Relays touch events inside iframe, to support multi-touch on pages with multiple iframes",

@@ -5,0 +5,0 @@ "main": "index.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