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

Comparing version 4.3.3 to 4.3.4

12

lib/DialogWrap.js

@@ -87,12 +87,14 @@ 'use strict';

if (onBeforeClose) {
var ret;
if (onBeforeClose.length) {
onBeforeClose(close);
ret = onBeforeClose(close);
} else {
var ret = onBeforeClose();
if (ret && ret.then) {
ret.then(close);
} else {
ret = onBeforeClose();
if (!ret) {
close();
}
}
if (ret && ret.then) {
ret.then(close);
}
} else {

@@ -99,0 +101,0 @@ close();

{
"name": "rc-dialog",
"version": "4.3.3",
"version": "4.3.4",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc