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

react-modal

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-modal - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

v1.7.1 - Thu, 02 Mar 2017 14:49:30 GMT
--------------------------------------
- [a1d29c6](../../commit/a1d29c6) [fixed] rewrite removePortal as es5 function
v1.7.0 - Thu, 02 Mar 2017 03:54:08 GMT

@@ -2,0 +8,0 @@ --------------------------------------

2

dist/react-modal.js

@@ -174,3 +174,2 @@ (function webpackUniversalModuleDefinition(root, factory) {

renderPortal: function renderPortal(props) {

@@ -381,3 +380,2 @@ if (props.isOpen) {

close: function close() {

@@ -384,0 +382,0 @@ if (this.props.closeTimeoutMS > 0) this.closeWithTimeout();else this.closeWithoutTimeout();

@@ -103,3 +103,3 @@ var React = require('react');

removePortal () {
removePortal: function() {
ReactDOM.unmountComponentAtNode(this.node);

@@ -106,0 +106,0 @@ var parent = getParentElement(this.props.parentSelector);

@@ -80,3 +80,3 @@ var React = require('react');

open () {
open: function () {
if (this.state.afterOpen && this.state.beforeClose) {

@@ -83,0 +83,0 @@ clearTimeout(this.closeTimer);

{
"name": "react-modal",
"version": "1.7.0",
"version": "1.7.1",
"description": "Accessible modal dialog component for React.JS",

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

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