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

dialog-promise

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dialog-promise - npm Package Compare versions

Comparing version 0.9.10 to 0.9.12

3

lib/dialog-promise.js

@@ -33,2 +33,3 @@ "use strict";

rejectWhenCancelPrompt:null, // same as reject
rejectFalse:true, // only for confirmPromise
lengthMenuWithoutFilter:10,

@@ -559,3 +560,3 @@ disableKeyboads:true,

return simpleFormPromise(excluding(opts,{buttonsDef:true, askForNoRepeat:true})).then(function(result){
if(!result && opts.reject){
if(result == null && opts.reject || result === false && opts.rejectFalse){
var error=new Error(DialogPromise.messages.NotConfirmed);

@@ -562,0 +563,0 @@ error.DialogPromise='NotConfirmed';

{
"name": "dialog-promise",
"description": "Dialog that returns promises",
"version": "0.9.10",
"version": "0.9.12",
"author": "Codenautas <codenautas@googlegroups.com>",

@@ -12,13 +12,10 @@ "repository": "codenautas/dialog-promise",

],
"dependencies": {
"typescript": "^3.3.1"
},
"devDependencies": {
"@types/mocha": "~5.2.5",
"@types/puppeteer": "~1.12.0",
"mocha": "~5.2.0",
"puppeteer": "~1.12.1",
"best-globals": "~0.10.10",
"@types/mocha": "~8.2.2",
"@types/puppeteer": "~5.4.3",
"mocha": "~8.3.2",
"puppeteer": "~8.0.0",
"best-globals": "~0.10.31",
"discrepances": "~0.2.4",
"server4test": "~0.2.1"
"server4test": "~0.8.0"
},

@@ -25,0 +22,0 @@ "engines": {

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