@zuplo/cli 7.15.4 → 7.15.6
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/node_modules/@hono/node-server/dist/serve-static.cjs +1 -1
- package/node_modules/@hono/node-server/dist/serve-static.mjs +1 -1
- package/node_modules/@hono/node-server/package.json +1 -1
- package/node_modules/@inquirer/ansi/package.json +4 -4
- package/node_modules/@inquirer/checkbox/package.json +8 -8
- package/node_modules/@inquirer/confirm/package.json +6 -6
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +3 -0
- package/node_modules/@inquirer/core/package.json +8 -8
- package/node_modules/@inquirer/editor/package.json +7 -7
- package/node_modules/@inquirer/expand/package.json +6 -6
- package/node_modules/@inquirer/external-editor/package.json +4 -4
- package/node_modules/@inquirer/figures/package.json +4 -4
- package/node_modules/@inquirer/input/package.json +6 -6
- package/node_modules/@inquirer/number/dist/index.js +7 -2
- package/node_modules/@inquirer/number/package.json +6 -6
- package/node_modules/@inquirer/password/package.json +7 -7
- package/node_modules/@inquirer/rawlist/dist/index.js +3 -3
- package/node_modules/@inquirer/rawlist/package.json +6 -6
- package/node_modules/@inquirer/search/package.json +7 -7
- package/node_modules/@inquirer/select/dist/index.js +5 -1
- package/node_modules/@inquirer/select/package.json +8 -8
- package/node_modules/@inquirer/type/package.json +4 -4
- package/node_modules/@posthog/types/dist/feature-flags.d.ts +2 -0
- package/node_modules/@posthog/types/dist/feature-flags.d.ts.map +1 -1
- package/node_modules/@posthog/types/dist/posthog-config.d.ts +3 -0
- package/node_modules/@posthog/types/dist/posthog-config.d.ts.map +1 -1
- package/node_modules/@posthog/types/package.json +1 -1
- package/node_modules/@posthog/types/src/feature-flags.ts +2 -0
- package/node_modules/@posthog/types/src/posthog-config.ts +3 -0
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/out/esm/{chunk-OE2WMJXK.js → chunk-KC64BFKL.js} +84 -84
- package/node_modules/@zuplo/runtime/out/esm/chunk-KC64BFKL.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/hono/dist/cjs/hono-base.js +7 -2
- package/node_modules/hono/dist/cjs/middleware/body-limit/index.js +9 -10
- package/node_modules/hono/dist/cjs/middleware/method-not-allowed/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/mount/index.js +3 -2
- package/node_modules/hono/dist/cjs/middleware/serve-static/index.js +1 -1
- package/node_modules/hono/dist/cjs/utils/mount.js +18 -2
- package/node_modules/hono/dist/cjs/utils/url.js +8 -11
- package/node_modules/hono/dist/cjs/validator/validator.js +5 -5
- package/node_modules/hono/dist/hono-base.js +7 -2
- package/node_modules/hono/dist/middleware/body-limit/index.js +9 -10
- package/node_modules/hono/dist/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/middleware/method-not-allowed/index.js +1 -1
- package/node_modules/hono/dist/middleware/mount/index.js +3 -2
- package/node_modules/hono/dist/middleware/serve-static/index.js +1 -1
- package/node_modules/hono/dist/types/hono-base.d.ts +2 -0
- package/node_modules/hono/dist/types/middleware/mount/index.d.ts +2 -1
- package/node_modules/hono/dist/types/utils/url.d.ts +0 -1
- package/node_modules/hono/dist/utils/mount.js +19 -3
- package/node_modules/hono/dist/utils/url.js +9 -11
- package/node_modules/hono/dist/validator/validator.js +5 -5
- package/node_modules/hono/package.json +1 -1
- package/node_modules/mute-stream/package.json +13 -20
- package/package.json +11 -11
- package/node_modules/@zuplo/runtime/out/esm/chunk-OE2WMJXK.js.map +0 -1
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-OE2WMJXK.js.LEGAL.txt → chunk-KC64BFKL.js.LEGAL.txt} +0 -0
|
@@ -78,8 +78,8 @@ const serveStatic = (options = { root: "" }) => {
|
|
|
78
78
|
let filename;
|
|
79
79
|
if (optionPath) filename = optionPath;
|
|
80
80
|
else try {
|
|
81
|
-
if (!options.allowPercentInPath && c.req.path.includes("%")) throw new Error();
|
|
82
81
|
filename = tryDecodeURI(c.req.path);
|
|
82
|
+
if (c.req.path.includes("%") && (!options.allowPercentInPath || filename !== c.req.path.replace(/%25/g, "%"))) throw new Error();
|
|
83
83
|
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}|\\/.test(filename)) throw new Error();
|
|
84
84
|
} catch {
|
|
85
85
|
await options.onNotFound?.(c.req.path, c);
|
|
@@ -77,8 +77,8 @@ const serveStatic = (options = { root: "" }) => {
|
|
|
77
77
|
let filename;
|
|
78
78
|
if (optionPath) filename = optionPath;
|
|
79
79
|
else try {
|
|
80
|
-
if (!options.allowPercentInPath && c.req.path.includes("%")) throw new Error();
|
|
81
80
|
filename = tryDecodeURI(c.req.path);
|
|
81
|
+
if (c.req.path.includes("%") && (!options.allowPercentInPath || filename !== c.req.path.replace(/%25/g, "%"))) throw new Error();
|
|
82
82
|
if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}|\\/.test(filename)) throw new Error();
|
|
83
83
|
} catch {
|
|
84
84
|
await options.onNotFound?.(c.req.path, c);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/ansi",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"ansi",
|
|
6
6
|
"answer",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@repo/tsconfig": "0.
|
|
70
|
+
"@repo/tsconfig": "0.1.0",
|
|
71
71
|
"typescript": "^7.0.2"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": "
|
|
74
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
75
75
|
},
|
|
76
76
|
"main": "./dist/index.js",
|
|
77
77
|
"types": "./dist/index.d.ts",
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
79
79
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/checkbox",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Inquirer checkbox prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0
|
|
71
|
-
"@inquirer/core": "^12.0
|
|
72
|
-
"@inquirer/figures": "^2.0
|
|
73
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/ansi": "^2.1.0",
|
|
71
|
+
"@inquirer/core": "^12.1.0",
|
|
72
|
+
"@inquirer/figures": "^2.1.0",
|
|
73
|
+
"@inquirer/type": "4.3.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@repo/tsconfig": "0.
|
|
76
|
+
"@repo/tsconfig": "0.1.0",
|
|
77
77
|
"typescript": "^7.0.2"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
|
-
"node": "
|
|
88
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
89
89
|
},
|
|
90
90
|
"main": "./dist/index.js",
|
|
91
91
|
"types": "./dist/index.d.ts",
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
93
93
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/confirm",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "Inquirer confirm prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/type": "4.3.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@repo/tsconfig": "0.
|
|
74
|
+
"@repo/tsconfig": "0.1.0",
|
|
75
75
|
"typescript": "^7.0.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
|
-
"node": "
|
|
86
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
91
91
|
}
|
|
@@ -12,6 +12,9 @@ function deepMerge(...objects) {
|
|
|
12
12
|
const output = {};
|
|
13
13
|
for (const obj of objects) {
|
|
14
14
|
for (const [key, value] of Object.entries(obj)) {
|
|
15
|
+
// A key explicitly set to `undefined` keeps the value from the previous theme.
|
|
16
|
+
if (value === undefined)
|
|
17
|
+
continue;
|
|
15
18
|
const prevValue = output[key];
|
|
16
19
|
output[key] =
|
|
17
20
|
isPlainObject(prevValue) && isPlainObject(value)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/core",
|
|
3
|
-
"version": "12.0
|
|
3
|
+
"version": "12.1.0",
|
|
4
4
|
"description": "Core Inquirer prompt API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0
|
|
71
|
-
"@inquirer/figures": "^2.0
|
|
72
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/ansi": "^2.1.0",
|
|
71
|
+
"@inquirer/figures": "^2.1.0",
|
|
72
|
+
"@inquirer/type": "4.3.0",
|
|
73
73
|
"cli-width": "^4.1.0",
|
|
74
74
|
"fast-wrap-ansi": "^0.2.0",
|
|
75
|
-
"mute-stream": "^
|
|
75
|
+
"mute-stream": "^4.0.0",
|
|
76
76
|
"signal-exit": "^4.1.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@repo/tsconfig": "0.
|
|
79
|
+
"@repo/tsconfig": "0.1.0",
|
|
80
80
|
"@types/mute-stream": "^0.0.4",
|
|
81
81
|
"@types/node": "^26.1.1",
|
|
82
82
|
"typescript": "^7.0.2"
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
|
-
"node": "
|
|
93
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
94
94
|
},
|
|
95
95
|
"main": "./dist/index.js",
|
|
96
96
|
"types": "./dist/index.d.ts",
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
98
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Inquirer multiline editor prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/external-editor": "^3.0
|
|
72
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/external-editor": "^3.1.0",
|
|
72
|
+
"@inquirer/type": "4.3.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@repo/tsconfig": "0.
|
|
75
|
+
"@repo/tsconfig": "0.1.0",
|
|
76
76
|
"typescript": "^7.0.2"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": "
|
|
87
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
88
88
|
},
|
|
89
89
|
"main": "./dist/index.js",
|
|
90
90
|
"types": "./dist/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
92
92
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/expand",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Inquirer checkbox prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/type": "4.3.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@repo/tsconfig": "0.
|
|
74
|
+
"@repo/tsconfig": "0.1.0",
|
|
75
75
|
"typescript": "^7.0.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
|
-
"node": "
|
|
86
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
91
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/external-editor",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"iconv-lite": "^0.7.2"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@repo/tsconfig": "0.
|
|
79
|
+
"@repo/tsconfig": "0.1.0",
|
|
80
80
|
"@types/chardet": "^1.0.0",
|
|
81
81
|
"@types/node": "^26.1.1",
|
|
82
82
|
"typescript": "^7.0.2"
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
93
|
-
"node": "
|
|
93
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
94
94
|
},
|
|
95
95
|
"main": "./dist/index.js",
|
|
96
96
|
"types": "./dist/index.d.ts",
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
98
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/figures",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Vendored version of figures, for CJS compatibility",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"tsc": "tsc"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@repo/tsconfig": "0.
|
|
71
|
+
"@repo/tsconfig": "0.1.0",
|
|
72
72
|
"@types/node": "^26.1.1",
|
|
73
73
|
"typescript": "^7.0.2"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": "
|
|
76
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
77
77
|
},
|
|
78
78
|
"main": "./dist/index.js",
|
|
79
79
|
"types": "./dist/index.d.ts",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
81
81
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/input",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Inquirer input text prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/type": "4.3.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@repo/tsconfig": "0.
|
|
74
|
+
"@repo/tsconfig": "0.1.0",
|
|
75
75
|
"typescript": "^7.0.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
|
-
"node": "
|
|
86
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
91
91
|
}
|
|
@@ -37,8 +37,13 @@ export default createPrompt((config, done) => {
|
|
|
37
37
|
if (required || answer != null) {
|
|
38
38
|
isValid = validateNumber(answer, { min, max, step });
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
// An optional prompt left empty skips the range checks above but
|
|
41
|
+
// still calls validate with `undefined`, so it can reject an empty
|
|
42
|
+
// answer.
|
|
43
|
+
if (isValid === true) {
|
|
44
|
+
isValid = await validate(
|
|
45
|
+
// oxlint-disable-next-line typescript/no-unsafe-type-assertion
|
|
46
|
+
answer);
|
|
42
47
|
}
|
|
43
48
|
if (isValid === true) {
|
|
44
49
|
setValue(String(answer ?? ''));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/number",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Inquirer number prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/type": "4.3.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@repo/tsconfig": "0.
|
|
74
|
+
"@repo/tsconfig": "0.1.0",
|
|
75
75
|
"typescript": "^7.0.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
|
-
"node": "
|
|
86
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
91
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/password",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Inquirer password prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0
|
|
71
|
-
"@inquirer/core": "^12.0
|
|
72
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/ansi": "^2.1.0",
|
|
71
|
+
"@inquirer/core": "^12.1.0",
|
|
72
|
+
"@inquirer/type": "4.3.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@repo/tsconfig": "0.
|
|
75
|
+
"@repo/tsconfig": "0.1.0",
|
|
76
76
|
"typescript": "^7.0.2"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": "
|
|
87
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
88
88
|
},
|
|
89
89
|
"main": "./dist/index.js",
|
|
90
90
|
"types": "./dist/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
92
92
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createPrompt, useMemo, useState, useKeypress, usePrefix, isDownKey, isEnterKey, isUpKey, Separator, makeTheme, ValidationError, } from '@inquirer/core';
|
|
2
2
|
import { styleText } from 'node:util';
|
|
3
|
-
const numberRegex =
|
|
3
|
+
const numberRegex = /^\d+$/;
|
|
4
4
|
const rawlistTheme = {
|
|
5
5
|
style: {
|
|
6
6
|
description: (text) => styleText('cyan', text),
|
|
@@ -41,8 +41,8 @@ function getSelectedChoice(input, choices) {
|
|
|
41
41
|
const trimmedInput = input.trim();
|
|
42
42
|
selectedChoice = selectableChoices.find((choice) => choice.key === input || choice.key === trimmedInput);
|
|
43
43
|
// If no custom key match and input is numeric, try 1-based index
|
|
44
|
-
if (!selectedChoice && numberRegex.test(
|
|
45
|
-
const answer = Number.parseInt(
|
|
44
|
+
if (!selectedChoice && numberRegex.test(trimmedInput)) {
|
|
45
|
+
const answer = Number.parseInt(trimmedInput, 10) - 1;
|
|
46
46
|
selectedChoice = selectableChoices[answer];
|
|
47
47
|
}
|
|
48
48
|
return selectedChoice
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/rawlist",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0",
|
|
4
4
|
"description": "Inquirer rawlist prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/type": "4.3.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@repo/tsconfig": "0.
|
|
74
|
+
"@repo/tsconfig": "0.1.0",
|
|
75
75
|
"typescript": "^7.0.2"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
|
-
"node": "
|
|
86
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
87
87
|
},
|
|
88
88
|
"main": "./dist/index.js",
|
|
89
89
|
"types": "./dist/index.d.ts",
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
91
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/search",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Inquirer search prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/core": "^12.0
|
|
71
|
-
"@inquirer/figures": "^2.0
|
|
72
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/core": "^12.1.0",
|
|
71
|
+
"@inquirer/figures": "^2.1.0",
|
|
72
|
+
"@inquirer/type": "4.3.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@repo/tsconfig": "0.
|
|
75
|
+
"@repo/tsconfig": "0.1.0",
|
|
76
76
|
"typescript": "^7.0.2"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": "
|
|
87
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
88
88
|
},
|
|
89
89
|
"main": "./dist/index.js",
|
|
90
90
|
"types": "./dist/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
92
92
|
}
|
|
@@ -2,6 +2,10 @@ import { createPrompt, useState, useKeypress, usePrefix, usePagination, useRef,
|
|
|
2
2
|
import { cursorHide } from '@inquirer/ansi';
|
|
3
3
|
import { styleText } from 'node:util';
|
|
4
4
|
import figures from '@inquirer/figures';
|
|
5
|
+
// Only treat the typed line as a numeric index when it's plain digits from
|
|
6
|
+
// start to finish, so JS-numeric forms like `2e1` or `0x2` don't jump the
|
|
7
|
+
// cursor to a bogus index.
|
|
8
|
+
const numberLineRegex = /^\d+$/;
|
|
5
9
|
const selectTheme = {
|
|
6
10
|
icon: { cursor: figures.pointer },
|
|
7
11
|
style: {
|
|
@@ -103,7 +107,7 @@ export default createPrompt((config, done) => {
|
|
|
103
107
|
setActive(next);
|
|
104
108
|
}
|
|
105
109
|
}
|
|
106
|
-
else if (isNumberKey(key) &&
|
|
110
|
+
else if (isNumberKey(key) && numberLineRegex.test(rl.line)) {
|
|
107
111
|
const selectedIndex = Number(rl.line) - 1;
|
|
108
112
|
// Find the nth item (ignoring separators)
|
|
109
113
|
let selectableIndex = -1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/select",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Inquirer select/list prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -67,13 +67,13 @@
|
|
|
67
67
|
"tsc": "tsc"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@inquirer/ansi": "^2.0
|
|
71
|
-
"@inquirer/core": "^12.0
|
|
72
|
-
"@inquirer/figures": "^2.0
|
|
73
|
-
"@inquirer/type": "4.
|
|
70
|
+
"@inquirer/ansi": "^2.1.0",
|
|
71
|
+
"@inquirer/core": "^12.1.0",
|
|
72
|
+
"@inquirer/figures": "^2.1.0",
|
|
73
|
+
"@inquirer/type": "4.3.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@repo/tsconfig": "0.
|
|
76
|
+
"@repo/tsconfig": "0.1.0",
|
|
77
77
|
"typescript": "^7.0.2"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
|
-
"node": "
|
|
88
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
89
89
|
},
|
|
90
90
|
"main": "./dist/index.js",
|
|
91
91
|
"types": "./dist/index.d.ts",
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
93
93
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/type",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Inquirer core TS types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"tsc": "tsc"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@repo/tsconfig": "0.
|
|
71
|
+
"@repo/tsconfig": "0.1.0",
|
|
72
72
|
"typescript": "^7.0.2"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
|
-
"node": "
|
|
83
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
84
84
|
},
|
|
85
85
|
"main": "./dist/index.js",
|
|
86
86
|
"types": "./dist/index.d.ts",
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "00ded073f80523aaeaf8a903bbfb535994990475"
|
|
88
88
|
}
|
|
@@ -36,6 +36,8 @@ export interface EarlyAccessFeature {
|
|
|
36
36
|
description: string;
|
|
37
37
|
stage: 'concept' | 'alpha' | 'beta';
|
|
38
38
|
documentationUrl: string | null;
|
|
39
|
+
/** URL of an image that shows the feature, such as a screenshot. Empty when the feature has no image. */
|
|
40
|
+
imageUrl?: string | null;
|
|
39
41
|
payload: JsonType;
|
|
40
42
|
flagKey: string | null;
|
|
41
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-flags.d.ts","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,MAAM,oBAAoB,GAAG,CAC/B,KAAK,EAAE,MAAM,EAAE,EACf,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EAC1C,OAAO,CAAC,EAAE;IACN,aAAa,CAAC,EAAE,OAAO,CAAA;CAC1B,KACA,IAAI,CAAA;AAET,MAAM,MAAM,iBAAiB,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,OAAO,CAAA;IAEhB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACtC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAE3B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACrC,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACpC,QAAQ,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACzC,MAAM,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,8FAA8F;IAC9F,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB,gBAAg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