vercel 58.10.0 → 58.11.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/dist/chunks/{add-W4XR5GYX.js → add-I4TVSKCW.js} +2 -2
- package/dist/chunks/{add-5KFK4EFH.js → add-IFQ74XHE.js} +6 -6
- package/dist/chunks/{add-NMYLVDBN.js → add-LLXXGWJZ.js} +2 -2
- package/dist/chunks/{build-BCMSG7TU.js → build-6DPTFQKH.js} +2 -2
- package/dist/chunks/{chunk-L6BFCLXF.js → chunk-2XR3IS42.js} +80 -38
- package/dist/chunks/{chunk-AZCZV4XI.js → chunk-57E3RXRP.js} +1 -1
- package/dist/chunks/{chunk-IBIZT5M4.js → chunk-6FUU7WW5.js} +47 -6
- package/dist/chunks/{chunk-H25BISPQ.js → chunk-74IYXJ5O.js} +10 -518
- package/dist/chunks/{chunk-MAZ2BUBX.js → chunk-A7HDIKC2.js} +2 -2
- package/dist/chunks/chunk-BTKWXOXK.js +61 -0
- package/dist/chunks/{chunk-MGCBTAA7.js → chunk-COTEMB2F.js} +1 -1
- package/dist/chunks/{chunk-UDHYVIJL.js → chunk-D7MYUPY7.js} +4 -4
- package/dist/chunks/{chunk-7RUZPHW7.js → chunk-DJUIGD6C.js} +1 -1
- package/dist/chunks/{chunk-N5YCPDWG.js → chunk-EA6MVNDR.js} +1 -1
- package/dist/chunks/{chunk-2SEBBSKD.js → chunk-EN2JH6AK.js} +1 -1
- package/dist/chunks/{chunk-BZGIBXY6.js → chunk-EPETZ7OW.js} +1 -1
- package/dist/chunks/{chunk-6SXIT6Q3.js → chunk-EVB35IJS.js} +2 -2
- package/dist/chunks/{chunk-6WWATEWK.js → chunk-FKZAFG4D.js} +1 -1
- package/dist/chunks/{chunk-U4LWFSR4.js → chunk-FYXFZ4CY.js} +1 -1
- package/dist/chunks/chunk-IM56DJEQ.js +559 -0
- package/dist/chunks/{chunk-KUZCVMVA.js → chunk-J2WXMIAP.js} +4 -3
- package/dist/chunks/{chunk-ELJ56NBY.js → chunk-JDNWPNLS.js} +173 -173
- package/dist/chunks/{chunk-5MERQE7H.js → chunk-LM5S2YN4.js} +1 -1
- package/dist/chunks/{chunk-TNKTZDOL.js → chunk-MX5JRP6N.js} +1 -1
- package/dist/chunks/{chunk-PTZ6X4P4.js → chunk-OXJFXZV2.js} +1 -1
- package/dist/chunks/{chunk-NDOZRKTB.js → chunk-UEBYWLPO.js} +1 -1
- package/dist/chunks/{chunk-DQDAQYQI.js → chunk-YJCZFVWJ.js} +1 -1
- package/dist/chunks/{chunk-2J7BL7IF.js → chunk-YP35CTKZ.js} +2 -2
- package/dist/chunks/{chunk-CLUCO4RD.js → chunk-Z3FO2ZSH.js} +68 -3
- package/dist/chunks/{clear-54WX3NA2.js → clear-NA74WCNT.js} +2 -2
- package/dist/chunks/{compile-vercel-config-LSW4TWGX.js → compile-vercel-config-BD4UGPKJ.js} +1 -1
- package/dist/chunks/{config-WXQTPQW7.js → config-WYUTVPPF.js} +2 -2
- package/dist/chunks/{delete-OGP3RVWM.js → delete-NFNYQ7LC.js} +2 -2
- package/dist/chunks/{delete-HQMI44SG.js → delete-RZ2SVQK6.js} +2 -2
- package/dist/chunks/{disable-HC266OB7.js → disable-DZ7DCWEI.js} +2 -2
- package/dist/chunks/{discard-3RFIPLXY.js → discard-VZ5QNL7B.js} +2 -2
- package/dist/chunks/{edit-TZOCRGG6.js → edit-ABJN6BMR.js} +2 -2
- package/dist/chunks/{edit-NXPQFWM6.js → edit-RIY7SWIR.js} +3 -3
- package/dist/chunks/{enable-OGFRN4CG.js → enable-JWPKENHY.js} +2 -2
- package/dist/chunks/{export-AEESZFZX.js → export-6IDA3TWA.js} +2 -2
- package/dist/chunks/{image-EIAO7LVN.js → image-DM4ZNQOL.js} +3 -3
- package/dist/chunks/{import-builders-KCQLA2YR.js → import-builders-6NCPTR6R.js} +2 -2
- package/dist/chunks/{inspect-MGIECVLH.js → inspect-6WYHE6JX.js} +2 -2
- package/dist/chunks/{inspect-RUGPLO7A.js → inspect-KUAM7UKQ.js} +2 -2
- package/dist/chunks/{inspect-EM34BOTE.js → inspect-NLWTMJHW.js} +3 -3
- package/dist/chunks/{inspect-TTHC6L7Q.js → inspect-Z6VNNFFK.js} +2 -2
- package/dist/chunks/{inspect-HHSDXTII.js → inspect-ZKZG7MCO.js} +2 -2
- package/dist/chunks/{list-A74MGEOB.js → list-2PB3N6FM.js} +2 -2
- package/dist/chunks/{list-EOG3TYBE.js → list-GPQI2LGO.js} +1 -1
- package/dist/chunks/{list-GQDUIRBU.js → list-ZUFB2CIS.js} +3 -3
- package/dist/chunks/{login-L4EWZOGH.js → login-GTZWDE5T.js} +2 -2
- package/dist/chunks/{ls-VBFBWSWD.js → ls-AG5UBKCR.js} +3 -3
- package/dist/chunks/{ls-F6WCPVB7.js → ls-ETUPWWLP.js} +2 -2
- package/dist/chunks/{ls-D5ESYWG5.js → ls-HCVYO3FF.js} +2 -2
- package/dist/chunks/{ls-OWHNAGNT.js → ls-YMQ6E7MZ.js} +2 -2
- package/dist/chunks/{ls-OJGSWVWO.js → ls-Z2XKIHA5.js} +2 -2
- package/dist/chunks/{open-FHER5QV2.js → open-4XQWNZQD.js} +2 -2
- package/dist/chunks/{permissions-JSXC7BRD.js → permissions-BJBEONBS.js} +4 -4
- package/dist/chunks/{publish-CM6ZGWIE.js → publish-TVZGIZRP.js} +2 -2
- package/dist/chunks/{push-5NYG7HIR.js → push-EJZHZC4Z.js} +2 -2
- package/dist/chunks/{query-5GQLF2BR.js → query-HXMR364K.js} +1 -1
- package/dist/chunks/{reorder-5GCNY75W.js → reorder-VE2PRU24.js} +2 -2
- package/dist/chunks/{reply-B2XCK5XR.js → reply-4YEXMUWH.js} +2 -2
- package/dist/chunks/{resolve-YQP5C2QY.js → resolve-GZ4KXDU6.js} +2 -2
- package/dist/chunks/{restore-VHX4JV5J.js → restore-ZY3IJ4S3.js} +2 -2
- package/dist/chunks/{rm-QVVQDCDX.js → rm-IE23BM6V.js} +3 -3
- package/dist/chunks/{rm-VDFSX3LH.js → rm-QS5PIVAO.js} +2 -2
- package/dist/chunks/{rm-OILUGCTW.js → rm-Y6OROWNK.js} +2 -2
- package/dist/chunks/{rm-AUUT2YIT.js → rm-YIVI23NT.js} +2 -2
- package/dist/chunks/{rule-inspect-LKTUPW4B.js → rule-inspect-6NXF565C.js} +3 -3
- package/dist/chunks/{rules-J5JM5VFQ.js → rules-QOZAWHUO.js} +6 -6
- package/dist/chunks/{schema-OIKSCLDU.js → schema-YJDZ6EOC.js} +1 -1
- package/dist/chunks/{tags-AMTMNRLQ.js → tags-67LC7TV4.js} +2 -2
- package/dist/chunks/{update-AFL3GHKB.js → update-YNL7VIL7.js} +6 -6
- package/dist/commands/build/index.js +15 -11
- package/dist/commands/deploy/index.js +347 -49
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +6 -6
- package/dist/commands/list/index.js +2 -2
- package/dist/commands-bulk.js +604 -196
- package/dist/index.js +32 -42
- package/dist/version.mjs +1 -1
- package/package.json +12 -12
- package/dist/chunks/chunk-I2XE3GMB.js +0 -21
package/dist/index.js
CHANGED
|
@@ -17,17 +17,20 @@ import {
|
|
|
17
17
|
executeUpgrade,
|
|
18
18
|
hasAutoUpdatePreference,
|
|
19
19
|
isVersionPinned,
|
|
20
|
-
login,
|
|
21
20
|
matchesCliApiTag,
|
|
22
|
-
require_ci_info,
|
|
23
21
|
setAutoUpdate,
|
|
24
22
|
tryOpenApiFallback
|
|
25
|
-
} from "./chunks/chunk-
|
|
23
|
+
} from "./chunks/chunk-74IYXJ5O.js";
|
|
26
24
|
import "./chunks/chunk-FGDKMNEN.js";
|
|
27
25
|
import {
|
|
28
26
|
getUpdateCommand
|
|
29
|
-
} from "./chunks/chunk-
|
|
30
|
-
import
|
|
27
|
+
} from "./chunks/chunk-UEBYWLPO.js";
|
|
28
|
+
import {
|
|
29
|
+
promptMissingCredentials
|
|
30
|
+
} from "./chunks/chunk-BTKWXOXK.js";
|
|
31
|
+
import {
|
|
32
|
+
require_ci_info
|
|
33
|
+
} from "./chunks/chunk-IM56DJEQ.js";
|
|
31
34
|
import {
|
|
32
35
|
Client,
|
|
33
36
|
getAuthConfigFilePath,
|
|
@@ -35,7 +38,7 @@ import {
|
|
|
35
38
|
readAuthConfigFile,
|
|
36
39
|
readConfigFile,
|
|
37
40
|
writeToConfigFile
|
|
38
|
-
} from "./chunks/chunk-
|
|
41
|
+
} from "./chunks/chunk-A7HDIKC2.js";
|
|
39
42
|
import {
|
|
40
43
|
getGlobalPathConfig,
|
|
41
44
|
highlight
|
|
@@ -47,7 +50,7 @@ import {
|
|
|
47
50
|
import {
|
|
48
51
|
commandNames,
|
|
49
52
|
commands
|
|
50
|
-
} from "./chunks/chunk-
|
|
53
|
+
} from "./chunks/chunk-Z3FO2ZSH.js";
|
|
51
54
|
import "./chunks/chunk-ELA5VN3A.js";
|
|
52
55
|
import "./chunks/chunk-B3JTF4CF.js";
|
|
53
56
|
import "./chunks/chunk-A5KP5HAI.js";
|
|
@@ -63,8 +66,8 @@ import "./chunks/chunk-O5GNPPTU.js";
|
|
|
63
66
|
import {
|
|
64
67
|
require_semver
|
|
65
68
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
66
|
-
import "./chunks/chunk-
|
|
67
|
-
import "./chunks/chunk-
|
|
69
|
+
import "./chunks/chunk-COTEMB2F.js";
|
|
70
|
+
import "./chunks/chunk-EN2JH6AK.js";
|
|
68
71
|
import "./chunks/chunk-ZX2FSPWV.js";
|
|
69
72
|
import "./chunks/chunk-KT4XXKJK.js";
|
|
70
73
|
import {
|
|
@@ -80,7 +83,7 @@ import {
|
|
|
80
83
|
require_dist as require_dist2,
|
|
81
84
|
require_lib,
|
|
82
85
|
resolveAppTokenScope
|
|
83
|
-
} from "./chunks/chunk-
|
|
86
|
+
} from "./chunks/chunk-6FUU7WW5.js";
|
|
84
87
|
import {
|
|
85
88
|
TelemetryClient,
|
|
86
89
|
TelemetryEventStore,
|
|
@@ -102,7 +105,6 @@ import {
|
|
|
102
105
|
DeprecatedNowJson,
|
|
103
106
|
WorkingDirectoryDoesNotExist,
|
|
104
107
|
cmd,
|
|
105
|
-
getCommandName,
|
|
106
108
|
getTitleName
|
|
107
109
|
} from "./chunks/chunk-SOFC4MLS.js";
|
|
108
110
|
import {
|
|
@@ -1120,6 +1122,12 @@ var RootTelemetryClient = class extends TelemetryClient {
|
|
|
1120
1122
|
value: actual
|
|
1121
1123
|
});
|
|
1122
1124
|
}
|
|
1125
|
+
trackCliCommandSecurity(actual) {
|
|
1126
|
+
this.trackCliCommand({
|
|
1127
|
+
command: "security",
|
|
1128
|
+
value: actual
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1123
1131
|
trackCliCommandTarget(actual) {
|
|
1124
1132
|
this.trackCliCommand({
|
|
1125
1133
|
command: "target",
|
|
@@ -1839,12 +1847,14 @@ var main = async () => {
|
|
|
1839
1847
|
"help",
|
|
1840
1848
|
"init",
|
|
1841
1849
|
"build",
|
|
1850
|
+
"deploy",
|
|
1842
1851
|
"sandbox",
|
|
1843
1852
|
"telemetry",
|
|
1844
1853
|
"upgrade",
|
|
1845
1854
|
"version",
|
|
1846
1855
|
"skills",
|
|
1847
|
-
"agent"
|
|
1856
|
+
"agent",
|
|
1857
|
+
"whoami"
|
|
1848
1858
|
];
|
|
1849
1859
|
if (process.env.FF_GUIDANCE_MODE) {
|
|
1850
1860
|
subcommandsWithoutToken.push("guidance");
|
|
@@ -1859,36 +1869,12 @@ var main = async () => {
|
|
|
1859
1869
|
parsedArgs.flags["--token"] = explicitToken;
|
|
1860
1870
|
}
|
|
1861
1871
|
if ((!authConfig || !authConfig.token) && !client.argv.includes("-h") && !client.argv.includes("--help") && typeof parsedArgs.flags["--token"] !== "string" && subcommand && !subcommandsWithoutToken.includes(subcommand)) {
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
} catch (error) {
|
|
1869
|
-
printError(error);
|
|
1870
|
-
trackAgenticErrorTelemetry(error);
|
|
1871
|
-
return finishWithExitCode(1);
|
|
1872
|
-
}
|
|
1873
|
-
output_manager_default.debug(`Saved credentials in "${humanizePath(VERCEL_DIR)}"`);
|
|
1874
|
-
} else if (isAgent) {
|
|
1875
|
-
output_manager_default.log("No existing credentials found. Starting login flow...");
|
|
1876
|
-
try {
|
|
1877
|
-
const result = await login(client, { shouldParseArgs: false });
|
|
1878
|
-
if (result !== 0)
|
|
1879
|
-
return finishWithExitCode(result);
|
|
1880
|
-
} catch (error) {
|
|
1881
|
-
printError(error);
|
|
1882
|
-
trackAgenticErrorTelemetry(error);
|
|
1883
|
-
return finishWithExitCode(1);
|
|
1884
|
-
}
|
|
1885
|
-
output_manager_default.debug(`Saved credentials in "${humanizePath(VERCEL_DIR)}"`);
|
|
1886
|
-
} else {
|
|
1887
|
-
output_manager_default.prettyError({
|
|
1888
|
-
message: `No existing credentials found. Please run ${getCommandName("login")} or pass ${param("--token")}`,
|
|
1889
|
-
link: "https://err.sh/vercel/no-credentials-found"
|
|
1890
|
-
});
|
|
1891
|
-
return finishWithExitCode(1);
|
|
1872
|
+
const result = await promptMissingCredentials(
|
|
1873
|
+
client,
|
|
1874
|
+
trackAgenticErrorTelemetry
|
|
1875
|
+
);
|
|
1876
|
+
if (result !== 0) {
|
|
1877
|
+
return finishWithExitCode(result);
|
|
1892
1878
|
}
|
|
1893
1879
|
}
|
|
1894
1880
|
if (typeof parsedArgs.flags["--token"] === "string" && subcommand === "switch") {
|
|
@@ -2267,6 +2253,10 @@ var main = async () => {
|
|
|
2267
2253
|
telemetry.trackCliCommandSandbox(userSuppliedSubCommand);
|
|
2268
2254
|
func = (await import("./commands-bulk.js")).sandbox;
|
|
2269
2255
|
break;
|
|
2256
|
+
case "security":
|
|
2257
|
+
telemetry.trackCliCommandSecurity(userSuppliedSubCommand);
|
|
2258
|
+
func = (await import("./commands-bulk.js")).security;
|
|
2259
|
+
break;
|
|
2270
2260
|
case "skills":
|
|
2271
2261
|
telemetry.trackCliCommandSkills(userSuppliedSubCommand);
|
|
2272
2262
|
func = (await import("./commands-bulk.js")).skills;
|
package/dist/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "58.
|
|
1
|
+
export const version = "58.11.0";
|
|
2
2
|
export const buildLabel = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "58.
|
|
3
|
+
"version": "58.11.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,26 +38,26 @@
|
|
|
38
38
|
"@vercel/backends": "0.8.36",
|
|
39
39
|
"@vercel/build-utils": "14.0.5",
|
|
40
40
|
"@vercel/cli-auth": "0.3.4",
|
|
41
|
-
"@vercel/cli-config": "0.2.3",
|
|
42
41
|
"@vercel/container": "0.2.0",
|
|
43
42
|
"@vercel/detect-agent": "1.2.5",
|
|
43
|
+
"@vercel/cli-config": "0.2.3",
|
|
44
44
|
"@vercel/elysia": "0.1.113",
|
|
45
45
|
"@vercel/express": "0.1.127",
|
|
46
46
|
"@vercel/fastify": "0.1.116",
|
|
47
|
+
"@vercel/go": "3.11.0",
|
|
47
48
|
"@vercel/h3": "0.1.122",
|
|
48
49
|
"@vercel/hono": "0.2.116",
|
|
49
50
|
"@vercel/hydrogen": "1.4.1",
|
|
50
|
-
"@vercel/go": "3.11.0",
|
|
51
51
|
"@vercel/koa": "0.1.96",
|
|
52
52
|
"@vercel/nestjs": "0.2.117",
|
|
53
53
|
"@vercel/next": "4.21.3",
|
|
54
|
-
"@vercel/python": "6.56.2",
|
|
55
54
|
"@vercel/node": "5.9.9",
|
|
55
|
+
"@vercel/python": "6.56.2",
|
|
56
56
|
"@vercel/redwood": "2.5.1",
|
|
57
57
|
"@vercel/remix-builder": "5.9.4",
|
|
58
58
|
"@vercel/ruby": "2.5.1",
|
|
59
|
-
"@vercel/
|
|
60
|
-
"@vercel/
|
|
59
|
+
"@vercel/rust": "1.4.2",
|
|
60
|
+
"@vercel/static-build": "2.12.5"
|
|
61
61
|
},
|
|
62
62
|
"builders": {
|
|
63
63
|
"@vercel/backends": "0.8.36",
|
|
@@ -201,20 +201,20 @@
|
|
|
201
201
|
"write-json-file": "2.2.0",
|
|
202
202
|
"xdg-app-paths": "5.1.0",
|
|
203
203
|
"yauzl-promise": "2.1.3",
|
|
204
|
-
"@vercel-internals/types": "3.0.6",
|
|
205
204
|
"@vercel-internals/constants": "1.0.4",
|
|
206
205
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
207
|
-
"@vercel/
|
|
206
|
+
"@vercel-internals/types": "3.0.6",
|
|
207
|
+
"@vercel/client": "18.2.10",
|
|
208
208
|
"@vercel/error-utils": "2.2.1",
|
|
209
209
|
"@vercel/frameworks": "3.31.0",
|
|
210
210
|
"@vercel/fs-detectors": "6.15.6",
|
|
211
211
|
"@vercel/routing-utils": "6.4.1"
|
|
212
212
|
},
|
|
213
213
|
"optionalDependencies": {
|
|
214
|
-
"@vercel/vc-native-darwin-arm64": "58.
|
|
215
|
-
"@vercel/vc-native-darwin-x64": "58.
|
|
216
|
-
"@vercel/vc-native-linux-arm64": "58.
|
|
217
|
-
"@vercel/vc-native-linux-x64": "58.
|
|
214
|
+
"@vercel/vc-native-darwin-arm64": "58.11.0",
|
|
215
|
+
"@vercel/vc-native-darwin-x64": "58.11.0",
|
|
216
|
+
"@vercel/vc-native-linux-arm64": "58.11.0",
|
|
217
|
+
"@vercel/vc-native-linux-x64": "58.11.0"
|
|
218
218
|
},
|
|
219
219
|
"scripts": {
|
|
220
220
|
"test": "node scripts/test.mjs --run",
|
|
@@ -1,21 +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
|
-
|
|
8
|
-
// src/util/output/progress.ts
|
|
9
|
-
function progress(current, total, opts = {}) {
|
|
10
|
-
const { width = 20, complete = "=", incomplete = "-" } = opts;
|
|
11
|
-
if (total <= 0 || current < 0 || current > total) {
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
14
|
-
const unit = total / width;
|
|
15
|
-
const pos = Math.floor(current / unit);
|
|
16
|
-
return `${complete.repeat(pos)}${incomplete.repeat(width - pos)}`;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
progress
|
|
21
|
-
};
|