vercel 58.9.2 → 58.9.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/{chunk-QXXH6L46.js → chunk-FKN6MI3N.js} +111 -6
- package/dist/chunks/{chunk-YXFLKPDC.js → chunk-J4YKPKVD.js} +769 -9
- package/dist/chunks/{chunk-QCDSQERI.js → chunk-J5PH3SFB.js} +1 -1
- package/dist/chunks/{constants-T6BULVX6.js → chunk-O26N2UPI.js} +4 -2
- package/dist/chunks/constants-WEQVJSYS.js +15 -0
- package/dist/commands/deploy/index.js +2 -2
- package/dist/commands/env/index.js +1 -1
- package/dist/commands/link/index.js +1 -1
- package/dist/commands-bulk.js +793 -727
- package/dist/index.js +21 -5
- package/dist/vc.js +7 -3
- package/dist/version.mjs +2 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -4,6 +4,9 @@ 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
|
+
BUILD_LABEL
|
|
9
|
+
} from "./chunks/chunk-O26N2UPI.js";
|
|
7
10
|
import {
|
|
8
11
|
help
|
|
9
12
|
} from "./chunks/chunk-4N7XLXM2.js";
|
|
@@ -13,12 +16,13 @@ import {
|
|
|
13
16
|
did_you_mean_default,
|
|
14
17
|
executeUpgrade,
|
|
15
18
|
hasAutoUpdatePreference,
|
|
19
|
+
isVersionPinned,
|
|
16
20
|
login,
|
|
17
21
|
matchesCliApiTag,
|
|
18
22
|
require_ci_info,
|
|
19
23
|
setAutoUpdate,
|
|
20
24
|
tryOpenApiFallback
|
|
21
|
-
} from "./chunks/chunk-
|
|
25
|
+
} from "./chunks/chunk-J4YKPKVD.js";
|
|
22
26
|
import "./chunks/chunk-FGDKMNEN.js";
|
|
23
27
|
import {
|
|
24
28
|
getUpdateCommand
|
|
@@ -43,7 +47,7 @@ import {
|
|
|
43
47
|
import {
|
|
44
48
|
commandNames,
|
|
45
49
|
commands
|
|
46
|
-
} from "./chunks/chunk-
|
|
50
|
+
} from "./chunks/chunk-FKN6MI3N.js";
|
|
47
51
|
import "./chunks/chunk-ELA5VN3A.js";
|
|
48
52
|
import "./chunks/chunk-B3JTF4CF.js";
|
|
49
53
|
import "./chunks/chunk-A5KP5HAI.js";
|
|
@@ -602,7 +606,7 @@ async function getSentry() {
|
|
|
602
606
|
if (!sentry) {
|
|
603
607
|
const [SentryModule, { SENTRY_DSN }, { default: pkg }] = await Promise.all([
|
|
604
608
|
import("./chunks/cjs-DV4RM7XU.js"),
|
|
605
|
-
import("./chunks/constants-
|
|
609
|
+
import("./chunks/constants-WEQVJSYS.js"),
|
|
606
610
|
import("./chunks/pkg-56KRLZ5K.js")
|
|
607
611
|
]);
|
|
608
612
|
const Sentry = "init" in SentryModule ? SentryModule : SentryModule.default;
|
|
@@ -1158,6 +1162,12 @@ var RootTelemetryClient = class extends TelemetryClient {
|
|
|
1158
1162
|
value: actual
|
|
1159
1163
|
});
|
|
1160
1164
|
}
|
|
1165
|
+
trackCliCommandVersion(actual) {
|
|
1166
|
+
this.trackCliCommand({
|
|
1167
|
+
command: "version",
|
|
1168
|
+
value: actual
|
|
1169
|
+
});
|
|
1170
|
+
}
|
|
1161
1171
|
trackCliCommandWebhooks(actual) {
|
|
1162
1172
|
this.trackCliCommand({
|
|
1163
1173
|
command: "webhooks",
|
|
@@ -1528,7 +1538,8 @@ var main = async () => {
|
|
|
1528
1538
|
const targetOrSubcommand = parsedArgs.args[2];
|
|
1529
1539
|
const subSubCommand = parsedArgs.args[3];
|
|
1530
1540
|
const betaCommands = ["api", "crons", "curl", "webhooks"];
|
|
1531
|
-
const
|
|
1541
|
+
const shortBuildLabel = BUILD_LABEL ? ` (${BUILD_LABEL.split(" ")[0]})` : "";
|
|
1542
|
+
const versionBanner = isNativeBinaryInstall() ? `${getTitleName()} CLI ${pkg_default.version}${shortBuildLabel}` : `${getTitleName()} CLI ${pkg_default.version}${shortBuildLabel} (Node.js ${process.versions.node})`;
|
|
1532
1543
|
const msg = betaCommands.includes(targetOrSubcommand) ? `${versionBanner} | ${targetOrSubcommand} is in beta \u2014 https://vercel.com/feedback` : versionBanner;
|
|
1533
1544
|
if (shouldPrintVersionBanner(targetOrSubcommand, process.argv)) {
|
|
1534
1545
|
output_manager_default.print(`${import_chalk.default.dim(msg)}
|
|
@@ -1831,6 +1842,7 @@ var main = async () => {
|
|
|
1831
1842
|
"sandbox",
|
|
1832
1843
|
"telemetry",
|
|
1833
1844
|
"upgrade",
|
|
1845
|
+
"version",
|
|
1834
1846
|
"skills",
|
|
1835
1847
|
"agent"
|
|
1836
1848
|
];
|
|
@@ -2283,6 +2295,10 @@ var main = async () => {
|
|
|
2283
2295
|
telemetry.trackCliCommandUpgrade(userSuppliedSubCommand);
|
|
2284
2296
|
func = (await import("./commands-bulk.js")).upgrade;
|
|
2285
2297
|
break;
|
|
2298
|
+
case "version":
|
|
2299
|
+
telemetry.trackCliCommandVersion(userSuppliedSubCommand);
|
|
2300
|
+
func = (await import("./commands-bulk.js")).version;
|
|
2301
|
+
break;
|
|
2286
2302
|
case "webhooks":
|
|
2287
2303
|
telemetry.trackCliCommandWebhooks(userSuppliedSubCommand);
|
|
2288
2304
|
func = (await import("./commands-bulk.js")).webhooks;
|
|
@@ -2423,7 +2439,7 @@ async function promptAndUpgrade(client2, targetVersion) {
|
|
|
2423
2439
|
}
|
|
2424
2440
|
}
|
|
2425
2441
|
main().then(async (exitCode) => {
|
|
2426
|
-
if (cachedLatest && resolvedCommandForUpdate !== "upgrade") {
|
|
2442
|
+
if (cachedLatest && resolvedCommandForUpdate !== "upgrade" && !await isVersionPinned()) {
|
|
2427
2443
|
const originalExitCode = typeof exitCode === "number" ? exitCode : 0;
|
|
2428
2444
|
const fresh = freshLookupPromise ? await freshLookupPromise : void 0;
|
|
2429
2445
|
output_manager_default.debug(`Fresh lookup result: ${fresh ?? "failed"}`);
|
package/dist/vc.js
CHANGED
|
@@ -104,9 +104,13 @@ if (
|
|
|
104
104
|
process.argv.length === 3 &&
|
|
105
105
|
(process.argv[2] === '--version' || process.argv[2] === '-v')
|
|
106
106
|
) {
|
|
107
|
-
const { version } = await import('./version.mjs');
|
|
108
|
-
const
|
|
109
|
-
|
|
107
|
+
const { version, buildLabel } = await import('./version.mjs');
|
|
108
|
+
const labels = [];
|
|
109
|
+
if (process.env.VERCEL_VC_NATIVE === '1') labels.push('native');
|
|
110
|
+
// Optional build metadata stamped by CI (e.g. "pr-115 abc1234").
|
|
111
|
+
if (buildLabel) labels.push(buildLabel);
|
|
112
|
+
const suffix = labels.length > 0 ? ` (${labels.join(', ')})` : '';
|
|
113
|
+
console.error(`Vercel CLI ${version}${suffix}`);
|
|
110
114
|
console.log(version);
|
|
111
115
|
process.exit(0);
|
|
112
116
|
}
|
package/dist/version.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export const version = "58.9.
|
|
1
|
+
export const version = "58.9.3";
|
|
2
|
+
export const buildLabel = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "58.9.
|
|
3
|
+
"version": "58.9.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,12 +43,13 @@
|
|
|
43
43
|
"@vercel/detect-agent": "1.2.5",
|
|
44
44
|
"@vercel/elysia": "0.1.113",
|
|
45
45
|
"@vercel/express": "0.1.127",
|
|
46
|
-
"@vercel/fastify": "0.1.116",
|
|
47
46
|
"@vercel/go": "3.10.5",
|
|
48
47
|
"@vercel/h3": "0.1.122",
|
|
48
|
+
"@vercel/hono": "0.2.116",
|
|
49
|
+
"@vercel/fastify": "0.1.116",
|
|
49
50
|
"@vercel/hydrogen": "1.4.1",
|
|
50
|
-
"@vercel/nestjs": "0.2.117",
|
|
51
51
|
"@vercel/koa": "0.1.96",
|
|
52
|
+
"@vercel/nestjs": "0.2.117",
|
|
52
53
|
"@vercel/next": "4.21.3",
|
|
53
54
|
"@vercel/node": "5.9.9",
|
|
54
55
|
"@vercel/python": "6.56.1",
|
|
@@ -56,8 +57,7 @@
|
|
|
56
57
|
"@vercel/remix-builder": "5.9.3",
|
|
57
58
|
"@vercel/ruby": "2.5.1",
|
|
58
59
|
"@vercel/rust": "1.4.1",
|
|
59
|
-
"@vercel/static-build": "2.12.5"
|
|
60
|
-
"@vercel/hono": "0.2.116"
|
|
60
|
+
"@vercel/static-build": "2.12.5"
|
|
61
61
|
},
|
|
62
62
|
"builders": {
|
|
63
63
|
"@vercel/backends": "0.8.36",
|
|
@@ -203,18 +203,18 @@
|
|
|
203
203
|
"yauzl-promise": "2.1.3",
|
|
204
204
|
"@vercel-internals/constants": "1.0.4",
|
|
205
205
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
206
|
-
"@vercel-internals/types": "3.0.6",
|
|
207
206
|
"@vercel/client": "18.2.9",
|
|
208
207
|
"@vercel/error-utils": "2.2.1",
|
|
209
|
-
"@vercel/
|
|
208
|
+
"@vercel/frameworks": "3.30.9",
|
|
210
209
|
"@vercel/fs-detectors": "6.15.5",
|
|
211
|
-
"@vercel/
|
|
210
|
+
"@vercel/routing-utils": "6.4.1",
|
|
211
|
+
"@vercel-internals/types": "3.0.6"
|
|
212
212
|
},
|
|
213
213
|
"optionalDependencies": {
|
|
214
|
-
"@vercel/vc-native-darwin-arm64": "58.9.
|
|
215
|
-
"@vercel/vc-native-darwin-x64": "58.9.
|
|
216
|
-
"@vercel/vc-native-linux-arm64": "58.9.
|
|
217
|
-
"@vercel/vc-native-linux-x64": "58.9.
|
|
214
|
+
"@vercel/vc-native-darwin-arm64": "58.9.3",
|
|
215
|
+
"@vercel/vc-native-darwin-x64": "58.9.3",
|
|
216
|
+
"@vercel/vc-native-linux-arm64": "58.9.3",
|
|
217
|
+
"@vercel/vc-native-linux-x64": "58.9.3"
|
|
218
218
|
},
|
|
219
219
|
"scripts": {
|
|
220
220
|
"test": "node scripts/test.mjs --run",
|