Socket
Socket
Sign inDemoInstall

rc-dialog

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-dialog - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

10

lib/Dialog.js

@@ -46,2 +46,3 @@ /** @jsx React.DOM */

},
show: function () {

@@ -59,2 +60,3 @@ var self = this;

},
close: function () {

@@ -70,2 +72,3 @@ if (this.state.visible) {

},
render: function () {

@@ -100,2 +103,9 @@ var self = this;

);
},
componentDidMount: function () {
if (this.state.visible) {
this.refs.dialog.getDOMNode().focus();
this.props.onShow();
}
}

@@ -102,0 +112,0 @@ });

2

package.json
{
"name": "rc-dialog",
"version": "2.0.1",
"version": "2.0.2",
"description": "dialog ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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