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

@wixc3/engine-core

Package Overview
Dependencies
Maintainers
146
Versions
333
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/engine-core - npm Package Compare versions

Comparing version 8.0.2 to 8.0.4

2

cjs/com/managed-iframe.d.ts
import { Json } from './types';
export declare class ManagedIframe {
private host;
constructor(host: HTMLIFrameElement);
constructor(host: Window | null);
getHashParams(): any;

@@ -6,0 +6,0 @@ decode: (hash: string) => any;

@@ -20,6 +20,6 @@ "use strict";

getContentWindow() {
if (!this.host.contentWindow) {
if (!this.host) {
throw new Error('Target is not connected to the DOM');
}
return this.host.contentWindow;
return this.host;
}

@@ -26,0 +26,0 @@ offHashChange(onHashChange) {

{
"name": "@wixc3/engine-core",
"version": "8.0.2",
"version": "8.0.4",
"main": "cjs/index.js",

@@ -5,0 +5,0 @@ "types": "cjs/index.d.ts",

import { Json } from './types';
export class ManagedIframe {
constructor(private host: HTMLIFrameElement) {}
constructor(private host: Window | null) {}
public getHashParams() {

@@ -22,6 +22,6 @@ const contentWindow = this.getContentWindow();

private getContentWindow() {
if (!this.host.contentWindow) {
if (!this.host) {
throw new Error('Target is not connected to the DOM');
}
return this.host.contentWindow;
return this.host;
}

@@ -28,0 +28,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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