vercel 53.2.0 → 53.3.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.
Files changed (71) hide show
  1. package/dist/chunks/{add-C7TQF4LB.js → add-PGPQCMJK.js} +9 -9
  2. package/dist/chunks/{chunk-HQU26P3O.js → chunk-25WI74GM.js} +7 -7
  3. package/dist/chunks/{chunk-TPBMA2WF.js → chunk-2TNGZL25.js} +2 -2
  4. package/dist/chunks/{chunk-FFKXMQXF.js → chunk-3GJFG6GX.js} +4 -4
  5. package/dist/chunks/{chunk-4Q5VS23S.js → chunk-3NSIZGHP.js} +3 -3
  6. package/dist/chunks/{chunk-3GBASY24.js → chunk-3YDXZRSZ.js} +2 -2
  7. package/dist/chunks/{chunk-QT4W4DLL.js → chunk-4L73BR7G.js} +11 -12
  8. package/dist/chunks/{chunk-HMM7V4AU.js → chunk-4LDQIDKG.js} +2 -2
  9. package/dist/chunks/{chunk-4Z7KJQGN.js → chunk-4OEA5ILS.js} +0 -1
  10. package/dist/chunks/{chunk-7FQIXP2G.js → chunk-4VJ3GTBX.js} +1 -1
  11. package/dist/chunks/{chunk-4M7OEHTY.js → chunk-7EJTBI6M.js} +11 -11
  12. package/dist/chunks/{chunk-YEGTCAP6.js → chunk-7Z5XFBB4.js} +140 -86
  13. package/dist/chunks/{chunk-6N4RFT24.js → chunk-AAPG3P4D.js} +9 -11
  14. package/dist/chunks/{chunk-RJWHOSUL.js → chunk-AORK3I3E.js} +1 -1
  15. package/dist/chunks/{chunk-IABMY4Q3.js → chunk-AXQNAI65.js} +1 -1
  16. package/dist/chunks/{chunk-XZ7CVBQ4.js → chunk-EBEBY45K.js} +11 -1
  17. package/dist/chunks/{chunk-LN5ZMLBU.js → chunk-GCKUEAUE.js} +2 -2
  18. package/dist/chunks/{chunk-JNOMOD7R.js → chunk-GQLARSTH.js} +1 -1
  19. package/dist/chunks/{chunk-AMXEAJTC.js → chunk-H57DZL5B.js} +3 -3
  20. package/dist/chunks/{chunk-NCUOSZ6X.js → chunk-HAJ2XRTQ.js} +2 -2
  21. package/dist/chunks/{chunk-2STWVKG7.js → chunk-HJVSVCAZ.js} +28 -13
  22. package/dist/chunks/{chunk-3LRN4Q7G.js → chunk-IS56OO2J.js} +3 -3
  23. package/dist/chunks/{chunk-AB7YF6KM.js → chunk-JJ36CB7A.js} +719 -923
  24. package/dist/chunks/{chunk-P3H4MP5H.js → chunk-JZLADLMF.js} +2 -2
  25. package/dist/chunks/{chunk-ABDTA3V2.js → chunk-KSIISCB2.js} +1 -1
  26. package/dist/chunks/{chunk-VS4O4MKY.js → chunk-MUBKPS2Z.js} +1 -1
  27. package/dist/chunks/{chunk-DFUTSURK.js → chunk-NF7HK5MP.js} +2 -2
  28. package/dist/chunks/{chunk-77JGNI4Z.js → chunk-NIOGCTVR.js} +2 -2
  29. package/dist/chunks/{chunk-5EDL2IVB.js → chunk-ONYQGA2O.js} +2 -2
  30. package/dist/chunks/{chunk-FLZW555J.js → chunk-PR72OE3G.js} +2 -2
  31. package/dist/chunks/{chunk-IEKDY4FP.js → chunk-QGLS47RE.js} +1 -1
  32. package/dist/chunks/{chunk-MAPNH6ND.js → chunk-QV34LTI7.js} +403 -101
  33. package/dist/chunks/{chunk-2TJ5Y674.js → chunk-RI23R2QO.js} +4 -4
  34. package/dist/chunks/{chunk-MZVW2VM7.js → chunk-RYUPBGRO.js} +34 -45
  35. package/dist/chunks/{chunk-4DLW7XLJ.js → chunk-SOSCFYOT.js} +2 -2
  36. package/dist/chunks/{chunk-X6H25N2H.js → chunk-TR6DYQV6.js} +1 -1
  37. package/dist/chunks/{chunk-JCLLQ23G.js → chunk-WOWCXMTU.js} +1 -1
  38. package/dist/chunks/{chunk-MSJX3VKI.js → chunk-X7KU44KR.js} +1 -1
  39. package/dist/chunks/{chunk-FK7LDWAI.js → chunk-XYYGNWMQ.js} +4 -4
  40. package/dist/chunks/{compile-vercel-config-QKQSM6VM.js → compile-vercel-config-H4BUE5BZ.js} +5 -5
  41. package/dist/chunks/{delete-LUW77HWU.js → delete-HVWVDBQF.js} +7 -7
  42. package/dist/chunks/{disable-ITW6P3R3.js → disable-CMBQPZ7L.js} +7 -7
  43. package/dist/chunks/{discard-GDFQ4V4V.js → discard-ZDNWUYLY.js} +7 -7
  44. package/dist/chunks/{edit-ZN7PQWZH.js → edit-YJYM3EKS.js} +9 -9
  45. package/dist/chunks/{enable-VTJNEZ5Q.js → enable-ITE7U5C4.js} +7 -7
  46. package/dist/chunks/{export-54A2LINR.js → export-VVN33IBK.js} +7 -7
  47. package/dist/chunks/{inspect-UMXWXZMZ.js → inspect-I7ILS3E2.js} +9 -9
  48. package/dist/chunks/{list-OJCLL4JA.js → list-6PZO3UIZ.js} +7 -7
  49. package/dist/chunks/{list-JZMV62KB.js → list-BWIEHOTA.js} +10 -10
  50. package/dist/chunks/{ls-B677IDAB.js → ls-LZZFID76.js} +9 -9
  51. package/dist/chunks/{publish-SI4H6WPL.js → publish-NULVZ7RB.js} +7 -7
  52. package/dist/chunks/{query-2CL2LAOA.js → query-BGI3AVJA.js} +9 -9
  53. package/dist/chunks/{reorder-E6R3ZL6W.js → reorder-G66QSKTR.js} +7 -7
  54. package/dist/chunks/{restore-ZVC2USSZ.js → restore-LHDVXFOH.js} +7 -7
  55. package/dist/chunks/{rm-F3ESGYZE.js → rm-DTAOTWXD.js} +9 -9
  56. package/dist/chunks/{routes-KDWN24QA.js → routes-2YVMQEPC.js} +2 -2
  57. package/dist/chunks/{rule-inspect-AWORVTNG.js → rule-inspect-AOITFBTB.js} +9 -9
  58. package/dist/chunks/{rules-KSDPKR6Z.js → rules-IW3XGCNA.js} +8 -8
  59. package/dist/chunks/{schema-UGF5QQ3K.js → schema-2VCQ2MAA.js} +10 -10
  60. package/dist/chunks/{types-FAFL42RV.js → types-7VDI75PV.js} +4 -4
  61. package/dist/chunks/{update-GXZVHW4O.js → update-L3DZ5STE.js} +9 -9
  62. package/dist/commands/build/index.js +21 -26
  63. package/dist/commands/deploy/index.js +64 -33
  64. package/dist/commands/dev/index.js +15 -15
  65. package/dist/commands/env/index.js +19 -19
  66. package/dist/commands/link/index.js +20 -20
  67. package/dist/commands/list/index.js +11 -11
  68. package/dist/commands-bulk.js +378 -210
  69. package/dist/index.js +298 -48
  70. package/dist/version.mjs +1 -1
  71. package/package.json +21 -19
package/dist/index.js CHANGED
@@ -17,78 +17,77 @@ import {
17
17
  login,
18
18
  matchesCliApiTag,
19
19
  tryOpenApiFallback
20
- } from "./chunks/chunk-6N4RFT24.js";
20
+ } from "./chunks/chunk-AAPG3P4D.js";
21
21
  import {
22
22
  getUpdateCommand
23
- } from "./chunks/chunk-3GBASY24.js";
23
+ } from "./chunks/chunk-3YDXZRSZ.js";
24
24
  import {
25
25
  Client,
26
26
  getAuthConfigFilePath,
27
27
  getConfigFilePath,
28
+ getGlobalPathConfig,
28
29
  readAuthConfigFile,
29
30
  readConfigFile,
30
31
  writeToAuthConfigFile,
31
32
  writeToConfigFile
32
- } from "./chunks/chunk-YEGTCAP6.js";
33
+ } from "./chunks/chunk-7Z5XFBB4.js";
33
34
  import {
34
35
  highlight
35
36
  } from "./chunks/chunk-V5P25P7F.js";
36
37
  import {
37
38
  commandNames,
38
39
  commands
39
- } from "./chunks/chunk-2STWVKG7.js";
40
- import "./chunks/chunk-HMM7V4AU.js";
41
- import "./chunks/chunk-77JGNI4Z.js";
42
- import "./chunks/chunk-NCUOSZ6X.js";
43
- import "./chunks/chunk-LN5ZMLBU.js";
44
- import "./chunks/chunk-4Q5VS23S.js";
45
- import "./chunks/chunk-P3H4MP5H.js";
40
+ } from "./chunks/chunk-HJVSVCAZ.js";
41
+ import "./chunks/chunk-4LDQIDKG.js";
42
+ import "./chunks/chunk-NIOGCTVR.js";
43
+ import "./chunks/chunk-HAJ2XRTQ.js";
44
+ import "./chunks/chunk-GCKUEAUE.js";
45
+ import "./chunks/chunk-3NSIZGHP.js";
46
+ import "./chunks/chunk-JZLADLMF.js";
46
47
  import {
47
48
  getScope
48
- } from "./chunks/chunk-FLZW555J.js";
49
- import "./chunks/chunk-5EDL2IVB.js";
49
+ } from "./chunks/chunk-PR72OE3G.js";
50
+ import "./chunks/chunk-ONYQGA2O.js";
50
51
  import {
51
52
  require_semver
52
53
  } from "./chunks/chunk-IB5L4LKZ.js";
53
- import "./chunks/chunk-JCLLQ23G.js";
54
+ import "./chunks/chunk-WOWCXMTU.js";
54
55
  import {
55
56
  require_execa,
56
57
  require_isexe
57
- } from "./chunks/chunk-7FQIXP2G.js";
58
- import "./chunks/chunk-QT4W4DLL.js";
59
- import "./chunks/chunk-MZVW2VM7.js";
60
- import "./chunks/chunk-3LRN4Q7G.js";
61
- import "./chunks/chunk-ABDTA3V2.js";
58
+ } from "./chunks/chunk-4VJ3GTBX.js";
59
+ import "./chunks/chunk-4L73BR7G.js";
60
+ import "./chunks/chunk-RYUPBGRO.js";
61
+ import "./chunks/chunk-IS56OO2J.js";
62
+ import "./chunks/chunk-KSIISCB2.js";
62
63
  import {
63
64
  getLinkFromDir,
64
65
  getTeams,
65
66
  getUser,
66
67
  getVercelDirectory,
67
- global_path_default,
68
68
  humanizePath,
69
69
  param,
70
70
  readJSONFile,
71
71
  require_dist as require_dist3,
72
72
  require_lib,
73
- require_lib3 as require_lib2,
74
- require_xdg_app_paths
75
- } from "./chunks/chunk-AB7YF6KM.js";
73
+ require_lib3 as require_lib2
74
+ } from "./chunks/chunk-JJ36CB7A.js";
76
75
  import {
77
76
  TelemetryClient,
78
77
  TelemetryEventStore
79
- } from "./chunks/chunk-4Z7KJQGN.js";
80
- import "./chunks/chunk-IABMY4Q3.js";
78
+ } from "./chunks/chunk-4OEA5ILS.js";
79
+ import "./chunks/chunk-AXQNAI65.js";
81
80
  import "./chunks/chunk-CO5D46AG.js";
82
81
  import {
83
82
  getArgs,
84
83
  parseArguments,
85
84
  printError
86
- } from "./chunks/chunk-JNOMOD7R.js";
85
+ } from "./chunks/chunk-GQLARSTH.js";
87
86
  import {
88
87
  APIError,
89
88
  CantFindConfig,
90
89
  CantParseJSONFile,
91
- ConflictingConfigFiles,
90
+ DeprecatedNowJson,
92
91
  WorkingDirectoryDoesNotExist,
93
92
  cmd,
94
93
  getCommandName,
@@ -96,7 +95,7 @@ import {
96
95
  init_pkg,
97
96
  pkg_default,
98
97
  pkg_exports
99
- } from "./chunks/chunk-XZ7CVBQ4.js";
98
+ } from "./chunks/chunk-EBEBY45K.js";
100
99
  import {
101
100
  output_manager_default,
102
101
  require_dist as require_dist2
@@ -136,6 +135,272 @@ var require_epipebomb = __commonJS2({
136
135
  }
137
136
  });
138
137
 
138
+ // ../../node_modules/.pnpm/os-paths@4.4.0/node_modules/os-paths/src/lib/index.js
139
+ var require_lib3 = __commonJS2({
140
+ "../../node_modules/.pnpm/os-paths@4.4.0/node_modules/os-paths/src/lib/index.js"(exports2, module2) {
141
+ "use strict";
142
+ var os = __require("os");
143
+ var paths = __require("path");
144
+ var isWinOS = /^win/i.test(process.platform);
145
+ function normalize_path(path2) {
146
+ return paths.normalize(paths.join(path2, "."));
147
+ }
148
+ var base = () => {
149
+ const { env } = process;
150
+ const object = {};
151
+ object.home = () => normalize_path(os.homedir ? os.homedir() : env.HOME);
152
+ object.temp = () => normalize_path(os.tmpdir ? os.tmpdir() : env.TMPDIR || env.TEMP || env.TMP);
153
+ return object;
154
+ };
155
+ var windows = () => {
156
+ const { env } = process;
157
+ const object = {};
158
+ object.home = () => normalize_path(
159
+ os.homedir ? os.homedir() : env.USERPROFILE || paths.join(env.HOMEDRIVE, env.HOMEPATH) || env.HOME
160
+ );
161
+ object.temp = () => normalize_path(
162
+ os.tmpdir ? os.tmpdir() : env.TEMP || env.TMP || paths.join(env.LOCALAPPDATA || env.SystemRoot || env.windir, "Temp")
163
+ );
164
+ return object;
165
+ };
166
+ var _OSPaths = class __OSPaths {
167
+ constructor() {
168
+ const OSPaths = function() {
169
+ return new __OSPaths();
170
+ };
171
+ this._fn = OSPaths;
172
+ const extension = isWinOS ? windows() : base();
173
+ Object.keys(extension).forEach((key) => {
174
+ this._fn[key] = extension[key];
175
+ });
176
+ return this._fn;
177
+ }
178
+ };
179
+ module2.exports = new _OSPaths();
180
+ }
181
+ });
182
+
183
+ // ../../node_modules/.pnpm/xdg-portable@7.3.0/node_modules/xdg-portable/src/lib/index.js
184
+ var require_lib4 = __commonJS2({
185
+ "../../node_modules/.pnpm/xdg-portable@7.3.0/node_modules/xdg-portable/src/lib/index.js"(exports2, module2) {
186
+ "use strict";
187
+ var path2 = __require("path");
188
+ var osPaths = require_lib3();
189
+ var linux = () => {
190
+ const object = {};
191
+ object.cache = () => process.env.XDG_CACHE_HOME || path2.join(osPaths.home() || osPaths.temp(), ".cache");
192
+ object.config = () => process.env.XDG_CONFIG_HOME || path2.join(osPaths.home() || osPaths.temp(), ".config");
193
+ object.data = () => process.env.XDG_DATA_HOME || path2.join(osPaths.home() || osPaths.temp(), ".local", "share");
194
+ object.runtime = () => process.env.XDG_RUNTIME_DIR || void 0;
195
+ object.state = () => process.env.XDG_STATE_HOME || path2.join(osPaths.home() || osPaths.temp(), ".local", "state");
196
+ return object;
197
+ };
198
+ var macos = () => {
199
+ const object = {};
200
+ object.cache = () => process.env.XDG_CACHE_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "Caches");
201
+ object.config = () => process.env.XDG_CONFIG_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "Preferences");
202
+ object.data = () => process.env.XDG_DATA_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "Application Support");
203
+ object.runtime = () => process.env.XDG_RUNTIME_DIR || void 0;
204
+ object.state = () => process.env.XDG_STATE_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "State");
205
+ return object;
206
+ };
207
+ var windows = () => {
208
+ const object = {};
209
+ object.cache = () => {
210
+ const localAppData = process.env.LOCALAPPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Local");
211
+ return process.env.XDG_CACHE_HOME || path2.join(localAppData, "xdg.cache");
212
+ };
213
+ object.config = () => {
214
+ const appData = process.env.APPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Roaming");
215
+ return process.env.XDG_CONFIG_HOME || path2.join(appData, "xdg.config");
216
+ };
217
+ object.data = () => {
218
+ const appData = process.env.APPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Roaming");
219
+ return process.env.XDG_DATA_HOME || path2.join(appData, "xdg.data");
220
+ };
221
+ object.runtime = () => process.env.XDG_RUNTIME_DIR || void 0;
222
+ object.state = () => {
223
+ const localAppData = process.env.LOCALAPPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Local");
224
+ return process.env.XDG_STATE_HOME || path2.join(localAppData, "xdg.state");
225
+ };
226
+ return object;
227
+ };
228
+ var _XDGPortable = () => {
229
+ const XDGPortable = function() {
230
+ return _XDGPortable();
231
+ };
232
+ let extension = {};
233
+ if (/^darwin$/i.test(process.platform)) {
234
+ extension = macos();
235
+ } else if (/^win/i.test(process.platform)) {
236
+ extension = windows();
237
+ } else {
238
+ extension = linux();
239
+ }
240
+ extension.configDirs = () => {
241
+ const dirs = [];
242
+ dirs.push(extension.config());
243
+ if (process.env.XDG_CONFIG_DIRS) {
244
+ dirs.push(...process.env.XDG_CONFIG_DIRS.split(path2.delimiter));
245
+ }
246
+ return dirs;
247
+ };
248
+ extension.dataDirs = () => {
249
+ const dirs = [];
250
+ dirs.push(extension.data());
251
+ if (process.env.XDG_DATA_DIRS) {
252
+ dirs.push(...process.env.XDG_DATA_DIRS.split(path2.delimiter));
253
+ }
254
+ return dirs;
255
+ };
256
+ Object.keys(extension).forEach((key) => {
257
+ XDGPortable[key] = extension[key];
258
+ });
259
+ return XDGPortable;
260
+ };
261
+ module2.exports = _XDGPortable();
262
+ }
263
+ });
264
+
265
+ // ../../node_modules/.pnpm/xdg-app-paths@5.1.0/node_modules/xdg-app-paths/index.js
266
+ var require_xdg_app_paths = __commonJS2({
267
+ "../../node_modules/.pnpm/xdg-app-paths@5.1.0/node_modules/xdg-app-paths/index.js"(exports2, module2) {
268
+ "use strict";
269
+ var path2 = __require("path");
270
+ var os = __require("os");
271
+ var xdg = require_lib4();
272
+ var isWinOS = /^win/i.test(process.platform);
273
+ function _normalizeOptions(options, isolated) {
274
+ options = options || {};
275
+ if (typeof options !== "object") {
276
+ options = { isolated: options };
277
+ }
278
+ options.isolated = options.isolated === void 0 || options.isolated === null ? isolated : options.isolated;
279
+ if (typeof options.isolated !== "boolean") {
280
+ throw new TypeError(`Expected boolean for "isolated" argument, got ${typeof options.isolated}`);
281
+ }
282
+ return options;
283
+ }
284
+ var base = (name, isolated) => {
285
+ const object = {};
286
+ object.cache = (options = { isolated: null }) => {
287
+ options = _normalizeOptions(options, isolated);
288
+ return path2.join(xdg.cache(), options.isolated ? name : "");
289
+ };
290
+ object.config = (options = { isolated: null }) => {
291
+ options = _normalizeOptions(options, isolated);
292
+ return path2.join(xdg.config(), options.isolated ? name : "");
293
+ };
294
+ object.data = (options = { isolated: null }) => {
295
+ options = _normalizeOptions(options, isolated);
296
+ return path2.join(xdg.data(), options.isolated ? name : "");
297
+ };
298
+ object.runtime = (options = { isolated: null }) => {
299
+ options = _normalizeOptions(options, isolated);
300
+ return xdg.runtime() ? path2.join(xdg.runtime(), options.isolated ? name : "") : void 0;
301
+ };
302
+ object.state = (options = { isolated: null }) => {
303
+ options = _normalizeOptions(options, isolated);
304
+ return path2.join(xdg.state(), options.isolated ? name : "");
305
+ };
306
+ object.configDirs = (options = { isolated: null }) => {
307
+ options = _normalizeOptions(options, isolated);
308
+ return xdg.configDirs().map((s) => path2.join(s, options.isolated ? name : ""));
309
+ };
310
+ object.dataDirs = (options = { isolated: null }) => {
311
+ options = _normalizeOptions(options, isolated);
312
+ return xdg.dataDirs().map((s) => path2.join(s, options.isolated ? name : ""));
313
+ };
314
+ return object;
315
+ };
316
+ var windows = (name, isolated) => {
317
+ const { env } = process;
318
+ const homedir = os.homedir();
319
+ const tmpdir = os.tmpdir();
320
+ const appData = env.APPDATA || path2.join(homedir || tmpdir, "AppData", "Roaming");
321
+ const localAppData = env.LOCALAPPDATA || path2.join(homedir || tmpdir, "AppData", "Local");
322
+ const object = {};
323
+ object.cache = (options = { isolated: null }) => {
324
+ options = _normalizeOptions(options, isolated);
325
+ return !options.isolated || env.XDG_CACHE_HOME ? path2.join(xdg.cache(), options.isolated ? name : "") : path2.join(localAppData, options.isolated ? name : "", "Cache");
326
+ };
327
+ object.config = (options = { isolated: null }) => {
328
+ options = _normalizeOptions(options, isolated);
329
+ const config2 = !options.isolated || env.XDG_CONFIG_HOME ? path2.join(xdg.config(), options.isolated ? name : "") : path2.join(appData, options.isolated ? name : "", "Config");
330
+ return config2;
331
+ };
332
+ object.data = (options = { isolated: null }) => {
333
+ options = _normalizeOptions(options, isolated);
334
+ const data = !options.isolated || env.XDG_DATA_HOME ? path2.join(xdg.data(), options.isolated ? name : "") : path2.join(appData, options.isolated ? name : "", "Data");
335
+ return data;
336
+ };
337
+ object.runtime = (options = { isolated: null }) => {
338
+ options = _normalizeOptions(options, isolated);
339
+ return xdg.runtime() ? path2.join(xdg.runtime(), options.isolated ? name : "") : void 0;
340
+ };
341
+ object.state = (options = { isolated: null }) => {
342
+ options = _normalizeOptions(options, isolated);
343
+ return !options.isolated || env.XDG_STATE_HOME ? path2.join(xdg.state(), options.isolated ? name : "") : path2.join(localAppData, options.isolated ? name : "", "State");
344
+ };
345
+ object.configDirs = (options = { isolated: null }) => {
346
+ options = _normalizeOptions(options, isolated);
347
+ const dirs = [object.config(options)];
348
+ if (env.XDG_CONFIG_DIRS) {
349
+ dirs.push(...env.XDG_CONFIG_DIRS.split(path2.delimiter).map((s) => path2.join(s, options.isolated ? name : "")));
350
+ }
351
+ return dirs;
352
+ };
353
+ object.dataDirs = (options = { isolated: null }) => {
354
+ options = _normalizeOptions(options, isolated);
355
+ const dirs = [object.data(options)];
356
+ if (env.XDG_DATA_DIRS) {
357
+ dirs.push(...env.XDG_DATA_DIRS.split(path2.delimiter).map((s) => path2.join(s, options.isolated ? name : "")));
358
+ }
359
+ return dirs;
360
+ };
361
+ return object;
362
+ };
363
+ var _XDGAppPaths = class __XDGAppPaths {
364
+ constructor(options = { name: null, suffix: null, isolated: true }) {
365
+ const XDGAppPaths2 = function(options2 = { name: null, suffix: null, isolated: true }) {
366
+ return new __XDGAppPaths(options2);
367
+ };
368
+ this._fn = XDGAppPaths2;
369
+ options = options || {};
370
+ if (typeof options !== "object") {
371
+ options = { name: options };
372
+ }
373
+ let name = options.name || "";
374
+ if (typeof name !== "string") {
375
+ throw new TypeError(`Expected string for "name" argument, got ${typeof name}`);
376
+ }
377
+ const suffix = options.suffix || "";
378
+ if (typeof suffix !== "string") {
379
+ throw new TypeError(`Expected string for "suffix" argument, got ${typeof suffix}`);
380
+ }
381
+ const isolated = options.isolated === void 0 || options.isolated === null ? true : options.isolated;
382
+ if (typeof isolated !== "boolean") {
383
+ throw new TypeError(`Expected boolean for "isolated" argument, got ${typeof isolated}`);
384
+ }
385
+ if (!name) {
386
+ name = path2.parse(process.pkg ? process.execPath : __require.main ? __require.main.filename : process.argv[0]).name;
387
+ }
388
+ if (suffix) {
389
+ name += suffix;
390
+ }
391
+ this._fn.$name = () => name;
392
+ this._fn.$isolated = () => isolated;
393
+ const extension = isWinOS ? windows(name, isolated) : base(name, isolated);
394
+ Object.keys(extension).forEach((key) => {
395
+ this._fn[key] = extension[key];
396
+ });
397
+ return this._fn;
398
+ }
399
+ };
400
+ module2.exports = new _XDGAppPaths();
401
+ }
402
+ });
403
+
139
404
  // ../../node_modules/.pnpm/@sentry+utils@7.120.1/node_modules/@sentry/utils/cjs/is.js
140
405
  var require_is = __commonJS2({
141
406
  "../../node_modules/.pnpm/@sentry+utils@7.120.1/node_modules/@sentry/utils/cjs/is.js"(exports2) {
@@ -20869,7 +21134,7 @@ var init_constants = __esm({
20869
21134
  });
20870
21135
 
20871
21136
  // ../../node_modules/.pnpm/which@3.0.0/node_modules/which/lib/index.js
20872
- var require_lib3 = __commonJS2({
21137
+ var require_lib5 = __commonJS2({
20873
21138
  "../../node_modules/.pnpm/which@3.0.0/node_modules/which/lib/index.js"(exports2, module2) {
20874
21139
  var isexe = require_isexe();
20875
21140
  var { join: join2, delimiter, sep, posix } = __require("path");
@@ -22796,9 +23061,6 @@ async function earlyGetConfig(configFile) {
22796
23061
  if (nowConfig instanceof CantParseJSONFile) {
22797
23062
  return nowConfig;
22798
23063
  }
22799
- if (vercelConfig && nowConfig) {
22800
- return new ConflictingConfigFiles([vercelFilePath, nowFilePath]);
22801
- }
22802
23064
  if (vercelConfig !== null) {
22803
23065
  output_manager_default.debug(`Found config in file "${vercelFilePath}"`);
22804
23066
  config = vercelConfig;
@@ -22806,29 +23068,17 @@ async function earlyGetConfig(configFile) {
22806
23068
  return config;
22807
23069
  }
22808
23070
  if (nowConfig !== null) {
22809
- output_manager_default.debug(`Found config in file "${nowFilePath}"`);
22810
- config = nowConfig;
22811
- config[import_client.fileNameSymbol] = "now.json";
22812
- return config;
23071
+ return new DeprecatedNowJson(nowFilePath);
22813
23072
  }
22814
- return new CantFindConfig([vercelFilePath, nowFilePath].map(humanizePath));
23073
+ return new CantFindConfig([vercelFilePath].map(humanizePath));
22815
23074
  }
22816
23075
 
22817
- // src/util/config/get-default.ts
22818
- var defaultGlobalConfig = {
22819
- "// Note": "This is your Vercel config file. For more information see the global configuration documentation.",
22820
- "// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#config.json"
22821
- };
22822
- var defaultAuthConfig = {
22823
- "// Note": "This is your Vercel credentials file. DO NOT SHARE!",
22824
- "// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#auth.json"
22825
- };
22826
-
22827
23076
  // src/index.ts
23077
+ import { defaultAuthConfig, defaultGlobalConfig } from "@vercel/cli-config";
22828
23078
  import { Agent as HttpsAgent } from "https";
22829
23079
 
22830
23080
  // src/util/extension/exec.ts
22831
- var import_which = __toESM3(require_lib3(), 1);
23081
+ var import_which = __toESM3(require_lib5(), 1);
22832
23082
  var import_execa = __toESM3(require_execa(), 1);
22833
23083
  var import_async_listen = __toESM3(require_dist4(), 1);
22834
23084
  import { dirname as dirname2 } from "path";
@@ -23509,7 +23759,7 @@ try {
23509
23759
  originalError(msg);
23510
23760
  };
23511
23761
  }
23512
- var VERCEL_DIR = global_path_default();
23762
+ var VERCEL_DIR = getGlobalPathConfig();
23513
23763
  var VERCEL_CONFIG_PATH = getConfigFilePath();
23514
23764
  var VERCEL_AUTH_CONFIG_PATH = getAuthConfigFilePath();
23515
23765
  var GLOBAL_COMMANDS = /* @__PURE__ */ new Set(["help"]);
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "53.2.0";
1
+ export const version = "53.3.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "53.2.0",
3
+ "version": "53.3.0",
4
4
  "type": "module",
5
5
  "preferGlobal": true,
6
6
  "license": "Apache-2.0",
@@ -32,27 +32,29 @@
32
32
  "luxon": "^3.4.0",
33
33
  "proxy-agent": "6.4.0",
34
34
  "sandbox": "2.5.6",
35
+ "zod": "4.1.11",
35
36
  "@vercel/prepare-flags-definitions": "0.2.1",
36
- "@vercel/build-utils": "13.21.0",
37
+ "@vercel/cli-config": "0.1.0",
37
38
  "@vercel/detect-agent": "1.2.3",
38
- "@vercel/backends": "0.3.0",
39
- "@vercel/elysia": "0.1.73",
40
- "@vercel/express": "0.1.83",
41
- "@vercel/fastify": "0.1.76",
39
+ "@vercel/build-utils": "13.22.0",
40
+ "@vercel/backends": "0.4.0",
41
+ "@vercel/elysia": "0.1.74",
42
+ "@vercel/express": "0.1.84",
43
+ "@vercel/fastify": "0.1.77",
42
44
  "@vercel/go": "3.6.0",
43
- "@vercel/h3": "0.1.82",
44
- "@vercel/hono": "0.2.76",
45
- "@vercel/hydrogen": "1.3.7",
46
- "@vercel/koa": "0.1.56",
47
- "@vercel/nestjs": "0.2.77",
45
+ "@vercel/h3": "0.1.83",
46
+ "@vercel/hono": "0.2.77",
47
+ "@vercel/koa": "0.1.57",
48
+ "@vercel/nestjs": "0.2.78",
48
49
  "@vercel/next": "4.17.1",
49
- "@vercel/node": "5.7.15",
50
- "@vercel/python": "6.38.0",
50
+ "@vercel/hydrogen": "1.3.7",
51
+ "@vercel/node": "5.7.16",
52
+ "@vercel/python": "6.39.0",
51
53
  "@vercel/redwood": "2.4.13",
52
54
  "@vercel/remix-builder": "5.8.1",
53
- "@vercel/ruby": "2.3.2",
54
55
  "@vercel/rust": "1.2.0",
55
- "@vercel/static-build": "2.9.22"
56
+ "@vercel/static-build": "2.9.23",
57
+ "@vercel/ruby": "2.3.2"
56
58
  },
57
59
  "devDependencies": {
58
60
  "@edge-runtime/node-utils": "2.3.0",
@@ -176,12 +178,12 @@
176
178
  "yauzl-promise": "2.1.3",
177
179
  "@vercel-internals/constants": "1.0.4",
178
180
  "@vercel-internals/get-package-json": "1.0.0",
179
- "@vercel/client": "17.4.0",
180
- "@vercel/frameworks": "3.25.0",
181
+ "@vercel-internals/types": "3.0.6",
182
+ "@vercel/frameworks": "3.25.1",
181
183
  "@vercel/error-utils": "2.1.0",
182
- "@vercel/fs-detectors": "6.1.1",
184
+ "@vercel/fs-detectors": "6.2.0",
183
185
  "@vercel/routing-utils": "6.2.0",
184
- "@vercel-internals/types": "3.0.6"
186
+ "@vercel/client": "17.4.1"
185
187
  },
186
188
  "scripts": {
187
189
  "test": "vitest run --config ./vitest.config.mts",