@depup/inquirer 13.3.2-depup.0 → 13.4.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/changes.json +5 -0
- package/dist/index.js +1 -0
- package/dist/ui/prompt.js +7 -2
- package/package.json +18 -14
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/inquirer
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [inquirer](https://www.npmjs.com/package/inquirer) @ 13.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [inquirer](https://www.npmjs.com/package/inquirer) @ 13.4.0 |
|
|
17
|
+
| Processed | 2026-04-06 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
ADDED
package/dist/index.js
CHANGED
package/dist/ui/prompt.js
CHANGED
|
@@ -17,6 +17,7 @@ export const _ = {
|
|
|
17
17
|
else if (!(key in pointer) || typeof pointer[key] !== 'object') {
|
|
18
18
|
pointer[key] = {};
|
|
19
19
|
}
|
|
20
|
+
// oxlint-disable-next-line typescript/no-unsafe-type-assertion
|
|
20
21
|
pointer = pointer[key];
|
|
21
22
|
});
|
|
22
23
|
},
|
|
@@ -38,8 +39,10 @@ export const _ = {
|
|
|
38
39
|
async function fetchAsyncQuestionProperty(question, prop, answers) {
|
|
39
40
|
const propGetter = question[prop];
|
|
40
41
|
if (typeof propGetter === 'function') {
|
|
42
|
+
// oxlint-disable-next-line typescript/no-unsafe-type-assertion
|
|
41
43
|
return runAsync(propGetter)(answers);
|
|
42
44
|
}
|
|
45
|
+
// oxlint-disable-next-line typescript/no-unsafe-type-assertion
|
|
43
46
|
return propGetter;
|
|
44
47
|
}
|
|
45
48
|
class TTYError extends Error {
|
|
@@ -123,12 +126,13 @@ export default class PromptsRunner {
|
|
|
123
126
|
}
|
|
124
127
|
return;
|
|
125
128
|
})).pipe(filter((val) => val != null))), concatMap((question) => defer(() => from(this.fetchAnswer(question)))))));
|
|
126
|
-
return lastValueFrom(this.process.pipe(reduce((answersObj, answer) => {
|
|
129
|
+
return (lastValueFrom(this.process.pipe(reduce((answersObj, answer) => {
|
|
127
130
|
_.set(answersObj, answer.name, answer.answer);
|
|
128
131
|
return answersObj;
|
|
129
132
|
}, this.answers)))
|
|
133
|
+
// oxlint-disable-next-line typescript/no-unsafe-type-assertion
|
|
130
134
|
.then(() => this.answers)
|
|
131
|
-
.finally(() => this.close());
|
|
135
|
+
.finally(() => this.close()));
|
|
132
136
|
}
|
|
133
137
|
prepareQuestion = async (question) => {
|
|
134
138
|
const [message, defaultValue, resolvedChoices] = await Promise.all([
|
|
@@ -188,6 +192,7 @@ export default class PromptsRunner {
|
|
|
188
192
|
reject(new AbortPromptError({ cause: signal.reason }));
|
|
189
193
|
return;
|
|
190
194
|
}
|
|
195
|
+
// oxlint-disable-next-line typescript/no-unsafe-type-assertion
|
|
191
196
|
const rl = readline.createInterface(setupReadlineOptions(opt));
|
|
192
197
|
/**
|
|
193
198
|
* Handle the ^C exit
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/inquirer",
|
|
3
|
-
"version": "13.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "13.4.0-depup.0",
|
|
4
|
+
"description": "A collection of common interactive command line user interfaces. (with updated dependencies)",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"depup",
|
|
7
|
-
"dependency-bumped",
|
|
8
|
-
"updated-deps",
|
|
9
6
|
"inquirer",
|
|
7
|
+
"depup",
|
|
8
|
+
"updated-dependencies",
|
|
9
|
+
"security",
|
|
10
|
+
"latest",
|
|
11
|
+
"patched",
|
|
10
12
|
"answer",
|
|
11
13
|
"answers",
|
|
12
14
|
"ask",
|
|
@@ -52,7 +54,9 @@
|
|
|
52
54
|
"url": "https://github.com/SBoudrias/Inquirer.js.git"
|
|
53
55
|
},
|
|
54
56
|
"files": [
|
|
55
|
-
"dist"
|
|
57
|
+
"dist",
|
|
58
|
+
"changes.json",
|
|
59
|
+
"README.md"
|
|
56
60
|
],
|
|
57
61
|
"type": "module",
|
|
58
62
|
"sideEffects": false,
|
|
@@ -67,17 +71,17 @@
|
|
|
67
71
|
"tsc": "tsc"
|
|
68
72
|
},
|
|
69
73
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0.
|
|
71
|
-
"@inquirer/core": "^11.1.
|
|
72
|
-
"@inquirer/prompts": "^8.
|
|
73
|
-
"@inquirer/type": "^4.0.
|
|
74
|
+
"@inquirer/ansi": "^2.0.5",
|
|
75
|
+
"@inquirer/core": "^11.1.8",
|
|
76
|
+
"@inquirer/prompts": "^8.4.0",
|
|
77
|
+
"@inquirer/type": "^4.0.5",
|
|
74
78
|
"mute-stream": "^3.0.0",
|
|
75
79
|
"run-async": "^4.0.6",
|
|
76
80
|
"rxjs": "^7.8.2"
|
|
77
81
|
},
|
|
78
82
|
"devDependencies": {
|
|
79
83
|
"@types/mute-stream": "^0.0.4",
|
|
80
|
-
"typescript": "^
|
|
84
|
+
"typescript": "^6.0.2"
|
|
81
85
|
},
|
|
82
86
|
"peerDependencies": {
|
|
83
87
|
"@types/node": ">=18"
|
|
@@ -92,13 +96,13 @@
|
|
|
92
96
|
},
|
|
93
97
|
"main": "./dist/index.js",
|
|
94
98
|
"types": "./dist/index.d.ts",
|
|
95
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "e68fe01d65359e083581c48c4a18cd8f97d88842",
|
|
96
100
|
"depup": {
|
|
97
101
|
"changes": {},
|
|
98
102
|
"depsUpdated": 0,
|
|
99
103
|
"originalPackage": "inquirer",
|
|
100
|
-
"originalVersion": "13.
|
|
101
|
-
"processedAt": "2026-
|
|
104
|
+
"originalVersion": "13.4.0",
|
|
105
|
+
"processedAt": "2026-04-06T20:24:22.833Z",
|
|
102
106
|
"smokeTest": "passed"
|
|
103
107
|
}
|
|
104
108
|
}
|