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

react-disposable-modal

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-disposable-modal - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

2

lib/disposable-modal.js

@@ -109,3 +109,3 @@ "use strict";

value: function componentWillUnmount() {
if (this.parentContainer) {
if (this.parentContainer && document.body.contains(this.parentContainer)) {
document.body.removeChild(this.parentContainer);

@@ -112,0 +112,0 @@ this.parentContainer = null;

{
"name": "react-disposable-modal",
"version": "0.2.4",
"version": "0.2.5",
"description": "React-disposable-modal is a reactive API for building modal components in React.",

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

@@ -52,3 +52,3 @@ import React from "react";

componentWillUnmount() {
if(this.parentContainer) {
if(this.parentContainer && document.body.contains(this.parentContainer)) {
document.body.removeChild(this.parentContainer)

@@ -55,0 +55,0 @@ this.parentContainer = null

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