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.1.0 to 1.2.0

4

lib/index.js

@@ -36,7 +36,7 @@ const electron = require('electron');

resizable: opts.resizable,
parent: parentWindow instanceof BrowserWindow ? parentWindow : null,
parent: parentWindow,
skipTaskbar: true,
alwaysOnTop: opts.alwaysOnTop,
useContentSize: true,
modal: Boolean(parentWindow instanceof BrowserWindow),
modal: Boolean(parentWindow),
title: opts.title,

@@ -43,0 +43,0 @@ icon: opts.icon

@@ -81,2 +81,5 @@ const {ipcRenderer} = require('electron');

}
if (e.which === 27) {
promptCancel();
}
});

@@ -106,2 +109,5 @@ } else if (promptOptions.type === 'select') {

dataEl.focus();
if (promptOptions.type === 'input') {
dataEl.select();
}
});
{
"name": "electron-prompt",
"version": "1.1.0",
"version": "1.2.0",
"description": "Electron helper to prompt for a value via input or select",

@@ -11,9 +11,9 @@ "keywords": [

"author": {
"name": "sperrichon",
"email": "sperrichon@users.noreply.github.com",
"url": "https://github.com/sperrichon"
"name": "p-sam",
"email": "p-sam@users.noreply.github.com",
"url": "https://github.com/p-sam"
},
"repository": {
"type": "git",
"url": "https://github.com/sperrichon/electron-prompt.git"
"url": "https://github.com/p-sam/electron-prompt.git"
},

@@ -20,0 +20,0 @@ "license": "MIT",

@@ -5,3 +5,3 @@ # electron-prompt

[![Build Status](https://travis-ci.com/sperrichon/electron-prompt.svg?branch=master)](https://travis-ci.com/sperrichon/electron-prompt) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
[![Build Status](https://travis-ci.com/p-sam/electron-prompt.svg?branch=master)](https://travis-ci.com/p-sam/electron-prompt) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)

@@ -8,0 +8,0 @@ ## Usage

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