@optique/inquirer 1.0.0-dev.461 → 1.0.0-dev.463
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -224,7 +224,7 @@ function prompt(parser, config) {
|
|
|
224
224
|
if (r instanceof Promise) return r;
|
|
225
225
|
return Promise.resolve(r);
|
|
226
226
|
}
|
|
227
|
-
if (state
|
|
227
|
+
if (state instanceof PromptBindInitialStateClass) {
|
|
228
228
|
if (promptCache !== null) {
|
|
229
229
|
const cached = promptCache;
|
|
230
230
|
promptCache = null;
|
package/dist/index.js
CHANGED
|
@@ -201,7 +201,7 @@ function prompt(parser, config) {
|
|
|
201
201
|
if (r instanceof Promise) return r;
|
|
202
202
|
return Promise.resolve(r);
|
|
203
203
|
}
|
|
204
|
-
if (state
|
|
204
|
+
if (state instanceof PromptBindInitialStateClass) {
|
|
205
205
|
if (promptCache !== null) {
|
|
206
206
|
const cached = promptCache;
|
|
207
207
|
promptCache = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/inquirer",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.463+6f308700",
|
|
4
4
|
"description": "Interactive prompt support for Optique via Inquirer.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"sideEffects": false,
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@inquirer/prompts": "^8.3.0",
|
|
59
|
-
"@optique/core": "1.0.0-dev.
|
|
59
|
+
"@optique/core": "1.0.0-dev.463+6f308700"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "^20.19.9",
|
|
63
63
|
"tsdown": "^0.13.0",
|
|
64
64
|
"typescript": "^5.8.3",
|
|
65
|
-
"@optique/env": "1.0.0-dev.
|
|
65
|
+
"@optique/env": "1.0.0-dev.463+6f308700"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"build": "tsdown",
|