vercel 56.1.0 → 56.2.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.
Files changed (70) hide show
  1. package/dist/chunks/{add-CAG6USJE.js → add-YIAPBLSF.js} +4 -4
  2. package/dist/chunks/{add-323XURMF.js → add-ZAQLTF5W.js} +5 -5
  3. package/dist/chunks/{chunk-SVSO76UB.js → chunk-2I34TRQZ.js} +1 -1
  4. package/dist/chunks/{chunk-2RVK3DDN.js → chunk-52QYYTM5.js} +4 -0
  5. package/dist/chunks/{chunk-ZDKEZNOJ.js → chunk-52V5NDUN.js} +1 -1
  6. package/dist/chunks/{chunk-2LVETUK7.js → chunk-5HNYJHOB.js} +1 -1
  7. package/dist/chunks/{chunk-HAZVRYHI.js → chunk-6ZVIC6FL.js} +4 -4
  8. package/dist/chunks/{chunk-6HNQJHQP.js → chunk-75PKWYOS.js} +1 -1
  9. package/dist/chunks/{chunk-DZGBBY3A.js → chunk-7OJJKCSW.js} +2 -2
  10. package/dist/chunks/{chunk-Q42RNOJZ.js → chunk-7TJLLZPN.js} +2 -2
  11. package/dist/chunks/{chunk-X73W5HTJ.js → chunk-DD6D5J7E.js} +7 -8
  12. package/dist/chunks/{chunk-TLHKETA6.js → chunk-DDEPCAGE.js} +175 -3072
  13. package/dist/chunks/{chunk-CQEYCOBR.js → chunk-DWU7JOO6.js} +1 -1
  14. package/dist/chunks/{chunk-GW66OTWH.js → chunk-EPBUWIAO.js} +144 -7
  15. package/dist/chunks/{chunk-7PZWVZN6.js → chunk-G75NFPIT.js} +1 -1
  16. package/dist/chunks/{chunk-CWSK7WS2.js → chunk-GPVU6JRS.js} +4 -4
  17. package/dist/chunks/{chunk-6NECZQWO.js → chunk-HIO4M75R.js} +20 -10
  18. package/dist/chunks/chunk-IMUF5MGV.js +81 -0
  19. package/dist/chunks/{chunk-O7ZMPY6L.js → chunk-JF7LPEBD.js} +1 -1
  20. package/dist/chunks/{chunk-3XCDGACN.js → chunk-KXVQEPTA.js} +1 -1
  21. package/dist/chunks/{chunk-CZLKIVVT.js → chunk-MYD7N6MH.js} +4 -2
  22. package/dist/chunks/{chunk-PJ3UJGFX.js → chunk-NULWLKT7.js} +3 -4
  23. package/dist/chunks/{chunk-4YWIGTZR.js → chunk-PASZMRTZ.js} +5 -65
  24. package/dist/chunks/{chunk-24FCBXI4.js → chunk-R6IGDGX3.js} +1 -1
  25. package/dist/chunks/{chunk-VBLL2YSE.js → chunk-UESEGACQ.js} +1 -1
  26. package/dist/chunks/{chunk-W346YNDN.js → chunk-VOBBH2SB.js} +49 -0
  27. package/dist/chunks/{chunk-U5MCEDDN.js → chunk-YKJA5TVC.js} +1 -1
  28. package/dist/chunks/{compile-vercel-config-TIO3FAYI.js → compile-vercel-config-4NKPN3EG.js} +2 -2
  29. package/dist/chunks/{delete-6TCLBG25.js → delete-NCMDC3IU.js} +3 -3
  30. package/dist/chunks/{disable-7SOBOP2H.js → disable-Z7DXY4AY.js} +3 -3
  31. package/dist/chunks/{discard-YGXO5GP5.js → discard-4ILK3ULP.js} +3 -3
  32. package/dist/chunks/{edit-KL2O6AGH.js → edit-ROJQCTWR.js} +4 -4
  33. package/dist/chunks/{enable-BJG2XLCD.js → enable-TAVCLAEC.js} +3 -3
  34. package/dist/chunks/{exec-G4AUF3KG.js → exec-CNBOV577.js} +3 -3
  35. package/dist/chunks/{export-32T5VGVA.js → export-YTSIGJFX.js} +3 -3
  36. package/dist/chunks/{image-PXN76ZCH.js → image-LORSHERP.js} +3 -3
  37. package/dist/chunks/{inspect-EIQBBWPM.js → inspect-5C4UHSCT.js} +4 -4
  38. package/dist/chunks/{inspect-N2UQFFNL.js → inspect-A2X7RTP4.js} +4 -4
  39. package/dist/chunks/{inspect-IMS5XUMF.js → inspect-L4UIWOXO.js} +4 -4
  40. package/dist/chunks/{inspect-TSK2LYUI.js → inspect-OHDU2SVS.js} +4 -4
  41. package/dist/chunks/{list-OHXBNQJW.js → list-FGVDMSFN.js} +3 -3
  42. package/dist/chunks/{list-RELZVTWN.js → list-P2B5MHON.js} +4 -4
  43. package/dist/chunks/{login-JEAMS6RC.js → login-4BK3VGII.js} +6 -6
  44. package/dist/chunks/{ls-VLBSSAUI.js → ls-NU4D6TLG.js} +4 -4
  45. package/dist/chunks/{ls-3RMT2VAX.js → ls-RAC5LMTR.js} +5 -5
  46. package/dist/chunks/{ls-6LX7JBT4.js → ls-WDRFGE2J.js} +4 -4
  47. package/dist/chunks/{ls-IOR6RY2E.js → ls-YXKRRYTL.js} +4 -4
  48. package/dist/chunks/{publish-RP7M4QTZ.js → publish-DGF2TQCQ.js} +3 -3
  49. package/dist/chunks/{query-CZVPJ4DQ.js → query-NWW6RDHK.js} +5 -5
  50. package/dist/chunks/{reorder-M25MRPFN.js → reorder-TTZBKCEB.js} +3 -3
  51. package/dist/chunks/{restore-NC5F6U4W.js → restore-DG3LZMHQ.js} +3 -3
  52. package/dist/chunks/{rm-NFJ4Z7OV.js → rm-2VBE4C2V.js} +5 -5
  53. package/dist/chunks/{rm-NE33ZYNW.js → rm-7WXXLTXF.js} +4 -4
  54. package/dist/chunks/{rm-54DKY5WE.js → rm-U2DFRDKE.js} +4 -4
  55. package/dist/chunks/{rule-inspect-JAULGGMI.js → rule-inspect-4NL3GGDB.js} +5 -5
  56. package/dist/chunks/{rules-KFLYMN6N.js → rules-DABNOUNG.js} +6 -6
  57. package/dist/chunks/{schema-D2ECKUMA.js → schema-4RRRUUOO.js} +4 -4
  58. package/dist/chunks/{tags-22H3MYVI.js → tags-MLX3AHHK.js} +2 -2
  59. package/dist/chunks/{update-7CBX7VDA.js → update-YXH7WWTN.js} +5 -5
  60. package/dist/commands/build/index.js +61 -36
  61. package/dist/commands/deploy/index.js +12 -11
  62. package/dist/commands/dev/index.js +27 -18
  63. package/dist/commands/env/index.js +171 -33
  64. package/dist/commands/link/index.js +13 -12
  65. package/dist/commands/list/index.js +7 -7
  66. package/dist/commands-bulk.js +2754 -1540
  67. package/dist/index.js +17 -18
  68. package/dist/vc.js +3 -3
  69. package/dist/version.mjs +1 -1
  70. package/package.json +20 -21
