vercel 58.5.1 → 58.7.1
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-HTKUQ3KF.js → add-7RQIEXDK.js} +5 -5
- package/dist/chunks/{add-Y3ACMZQ3.js → add-CJZGLI73.js} +5 -5
- package/dist/chunks/{add-2KSAN7EK.js → add-JLCJCRV6.js} +12 -12
- package/dist/chunks/{build-SOTUMEPT.js → build-BF4HIMTK.js} +5 -5
- package/dist/chunks/{chunk-WR7JTCGL.js → chunk-3BU2UCGV.js} +1 -1
- package/dist/chunks/{chunk-PGH6RJJF.js → chunk-4XKF7JOF.js} +92 -1377
- package/dist/chunks/{chunk-4ZZI2JPE.js → chunk-5SZ6VX2H.js} +2 -2
- package/dist/chunks/{chunk-TQE7DRGH.js → chunk-62SBYAED.js} +4 -4
- package/dist/chunks/{chunk-LTEFJ3VD.js → chunk-74XVGG52.js} +2 -2
- package/dist/chunks/{chunk-MEOBIY2L.js → chunk-7KUQ7BHI.js} +2 -2
- package/dist/chunks/{chunk-NXLNRLL7.js → chunk-7KVYKSR2.js} +6 -6
- package/dist/chunks/{chunk-QS5I33VI.js → chunk-7SXWLTXT.js} +2 -2
- package/dist/chunks/{chunk-4PZ2IIZI.js → chunk-BIGFTNW6.js} +1 -1
- package/dist/chunks/{chunk-FQ4R66UG.js → chunk-CDYBV7YA.js} +1 -1
- package/dist/chunks/{chunk-I5F5AE2Q.js → chunk-D6SC2UJH.js} +1 -1
- package/dist/chunks/{chunk-Z3VYQ7JP.js → chunk-F2TNAAGW.js} +8 -8
- package/dist/chunks/{chunk-ZYCVYZSR.js → chunk-H3KETQAA.js} +1 -1
- package/dist/chunks/{chunk-XPKWKPWA.js → chunk-KXDWXXJH.js} +27 -1
- package/dist/chunks/chunk-LC5BYUUP.js +1337 -0
- package/dist/chunks/{chunk-GKLT2ZGC.js → chunk-MNZUPMZZ.js} +2 -2
- package/dist/chunks/{chunk-CVZWB2MA.js → chunk-NI4DNP3D.js} +1 -1
- package/dist/chunks/{chunk-IRX26ZL5.js → chunk-NOMQUVGM.js} +2 -2
- package/dist/chunks/{chunk-LXRK7KPA.js → chunk-NZ6GDMPB.js} +43 -25
- package/dist/chunks/{chunk-ZHDQMUK4.js → chunk-TE5MIANG.js} +2 -2
- package/dist/chunks/{chunk-OQ6UFVGM.js → chunk-TNTJXJSE.js} +1 -1
- package/dist/chunks/{chunk-IKIPDMQT.js → chunk-UAVZOOOL.js} +6 -6
- package/dist/chunks/{chunk-GE5R7SYE.js → chunk-UME4MVFU.js} +1 -1
- package/dist/chunks/{chunk-YFQSZI5Q.js → chunk-YR6M7ZIU.js} +1 -1
- package/dist/chunks/{chunk-7RTO3VPE.js → chunk-ZZZEJXHD.js} +92 -9
- package/dist/chunks/{clear-GLMDDDUR.js → clear-C2MXHYPE.js} +5 -5
- package/dist/chunks/{compile-vercel-config-7JTL7U5E.js → compile-vercel-config-PM5ID4CV.js} +2 -2
- package/dist/chunks/{delete-HE6FCDYS.js → delete-GMVIUCQV.js} +3 -3
- package/dist/chunks/{delete-M3DCAYTX.js → delete-ZXMLT7EJ.js} +5 -5
- package/dist/chunks/{disable-LHOHFHGU.js → disable-JJZZQ4IZ.js} +3 -3
- package/dist/chunks/{discard-D2SI77HA.js → discard-CGAS2MSK.js} +3 -3
- package/dist/chunks/{edit-PSUYL34C.js → edit-ALN5UQHF.js} +6 -6
- package/dist/chunks/{edit-XCJDQOZR.js → edit-RKUUUBQF.js} +4 -4
- package/dist/chunks/{enable-QXXBU3QH.js → enable-UXRVQO6C.js} +3 -3
- package/dist/chunks/{export-CRCAJ72L.js → export-WQE3UU4V.js} +3 -3
- package/dist/chunks/{image-4YES44D3.js → image-CRMOA4YF.js} +3 -3
- package/dist/chunks/import-builders-IEVZ7KYP.js +28 -0
- package/dist/chunks/{inspect-GYUTUSOP.js → inspect-6PCM4O6L.js} +5 -5
- package/dist/chunks/{inspect-JIGB2JK7.js → inspect-ML2INEZG.js} +5 -5
- package/dist/chunks/{inspect-WUT7EW6R.js → inspect-OINSXSCL.js} +5 -5
- package/dist/chunks/{inspect-CFJWOYWD.js → inspect-TYSLBSPQ.js} +6 -6
- package/dist/chunks/{inspect-FEW47KAZ.js → inspect-YRRS3ZXR.js} +5 -5
- package/dist/chunks/{list-ZQOF2B2L.js → list-JWZTSHHP.js} +4 -4
- package/dist/chunks/{list-W4ZLROFI.js → list-PA2JTS75.js} +6 -6
- package/dist/chunks/{list-4N6HI5LH.js → list-Q2VZLAFY.js} +7 -7
- package/dist/chunks/{login-FWYKZ642.js → login-6R3KIPSN.js} +5 -5
- package/dist/chunks/{ls-VOD4NK6A.js → ls-642SJJPI.js} +5 -5
- package/dist/chunks/{ls-7YYHSZIR.js → ls-FKFZKWHH.js} +5 -5
- package/dist/chunks/{ls-DD7RQ7KH.js → ls-G5UH4KGX.js} +5 -5
- package/dist/chunks/{ls-V7E37ERN.js → ls-MS3FACFC.js} +11 -11
- package/dist/chunks/{ls-AV2WYGNW.js → ls-WAI5XAUS.js} +5 -5
- package/dist/chunks/{open-YEJQVMYZ.js → open-KYVW2GTM.js} +4 -4
- package/dist/chunks/{permissions-OJCRKNGQ.js → permissions-YIOBV4Q7.js} +4 -4
- package/dist/chunks/{publish-XDKQYIKH.js → publish-4BKTL25X.js} +3 -3
- package/dist/chunks/{push-Z2EQUVOV.js → push-6DJOEYYK.js} +5 -5
- package/dist/chunks/{query-KEICHLVN.js → query-EJTENIFF.js} +4 -4
- package/dist/chunks/{reorder-Z6YCND2X.js → reorder-C44IJZNE.js} +3 -3
- package/dist/chunks/{reply-CIWFPTEK.js → reply-LPVL3IAU.js} +6 -6
- package/dist/chunks/{resolve-BYDSKVYN.js → resolve-ZKNB3CT5.js} +5 -5
- package/dist/chunks/{restore-2KP5DLEC.js → restore-ACDVNSTC.js} +3 -3
- package/dist/chunks/{rm-5Z75EGOZ.js → rm-GO2WVRJQ.js} +5 -5
- package/dist/chunks/{rm-TNCPDKEX.js → rm-HSUWESWO.js} +5 -5
- package/dist/chunks/{rm-RJOWQHQV.js → rm-W7LO4WXB.js} +5 -5
- package/dist/chunks/{rm-FRKS6Y2G.js → rm-ZAXW6GEF.js} +6 -6
- package/dist/chunks/{rule-inspect-NOSNKD63.js → rule-inspect-HPZSCLO4.js} +11 -11
- package/dist/chunks/{rules-THS42KX4.js → rules-BKI7PJNK.js} +7 -7
- package/dist/chunks/{schema-MDLX6ZDL.js → schema-DF7XBQSH.js} +3 -3
- package/dist/chunks/{schema-R54OXIXC.js → schema-ZNPIMQL5.js} +3 -3
- package/dist/chunks/{tags-NDPHPWME.js → tags-N7ZPPMWE.js} +2 -2
- package/dist/chunks/{types-QTOA2BTQ.js → types-UWI4HETD.js} +1 -1
- package/dist/chunks/{update-YAN3MGMW.js → update-4SJXDMTG.js} +9 -9
- package/dist/commands/build/index.js +13 -11
- package/dist/commands/deploy/index.js +13 -13
- package/dist/commands/dev/index.js +15 -16
- package/dist/commands/env/index.js +87 -148
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +6 -6
- package/dist/commands-bulk.js +2866 -2124
- package/dist/index.js +16 -11
- package/dist/vc.js +11 -14
- package/dist/version.mjs +1 -1
- package/package.json +14 -8
- package/dist/chunks/{chunk-BUZRVER7.js → chunk-P65EEFTR.js} +3 -3
package/dist/index.js
CHANGED
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
require_ci_info,
|
|
19
19
|
setAutoUpdate,
|
|
20
20
|
tryOpenApiFallback
|
|
21
|
-
} from "./chunks/chunk-
|
|
21
|
+
} from "./chunks/chunk-F2TNAAGW.js";
|
|
22
22
|
import "./chunks/chunk-FGDKMNEN.js";
|
|
23
23
|
import {
|
|
24
24
|
getUpdateCommand
|
|
25
|
-
} from "./chunks/chunk-
|
|
25
|
+
} from "./chunks/chunk-H3KETQAA.js";
|
|
26
26
|
import "./chunks/chunk-I2XE3GMB.js";
|
|
27
27
|
import {
|
|
28
28
|
Client,
|
|
@@ -32,15 +32,18 @@ import {
|
|
|
32
32
|
readAuthConfigFile,
|
|
33
33
|
readConfigFile,
|
|
34
34
|
writeToConfigFile
|
|
35
|
-
} from "./chunks/chunk-
|
|
35
|
+
} from "./chunks/chunk-MNZUPMZZ.js";
|
|
36
36
|
import {
|
|
37
37
|
highlight
|
|
38
38
|
} from "./chunks/chunk-V5P25P7F.js";
|
|
39
|
-
import
|
|
39
|
+
import {
|
|
40
|
+
shouldPrintVersionBanner,
|
|
41
|
+
wantsMachineReadableOutput
|
|
42
|
+
} from "./chunks/chunk-KXDWXXJH.js";
|
|
40
43
|
import {
|
|
41
44
|
commandNames,
|
|
42
45
|
commands
|
|
43
|
-
} from "./chunks/chunk-
|
|
46
|
+
} from "./chunks/chunk-ZZZEJXHD.js";
|
|
44
47
|
import "./chunks/chunk-AW5YINX6.js";
|
|
45
48
|
import "./chunks/chunk-A5KP5HAI.js";
|
|
46
49
|
import "./chunks/chunk-J6LK45HT.js";
|
|
@@ -56,8 +59,8 @@ import "./chunks/chunk-O5GNPPTU.js";
|
|
|
56
59
|
import {
|
|
57
60
|
require_semver
|
|
58
61
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
59
|
-
import "./chunks/chunk-
|
|
60
|
-
import "./chunks/chunk-
|
|
62
|
+
import "./chunks/chunk-UME4MVFU.js";
|
|
63
|
+
import "./chunks/chunk-CDYBV7YA.js";
|
|
61
64
|
import "./chunks/chunk-ZX2FSPWV.js";
|
|
62
65
|
import "./chunks/chunk-KT4XXKJK.js";
|
|
63
66
|
import {
|
|
@@ -71,13 +74,14 @@ import {
|
|
|
71
74
|
readJSONFile,
|
|
72
75
|
require_dist as require_dist2,
|
|
73
76
|
require_lib
|
|
74
|
-
} from "./chunks/chunk-
|
|
77
|
+
} from "./chunks/chunk-NZ6GDMPB.js";
|
|
75
78
|
import {
|
|
76
79
|
TelemetryClient,
|
|
77
80
|
TelemetryEventStore,
|
|
78
81
|
isNativeBinaryInstall
|
|
79
82
|
} from "./chunks/chunk-ECCWJHC6.js";
|
|
80
83
|
import "./chunks/chunk-TJJ562C5.js";
|
|
84
|
+
import "./chunks/chunk-GGP5R3FU.js";
|
|
81
85
|
import {
|
|
82
86
|
printError
|
|
83
87
|
} from "./chunks/chunk-KBEX5MYS.js";
|
|
@@ -105,7 +109,6 @@ import {
|
|
|
105
109
|
output_manager_default,
|
|
106
110
|
require_dist
|
|
107
111
|
} from "./chunks/chunk-OX7KI3LF.js";
|
|
108
|
-
import "./chunks/chunk-GGP5R3FU.js";
|
|
109
112
|
import {
|
|
110
113
|
require_source
|
|
111
114
|
} from "./chunks/chunk-S7KYDPEM.js";
|
|
@@ -1525,8 +1528,10 @@ var main = async () => {
|
|
|
1525
1528
|
const betaCommands = ["api", "crons", "curl", "webhooks"];
|
|
1526
1529
|
const versionBanner = isNativeBinaryInstall() ? `${getTitleName()} CLI ${pkg_default.version}` : `${getTitleName()} CLI ${pkg_default.version} (Node.js ${process.versions.node})`;
|
|
1527
1530
|
const msg = betaCommands.includes(targetOrSubcommand) ? `${versionBanner} | ${targetOrSubcommand} is in beta \u2014 https://vercel.com/feedback` : versionBanner;
|
|
1528
|
-
|
|
1531
|
+
if (shouldPrintVersionBanner(targetOrSubcommand, process.argv)) {
|
|
1532
|
+
output_manager_default.print(`${import_chalk.default.dim(msg)}
|
|
1529
1533
|
`);
|
|
1534
|
+
}
|
|
1530
1535
|
if (!targetOrSubcommand && parsedArgs.flags["--version"]) {
|
|
1531
1536
|
console.log(pkg_default.version);
|
|
1532
1537
|
return 0;
|
|
@@ -1773,7 +1778,7 @@ var main = async () => {
|
|
|
1773
1778
|
const targetPath = join2(cwd, targetOrSubcommand);
|
|
1774
1779
|
const targetPathExists = existsSync2(targetPath);
|
|
1775
1780
|
const subcommandExists = GLOBAL_COMMANDS.has(targetOrSubcommand) || commands.has(targetOrSubcommand);
|
|
1776
|
-
if (targetPathExists && subcommandExists && !parsedArgs.flags["--cwd"] && !process.env.NOW_BUILDER) {
|
|
1781
|
+
if (targetPathExists && subcommandExists && !parsedArgs.flags["--cwd"] && !process.env.NOW_BUILDER && !wantsMachineReadableOutput(targetOrSubcommand, process.argv)) {
|
|
1777
1782
|
output_manager_default.warn(
|
|
1778
1783
|
`Did you mean to deploy the subdirectory "${targetOrSubcommand}"? Use \`vc --cwd ${targetOrSubcommand}\` instead.`
|
|
1779
1784
|
);
|
package/dist/vc.js
CHANGED
|
@@ -81,25 +81,22 @@ const bin = resolveNative();
|
|
|
81
81
|
|
|
82
82
|
if (bin && (await isNativeBinaryOptedIn())) {
|
|
83
83
|
process.env.VERCEL_VC_NATIVE = '1';
|
|
84
|
+
// Do not fall through to JS on spawn/loader failures — surface them so
|
|
85
|
+
// native binary issues (e.g. glibc mismatch) are visible.
|
|
84
86
|
const r = spawnSync(bin, process.argv.slice(2), {
|
|
85
87
|
stdio: 'inherit',
|
|
86
88
|
windowsHide: true,
|
|
87
89
|
});
|
|
88
|
-
if (r.error
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
process.
|
|
95
|
-
}
|
|
96
|
-
if (r.signal) {
|
|
97
|
-
try {
|
|
98
|
-
process.kill(process.pid, r.signal);
|
|
99
|
-
} catch {}
|
|
100
|
-
}
|
|
101
|
-
process.exit(r.status ?? 1);
|
|
90
|
+
if (r.error) {
|
|
91
|
+
console.error(r.error.message);
|
|
92
|
+
process.exit(1);
|
|
93
|
+
}
|
|
94
|
+
if (r.signal) {
|
|
95
|
+
try {
|
|
96
|
+
process.kill(process.pid, r.signal);
|
|
97
|
+
} catch {}
|
|
102
98
|
}
|
|
99
|
+
process.exit(r.status ?? 1);
|
|
103
100
|
}
|
|
104
101
|
|
|
105
102
|
// Fast path for --version to avoid loading the entire CLI
|
package/dist/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "58.
|
|
1
|
+
export const version = "58.7.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "58.
|
|
3
|
+
"version": "58.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,25 +38,25 @@
|
|
|
38
38
|
"@vercel/build-utils": "14.0.1",
|
|
39
39
|
"@vercel/cli-auth": "0.3.2",
|
|
40
40
|
"@vercel/cli-config": "0.2.2",
|
|
41
|
-
"@vercel/detect-agent": "1.2.4",
|
|
42
41
|
"@vercel/container": "0.1.1",
|
|
43
|
-
"@vercel/elysia": "0.1.109",
|
|
44
42
|
"@vercel/express": "0.1.123",
|
|
43
|
+
"@vercel/detect-agent": "1.2.4",
|
|
44
|
+
"@vercel/elysia": "0.1.109",
|
|
45
45
|
"@vercel/fastify": "0.1.112",
|
|
46
46
|
"@vercel/go": "3.10.4",
|
|
47
|
-
"@vercel/h3": "0.1.118",
|
|
48
47
|
"@vercel/hono": "0.2.112",
|
|
49
48
|
"@vercel/hydrogen": "1.4.1",
|
|
50
49
|
"@vercel/koa": "0.1.92",
|
|
51
50
|
"@vercel/nestjs": "0.2.113",
|
|
52
51
|
"@vercel/next": "4.21.1",
|
|
53
52
|
"@vercel/node": "5.9.5",
|
|
53
|
+
"@vercel/python": "6.55.2",
|
|
54
54
|
"@vercel/redwood": "2.5.1",
|
|
55
55
|
"@vercel/remix-builder": "5.9.2",
|
|
56
56
|
"@vercel/ruby": "2.5.1",
|
|
57
|
-
"@vercel/python": "6.55.1",
|
|
58
57
|
"@vercel/rust": "1.4.1",
|
|
59
|
-
"@vercel/static-build": "2.12.1"
|
|
58
|
+
"@vercel/static-build": "2.12.1",
|
|
59
|
+
"@vercel/h3": "0.1.118"
|
|
60
60
|
},
|
|
61
61
|
"builders": {
|
|
62
62
|
"@vercel/backends": "0.8.32",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@vercel/nestjs": "0.2.113",
|
|
73
73
|
"@vercel/next": "4.21.1",
|
|
74
74
|
"@vercel/node": "5.9.5",
|
|
75
|
-
"@vercel/python": "6.55.
|
|
75
|
+
"@vercel/python": "6.55.2",
|
|
76
76
|
"@vercel/redwood": "2.5.1",
|
|
77
77
|
"@vercel/remix-builder": "5.9.2",
|
|
78
78
|
"@vercel/ruby": "2.5.1",
|
|
@@ -209,10 +209,16 @@
|
|
|
209
209
|
"@vercel/fs-detectors": "6.15.1",
|
|
210
210
|
"@vercel/routing-utils": "6.4.1"
|
|
211
211
|
},
|
|
212
|
+
"optionalDependencies": {
|
|
213
|
+
"@vercel/vc-native-darwin-arm64": "58.7.1",
|
|
214
|
+
"@vercel/vc-native-darwin-x64": "58.7.1",
|
|
215
|
+
"@vercel/vc-native-linux-arm64": "58.7.1",
|
|
216
|
+
"@vercel/vc-native-linux-x64": "58.7.1"
|
|
217
|
+
},
|
|
212
218
|
"scripts": {
|
|
213
219
|
"test": "vitest run --config ./vitest.config.mts",
|
|
214
220
|
"vitest-run": "node scripts/vitest-run.mjs",
|
|
215
|
-
"vitest-unit": "
|
|
221
|
+
"vitest-unit": "pnpm vitest-run --run test/unit/",
|
|
216
222
|
"vitest-e2e": "glob --absolute 'test/e2e-*.test.ts'",
|
|
217
223
|
"test-e2e-node-all-versions": "rimraf test/fixtures/integration && pnpm test test/integration-1.test.ts test/integration-2.test.ts test/integration-3.test.ts test/integration-link-env-pull.test.ts",
|
|
218
224
|
"test-dev": "pnpm test test/dev/",
|
|
@@ -4,12 +4,12 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
output_manager_default
|
|
9
|
-
} from "./chunk-OX7KI3LF.js";
|
|
10
7
|
import {
|
|
11
8
|
require_ms
|
|
12
9
|
} from "./chunk-GGP5R3FU.js";
|
|
10
|
+
import {
|
|
11
|
+
output_manager_default
|
|
12
|
+
} from "./chunk-OX7KI3LF.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./chunk-TZ2YI2VH.js";
|