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

react-frame-component

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-frame-component - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

lib/Frame.js

@@ -91,4 +91,5 @@ 'use strict';

var doc = this.getDoc();
if (doc) {
_reactDom2.default.unmountComponentAtNode(this.getMountTarget());
var mountTarget = this.getMountTarget();
if (doc && mountTarget) {
_reactDom2.default.unmountComponentAtNode(mountTarget);
}

@@ -95,0 +96,0 @@ }

2

package.json
{
"name": "react-frame-component",
"version": "2.0.0",
"version": "2.0.1",
"description": "React component to wrap your application or component in an iFrame for encapsulation purposes",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -70,4 +70,5 @@ import React, { Component } from 'react';

const doc = this.getDoc();
if (doc) {
ReactDOM.unmountComponentAtNode(this.getMountTarget());
const mountTarget = this.getMountTarget();
if (doc && mountTarget) {
ReactDOM.unmountComponentAtNode(mountTarget);
}

@@ -74,0 +75,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