package/dist/index.js CHANGED
@@ -18,10 +18,10 @@ import {
18
18
  require_ci_info,
19
19
  setAutoUpdate,
20
20
  tryOpenApiFallback
21
- } from "./chunks/chunk-HAZVRYHI.js";
21
+ } from "./chunks/chunk-6ZVIC6FL.js";
22
22
  import {
23
23
  getUpdateCommand
24
- } from "./chunks/chunk-ZDKEZNOJ.js";
24
+ } from "./chunks/chunk-52V5NDUN.js";
25
25
  import {
26
26
  Client,
27
27
  getAuthConfigFilePath,
@@ -30,14 +30,14 @@ import {
30
30
  readAuthConfigFile,
31
31
  readConfigFile,
32
32
  writeToConfigFile
33
- } from "./chunks/chunk-PJ3UJGFX.js";
33
+ } from "./chunks/chunk-NULWLKT7.js";
34
34
  import {
35
35
  highlight
36
36
  } from "./chunks/chunk-V5P25P7F.js";
37
37
  import {
38
38
  commandNames,
39
39
  commands
40
- } from "./chunks/chunk-GW66OTWH.js";
40
+ } from "./chunks/chunk-EPBUWIAO.js";
41
41
  import "./chunks/chunk-5OT26JZN.js";
42
42
  import "./chunks/chunk-7C7MMT4J.js";
43
43
  import "./chunks/chunk-RLJA2KI7.js";
@@ -51,13 +51,13 @@ import "./chunks/chunk-HA7C7SDO.js";
51
51
  import {
52
52
  require_semver
53
53
  } from "./chunks/chunk-IB5L4LKZ.js";
54
- import "./chunks/chunk-VBLL2YSE.js";
55
- import "./chunks/chunk-U5MCEDDN.js";
56
- import {
57
- getScope
58
- } from "./chunks/chunk-CQEYCOBR.js";
54
+ import "./chunks/chunk-UESEGACQ.js";
55
+ import "./chunks/chunk-YKJA5TVC.js";
59
56
  import "./chunks/chunk-QY63UKTP.js";
60
57
  import "./chunks/chunk-QEEGXNFK.js";
58
+ import {
59
+ getScope
60
+ } from "./chunks/chunk-DWU7JOO6.js";
61
61
  import {
62
62
  getLinkFromDir,
63
63
  getTeams,
@@ -68,7 +68,7 @@ import {
68
68
  readJSONFile,
69
69
  require_dist as require_dist2,
70
70
  require_lib
71
- } from "./chunks/chunk-TLHKETA6.js";
71
+ } from "./chunks/chunk-DDEPCAGE.js";
72
72
  import "./chunks/chunk-CB3I3QIT.js";
73
73
  import {
74
74
  TelemetryClient,
@@ -95,7 +95,7 @@ import {
95
95
  } from "./chunks/chunk-P4QNYOFB.js";
96
96
  import {
97
97
  setFetchDispatcher
98
- } from "./chunks/chunk-2RVK3DDN.js";
98
+ } from "./chunks/chunk-52QYYTM5.js";
99
99
  import {
100
100
  output_manager_default,
101
101
  require_dist
@@ -764,7 +764,6 @@ async function earlyGetConfig(configFile) {
764
764
 
765
765
  // src/index.ts
766
766
  import { getDefaultAuthConfig, defaultGlobalConfig } from "@vercel/cli-config";
767
- import { Agent as HttpsAgent } from "https";
768
767
 
769
768
  // src/util/telemetry/root.ts
770
769
  var import_ci_info = __toESM(require_ci_info(), 1);
@@ -1732,14 +1731,11 @@ var main = async () => {
1732
1731
  output_manager_default.debug(
1733
1732
  `Agent/TTY/nonInteractive: isAgent=${isAgent} agentName=${detectedAgent?.name ?? "none"} stdin.isTTY=${String(process.stdin?.isTTY)} --non-interactive=${nonInteractiveFlag} explicitFalse=${explicitNonInteractiveFalse} => nonInteractive=${nonInteractive}`
1734
1733
  );
1735
- const proxyConfigured = hasProxyConfig();
1736
- const agent = proxyConfigured ? new (await import("proxy-agent")).ProxyAgent({ keepAlive: true }) : new HttpsAgent({ keepAlive: true });
1737
- if (proxyConfigured) {
1734
+ if (hasProxyConfig()) {
1738
1735
  const { EnvProxyDispatcher } = await import("./chunks/fetch-proxy-R3JZNXBZ.js");
1739
1736
  setFetchDispatcher(new EnvProxyDispatcher());
1740
1737
  }
1741
1738
  client = new Client({
1742
- agent,
1743
1739
  apiUrl,
1744
1740
  stdin: process.stdin,
1745
1741
  stdout: process.stdout,
@@ -1908,7 +1904,10 @@ var main = async () => {
1908
1904
  }
1909
1905
  let targetCommand = typeof subcommand === "string" ? commands.get(subcommand) : void 0;
1910
1906
  const scope = parsedArgs.flags["--scope"] || parsedArgs.flags["--team"] || localConfig?.scope;
1911
- if (typeof scope === "string" && targetCommand !== "login" && targetCommand !== "build" && targetCommand !== "sandbox") {
1907
+ const separatorIndex = client.argv.indexOf("--");
1908
+ const cliArgs = separatorIndex === -1 ? client.argv : client.argv.slice(0, separatorIndex);
1909
+ const buildNeedsRemoteProjectScope = targetCommand === "build" && cliArgs.some((arg) => arg === "--project" || arg.startsWith("--project="));
1910
+ if (typeof scope === "string" && targetCommand !== "login" && (targetCommand !== "build" || buildNeedsRemoteProjectScope) && targetCommand !== "sandbox") {
1912
1911
  let user = null;
1913
1912
  try {
1914
1913
  user = await getUser(client);
@@ -1981,7 +1980,7 @@ var main = async () => {
1981
1980
  if (!targetCommand) {
1982
1981
  targetCommand = parsedArgs.args[2];
1983
1982
  try {
1984
- const { execExtension } = await import("./chunks/exec-G4AUF3KG.js");
1983
+ const { execExtension } = await import("./chunks/exec-CNBOV577.js");
1985
1984
  exitCode = await execExtension(
1986
1985
  client,
1987
1986
  targetCommand,
package/dist/vc.js CHANGED
@@ -12,9 +12,8 @@ try {
12
12
 
13
13
  // Native-first: spawn a @vercel/vc-native-{platform}-{arch} binary when
14
14
  // present and exit with its result, otherwise fall through to the JS CLI.
15
- // Part 1 of 2: no optionalDependencies are wired yet, so resolveNative()
16
- // always returns null here and the CLI runs as JS. Part 2 will wire the
17
- // release flow to publish natives before vercel, activating this path.
15
+ // The native package is declared as an os/cpu-filtered optionalDependency
16
+ // so at most one platform binary downloads per install.
18
17
  import { spawnSync } from 'node:child_process';
19
18
  import { createRequire } from 'node:module';
20
19
  import { existsSync } from 'node:fs';
@@ -46,6 +45,7 @@ if (bin) {
46
45
  windowsHide: true,
47
46
  });
48
47
  if (r.error && (r.error.code === 'ENOENT' || r.error.code === 'EACCES')) {
48
+ delete process.env.VERCEL_VC_NATIVE;
49
49
  // fall through to JS
50
50
  } else {
51
51
  if (r.error) {
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "56.1.0";
1
+ export const version = "56.2.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "56.1.0",
3
+ "version": "56.2.1",
4
4
  "type": "module",
5
5
  "preferGlobal": true,
6
6
  "license": "Apache-2.0",
@@ -30,34 +30,33 @@
30
30
  "jose": "5.9.6",
31
31
  "jsonc-parser": "3.3.1",
32
32
  "luxon": "^3.4.0",
33
- "proxy-agent": "6.4.0",
34
33
  "sandbox": "3.4.0",
35
34
  "smol-toml": "1.5.2",
36
35
  "undici": "5.29.0",
37
36
  "zod": "4.1.11",
38
- "@vercel/backends": "0.8.23",
37
+ "@vercel/backends": "0.8.24",
38
+ "@vercel/build-utils": "13.33.1",
39
+ "@vercel/cli-config": "0.2.0",
39
40
  "@vercel/cli-auth": "0.3.0",
40
41
  "@vercel/container": "0.0.5",
41
- "@vercel/cli-config": "0.2.0",
42
42
  "@vercel/detect-agent": "1.2.3",
43
- "@vercel/build-utils": "13.33.0",
44
- "@vercel/elysia": "0.1.100",
45
- "@vercel/express": "0.1.114",
46
- "@vercel/fastify": "0.1.103",
47
- "@vercel/h3": "0.1.109",
48
- "@vercel/hydrogen": "1.4.0",
49
- "@vercel/hono": "0.2.103",
43
+ "@vercel/elysia": "0.1.101",
44
+ "@vercel/fastify": "0.1.104",
50
45
  "@vercel/go": "3.10.2",
51
- "@vercel/koa": "0.1.83",
52
- "@vercel/nestjs": "0.2.104",
46
+ "@vercel/h3": "0.1.110",
47
+ "@vercel/hono": "0.2.104",
48
+ "@vercel/hydrogen": "1.4.0",
49
+ "@vercel/nestjs": "0.2.105",
50
+ "@vercel/express": "0.1.115",
51
+ "@vercel/koa": "0.1.84",
53
52
  "@vercel/next": "4.20.4",
54
- "@vercel/node": "5.8.24",
53
+ "@vercel/node": "5.8.25",
55
54
  "@vercel/python": "6.50.0",
56
55
  "@vercel/redwood": "2.5.0",
57
- "@vercel/remix-builder": "5.9.1",
58
- "@vercel/rust": "1.4.0",
59
56
  "@vercel/ruby": "2.5.1",
60
- "@vercel/static-build": "2.11.6"
57
+ "@vercel/rust": "1.4.0",
58
+ "@vercel/static-build": "2.11.7",
59
+ "@vercel/remix-builder": "5.9.1"
61
60
  },
62
61
  "devDependencies": {
63
62
  "@edge-runtime/node-utils": "2.3.0",
@@ -182,12 +181,12 @@
182
181
  "yauzl-promise": "2.1.3",
183
182
  "@vercel-internals/constants": "1.0.4",
184
183
  "@vercel-internals/get-package-json": "1.0.0",
185
- "@vercel-internals/types": "3.0.6",
184
+ "@vercel/client": "18.0.0",
186
185
  "@vercel/error-utils": "2.2.0",
187
- "@vercel/frameworks": "3.30.6",
186
+ "@vercel/fs-detectors": "6.13.1",
187
+ "@vercel/frameworks": "3.30.7",
188
188
  "@vercel/routing-utils": "6.4.0",
189
- "@vercel/fs-detectors": "6.13.0",
190
- "@vercel/client": "17.6.5"
189
+ "@vercel-internals/types": "3.0.6"
191
190
  },
192
191
  "scripts": {
193
192
  "test": "vitest run --config ./vitest.config.mts",