vercel 59.0.0 → 59.1.3
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/chunks/{add-SQ6ERCFZ.js → add-CUGPQYFW.js} +8 -8
- package/dist/chunks/{add-QZUQNL2C.js → add-PP3PJPJV.js} +5 -5
- package/dist/chunks/{add-3LO3UMYC.js → add-PRG4KKYH.js} +9 -11
- package/dist/chunks/{build-WMUKZEFH.js → build-T22GMLY6.js} +8 -8
- package/dist/chunks/{chunk-ELA5VN3A.js → chunk-2MF3ZAVW.js} +13 -4
- package/dist/chunks/{chunk-ZFTRB6AB.js → chunk-43DD2KNM.js} +1 -1
- package/dist/chunks/{chunk-N5DK7EMY.js → chunk-4HI7G6KG.js} +1 -1
- package/dist/chunks/{chunk-DQDJVHA5.js → chunk-4JKZ7SRX.js} +4 -4
- package/dist/chunks/{chunk-ZRWSSPW5.js → chunk-57G6HBJ4.js} +2 -2
- package/dist/chunks/{chunk-RWRSUGXY.js → chunk-5DVMXOFT.js} +2 -2
- package/dist/chunks/{chunk-SHR6DYA5.js → chunk-7NQLRE5V.js} +1 -1
- package/dist/chunks/{chunk-JLWQWYKO.js → chunk-BBSS3XIW.js} +2 -4
- package/dist/chunks/{chunk-V42UVZDX.js → chunk-BCZFZETZ.js} +5 -5
- package/dist/chunks/{chunk-MZ3L3SGZ.js → chunk-DAWJOQF6.js} +4 -6
- package/dist/chunks/{chunk-W34XLJ44.js → chunk-DEB45ND4.js} +3 -3
- package/dist/chunks/{chunk-QGQX7BYN.js → chunk-DOMLWKKZ.js} +38 -15
- package/dist/chunks/{chunk-TEQKKTJQ.js → chunk-F7OXZLY2.js} +2 -2
- package/dist/chunks/{chunk-J6LK45HT.js → chunk-GFCTRJI5.js} +16 -2
- package/dist/chunks/{chunk-O26N2UPI.js → chunk-GGPE5377.js} +1 -1
- package/dist/chunks/{chunk-4LDQIDRM.js → chunk-GMWRTZVZ.js} +9 -1
- package/dist/chunks/{chunk-LT5UQNTC.js → chunk-IKKUCZE7.js} +3 -3
- package/dist/chunks/{chunk-XIG4GH62.js → chunk-JYEO6OJS.js} +188 -102
- package/dist/chunks/{chunk-DMLU5KQE.js → chunk-KTLFN5FV.js} +1 -1
- package/dist/chunks/{chunk-L6NIIAB7.js → chunk-LNVZ3T7X.js} +6 -8
- package/dist/chunks/{chunk-UQVOFOP2.js → chunk-M34ZRNDQ.js} +1 -1
- package/dist/chunks/{chunk-2SFMOCWR.js → chunk-PD7ZUXE7.js} +1 -1
- package/dist/chunks/chunk-QCVKGY2A.js +151 -0
- package/dist/chunks/{chunk-S3H7ITUR.js → chunk-QD5NX7RG.js} +1 -1
- package/dist/chunks/{chunk-4N7XLXM2.js → chunk-QQ6PH4RY.js} +1 -0
- package/dist/chunks/{chunk-A5KP5HAI.js → chunk-RIB4S2IB.js} +10 -1
- package/dist/chunks/{chunk-ZX2FSPWV.js → chunk-SJQEGGH7.js} +4 -4
- package/dist/chunks/{chunk-5KI3SUJI.js → chunk-SOKQBFF7.js} +609 -73
- package/dist/chunks/{chunk-PSZQNYEV.js → chunk-SQGMTRZD.js} +91 -43
- package/dist/chunks/{chunk-TJJ562C5.js → chunk-TJLBCLEX.js} +15 -0
- package/dist/chunks/{chunk-WE3TFESA.js → chunk-TM3F7PLR.js} +2 -2
- package/dist/chunks/{chunk-SD2QZHZA.js → chunk-TNKRSTMB.js} +1 -1
- package/dist/chunks/{chunk-KT4XXKJK.js → chunk-VAFU7DXZ.js} +195 -3
- package/dist/chunks/{chunk-RQ7H43CJ.js → chunk-VDJN4WKH.js} +1 -1
- package/dist/chunks/{chunk-3R5JGMHV.js → chunk-VE545BR3.js} +4473 -2796
- package/dist/chunks/{chunk-B3JTF4CF.js → chunk-WC7IINFV.js} +10 -1
- package/dist/chunks/{chunk-SQAQED4U.js → chunk-XZLI27ES.js} +2 -2
- package/dist/chunks/{chunk-CMR5KQVR.js → chunk-ZUVJISHS.js} +3 -3
- package/dist/chunks/{clear-W2B4CHTP.js → clear-Z4IKUIN7.js} +5 -5
- package/dist/chunks/{compile-vercel-config-HTWOS7DZ.js → compile-vercel-config-PSVXFAZW.js} +3 -3
- package/dist/chunks/{config-EGJY4UUE.js → config-M5GMZ2X5.js} +8 -8
- package/dist/chunks/{constants-WEQVJSYS.js → constants-YMCRE6IG.js} +1 -1
- package/dist/chunks/{delete-BVMID4W2.js → delete-5GRRDJSF.js} +4 -4
- package/dist/chunks/{delete-6I7V5AGV.js → delete-P4XIBY7T.js} +5 -5
- package/dist/chunks/{disable-I54JNXJE.js → disable-NT5NYVO7.js} +4 -4
- package/dist/chunks/{discard-6TSJJCUQ.js → discard-TBNIEAJZ.js} +4 -4
- package/dist/chunks/{edit-YS2SWHFJ.js → edit-DJ6MT6HA.js} +5 -5
- package/dist/chunks/{edit-KCWYQ2YT.js → edit-UF3D2CCH.js} +5 -5
- package/dist/chunks/{enable-RYXRIGQN.js → enable-JTQBQMBO.js} +4 -4
- package/dist/chunks/{export-G3NYOADE.js → export-OKMRGRVM.js} +4 -4
- package/dist/chunks/{image-RJBLSUES.js → image-ARUJH4H5.js} +4 -4
- package/dist/chunks/{import-builders-M6F3F4DH.js → import-builders-3NTMZM64.js} +6 -4
- package/dist/chunks/{inspect-YTCVTZHY.js → inspect-5NETOGAI.js} +6 -7
- package/dist/chunks/{inspect-AE4YIJYS.js → inspect-CHFKZKKP.js} +5 -5
- package/dist/chunks/{inspect-Z74NZZ2A.js → inspect-FXZTQY62.js} +6 -6
- package/dist/chunks/{inspect-E7TBGK7D.js → inspect-PTXIBSYW.js} +8 -8
- package/dist/chunks/{inspect-7XUEVBDM.js → inspect-UXP2HDES.js} +5 -5
- package/dist/chunks/{list-SGPLL4KJ.js → list-2WMIVJ2R.js} +15 -10
- package/dist/chunks/{list-KJNC3NOE.js → list-ADI55WKW.js} +6 -7
- package/dist/chunks/{list-WXS2AFQD.js → list-DYCZA2VX.js} +3 -3
- package/dist/chunks/{login-XD3CFPBF.js → login-YCSIQG6B.js} +8 -8
- package/dist/chunks/{ls-5DSOTTYX.js → ls-2TKUIUK4.js} +11 -12
- package/dist/chunks/{ls-KE5I7BZO.js → ls-EOMIQLRH.js} +11 -12
- package/dist/chunks/{ls-SVSO3677.js → ls-PQFDGOJL.js} +7 -8
- package/dist/chunks/{ls-5A4327XJ.js → ls-RZVTIP5U.js} +11 -12
- package/dist/chunks/{ls-NBKSDTWX.js → ls-VIOMDUGW.js} +14 -15
- package/dist/chunks/{open-M2MOAE2K.js → open-JYPWOXQD.js} +5 -5
- package/dist/chunks/{permissions-ADPY554K.js → permissions-SGJWGEVD.js} +6 -6
- package/dist/chunks/{publish-OBIOOL7T.js → publish-ZUQHJAXL.js} +4 -4
- package/dist/chunks/{push-5237XBTO.js → push-XMVKG5A5.js} +8 -8
- package/dist/chunks/{query-ILL74HIA.js → query-ZLJZEGZB.js} +237 -49
- package/dist/chunks/{reorder-GAUAO4LW.js → reorder-NVHDWMRU.js} +4 -4
- package/dist/chunks/{reply-IZJHEULD.js → reply-PUUPUQ3V.js} +5 -5
- package/dist/chunks/{resolve-HTIT7CGL.js → resolve-5U2LJVE6.js} +5 -5
- package/dist/chunks/{restore-IKL74HSE.js → restore-OXIUY2UI.js} +4 -4
- package/dist/chunks/{rm-QAVNP5KX.js → rm-3IOCBNPE.js} +5 -5
- package/dist/chunks/{rm-5Y6BL47T.js → rm-BZNKJRXU.js} +5 -5
- package/dist/chunks/{rm-C37ZORQV.js → rm-OUI4ZB5R.js} +5 -5
- package/dist/chunks/{rm-XJU5SBGH.js → rm-Z2KYJ7XT.js} +8 -8
- package/dist/chunks/{rule-inspect-DYHWWROS.js → rule-inspect-ZBJJCDQV.js} +7 -8
- package/dist/chunks/{rules-M6EJ2Y6S.js → rules-HEGAXXUN.js} +8 -8
- package/dist/chunks/{schema-LLBDZNIC.js → schema-7GVL3BNP.js} +63 -31
- package/dist/chunks/{schema-ZNPIMQL5.js → schema-ZYIJYA2E.js} +2 -3
- package/dist/chunks/{tags-HR5RVQFA.js → tags-3SCWCMNQ.js} +3 -3
- package/dist/chunks/{types-UWI4HETD.js → types-AJHILHO5.js} +2 -4
- package/dist/chunks/{update-6A5V6HBH.js → update-YR2GCCJN.js} +7 -8
- package/dist/commands/build/index.js +10 -15
- package/dist/commands/deploy/index.js +310 -302
- package/dist/commands/dev/index.js +254 -181
- package/dist/commands/env/index.js +15 -16
- package/dist/commands/link/index.js +14 -20
- package/dist/commands/list/index.js +7 -9
- package/dist/commands-bulk.js +4408 -1246
- package/dist/help.js +1 -1
- package/dist/index.js +30 -22
- package/dist/version.mjs +1 -1
- package/package.json +41 -40
- package/dist/chunks/chunk-BGILSKZ5.js +0 -85
- package/dist/chunks/chunk-GFG6QDIE.js +0 -101
- package/dist/chunks/chunk-KBEX5MYS.js +0 -208
- package/dist/chunks/chunk-PBECT5BN.js +0 -107
- package/dist/chunks/chunk-PVCJIMVY.js +0 -1552
- /package/dist/{commands/dev/next-dev-websocket-shim-preload.cjs → runtime-assets/node-preloads/next-dev-websocket.cjs} +0 -0
package/dist/help.js
CHANGED
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
help
|
|
9
|
-
} from "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-QQ6PH4RY.js";
|
|
10
10
|
import "./chunks/chunk-S7KYDPEM.js";
|
|
11
11
|
import "./chunks/chunk-TZ2YI2VH.js";
|
|
12
12
|
export {
|
package/dist/index.js
CHANGED
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
BUILD_LABEL
|
|
9
|
-
} from "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-GGPE5377.js";
|
|
10
10
|
import {
|
|
11
11
|
help
|
|
12
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-QQ6PH4RY.js";
|
|
13
13
|
import {
|
|
14
14
|
box,
|
|
15
15
|
canAutoUpdate,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
matchesCliApiTag,
|
|
21
21
|
setAutoUpdate,
|
|
22
22
|
tryOpenApiFallback
|
|
23
|
-
} from "./chunks/chunk-
|
|
23
|
+
} from "./chunks/chunk-DOMLWKKZ.js";
|
|
24
24
|
import "./chunks/chunk-FGDKMNEN.js";
|
|
25
25
|
import {
|
|
26
26
|
getUpdateCommand
|
|
27
|
-
} from "./chunks/chunk-
|
|
27
|
+
} from "./chunks/chunk-M34ZRNDQ.js";
|
|
28
28
|
import {
|
|
29
29
|
promptMissingCredentials
|
|
30
|
-
} from "./chunks/chunk-
|
|
30
|
+
} from "./chunks/chunk-DEB45ND4.js";
|
|
31
31
|
import {
|
|
32
32
|
require_ci_info
|
|
33
|
-
} from "./chunks/chunk-
|
|
33
|
+
} from "./chunks/chunk-4JKZ7SRX.js";
|
|
34
34
|
import {
|
|
35
35
|
Client,
|
|
36
36
|
getAuthConfigFilePath,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
readAuthConfigFile,
|
|
39
39
|
readConfigFile,
|
|
40
40
|
writeToConfigFile
|
|
41
|
-
} from "./chunks/chunk-
|
|
41
|
+
} from "./chunks/chunk-DAWJOQF6.js";
|
|
42
42
|
import {
|
|
43
43
|
getGlobalPathConfig,
|
|
44
44
|
highlight
|
|
@@ -50,14 +50,14 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
commandNames,
|
|
52
52
|
commands
|
|
53
|
-
} from "./chunks/chunk-
|
|
54
|
-
import "./chunks/chunk-
|
|
55
|
-
import "./chunks/chunk-
|
|
56
|
-
import "./chunks/chunk-
|
|
57
|
-
import "./chunks/chunk-
|
|
53
|
+
} from "./chunks/chunk-SOKQBFF7.js";
|
|
54
|
+
import "./chunks/chunk-2MF3ZAVW.js";
|
|
55
|
+
import "./chunks/chunk-WC7IINFV.js";
|
|
56
|
+
import "./chunks/chunk-RIB4S2IB.js";
|
|
57
|
+
import "./chunks/chunk-GFCTRJI5.js";
|
|
58
58
|
import "./chunks/chunk-CSJBZKC5.js";
|
|
59
59
|
import "./chunks/chunk-M22O6CYY.js";
|
|
60
|
-
import "./chunks/chunk-
|
|
60
|
+
import "./chunks/chunk-GMWRTZVZ.js";
|
|
61
61
|
import "./chunks/chunk-3KNPVXJ3.js";
|
|
62
62
|
import "./chunks/chunk-3L2YLLHC.js";
|
|
63
63
|
import "./chunks/chunk-UMA66MKW.js";
|
|
@@ -66,10 +66,8 @@ import "./chunks/chunk-O5GNPPTU.js";
|
|
|
66
66
|
import {
|
|
67
67
|
require_semver
|
|
68
68
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
69
|
-
import "./chunks/chunk-
|
|
70
|
-
import "./chunks/chunk-
|
|
71
|
-
import "./chunks/chunk-ZX2FSPWV.js";
|
|
72
|
-
import "./chunks/chunk-KT4XXKJK.js";
|
|
69
|
+
import "./chunks/chunk-7NQLRE5V.js";
|
|
70
|
+
import "./chunks/chunk-SJQEGGH7.js";
|
|
73
71
|
import {
|
|
74
72
|
getLinkFromDir,
|
|
75
73
|
getScope,
|
|
@@ -83,17 +81,17 @@ import {
|
|
|
83
81
|
require_dist as require_dist2,
|
|
84
82
|
require_lib,
|
|
85
83
|
resolveAppTokenScope
|
|
86
|
-
} from "./chunks/chunk-
|
|
84
|
+
} from "./chunks/chunk-VE545BR3.js";
|
|
87
85
|
import {
|
|
88
86
|
TelemetryClient,
|
|
89
87
|
TelemetryEventStore,
|
|
90
88
|
isNativeBinaryInstall
|
|
91
89
|
} from "./chunks/chunk-ECCWJHC6.js";
|
|
92
|
-
import "./chunks/chunk-
|
|
90
|
+
import "./chunks/chunk-TJLBCLEX.js";
|
|
93
91
|
import "./chunks/chunk-GGP5R3FU.js";
|
|
94
92
|
import {
|
|
95
93
|
printError
|
|
96
|
-
} from "./chunks/chunk-
|
|
94
|
+
} from "./chunks/chunk-VAFU7DXZ.js";
|
|
97
95
|
import {
|
|
98
96
|
getArgs,
|
|
99
97
|
parseArguments
|
|
@@ -608,7 +606,7 @@ async function getSentry() {
|
|
|
608
606
|
if (!sentry) {
|
|
609
607
|
const [SentryModule, { SENTRY_DSN }, { default: pkg }] = await Promise.all([
|
|
610
608
|
import("./chunks/cjs-DV4RM7XU.js"),
|
|
611
|
-
import("./chunks/constants-
|
|
609
|
+
import("./chunks/constants-YMCRE6IG.js"),
|
|
612
610
|
import("./chunks/pkg-56KRLZ5K.js")
|
|
613
611
|
]);
|
|
614
612
|
const Sentry = "init" in SentryModule ? SentryModule : SentryModule.default;
|
|
@@ -1008,6 +1006,12 @@ var RootTelemetryClient = class extends TelemetryClient {
|
|
|
1008
1006
|
value: actual
|
|
1009
1007
|
});
|
|
1010
1008
|
}
|
|
1009
|
+
trackCliCommandKms(actual) {
|
|
1010
|
+
this.trackCliCommand({
|
|
1011
|
+
command: "kms",
|
|
1012
|
+
value: actual
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1011
1015
|
trackCliCommandLink(actual) {
|
|
1012
1016
|
this.trackCliCommand({
|
|
1013
1017
|
command: "link",
|
|
@@ -1545,7 +1549,7 @@ var main = async () => {
|
|
|
1545
1549
|
}
|
|
1546
1550
|
const targetOrSubcommand = parsedArgs.args[2];
|
|
1547
1551
|
const subSubCommand = parsedArgs.args[3];
|
|
1548
|
-
const betaCommands = ["api", "crons", "curl", "webhooks"];
|
|
1552
|
+
const betaCommands = ["api", "crons", "curl", "kms", "webhooks"];
|
|
1549
1553
|
const shortBuildLabel = BUILD_LABEL ? ` (${BUILD_LABEL.split(" ")[0]})` : "";
|
|
1550
1554
|
const versionBanner = isNativeBinaryInstall() ? `${getTitleName()} CLI ${pkg_default.version}${shortBuildLabel}` : `${getTitleName()} CLI ${pkg_default.version}${shortBuildLabel} (Node.js ${process.versions.node})`;
|
|
1551
1555
|
const msg = betaCommands.includes(targetOrSubcommand) ? `${versionBanner} | ${targetOrSubcommand} is in beta \u2014 https://vercel.com/feedback` : versionBanner;
|
|
@@ -2178,6 +2182,10 @@ var main = async () => {
|
|
|
2178
2182
|
telemetry.trackCliCommandIntegrationResource(userSuppliedSubCommand);
|
|
2179
2183
|
func = (await import("./commands-bulk.js")).integrationResource;
|
|
2180
2184
|
break;
|
|
2185
|
+
case "kms":
|
|
2186
|
+
telemetry.trackCliCommandKms(userSuppliedSubCommand);
|
|
2187
|
+
func = (await import("./commands-bulk.js")).kms;
|
|
2188
|
+
break;
|
|
2181
2189
|
case "mcp":
|
|
2182
2190
|
func = (await import("./commands-bulk.js")).mcp;
|
|
2183
2191
|
break;
|
package/dist/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "59.
|
|
1
|
+
export const version = "59.1.3";
|
|
2
2
|
export const buildLabel = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "59.
|
|
3
|
+
"version": "59.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,50 +35,51 @@
|
|
|
35
35
|
"undici": "5.29.0",
|
|
36
36
|
"uuid": "14.0.1",
|
|
37
37
|
"zod": "4.1.11",
|
|
38
|
-
"@vercel/backends": "0.8.
|
|
39
|
-
"@vercel/build-utils": "14.1.
|
|
38
|
+
"@vercel/backends": "0.8.38",
|
|
39
|
+
"@vercel/build-utils": "14.1.1",
|
|
40
40
|
"@vercel/cli-auth": "0.3.4",
|
|
41
41
|
"@vercel/cli-config": "0.2.3",
|
|
42
42
|
"@vercel/container": "0.2.0",
|
|
43
43
|
"@vercel/detect-agent": "1.2.5",
|
|
44
|
-
"@vercel/elysia": "0.1.
|
|
45
|
-
"@vercel/express": "0.1.
|
|
46
|
-
"@vercel/fastify": "0.1.
|
|
44
|
+
"@vercel/elysia": "0.1.115",
|
|
45
|
+
"@vercel/express": "0.1.129",
|
|
46
|
+
"@vercel/fastify": "0.1.118",
|
|
47
47
|
"@vercel/go": "3.11.0",
|
|
48
|
-
"@vercel/h3": "0.1.
|
|
49
|
-
"@vercel/hono": "0.2.
|
|
50
|
-
"@vercel/hydrogen": "1.4.
|
|
51
|
-
"@vercel/koa": "0.1.
|
|
52
|
-
"@vercel/nestjs": "0.2.
|
|
53
|
-
"@vercel/next": "4.21.
|
|
54
|
-
"@vercel/node": "5.10.
|
|
55
|
-
"@vercel/python": "6.
|
|
56
|
-
"@vercel/
|
|
57
|
-
"@vercel/
|
|
48
|
+
"@vercel/h3": "0.1.124",
|
|
49
|
+
"@vercel/hono": "0.2.118",
|
|
50
|
+
"@vercel/hydrogen": "1.4.2",
|
|
51
|
+
"@vercel/koa": "0.1.98",
|
|
52
|
+
"@vercel/nestjs": "0.2.119",
|
|
53
|
+
"@vercel/next": "4.21.6",
|
|
54
|
+
"@vercel/node": "5.10.1",
|
|
55
|
+
"@vercel/python": "6.57.1",
|
|
56
|
+
"@vercel/python-analysis": "0.13.2",
|
|
57
|
+
"@vercel/redwood": "2.5.2",
|
|
58
|
+
"@vercel/remix-builder": "5.9.5",
|
|
58
59
|
"@vercel/ruby": "2.5.1",
|
|
59
60
|
"@vercel/rust": "1.4.2",
|
|
60
|
-
"@vercel/static-build": "2.12.
|
|
61
|
+
"@vercel/static-build": "2.12.7"
|
|
61
62
|
},
|
|
62
63
|
"builders": {
|
|
63
|
-
"@vercel/backends": "0.8.
|
|
64
|
+
"@vercel/backends": "0.8.38",
|
|
64
65
|
"@vercel/container": "0.2.0",
|
|
65
|
-
"@vercel/elysia": "0.1.
|
|
66
|
-
"@vercel/express": "0.1.
|
|
67
|
-
"@vercel/fastify": "0.1.
|
|
66
|
+
"@vercel/elysia": "0.1.115",
|
|
67
|
+
"@vercel/express": "0.1.129",
|
|
68
|
+
"@vercel/fastify": "0.1.118",
|
|
68
69
|
"@vercel/go": "3.11.0",
|
|
69
|
-
"@vercel/h3": "0.1.
|
|
70
|
-
"@vercel/hono": "0.2.
|
|
71
|
-
"@vercel/hydrogen": "1.4.
|
|
72
|
-
"@vercel/koa": "0.1.
|
|
73
|
-
"@vercel/nestjs": "0.2.
|
|
74
|
-
"@vercel/next": "4.21.
|
|
75
|
-
"@vercel/node": "5.10.
|
|
76
|
-
"@vercel/python": "6.
|
|
77
|
-
"@vercel/redwood": "2.5.
|
|
78
|
-
"@vercel/remix-builder": "5.9.
|
|
70
|
+
"@vercel/h3": "0.1.124",
|
|
71
|
+
"@vercel/hono": "0.2.118",
|
|
72
|
+
"@vercel/hydrogen": "1.4.2",
|
|
73
|
+
"@vercel/koa": "0.1.98",
|
|
74
|
+
"@vercel/nestjs": "0.2.119",
|
|
75
|
+
"@vercel/next": "4.21.6",
|
|
76
|
+
"@vercel/node": "5.10.1",
|
|
77
|
+
"@vercel/python": "6.57.1",
|
|
78
|
+
"@vercel/redwood": "2.5.2",
|
|
79
|
+
"@vercel/remix-builder": "5.9.5",
|
|
79
80
|
"@vercel/ruby": "2.5.1",
|
|
80
81
|
"@vercel/rust": "1.4.2",
|
|
81
|
-
"@vercel/static-build": "2.12.
|
|
82
|
+
"@vercel/static-build": "2.12.7"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
85
|
"@edge-runtime/node-utils": "2.3.0",
|
|
@@ -204,17 +205,17 @@
|
|
|
204
205
|
"@vercel-internals/constants": "1.0.4",
|
|
205
206
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
206
207
|
"@vercel-internals/types": "3.0.6",
|
|
207
|
-
"@vercel/client": "18.2.
|
|
208
|
+
"@vercel/client": "18.2.12",
|
|
208
209
|
"@vercel/frameworks": "3.31.0",
|
|
209
|
-
"@vercel/
|
|
210
|
-
"@vercel/
|
|
211
|
-
"@vercel/
|
|
210
|
+
"@vercel/fs-detectors": "6.15.8",
|
|
211
|
+
"@vercel/routing-utils": "6.5.0",
|
|
212
|
+
"@vercel/error-utils": "2.2.1"
|
|
212
213
|
},
|
|
213
214
|
"optionalDependencies": {
|
|
214
|
-
"@vercel/vc-native-darwin-arm64": "59.
|
|
215
|
-
"@vercel/vc-native-darwin-x64": "59.
|
|
216
|
-
"@vercel/vc-native-linux-arm64": "59.
|
|
217
|
-
"@vercel/vc-native-linux-x64": "59.
|
|
215
|
+
"@vercel/vc-native-darwin-arm64": "59.1.3",
|
|
216
|
+
"@vercel/vc-native-darwin-x64": "59.1.3",
|
|
217
|
+
"@vercel/vc-native-linux-arm64": "59.1.3",
|
|
218
|
+
"@vercel/vc-native-linux-x64": "59.1.3"
|
|
218
219
|
},
|
|
219
220
|
"scripts": {
|
|
220
221
|
"test": "node scripts/test.mjs --run",
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
VERCEL_DIR
|
|
9
|
-
} from "./chunk-3R5JGMHV.js";
|
|
10
|
-
import {
|
|
11
|
-
parseArguments
|
|
12
|
-
} from "./chunk-XLKFJPMT.js";
|
|
13
|
-
import {
|
|
14
|
-
ConflictingConfigFiles,
|
|
15
|
-
DeprecatedNowJson,
|
|
16
|
-
InvalidLocalConfig
|
|
17
|
-
} from "./chunk-SOFC4MLS.js";
|
|
18
|
-
|
|
19
|
-
// src/util/input/prompt-cancellation.ts
|
|
20
|
-
var PromptCanceledError = class extends Error {
|
|
21
|
-
constructor() {
|
|
22
|
-
super("Prompt canceled");
|
|
23
|
-
this.name = "PromptCanceledError";
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
var PromptBackError = class extends Error {
|
|
27
|
-
constructor() {
|
|
28
|
-
super("Prompt back");
|
|
29
|
-
this.name = "PromptBackError";
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
function isPromptBackError(error) {
|
|
33
|
-
return error instanceof PromptBackError;
|
|
34
|
-
}
|
|
35
|
-
function isPromptCanceledError(error) {
|
|
36
|
-
if (error instanceof PromptCanceledError) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
return error instanceof Error && error.message.includes("User force closed the prompt");
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// src/util/config/local-path.ts
|
|
43
|
-
import path from "path";
|
|
44
|
-
import { existsSync } from "fs";
|
|
45
|
-
function getLocalPathConfig(prefix) {
|
|
46
|
-
const argv = parseArguments(process.argv.slice(2), {}, { permissive: true });
|
|
47
|
-
const customPath = argv.flags["--local-config"];
|
|
48
|
-
if (customPath) {
|
|
49
|
-
if (typeof customPath !== "string") {
|
|
50
|
-
throw new InvalidLocalConfig(customPath);
|
|
51
|
-
}
|
|
52
|
-
return path.resolve(process.cwd(), customPath);
|
|
53
|
-
}
|
|
54
|
-
const vercelConfigPath = path.join(prefix, "vercel.json");
|
|
55
|
-
const vercelTomlPath = path.join(prefix, "vercel.toml");
|
|
56
|
-
const nowConfigPath = path.join(prefix, "now.json");
|
|
57
|
-
const vercelConfigExists = existsSync(vercelConfigPath);
|
|
58
|
-
const vercelTomlExists = existsSync(vercelTomlPath);
|
|
59
|
-
const nowConfigExists = existsSync(nowConfigPath);
|
|
60
|
-
const foundConfigs = [];
|
|
61
|
-
if (vercelConfigExists)
|
|
62
|
-
foundConfigs.push(vercelConfigPath);
|
|
63
|
-
if (vercelTomlExists)
|
|
64
|
-
foundConfigs.push(vercelTomlPath);
|
|
65
|
-
if (nowConfigExists) {
|
|
66
|
-
throw new DeprecatedNowJson(nowConfigPath);
|
|
67
|
-
}
|
|
68
|
-
if (foundConfigs.length > 1) {
|
|
69
|
-
throw new ConflictingConfigFiles(foundConfigs);
|
|
70
|
-
}
|
|
71
|
-
const compiledConfigPath = path.join(prefix, VERCEL_DIR, "vercel.json");
|
|
72
|
-
const compiledConfigExists = existsSync(compiledConfigPath);
|
|
73
|
-
if (compiledConfigExists) {
|
|
74
|
-
return compiledConfigPath;
|
|
75
|
-
}
|
|
76
|
-
return vercelConfigPath;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export {
|
|
80
|
-
getLocalPathConfig,
|
|
81
|
-
PromptCanceledError,
|
|
82
|
-
PromptBackError,
|
|
83
|
-
isPromptBackError,
|
|
84
|
-
isPromptCanceledError
|
|
85
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirname_ } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
formatErrorJson,
|
|
9
|
-
handleApiError
|
|
10
|
-
} from "./chunk-NM43FFV6.js";
|
|
11
|
-
import {
|
|
12
|
-
isAPIError
|
|
13
|
-
} from "./chunk-SOFC4MLS.js";
|
|
14
|
-
import {
|
|
15
|
-
output_manager_default
|
|
16
|
-
} from "./chunk-OX7KI3LF.js";
|
|
17
|
-
|
|
18
|
-
// src/commands/metrics/schema-api.ts
|
|
19
|
-
function toMetricDetail(metric) {
|
|
20
|
-
return {
|
|
21
|
-
id: metric.id,
|
|
22
|
-
description: metric.description,
|
|
23
|
-
dimensions: metric.dimensions,
|
|
24
|
-
unit: metric.unit,
|
|
25
|
-
aggregations: metric.aggregations,
|
|
26
|
-
defaultAggregation: metric.defaultAggregation
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function getDefaultAggregation(detail, metricId) {
|
|
30
|
-
return detail.find((metric) => metric.id === metricId)?.defaultAggregation;
|
|
31
|
-
}
|
|
32
|
-
async function fetchMetricList(client, accountId) {
|
|
33
|
-
const { metrics } = await client.fetch(
|
|
34
|
-
"/v2/observability/schema",
|
|
35
|
-
{ accountId }
|
|
36
|
-
);
|
|
37
|
-
return metrics;
|
|
38
|
-
}
|
|
39
|
-
async function fetchMetricDetail(client, accountId, metricId) {
|
|
40
|
-
const detail = await client.fetch(
|
|
41
|
-
`/v2/observability/schema/${encodeURIComponent(metricId)}`,
|
|
42
|
-
{ accountId }
|
|
43
|
-
);
|
|
44
|
-
return detail.map(toMetricDetail);
|
|
45
|
-
}
|
|
46
|
-
async function fetchMetricListOrExit(client, accountId, jsonOutput) {
|
|
47
|
-
try {
|
|
48
|
-
return await fetchMetricList(client, accountId);
|
|
49
|
-
} catch (err) {
|
|
50
|
-
if (isAPIError(err)) {
|
|
51
|
-
return handleApiError(err, jsonOutput, client, {
|
|
52
|
-
401: {
|
|
53
|
-
code: "SCHEMA_UNAUTHORIZED",
|
|
54
|
-
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
55
|
-
},
|
|
56
|
-
403: {
|
|
57
|
-
code: "SCHEMA_UNAUTHORIZED",
|
|
58
|
-
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
const message = err instanceof Error ? `Failed to fetch metrics schema: ${err.message}` : `Failed to fetch metrics schema: ${String(err)}`;
|
|
63
|
-
if (jsonOutput) {
|
|
64
|
-
client.stdout.write(formatErrorJson("SCHEMA_FETCH_FAILED", message));
|
|
65
|
-
} else {
|
|
66
|
-
output_manager_default.error(message);
|
|
67
|
-
}
|
|
68
|
-
return 1;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
async function fetchMetricDetailOrExit(client, accountId, metricId, jsonOutput) {
|
|
72
|
-
try {
|
|
73
|
-
return await fetchMetricDetail(client, accountId, metricId);
|
|
74
|
-
} catch (err) {
|
|
75
|
-
if (isAPIError(err)) {
|
|
76
|
-
return handleApiError(err, jsonOutput, client, {
|
|
77
|
-
401: {
|
|
78
|
-
code: "SCHEMA_UNAUTHORIZED",
|
|
79
|
-
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
80
|
-
},
|
|
81
|
-
403: {
|
|
82
|
-
code: "SCHEMA_UNAUTHORIZED",
|
|
83
|
-
message: "The metrics schema API request was not authorized. Run `vercel login` to authenticate and `vercel switch` to select a team, then try again."
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
const message = err instanceof Error ? `Failed to fetch metrics schema: ${err.message}` : `Failed to fetch metrics schema: ${String(err)}`;
|
|
88
|
-
if (jsonOutput) {
|
|
89
|
-
client.stdout.write(formatErrorJson("SCHEMA_FETCH_FAILED", message));
|
|
90
|
-
} else {
|
|
91
|
-
output_manager_default.error(message);
|
|
92
|
-
}
|
|
93
|
-
return 1;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export {
|
|
98
|
-
getDefaultAggregation,
|
|
99
|
-
fetchMetricListOrExit,
|
|
100
|
-
fetchMetricDetailOrExit
|
|
101
|
-
};
|