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

cross-domain-events

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-domain-events - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

10

lib/xde.js

@@ -19,3 +19,3 @@ (function (win, events) {

}
if (!parsedData || parsedData.__xde !== true) {

@@ -68,5 +68,7 @@ return;

validateName(name);
if (otherWindow && otherWindow.contentWindow) {
otherWindow = otherWindow.contentWindow;
}
try {
if (otherWindow && otherWindow.contentWindow) {
otherWindow = otherWindow.contentWindow;
}
} catch(e) {}
if ( !otherWindow || !otherWindow.postMessage ) {

@@ -73,0 +75,0 @@ throw new TypeError('otherWindow does not support postMessage');

2

package.json
{
"name": "cross-domain-events",
"version": "0.0.1",
"version": "0.0.2",
"description": "Event-like api for postMessage to send objects between cross-domain frames",

@@ -5,0 +5,0 @@ "license": "MIT",

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