@unpourtous/react-native-popup-stub
Advanced tools
Comparing version 1.0.16 to 1.0.17
{ | ||
"name": "@unpourtous/react-native-popup-stub", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "A popup container for implements your own popups like ActionSheet, Dialog, Alert, Toast ...", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -75,3 +75,3 @@ /* global __DEV__ */ | ||
if (!element || !PopupStub.stub) return | ||
if (option && typeof option === 'string') { | ||
@@ -145,2 +145,5 @@ // This warning is for original version, and will be removed in future | ||
removePopup (id, forceUpdate = true) { | ||
// temporarily disable playback animations | ||
return this.removePopupImmediately(id) | ||
if (!id || !PopupStub.stub) return | ||
@@ -334,3 +337,3 @@ | ||
} | ||
function onAutoClose (popup) { | ||
@@ -337,0 +340,0 @@ if (popup && popup.lock === 'auto' && !popup._closing) { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
102508
375
0