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

@pbkit/wrp

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pbkit/wrp - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

10

glue/child-window.js

@@ -10,2 +10,3 @@ "use strict";

await handshake(child, childWindowOrigin);
globalThis.addEventListener("message", messageHandler);
const healthcheckId = setInterval(healthcheck, 100);

@@ -30,2 +31,3 @@ const glue = (0, index_1.createGlue)();

clearInterval(healthcheckId);
globalThis.removeEventListener("message", messageHandler);
glue.close();

@@ -38,2 +40,10 @@ onClosed === null || onClosed === void 0 ? void 0 : onClosed();

}
function messageHandler(e) {
if (e.source !== parent)
return;
if (!(0, web_1.isGlueEvent)(e))
return;
const [, data] = e.data;
glue.recv(data);
}
}

@@ -40,0 +50,0 @@ exports.createChildWindowSocket = createChildWindowSocket;

2

package.json
{
"name": "@pbkit/wrp",
"version": "0.1.2",
"version": "0.1.3",
"author": "JongChan Choi <jong@chan.moe>",

@@ -5,0 +5,0 @@ "license": "(MIT OR Apache-2.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