deps: read@4.1.0 · npm/cli@80c3273 · GitHub
Skip to content

Commit 80c3273

Browse files
committed
deps: read@4.1.0
1 parent 7fd70fa commit 80c3273

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

node_modules/read/dist/commonjs/read.js

Lines changed: 2 additions & 2 deletions

node_modules/read/dist/esm/read.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Mute from 'mute-stream';
22
import { createInterface } from 'readline';
3-
export async function read({ default: def, input = process.stdin, output = process.stdout, completer, prompt = '', silent, timeout, edit, terminal, replace, }) {
3+
export async function read({ default: def, input = process.stdin, output = process.stdout, completer, prompt = '', silent, timeout, edit, terminal, replace, history, }) {
44
if (typeof def !== 'undefined' &&
55
typeof def !== 'string' &&
66
typeof def !== 'number') {
@@ -28,7 +28,7 @@ export async function read({ default: def, input = process.stdin, output = proce
2828
m.pipe(output, { end: false });
2929
output = m;
3030
return new Promise((resolve, reject) => {
31-
const rl = createInterface({ input, output, terminal, completer });
31+
const rl = createInterface({ input, output, terminal, completer, history });
3232
// TODO: add tests for timeout
3333
/* c8 ignore start */
3434
const timer = timeout && setTimeout(() => onError(new Error('timed out')), timeout);

node_modules/read/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "read",
3-
"version": "4.0.0",
3+
"version": "4.1.0",
44
"exports": {
55
"./package.json": "./package.json",
66
".": {

package-lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"parse-conflict-json": "^4.0.0",
140140
"proc-log": "^5.0.0",
141141
"qrcode-terminal": "^0.12.0",
142-
"read": "^4.0.0",
142+
"read": "^4.1.0",
143143
"semver": "^7.7.1",
144144
"spdx-expression-parse": "^4.0.0",
145145
"ssri": "^12.0.0",
@@ -13608,9 +13608,9 @@
1360813608
}
1360913609
},
1361013610
"node_modules/read": {
13611-
"version": "4.0.0",
13612-
"resolved": "https://registry.npmjs.org/read/-/read-4.0.0.tgz",
13613-
"integrity": "sha512-nbYGT3cec3J5NPUeJia7l72I3oIzMIB6yeNyDqi8CVHr3WftwjrCUqR0j13daoHEMVaZ/rxCpmHKrbods3hI2g==",
13611+
"version": "4.1.0",
13612+
"resolved": "https://registry.npmjs.org/read/-/read-4.1.0.tgz",
13613+
"integrity": "sha512-uRfX6K+f+R8OOrYScaM3ixPY4erg69f8DN6pgTvMcA9iRc8iDhwrA4m3Yu8YYKsXJgVvum+m8PkRboZwwuLzYA==",
1361413614
"inBundle": true,
1361513615
"license": "ISC",
1361613616
"dependencies": {

package.json

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)