Comparing version 3.2.0 to 3.2.1
@@ -24,5 +24,3 @@ 'use strict'; | ||
// Terminate process on SIGINT (which will call process.on('exit') in return) | ||
this.rl.on('SIGINT', function () { | ||
process.exit(0); | ||
}); | ||
this.rl.on('SIGINT', this.onForceClose); | ||
}; | ||
@@ -37,2 +35,3 @@ | ||
this.close(); | ||
process.kill(process.pid, 'SIGINT'); | ||
console.log(''); | ||
@@ -39,0 +38,0 @@ }; |
{ | ||
"name": "inquirer", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "A collection of common interactive command line user interfaces.", | ||
@@ -5,0 +5,0 @@ "author": "Simon Boudrias <admin@simonboudrias.com>", |
@@ -90,3 +90,3 @@ Inquirer.js | ||
Create a self contained inquirer module. If don't want to affect other libraries that also rely on inquirer when you overwrite or add new prompt types. | ||
Create a self contained inquirer module. If you don't want to affect other libraries that also rely on inquirer when you overwrite or add new prompt types. | ||
@@ -373,1 +373,4 @@ ```js | ||
[__inquirer-select-line__](https://github.com/adam-golab/inquirer-select-line)<br> | ||
Prompt for selecting index in array where add new element | ||
![inquirer-select-line gif](https://media.giphy.com/media/xUA7b1MxpngddUvdHW/giphy.gif) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69871
374
1846