Skip to content

Commit 80c3273

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

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

node_modules/read/dist/commonjs/read.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
66
exports.read = read;
77
const mute_stream_1 = __importDefault(require("mute-stream"));
88
const readline_1 = require("readline");
9-
async function read({ default: def, input = process.stdin, output = process.stdout, completer, prompt = '', silent, timeout, edit, terminal, replace, }) {
9+
async function read({ default: def, input = process.stdin, output = process.stdout, completer, prompt = '', silent, timeout, edit, terminal, replace, history, }) {
1010
if (typeof def !== 'undefined' &&
1111
typeof def !== 'string' &&
1212
typeof def !== 'number') {
@@ -34,7 +34,7 @@ async function read({ default: def, input = process.stdin, output = process.stdo
3434
m.pipe(output, { end: false });
3535
output = m;
3636
return new Promise((resolve, reject) => {
37-
const rl = (0, readline_1.createInterface)({ input, output, terminal, completer });
37+
const rl = (0, readline_1.createInterface)({ input, output, terminal, completer, history });
3838
// TODO: add tests for timeout
3939
/* c8 ignore start */
4040
const timer = timeout && setTimeout(() => onError(new Error('timed out')), timeout);

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
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"parse-conflict-json": "^4.0.0",
107107
"proc-log": "^5.0.0",
108108
"qrcode-terminal": "^0.12.0",
109-
"read": "^4.0.0",
109+
"read": "^4.1.0",
110110
"semver": "^7.7.1",
111111
"spdx-expression-parse": "^4.0.0",
112112
"ssri": "^12.0.0",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy