vercel 58.0.0 → 58.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 (108) hide show
  1. package/dist/chunks/{add-E4KH6P4A.js → add-3RKTVRL7.js} +10 -8
  2. package/dist/chunks/{add-7PPD4ZUJ.js → add-X634O3US.js} +14 -9
  3. package/dist/chunks/add-YTFWON7N.js +187 -0
  4. package/dist/chunks/build-DJIDUWYB.js +243 -0
  5. package/dist/chunks/{chunk-DWMH5M4Q.js → chunk-2SFMOCWR.js} +1 -1
  6. package/dist/chunks/{chunk-3PKFXNJZ.js → chunk-3KNPVXJ3.js} +7 -5
  7. package/dist/chunks/chunk-3ZE5CFVM.js +346 -0
  8. package/dist/chunks/{chunk-FHEMFAHB.js → chunk-4LDQIDRM.js} +15 -9
  9. package/dist/chunks/{chunk-R5FOIIHT.js → chunk-4N7XLXM2.js} +2 -2
  10. package/dist/chunks/{chunk-KCF6S3XF.js → chunk-4UYKSYKQ.js} +10 -6
  11. package/dist/chunks/{chunk-AZTV7WPZ.js → chunk-5YXUTGSY.js} +1 -1
  12. package/dist/chunks/{chunk-MDQJLTGN.js → chunk-752Z4JQP.js} +1 -1
  13. package/dist/chunks/{chunk-OGG6UBXK.js → chunk-7QVJTI5H.js} +1 -1
  14. package/dist/chunks/{chunk-FYQPTH5C.js → chunk-A5KP5HAI.js} +7 -5
  15. package/dist/chunks/{chunk-3VS4DTAU.js → chunk-AW5YINX6.js} +106 -12
  16. package/dist/chunks/{chunk-BYQQLGCT.js → chunk-AZNCOIGT.js} +2 -2
  17. package/dist/chunks/{chunk-GIL3VAUR.js → chunk-B3JTF4CF.js} +5 -3
  18. package/dist/chunks/{chunk-4QVAYRYH.js → chunk-BEQV3X2L.js} +16 -1
  19. package/dist/chunks/{chunk-TPX7RZBM.js → chunk-BM5FP7VW.js} +9 -5
  20. package/dist/chunks/{chunk-WDE2EDYX.js → chunk-C33L5ZKY.js} +4 -4
  21. package/dist/chunks/{chunk-VUESC3YO.js → chunk-C6BDHNNF.js} +207 -4
  22. package/dist/chunks/{chunk-4G6QZSBL.js → chunk-CSJBZKC5.js} +6 -4
  23. package/dist/chunks/{chunk-TEWJ7TIW.js → chunk-D3EEVTWR.js} +2 -2
  24. package/dist/chunks/{chunk-3PGXYIKC.js → chunk-EBLH23AQ.js} +2 -2
  25. package/dist/chunks/{chunk-YA3WQFLY.js → chunk-GFG6QDIE.js} +1 -1
  26. package/dist/chunks/{chunk-FB4UFWEC.js → chunk-IH5JOYGQ.js} +4 -4
  27. package/dist/chunks/chunk-J6LK45HT.js +163 -0
  28. package/dist/chunks/{chunk-FYR7WEUJ.js → chunk-JID5CRQL.js} +3 -3
  29. package/dist/chunks/{chunk-ZVLPUREX.js → chunk-JLWQWYKO.js} +2 -2
  30. package/dist/chunks/{chunk-SZXT3PDQ.js → chunk-KBEX5MYS.js} +1 -136
  31. package/dist/chunks/{chunk-NZRWTCRM.js → chunk-KT4XXKJK.js} +1 -1
  32. package/dist/chunks/{chunk-VZSZBD4V.js → chunk-M22O6CYY.js} +1 -1
  33. package/dist/chunks/{chunk-2MJROFVC.js → chunk-MAHXF73X.js} +8 -5
  34. package/dist/chunks/{chunk-YZMZCQP3.js → chunk-MTW6MVY7.js} +10 -8
  35. package/dist/chunks/{chunk-ZMVFTCQF.js → chunk-NVSQ6KXI.js} +1 -1
  36. package/dist/chunks/{chunk-LHFNIZ2P.js → chunk-O5GNPPTU.js} +4 -2
  37. package/dist/chunks/{chunk-KGVT2RSG.js → chunk-OTQD3MHJ.js} +5 -11
  38. package/dist/chunks/{chunk-RSCSALZH.js → chunk-PNXQB4IO.js} +6 -5
  39. package/dist/chunks/{chunk-L4WYMJB3.js → chunk-QZV24TDR.js} +28 -12
  40. package/dist/chunks/chunk-RBIFXFZX.js +52 -0
  41. package/dist/chunks/{chunk-OF2GNB42.js → chunk-RQ7H43CJ.js} +1 -1
  42. package/dist/chunks/{chunk-EA22NMFU.js → chunk-RUOBMMEA.js} +2 -2
  43. package/dist/chunks/{chunk-KSSNLCL4.js → chunk-SOFC4MLS.js} +2 -2
  44. package/dist/chunks/{chunk-R54DAHCL.js → chunk-UDDCOV62.js} +2 -2
  45. package/dist/chunks/{chunk-OQGN4TEC.js → chunk-UJNNTGJY.js} +3 -3
  46. package/dist/chunks/{chunk-DGFASMSE.js → chunk-UQJMDWCY.js} +7 -5
  47. package/dist/chunks/{chunk-B2MTCHPO.js → chunk-WXJ6E3MY.js} +6 -4
  48. package/dist/chunks/{chunk-QZD5DKUR.js → chunk-XIG4GH62.js} +2 -2
  49. package/dist/chunks/chunk-XLKFJPMT.js +150 -0
  50. package/dist/chunks/{chunk-UDWRZXIT.js → chunk-Z5ZQJ5VJ.js} +15 -14
  51. package/dist/chunks/{chunk-WANVKOVB.js → chunk-ZPH66MB6.js} +808 -538
  52. package/dist/chunks/{chunk-DMSLNAVH.js → chunk-ZX2FSPWV.js} +2 -2
  53. package/dist/chunks/clear-J3OCB2DQ.js +132 -0
  54. package/dist/chunks/{compile-vercel-config-G2IVBXEI.js → compile-vercel-config-G2WILJR4.js} +5 -4
  55. package/dist/chunks/{delete-2EIVGM6P.js → delete-3NQLU7PQ.js} +7 -6
  56. package/dist/chunks/{delete-E6ZQNE5X.js → delete-HKUZTZE7.js} +7 -6
  57. package/dist/chunks/{disable-M3Q6BBB7.js → disable-7AIA4JV3.js} +7 -6
  58. package/dist/chunks/{discard-3R6ETBPS.js → discard-MIGUGPGO.js} +7 -6
  59. package/dist/chunks/{edit-7JUDPVXD.js → edit-3AU746TG.js} +8 -7
  60. package/dist/chunks/{edit-ICVMGRRU.js → edit-MDQW3S4R.js} +7 -6
  61. package/dist/chunks/{enable-HLTA35QL.js → enable-EGNWRQEI.js} +7 -6
  62. package/dist/chunks/{export-E6XZUFW3.js → export-EMBHNUMU.js} +7 -6
  63. package/dist/chunks/{image-SIRPPQZT.js → image-XXZ5DRIW.js} +5 -5
  64. package/dist/chunks/{inspect-6TQWDIBG.js → inspect-7V5ZHBBB.js} +13 -11
  65. package/dist/chunks/{inspect-65YX7L3O.js → inspect-MYUNZMLJ.js} +14 -12
  66. package/dist/chunks/{inspect-NFOURIGN.js → inspect-O7SVDBHM.js} +16 -13
  67. package/dist/chunks/{inspect-OEWWGAHZ.js → inspect-S5WJ47OH.js} +8 -7
  68. package/dist/chunks/{inspect-4FYBOOM5.js → inspect-TXVTHRAZ.js} +14 -12
  69. package/dist/chunks/{list-APFMKZJO.js → list-BQLJJACX.js} +13 -11
  70. package/dist/chunks/{list-27DCGMBI.js → list-LC2ON7OM.js} +8 -6
  71. package/dist/chunks/{list-XQCZVLES.js → list-NZ4ZOO6B.js} +8 -7
  72. package/dist/chunks/{login-FMU4CQOV.js → login-4B7KPSUW.js} +22 -51
  73. package/dist/chunks/ls-4J2WGR7U.js +178 -0
  74. package/dist/chunks/{ls-BFACWH6C.js → ls-7XMM4KCU.js} +17 -14
  75. package/dist/chunks/{ls-24BRCAZR.js → ls-FRSKR6K2.js} +15 -13
  76. package/dist/chunks/{ls-3L6EN4YU.js → ls-TWNQ7KZN.js} +13 -11
  77. package/dist/chunks/{ls-T5RGDBCV.js → ls-WCTLFAPI.js} +15 -13
  78. package/dist/chunks/{open-AG3VYJZM.js → open-J4SAVWUP.js} +7 -6
  79. package/dist/chunks/permissions-67T43WNH.js +95 -0
  80. package/dist/chunks/{publish-5OVCPS4J.js → publish-CSXOTJLD.js} +7 -6
  81. package/dist/chunks/push-7KOVRV5N.js +183 -0
  82. package/dist/chunks/{query-QS4VKBXJ.js → query-CTRPYYXR.js} +12 -10
  83. package/dist/chunks/{reorder-B5V2P7YM.js → reorder-E4PPJNEX.js} +7 -6
  84. package/dist/chunks/{reply-JBLWE6RS.js → reply-Z742BMF3.js} +7 -6
  85. package/dist/chunks/{resolve-2I6XH2G3.js → resolve-KPZJZ6IQ.js} +7 -6
  86. package/dist/chunks/{restore-O63FZXCL.js → restore-ZTH2FY4I.js} +7 -6
  87. package/dist/chunks/{rm-P3NJSCMY.js → rm-C4ODJDWP.js} +12 -8
  88. package/dist/chunks/{rm-N7W3QYWZ.js → rm-DE37CFKU.js} +15 -10
  89. package/dist/chunks/{rm-HUED5R3Q.js → rm-FVGLSIHP.js} +10 -8
  90. package/dist/chunks/rm-VOFJM4XW.js +186 -0
  91. package/dist/chunks/{rule-inspect-M3QUSPU2.js → rule-inspect-6RLS3ZNB.js} +13 -11
  92. package/dist/chunks/{rules-NSSWPJ2B.js → rules-VSXJT2QE.js} +8 -8
  93. package/dist/chunks/{schema-G2PAXPVA.js → schema-3E24G2AG.js} +11 -9
  94. package/dist/chunks/{tags-JFMO63D4.js → tags-AIZLNITP.js} +4 -4
  95. package/dist/chunks/{types-QKLIFDDP.js → types-QTOA2BTQ.js} +7 -5
  96. package/dist/chunks/{update-VJCKD6YG.js → update-QHWT7YG4.js} +10 -8
  97. package/dist/commands/build/index.js +15 -19
  98. package/dist/commands/deploy/index.js +33 -25
  99. package/dist/commands/dev/index.js +85 -17
  100. package/dist/commands/env/index.js +32 -24
  101. package/dist/commands/link/index.js +25 -22
  102. package/dist/commands/list/index.js +16 -9
  103. package/dist/commands-bulk.js +4171 -2411
  104. package/dist/help.js +1 -1
  105. package/dist/index.js +38 -34
  106. package/dist/version.mjs +1 -1
  107. package/package.json +43 -94
  108. package/dist/chunks/chunk-6OMC3HOW.js +0 -73
@@ -0,0 +1,346 @@
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
+ import {
8
+ __commonJS,
9
+ __require
10
+ } from "./chunk-TZ2YI2VH.js";
11
+
12
+ // ../../node_modules/.pnpm/double-ended-queue@2.1.0-0/node_modules/double-ended-queue/js/deque.js
13
+ var require_deque = __commonJS({
14
+ "../../node_modules/.pnpm/double-ended-queue@2.1.0-0/node_modules/double-ended-queue/js/deque.js"(exports, module) {
15
+ "use strict";
16
+ function Deque(capacity) {
17
+ this._capacity = getCapacity(capacity);
18
+ this._length = 0;
19
+ this._front = 0;
20
+ if (isArray(capacity)) {
21
+ var len = capacity.length;
22
+ for (var i = 0; i < len; ++i) {
23
+ this[i] = capacity[i];
24
+ }
25
+ this._length = len;
26
+ }
27
+ }
28
+ Deque.prototype.toArray = function Deque$toArray() {
29
+ var len = this._length;
30
+ var ret = new Array(len);
31
+ var front = this._front;
32
+ var capacity = this._capacity;
33
+ for (var j = 0; j < len; ++j) {
34
+ ret[j] = this[front + j & capacity - 1];
35
+ }
36
+ return ret;
37
+ };
38
+ Deque.prototype.push = function Deque$push(item) {
39
+ var argsLength = arguments.length;
40
+ var length = this._length;
41
+ if (argsLength > 1) {
42
+ var capacity = this._capacity;
43
+ if (length + argsLength > capacity) {
44
+ for (var i = 0; i < argsLength; ++i) {
45
+ this._checkCapacity(length + 1);
46
+ var j = this._front + length & this._capacity - 1;
47
+ this[j] = arguments[i];
48
+ length++;
49
+ this._length = length;
50
+ }
51
+ return length;
52
+ } else {
53
+ var j = this._front;
54
+ for (var i = 0; i < argsLength; ++i) {
55
+ this[j + length & capacity - 1] = arguments[i];
56
+ j++;
57
+ }
58
+ this._length = length + argsLength;
59
+ return length + argsLength;
60
+ }
61
+ }
62
+ if (argsLength === 0)
63
+ return length;
64
+ this._checkCapacity(length + 1);
65
+ var i = this._front + length & this._capacity - 1;
66
+ this[i] = item;
67
+ this._length = length + 1;
68
+ return length + 1;
69
+ };
70
+ Deque.prototype.pop = function Deque$pop() {
71
+ var length = this._length;
72
+ if (length === 0) {
73
+ return void 0;
74
+ }
75
+ var i = this._front + length - 1 & this._capacity - 1;
76
+ var ret = this[i];
77
+ this[i] = void 0;
78
+ this._length = length - 1;
79
+ return ret;
80
+ };
81
+ Deque.prototype.shift = function Deque$shift() {
82
+ var length = this._length;
83
+ if (length === 0) {
84
+ return void 0;
85
+ }
86
+ var front = this._front;
87
+ var ret = this[front];
88
+ this[front] = void 0;
89
+ this._front = front + 1 & this._capacity - 1;
90
+ this._length = length - 1;
91
+ return ret;
92
+ };
93
+ Deque.prototype.unshift = function Deque$unshift(item) {
94
+ var length = this._length;
95
+ var argsLength = arguments.length;
96
+ if (argsLength > 1) {
97
+ var capacity = this._capacity;
98
+ if (length + argsLength > capacity) {
99
+ for (var i = argsLength - 1; i >= 0; i--) {
100
+ this._checkCapacity(length + 1);
101
+ var capacity = this._capacity;
102
+ var j = (this._front - 1 & capacity - 1 ^ capacity) - capacity;
103
+ this[j] = arguments[i];
104
+ length++;
105
+ this._length = length;
106
+ this._front = j;
107
+ }
108
+ return length;
109
+ } else {
110
+ var front = this._front;
111
+ for (var i = argsLength - 1; i >= 0; i--) {
112
+ var j = (front - 1 & capacity - 1 ^ capacity) - capacity;
113
+ this[j] = arguments[i];
114
+ front = j;
115
+ }
116
+ this._front = front;
117
+ this._length = length + argsLength;
118
+ return length + argsLength;
119
+ }
120
+ }
121
+ if (argsLength === 0)
122
+ return length;
123
+ this._checkCapacity(length + 1);
124
+ var capacity = this._capacity;
125
+ var i = (this._front - 1 & capacity - 1 ^ capacity) - capacity;
126
+ this[i] = item;
127
+ this._length = length + 1;
128
+ this._front = i;
129
+ return length + 1;
130
+ };
131
+ Deque.prototype.peekBack = function Deque$peekBack() {
132
+ var length = this._length;
133
+ if (length === 0) {
134
+ return void 0;
135
+ }
136
+ var index = this._front + length - 1 & this._capacity - 1;
137
+ return this[index];
138
+ };
139
+ Deque.prototype.peekFront = function Deque$peekFront() {
140
+ if (this._length === 0) {
141
+ return void 0;
142
+ }
143
+ return this[this._front];
144
+ };
145
+ Deque.prototype.get = function Deque$get(index) {
146
+ var i = index;
147
+ if (i !== (i | 0)) {
148
+ return void 0;
149
+ }
150
+ var len = this._length;
151
+ if (i < 0) {
152
+ i = i + len;
153
+ }
154
+ if (i < 0 || i >= len) {
155
+ return void 0;
156
+ }
157
+ return this[this._front + i & this._capacity - 1];
158
+ };
159
+ Deque.prototype.isEmpty = function Deque$isEmpty() {
160
+ return this._length === 0;
161
+ };
162
+ Deque.prototype.clear = function Deque$clear() {
163
+ var len = this._length;
164
+ var front = this._front;
165
+ var capacity = this._capacity;
166
+ for (var j = 0; j < len; ++j) {
167
+ this[front + j & capacity - 1] = void 0;
168
+ }
169
+ this._length = 0;
170
+ this._front = 0;
171
+ };
172
+ Deque.prototype.toString = function Deque$toString() {
173
+ return this.toArray().toString();
174
+ };
175
+ Deque.prototype.valueOf = Deque.prototype.toString;
176
+ Deque.prototype.removeFront = Deque.prototype.shift;
177
+ Deque.prototype.removeBack = Deque.prototype.pop;
178
+ Deque.prototype.insertFront = Deque.prototype.unshift;
179
+ Deque.prototype.insertBack = Deque.prototype.push;
180
+ Deque.prototype.enqueue = Deque.prototype.push;
181
+ Deque.prototype.dequeue = Deque.prototype.shift;
182
+ Deque.prototype.toJSON = Deque.prototype.toArray;
183
+ Object.defineProperty(Deque.prototype, "length", {
184
+ get: function() {
185
+ return this._length;
186
+ },
187
+ set: function() {
188
+ throw new RangeError("");
189
+ }
190
+ });
191
+ Deque.prototype._checkCapacity = function Deque$_checkCapacity(size) {
192
+ if (this._capacity < size) {
193
+ this._resizeTo(getCapacity(this._capacity * 1.5 + 16));
194
+ }
195
+ };
196
+ Deque.prototype._resizeTo = function Deque$_resizeTo(capacity) {
197
+ var oldCapacity = this._capacity;
198
+ this._capacity = capacity;
199
+ var front = this._front;
200
+ var length = this._length;
201
+ if (front + length > oldCapacity) {
202
+ var moveItemsCount = front + length & oldCapacity - 1;
203
+ arrayMove(this, 0, this, oldCapacity, moveItemsCount);
204
+ }
205
+ };
206
+ var isArray = Array.isArray;
207
+ function arrayMove(src, srcIndex, dst, dstIndex, len) {
208
+ for (var j = 0; j < len; ++j) {
209
+ dst[j + dstIndex] = src[j + srcIndex];
210
+ src[j + srcIndex] = void 0;
211
+ }
212
+ }
213
+ function pow2AtLeast(n) {
214
+ n = n >>> 0;
215
+ n = n - 1;
216
+ n = n | n >> 1;
217
+ n = n | n >> 2;
218
+ n = n | n >> 4;
219
+ n = n | n >> 8;
220
+ n = n | n >> 16;
221
+ return n + 1;
222
+ }
223
+ function getCapacity(capacity) {
224
+ if (typeof capacity !== "number") {
225
+ if (isArray(capacity)) {
226
+ capacity = capacity.length;
227
+ } else {
228
+ return 16;
229
+ }
230
+ }
231
+ return pow2AtLeast(
232
+ Math.min(
233
+ Math.max(16, capacity),
234
+ 1073741824
235
+ )
236
+ );
237
+ }
238
+ module.exports = Deque;
239
+ }
240
+ });
241
+
242
+ // ../../node_modules/.pnpm/async-sema@2.1.4/node_modules/async-sema/index.js
243
+ var require_async_sema = __commonJS({
244
+ "../../node_modules/.pnpm/async-sema@2.1.4/node_modules/async-sema/index.js"(exports, module) {
245
+ var EventEmitter = __require("events");
246
+ var util = __require("util");
247
+ var Deque = require_deque();
248
+ var ReleaseEmitter = class extends EventEmitter {
249
+ };
250
+ function isFn(x) {
251
+ return typeof x === "function";
252
+ }
253
+ function defaultInit() {
254
+ return "1";
255
+ }
256
+ var Sema = class {
257
+ constructor(nr, { initFn = defaultInit, pauseFn, resumeFn, capacity = 10 } = {}) {
258
+ if (isFn(pauseFn) ^ isFn(resumeFn)) {
259
+ throw new Error("pauseFn and resumeFn must be both set for pausing");
260
+ }
261
+ this.nrTokens = nr;
262
+ this.free = new Deque(nr);
263
+ this.waiting = new Deque(capacity);
264
+ this.releaseEmitter = new ReleaseEmitter();
265
+ this.noTokens = initFn === defaultInit;
266
+ this.pauseFn = pauseFn;
267
+ this.resumeFn = resumeFn;
268
+ this.releaseEmitter.on("release", (token) => {
269
+ const p = this.waiting.shift();
270
+ if (p) {
271
+ p.resolve(token);
272
+ } else {
273
+ if (this.resumeFn && this.paused) {
274
+ this.paused = false;
275
+ this.resumeFn();
276
+ }
277
+ this.free.push(token);
278
+ }
279
+ });
280
+ for (let i = 0; i < nr; i++) {
281
+ this.free.push(initFn());
282
+ }
283
+ }
284
+ async acquire() {
285
+ let token = this.free.pop();
286
+ if (token) {
287
+ return token;
288
+ }
289
+ return new Promise((resolve, reject) => {
290
+ if (this.pauseFn && !this.paused) {
291
+ this.paused = true;
292
+ this.pauseFn();
293
+ }
294
+ this.waiting.push({ resolve, reject });
295
+ });
296
+ }
297
+ async v() {
298
+ return this.acquire();
299
+ }
300
+ release(token) {
301
+ this.releaseEmitter.emit("release", this.noTokens ? "1" : token);
302
+ }
303
+ p(token) {
304
+ return this.release(token);
305
+ }
306
+ drain() {
307
+ const a = new Array(this.nrTokens);
308
+ for (let i = 0; i < this.nrTokens; i++) {
309
+ a[i] = this.acquire();
310
+ }
311
+ return Promise.all(a);
312
+ }
313
+ nrWaiting() {
314
+ return this.waiting.length;
315
+ }
316
+ };
317
+ Sema.prototype.v = util.deprecate(Sema.prototype.v, "`v()` is deperecated; use `acquire()` instead");
318
+ Sema.prototype.p = util.deprecate(Sema.prototype.p, "`p()` is deprecated; use `release()` instead");
319
+ module.exports = Sema;
320
+ }
321
+ });
322
+
323
+ // src/commands/vcr/permissions/team-refs.ts
324
+ var MAX_CONCURRENT_REQUESTS = 10;
325
+ function parseTeamRefs(args) {
326
+ const refs = [];
327
+ for (const arg of args) {
328
+ for (const piece of arg.split(",")) {
329
+ const ref = piece.trim();
330
+ if (ref && !refs.includes(ref)) {
331
+ refs.push(ref);
332
+ }
333
+ }
334
+ }
335
+ return refs;
336
+ }
337
+ function teamRefBody(ref) {
338
+ return ref.startsWith("team_") ? { teamId: ref } : { teamSlug: ref };
339
+ }
340
+
341
+ export {
342
+ require_async_sema,
343
+ MAX_CONCURRENT_REQUESTS,
344
+ parseTeamRefs,
345
+ teamRefBody
346
+ };
@@ -6,11 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatOption,
9
+ jsonOption,
9
10
  limitOption,
10
11
  packageName,
11
12
  projectOption,
12
13
  yesOption
13
- } from "./chunk-KSSNLCL4.js";
14
+ } from "./chunk-SOFC4MLS.js";
14
15
 
15
16
  // src/commands/comments/command.ts
16
17
  var commentsProjectOption = {
@@ -115,7 +116,8 @@ var listSubcommand = {
115
116
  },
116
117
  limitOption,
117
118
  nextCursorOption,
118
- formatOption
119
+ formatOption,
120
+ jsonOption
119
121
  ],
120
122
  examples: [
121
123
  {
@@ -128,7 +130,7 @@ var listSubcommand = {
128
130
  },
129
131
  {
130
132
  name: "List comments as JSON",
131
- value: `${packageName} comments --format json | jq '.threads[].id'`
133
+ value: `${packageName} comments --json | jq '.threads[].id'`
132
134
  }
133
135
  ]
134
136
  };
@@ -146,7 +148,8 @@ var inspectSubcommand = {
146
148
  deprecated: false,
147
149
  description: "Include framework and device context"
148
150
  },
149
- formatOption
151
+ formatOption,
152
+ jsonOption
150
153
  ],
151
154
  examples: [
152
155
  {
@@ -190,7 +193,8 @@ var replySubcommand = {
190
193
  messageContentOption,
191
194
  fileOption,
192
195
  attachOption,
193
- formatOption
196
+ formatOption,
197
+ jsonOption
194
198
  ],
195
199
  examples: [
196
200
  {
@@ -212,7 +216,8 @@ var resolveSubcommand = {
212
216
  commentsProjectOption,
213
217
  messageContentOption,
214
218
  yesOption,
215
- formatOption
219
+ formatOption,
220
+ jsonOption
216
221
  ],
217
222
  examples: [
218
223
  {
@@ -230,7 +235,7 @@ var reopenSubcommand = {
230
235
  aliases: [],
231
236
  description: "Reopen resolved comment threads",
232
237
  arguments: [{ name: "thread", required: true, multiple: true }],
233
- options: [commentsProjectOption, yesOption, formatOption],
238
+ options: [commentsProjectOption, yesOption, formatOption, jsonOption],
234
239
  examples: [
235
240
  {
236
241
  name: "Reopen a comment",
@@ -250,7 +255,8 @@ var editSubcommand = {
250
255
  commentsProjectOption,
251
256
  messageContentOption,
252
257
  fileOption,
253
- formatOption
258
+ formatOption,
259
+ jsonOption
254
260
  ],
255
261
  examples: [
256
262
  {
@@ -267,7 +273,7 @@ var deleteSubcommand = {
267
273
  { name: "thread", required: true },
268
274
  { name: "message-id", required: true }
269
275
  ],
270
- options: [commentsProjectOption, yesOption, formatOption],
276
+ options: [commentsProjectOption, yesOption, formatOption, jsonOption],
271
277
  examples: [
272
278
  {
273
279
  name: "Delete a message",
@@ -65,13 +65,13 @@ var help = () => `
65
65
  connect [cmd] Manage connectors [beta]
66
66
  contract Show contract information for billing periods
67
67
  cron | crons [cmd] Manage cron jobs for a project [beta]
68
- curl [path] cURL requests to your linked project's deployment [beta]
68
+ curl [url|path] cURL requests with automatic deployment protection bypass [beta]
69
69
  deploy-hooks [cmd] Manage deploy hooks for Git-triggered builds
70
70
  dns [name] Manages your DNS records
71
71
  domains [name] Manages your domain names
72
- edge-config [cmd] Manage Edge Config stores
73
72
  firewall [cmd] Manages Vercel Firewall configuration and custom rules
74
73
  flags [cmd] Manage feature flags for a Vercel project
74
+ global-config [cmd] Manage Global Config stores
75
75
  httpstat path Visualize HTTP timing statistics for deployments
76
76
  logs [url] Displays the logs for a deployment
77
77
  metrics <metric> Queries observability metrics for your project or team
@@ -6,10 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatOption,
9
+ jsonOption,
9
10
  packageName,
10
11
  projectOption,
11
12
  yesOption
12
- } from "./chunk-KSSNLCL4.js";
13
+ } from "./chunk-SOFC4MLS.js";
13
14
 
14
15
  // src/commands/alerts/rules/command.ts
15
16
  var scopeOptions = [
@@ -41,7 +42,8 @@ var rulesLsSubcommand = {
41
42
  deprecated: false,
42
43
  description: "Filter by alert type. Repeatable and comma-separated (for example --type custom_alert)."
43
44
  },
44
- formatOption
45
+ formatOption,
46
+ jsonOption
45
47
  ],
46
48
  examples: [
47
49
  {
@@ -58,7 +60,7 @@ var rulesLsSubcommand = {
58
60
  },
59
61
  {
60
62
  name: "JSON output",
61
- value: `${packageName} alerts rules ls --format json`
63
+ value: `${packageName} alerts rules ls --json`
62
64
  }
63
65
  ]
64
66
  };
@@ -70,6 +72,7 @@ var rulesAddSubcommand = {
70
72
  options: [
71
73
  ...scopeOptions,
72
74
  formatOption,
75
+ jsonOption,
73
76
  {
74
77
  name: "body",
75
78
  shorthand: null,
@@ -96,7 +99,7 @@ var rulesInspectSubcommand = {
96
99
  required: true
97
100
  }
98
101
  ],
99
- options: [...scopeOptions, formatOption],
102
+ options: [...scopeOptions, formatOption, jsonOption],
100
103
  examples: [
101
104
  {
102
105
  name: "Inspect a rule",
@@ -104,7 +107,7 @@ var rulesInspectSubcommand = {
104
107
  },
105
108
  {
106
109
  name: "JSON output",
107
- value: `${packageName} alerts rules inspect ar_abc123 --format json`
110
+ value: `${packageName} alerts rules inspect ar_abc123 --json`
108
111
  }
109
112
  ]
110
113
  };
@@ -118,7 +121,7 @@ var rulesRmSubcommand = {
118
121
  required: true
119
122
  }
120
123
  ],
121
- options: [...scopeOptions, formatOption, yesOption],
124
+ options: [...scopeOptions, formatOption, jsonOption, yesOption],
122
125
  examples: [
123
126
  {
124
127
  name: "Delete with confirmation",
@@ -143,6 +146,7 @@ var rulesUpdateSubcommand = {
143
146
  options: [
144
147
  ...scopeOptions,
145
148
  formatOption,
149
+ jsonOption,
146
150
  {
147
151
  name: "body",
148
152
  shorthand: null,
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-TPX7RZBM.js";
11
+ } from "./chunk-BM5FP7VW.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  ALIGNED_LABEL_WIDTH
9
- } from "./chunk-TPX7RZBM.js";
9
+ } from "./chunk-BM5FP7VW.js";
10
10
  import {
11
11
  require_ms
12
12
  } from "./chunk-GGP5R3FU.js";
@@ -9,7 +9,7 @@ import {
9
9
  packageName,
10
10
  projectOption,
11
11
  yesOption
12
- } from "./chunk-KSSNLCL4.js";
12
+ } from "./chunk-SOFC4MLS.js";
13
13
 
14
14
  // src/commands/dev/command.ts
15
15
  var devCommand = {
@@ -6,11 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatOption,
9
+ jsonOption,
9
10
  limitOption,
10
11
  packageName,
11
12
  projectOption,
12
13
  yesOption
13
- } from "./chunk-KSSNLCL4.js";
14
+ } from "./chunk-SOFC4MLS.js";
14
15
 
15
16
  // src/commands/vcr/image/command.ts
16
17
  var projectScopeOption = {
@@ -47,7 +48,8 @@ var imageLsSubcommand = {
47
48
  },
48
49
  limitOption,
49
50
  cursorOption,
50
- formatOption
51
+ formatOption,
52
+ jsonOption
51
53
  ],
52
54
  examples: [
53
55
  {
@@ -56,7 +58,7 @@ var imageLsSubcommand = {
56
58
  },
57
59
  {
58
60
  name: "List untagged images as JSON",
59
- value: `${packageName} vcr image ls my-app --untagged --format json`
61
+ value: `${packageName} vcr image ls my-app --untagged --json`
60
62
  }
61
63
  ]
62
64
  };
@@ -74,7 +76,7 @@ var imageInspectSubcommand = {
74
76
  required: true
75
77
  }
76
78
  ],
77
- options: [projectScopeOption, formatOption],
79
+ options: [projectScopeOption, formatOption, jsonOption],
78
80
  examples: [
79
81
  {
80
82
  name: "Inspect an image by id",
@@ -96,7 +98,7 @@ var imageRmSubcommand = {
96
98
  required: true
97
99
  }
98
100
  ],
99
- options: [projectScopeOption, yesOption, formatOption],
101
+ options: [projectScopeOption, yesOption, formatOption, jsonOption],
100
102
  examples: [
101
103
  {
102
104
  name: "Delete an image by id",