Comparing version
'use strict'; | ||
var { fromEvent } = require('rxjs'); | ||
var { filter, map, share, takeUntil } = require('rxjs/operators'); | ||
var { filter, map, share } = require('rxjs/operators'); | ||
@@ -11,3 +11,2 @@ function normalizeKeypressEvents(value, key) { | ||
var keypress = fromEvent(rl.input, 'keypress', normalizeKeypressEvents) | ||
.pipe(takeUntil(fromEvent(rl, 'close'))) | ||
// Ignore `enter` key. On the readline, we only care about the `line` event. | ||
@@ -14,0 +13,0 @@ .pipe(filter(({ key }) => key.name !== 'enter' && key.name !== 'return')); |
{ | ||
"name": "inquirer", | ||
"version": "6.5.1", | ||
"version": "6.5.2", | ||
"description": "A collection of common interactive command line user interfaces.", | ||
@@ -26,6 +26,6 @@ "author": "Simon Boudrias <admin@simonboudrias.com>", | ||
"cmdify": "^0.0.4", | ||
"mocha": "^6.2.0", | ||
"mocha": "^5.0.0", | ||
"mockery": "^2.1.0", | ||
"nyc": "^14.1.1", | ||
"sinon": "^7.4.1" | ||
"nyc": "^13.1.0", | ||
"sinon": "^7.1.1" | ||
}, | ||
@@ -41,17 +41,17 @@ "scripts": { | ||
"dependencies": { | ||
"ansi-escapes": "^4.2.1", | ||
"ansi-escapes": "^3.2.0", | ||
"chalk": "^2.4.2", | ||
"cli-cursor": "^3.1.0", | ||
"cli-cursor": "^2.1.0", | ||
"cli-width": "^2.0.0", | ||
"external-editor": "^3.0.3", | ||
"figures": "^3.0.0", | ||
"lodash": "^4.17.15", | ||
"mute-stream": "0.0.8", | ||
"figures": "^2.0.0", | ||
"lodash": "^4.17.12", | ||
"mute-stream": "0.0.7", | ||
"run-async": "^2.2.0", | ||
"rxjs": "^6.4.0", | ||
"string-width": "^4.1.0", | ||
"string-width": "^2.1.0", | ||
"strip-ansi": "^5.1.0", | ||
"through": "^2.3.6" | ||
}, | ||
"gitHead": "54285c75bc7986e0e2c7bcd2bc8ae4ddd6f05929" | ||
"gitHead": "7d87f666042c67638d2e89bd4586d22f61e90130" | ||
} |
<img width="75px" height="75px" align="right" alt="Inquirer Logo" src="https://raw.githubusercontent.com/SBoudrias/Inquirer.js/master/assets/inquirer_readme.svg?sanitize=true" title="Inquirer.js"/> | ||
# Compat Version # | ||
This version is branched from Inquirer master branch to maintain support for Node 6. | ||
See latest version release line at https://github.com/SBoudrias/Inquirer.js | ||
# Inquirer.js | ||
@@ -361,3 +367,3 @@ | ||
Please refer to the [GitHub releases section for the changelog](https://github.com/SBoudrias/Inquirer.js/releases) | ||
Please refer to the [Github releases section for the changelog](https://github.com/SBoudrias/Inquirer.js/releases) | ||
@@ -364,0 +370,0 @@ ## Contributing |
77855
0.16%456
1.33%1975
-0.05%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated