New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

electron-prompt

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-prompt - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

8

lib/index.js

@@ -13,3 +13,3 @@ const electron = require('electron');

return new Promise((resolve, reject) => {
const id = `${new Date().getTime()}-${Math.random()}`;
const id = `${Date.now()}-${Math.random()}`;

@@ -40,3 +40,4 @@ const options_ = Object.assign(

if (options_.type === 'select' && (options_.selectOptions === null || typeof options_.selectOptions !== 'object')) {
return reject(new Error('"selectOptions" must be an object'));
reject(new Error('"selectOptions" must be an object'));
return;
}

@@ -61,3 +62,4 @@

webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}

@@ -64,0 +66,0 @@ });

{
"name": "electron-prompt",
"version": "1.6.1",
"version": "1.6.2",
"description": "Electron helper to prompt for a value via input or select",

@@ -31,3 +31,6 @@ "keywords": [

"browser"
]
],
"rules": {
"unicorn/prefer-ternary": 0
}
},

@@ -38,4 +41,4 @@ "dependencies": {

"devDependencies": {
"xo": "^0.32.1"
"xo": "^0.38.2"
}
}

@@ -7,2 +7,4 @@ # electron-prompt

<p align="center"><img width="482" alt="prompt-preview" src="https://user-images.githubusercontent.com/17620180/111753337-09c0c680-8897-11eb-8ce8-43de29c143bd.png"></p>
## Usage

@@ -9,0 +11,0 @@

Sorry, the diff of this file is not supported yet

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