vercel 58.1.0 → 58.4.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 (106) hide show
  1. package/dist/chunks/{add-QKP6ZCHQ.js → add-IOYS5JE4.js} +10 -8
  2. package/dist/chunks/{add-WKV7KU4Y.js → add-JTIGJQ75.js} +12 -9
  3. package/dist/chunks/add-QKKUAXFL.js +187 -0
  4. package/dist/chunks/{build-ZXEK6YEA.js → build-ZHZDIIS5.js} +12 -9
  5. package/dist/chunks/{chunk-3YARBN7P.js → chunk-27FZN5LR.js} +4 -4
  6. package/dist/chunks/{chunk-4LSERVQQ.js → chunk-2ILCTO6A.js} +7 -5
  7. package/dist/chunks/{chunk-E4LXCO7U.js → chunk-2SFMOCWR.js} +1 -1
  8. package/dist/chunks/{chunk-NYURBHZJ.js → chunk-3KNPVXJ3.js} +1 -1
  9. package/dist/chunks/chunk-3ZE5CFVM.js +346 -0
  10. package/dist/chunks/{chunk-AX3N4MO2.js → chunk-4LDQIDRM.js} +1 -1
  11. package/dist/chunks/{chunk-LXA2GZ7U.js → chunk-4N7XLXM2.js} +1 -1
  12. package/dist/chunks/{chunk-75MDJ6TK.js → chunk-4UYKSYKQ.js} +1 -1
  13. package/dist/chunks/{chunk-JA3QX2H6.js → chunk-56QCZ4RL.js} +2 -2
  14. package/dist/chunks/{chunk-VSMCQSGH.js → chunk-7QVJTI5H.js} +1 -1
  15. package/dist/chunks/{chunk-TCBOCSWF.js → chunk-A5KP5HAI.js} +1 -1
  16. package/dist/chunks/{chunk-V6WHZAPP.js → chunk-AW5YINX6.js} +8 -4
  17. package/dist/chunks/{chunk-JNP3FQR3.js → chunk-AZS5CLCN.js} +1 -1
  18. package/dist/chunks/{chunk-NGYOR3MN.js → chunk-B3JTF4CF.js} +1 -1
  19. package/dist/chunks/{chunk-4QVAYRYH.js → chunk-BEQV3X2L.js} +16 -1
  20. package/dist/chunks/{chunk-552YY6QY.js → chunk-CAWBO7SQ.js} +10 -8
  21. package/dist/chunks/{chunk-TPB4F5XN.js → chunk-CSJBZKC5.js} +1 -1
  22. package/dist/chunks/{chunk-2D22CMQ7.js → chunk-DI54DSTV.js} +6 -4
  23. package/dist/chunks/{chunk-CXICXWXJ.js → chunk-DXS2X7KK.js} +3 -3
  24. package/dist/chunks/{chunk-XAWGGWSG.js → chunk-EBLH23AQ.js} +2 -2
  25. package/dist/chunks/{chunk-OVW5WUCR.js → chunk-G47QOVJ7.js} +1 -1
  26. package/dist/chunks/{chunk-32IPC6RB.js → chunk-GFG6QDIE.js} +1 -1
  27. package/dist/chunks/{chunk-C267R2FA.js → chunk-GJ5DKYDQ.js} +5 -5
  28. package/dist/chunks/{chunk-OG7DIS52.js → chunk-IBSUQT6H.js} +1 -1
  29. package/dist/chunks/chunk-J6LK45HT.js +163 -0
  30. package/dist/chunks/{chunk-5AG7MR7W.js → chunk-JHIWAM64.js} +3 -3
  31. package/dist/chunks/{chunk-FBPCJV72.js → chunk-JLWQWYKO.js} +2 -2
  32. package/dist/chunks/{chunk-RL7X7JGK.js → chunk-KBEX5MYS.js} +1 -136
  33. package/dist/chunks/{chunk-LA3BQQQK.js → chunk-KT4XXKJK.js} +1 -1
  34. package/dist/chunks/{chunk-YITWM37U.js → chunk-KWOWGI7Z.js} +2 -2
  35. package/dist/chunks/{chunk-FR352QKR.js → chunk-M22O6CYY.js} +1 -1
  36. package/dist/chunks/{chunk-XTLNPNWY.js → chunk-MAHXF73X.js} +2 -2
  37. package/dist/chunks/{chunk-KY3ZOYJW.js → chunk-O5GNPPTU.js} +1 -1
  38. package/dist/chunks/{chunk-CSI7GEDD.js → chunk-OWY3MF3E.js} +2 -2
  39. package/dist/chunks/{chunk-DKS4XDVC.js → chunk-PVWXPWLQ.js} +7 -5
  40. package/dist/chunks/{chunk-XTQADJ6S.js → chunk-QTXQOWOJ.js} +3 -3
  41. package/dist/chunks/{chunk-TF627KEI.js → chunk-RQ7H43CJ.js} +1 -1
  42. package/dist/chunks/{chunk-U6PPDPR5.js → chunk-SOFC4MLS.js} +1 -0
  43. package/dist/chunks/{chunk-QCB22TQG.js → chunk-SWHPI3G7.js} +2 -2
  44. package/dist/chunks/{chunk-BAUVB2VF.js → chunk-U5E5J56I.js} +4 -4
  45. package/dist/chunks/{chunk-HXTQVMJZ.js → chunk-U7Y5DZXS.js} +2 -2
  46. package/dist/chunks/{chunk-6QUKJKFX.js → chunk-WUMURQKS.js} +393 -291
  47. package/dist/chunks/{chunk-4I7DTZAJ.js → chunk-XIG4GH62.js} +2 -2
  48. package/dist/chunks/chunk-XLKFJPMT.js +150 -0
  49. package/dist/chunks/{chunk-S7LXRKLD.js → chunk-Z5ZQJ5VJ.js} +14 -14
  50. package/dist/chunks/{chunk-KLNWR2JI.js → chunk-ZQR5RIAX.js} +10 -8
  51. package/dist/chunks/{chunk-P7IO46BQ.js → chunk-ZX2FSPWV.js} +2 -2
  52. package/dist/chunks/clear-R3DI3AA6.js +132 -0
  53. package/dist/chunks/{compile-vercel-config-AFGCQEYG.js → compile-vercel-config-NEC63GCN.js} +5 -4
  54. package/dist/chunks/{delete-UGSJQBE7.js → delete-BYB66ET3.js} +7 -6
  55. package/dist/chunks/{delete-Y5LNEZXI.js → delete-DIZK7FRU.js} +7 -6
  56. package/dist/chunks/{disable-IF3AHKJD.js → disable-HW6CHEVD.js} +7 -6
  57. package/dist/chunks/{discard-Y6GZBIHJ.js → discard-3UG4K6G2.js} +7 -6
  58. package/dist/chunks/{edit-HNMKZ3YT.js → edit-EY7LRITZ.js} +7 -6
  59. package/dist/chunks/{edit-6TGJKUI5.js → edit-LD5G6GL3.js} +8 -7
  60. package/dist/chunks/{enable-SE4QM4X3.js → enable-MDNLCSAW.js} +7 -6
  61. package/dist/chunks/{export-5AYL7HCJ.js → export-25X6M77L.js} +7 -6
  62. package/dist/chunks/{image-6BYNQVGW.js → image-YQWZLM6Z.js} +5 -5
  63. package/dist/chunks/{inspect-FGYXO4K5.js → inspect-73FISCNZ.js} +13 -11
  64. package/dist/chunks/{inspect-DPTRYDFH.js → inspect-H7GEYNIF.js} +8 -7
  65. package/dist/chunks/{inspect-LTHZUXA2.js → inspect-KYAB4F3P.js} +10 -8
  66. package/dist/chunks/{inspect-3KCFHDWA.js → inspect-QVI6UVBJ.js} +13 -10
  67. package/dist/chunks/{inspect-MA36GG73.js → inspect-R6ADYTPB.js} +10 -8
  68. package/dist/chunks/{list-OCW34SRV.js → list-FTNOS4FT.js} +8 -7
  69. package/dist/chunks/{list-VTQZSIIT.js → list-SDNYJJ4M.js} +8 -6
  70. package/dist/chunks/{list-BTOXZBQK.js → list-SRKON4E4.js} +13 -11
  71. package/dist/chunks/{login-VSXLK5ZU.js → login-7NR7N4ZF.js} +12 -9
  72. package/dist/chunks/{ls-DRI2AOFB.js → ls-BDLEGFY3.js} +14 -11
  73. package/dist/chunks/ls-NIEZW5O3.js +178 -0
  74. package/dist/chunks/{ls-3UA57DZZ.js → ls-PZHHHKZ7.js} +13 -11
  75. package/dist/chunks/{ls-ZBLTJ5RE.js → ls-T276Z2QR.js} +11 -9
  76. package/dist/chunks/{ls-76YTWNKD.js → ls-TWHG22W7.js} +11 -9
  77. package/dist/chunks/{open-DVKAE5HP.js → open-TNEPXGZK.js} +7 -6
  78. package/dist/chunks/permissions-KI2JGJSN.js +95 -0
  79. package/dist/chunks/{publish-F5C4ZA7M.js → publish-NBGFOHLV.js} +7 -6
  80. package/dist/chunks/{push-PKJFQTLO.js → push-SPPWXOAJ.js} +12 -9
  81. package/dist/chunks/{query-GT5LCT45.js → query-LS4PEYHG.js} +12 -10
  82. package/dist/chunks/{reorder-AQW4XFDS.js → reorder-UTQ632H5.js} +7 -6
  83. package/dist/chunks/{reply-FI7SADGU.js → reply-QFGX5YBV.js} +7 -6
  84. package/dist/chunks/{resolve-C5G7JJZJ.js → resolve-ZDO5BCI7.js} +7 -6
  85. package/dist/chunks/{restore-5TLSHQOS.js → restore-T77AKNZ2.js} +7 -6
  86. package/dist/chunks/{rm-L7OQPCIE.js → rm-3RTVWGWR.js} +13 -10
  87. package/dist/chunks/{rm-C37BHGQI.js → rm-D24FHFMF.js} +10 -8
  88. package/dist/chunks/{rm-2EN66OYO.js → rm-IQPLVKJR.js} +10 -8
  89. package/dist/chunks/rm-JTOFOKOZ.js +186 -0
  90. package/dist/chunks/{rule-inspect-V5DRHOTZ.js → rule-inspect-VVHTVTRD.js} +13 -11
  91. package/dist/chunks/{rules-5XEMLN5G.js → rules-EEWMLKRI.js} +8 -8
  92. package/dist/chunks/{schema-UEOZVBY5.js → schema-XLJLZ4OE.js} +11 -9
  93. package/dist/chunks/{tags-ZGANV4YD.js → tags-5DZYPJDP.js} +4 -4
  94. package/dist/chunks/{types-IKWGLSDF.js → types-QTOA2BTQ.js} +7 -5
  95. package/dist/chunks/{update-DHWSMSMS.js → update-YFXZDNIV.js} +10 -8
  96. package/dist/commands/build/index.js +15 -15
  97. package/dist/commands/deploy/index.js +28 -25
  98. package/dist/commands/dev/index.js +85 -17
  99. package/dist/commands/env/index.js +27 -24
  100. package/dist/commands/link/index.js +25 -22
  101. package/dist/commands/list/index.js +11 -9
  102. package/dist/commands-bulk.js +2980 -2156
  103. package/dist/help.js +1 -1
  104. package/dist/index.js +37 -34
  105. package/dist/version.mjs +1 -1
  106. package/package.json +41 -34
@@ -0,0 +1,163 @@
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
+ formatOption,
9
+ limitOption,
10
+ packageName,
11
+ projectOption,
12
+ yesOption
13
+ } from "./chunk-SOFC4MLS.js";
14
+
15
+ // src/commands/vcr/permissions/command.ts
16
+ var PERMISSIONS_ACTIONS = {
17
+ ls: ["ls", "list"],
18
+ add: ["add"],
19
+ rm: ["rm", "remove"],
20
+ clear: ["clear"]
21
+ };
22
+ var projectScopeOption = {
23
+ ...projectOption,
24
+ shorthand: "p",
25
+ description: "Project name or ID (defaults to the linked project)."
26
+ };
27
+ var cursorOption = {
28
+ name: "cursor",
29
+ shorthand: "c",
30
+ type: String,
31
+ deprecated: false,
32
+ description: "Cursor from a previous page to continue listing from",
33
+ argument: "STRING"
34
+ };
35
+ var permissionsLsSubcommand = {
36
+ name: "ls",
37
+ aliases: ["list"],
38
+ description: "List teams with access to a repository",
39
+ arguments: [],
40
+ options: [projectScopeOption, limitOption, cursorOption, formatOption],
41
+ examples: [
42
+ {
43
+ name: "List teams with access to a repository",
44
+ value: `${packageName} vcr permissions my-app ls`
45
+ },
46
+ {
47
+ name: "List teams with access as JSON",
48
+ value: `${packageName} vcr permissions my-app ls --format json`
49
+ }
50
+ ]
51
+ };
52
+ var permissionsAddSubcommand = {
53
+ name: "add",
54
+ aliases: [],
55
+ description: "Give one or more teams access to pull images from a repository",
56
+ arguments: [
57
+ {
58
+ name: "team",
59
+ required: true,
60
+ multiple: true
61
+ }
62
+ ],
63
+ options: [projectScopeOption, formatOption],
64
+ examples: [
65
+ {
66
+ name: "Share a repository with a team by id",
67
+ value: `${packageName} vcr permissions my-app add team_1a2b3c4d`
68
+ },
69
+ {
70
+ name: "Share a repository with a team by slug",
71
+ value: `${packageName} vcr permissions my-app add my-team`
72
+ },
73
+ {
74
+ name: "Share a repository with multiple teams",
75
+ value: `${packageName} vcr permissions my-app add team_1a2b3c4d,other-team`
76
+ }
77
+ ]
78
+ };
79
+ var permissionsRmSubcommand = {
80
+ name: "rm",
81
+ aliases: ["remove"],
82
+ description: "Remove one or more teams' access to a repository",
83
+ arguments: [
84
+ {
85
+ name: "team",
86
+ required: true,
87
+ multiple: true
88
+ }
89
+ ],
90
+ options: [projectScopeOption, formatOption],
91
+ examples: [
92
+ {
93
+ name: "Remove a team's access by id",
94
+ value: `${packageName} vcr permissions my-app rm team_1a2b3c4d`
95
+ },
96
+ {
97
+ name: "Remove multiple teams' access",
98
+ value: `${packageName} vcr permissions my-app rm team_1a2b3c4d,other-team`
99
+ }
100
+ ]
101
+ };
102
+ var permissionsClearSubcommand = {
103
+ name: "clear",
104
+ aliases: [],
105
+ description: "Remove access to a repository for every team",
106
+ arguments: [],
107
+ options: [projectScopeOption, yesOption, formatOption],
108
+ examples: [
109
+ {
110
+ name: "Clear all repository permissions",
111
+ value: `${packageName} vcr permissions my-app clear`
112
+ },
113
+ {
114
+ name: "Clear all repository permissions without the confirmation prompt",
115
+ value: `${packageName} vcr permissions my-app clear --yes`
116
+ }
117
+ ]
118
+ };
119
+ var permissionsAggregateCommand = {
120
+ name: "permissions",
121
+ aliases: ["permission"],
122
+ description: "Manage which teams can pull images from a container registry repository",
123
+ arguments: [
124
+ {
125
+ name: "repository",
126
+ required: true
127
+ }
128
+ ],
129
+ subcommands: [
130
+ permissionsLsSubcommand,
131
+ permissionsAddSubcommand,
132
+ permissionsRmSubcommand,
133
+ permissionsClearSubcommand
134
+ ],
135
+ options: [],
136
+ examples: [
137
+ {
138
+ name: "List teams with access to a repository",
139
+ value: `${packageName} vcr permissions my-app ls`
140
+ },
141
+ {
142
+ name: "Share a repository with a team",
143
+ value: `${packageName} vcr permissions my-app add team_1a2b3c4d`
144
+ },
145
+ {
146
+ name: "Remove a team's access to a repository",
147
+ value: `${packageName} vcr permissions my-app rm team_1a2b3c4d`
148
+ },
149
+ {
150
+ name: "Clear all repository permissions",
151
+ value: `${packageName} vcr permissions my-app clear`
152
+ }
153
+ ]
154
+ };
155
+
156
+ export {
157
+ PERMISSIONS_ACTIONS,
158
+ permissionsLsSubcommand,
159
+ permissionsAddSubcommand,
160
+ permissionsRmSubcommand,
161
+ permissionsClearSubcommand,
162
+ permissionsAggregateCommand
163
+ };
@@ -11,15 +11,15 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-DKS4XDVC.js";
14
+ } from "./chunk-PVWXPWLQ.js";
15
15
  import {
16
16
  printError
17
- } from "./chunk-RL7X7JGK.js";
17
+ } from "./chunk-KBEX5MYS.js";
18
18
  import {
19
19
  ProjectNotFound,
20
20
  getCommandName,
21
21
  isAPIError
22
- } from "./chunk-U6PPDPR5.js";
22
+ } from "./chunk-SOFC4MLS.js";
23
23
  import {
24
24
  output_manager_default
25
25
  } from "./chunk-OX7KI3LF.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  table
9
- } from "./chunk-LA3BQQQK.js";
9
+ } from "./chunk-KT4XXKJK.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-RL7X7JGK.js";
12
+ } from "./chunk-KBEX5MYS.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -5,11 +5,10 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
- arg_common_default,
9
8
  getCommandName,
10
9
  parseRetryAfterHeaderAsMillis,
11
10
  require_bytes
12
- } from "./chunk-U6PPDPR5.js";
11
+ } from "./chunk-SOFC4MLS.js";
13
12
  import {
14
13
  output_manager_default
15
14
  } from "./chunk-OX7KI3LF.js";
@@ -21,119 +20,6 @@ import {
21
20
  __toESM
22
21
  } from "./chunk-TZ2YI2VH.js";
23
22
 
24
- // ../../node_modules/.pnpm/arg@5.0.0/node_modules/arg/index.js
25
- var require_arg = __commonJS({
26
- "../../node_modules/.pnpm/arg@5.0.0/node_modules/arg/index.js"(exports, module) {
27
- var flagSymbol = Symbol("arg flag");
28
- var ArgError = class _ArgError extends Error {
29
- constructor(msg, code) {
30
- super(msg);
31
- this.name = "ArgError";
32
- this.code = code;
33
- Object.setPrototypeOf(this, _ArgError.prototype);
34
- }
35
- };
36
- function arg2(opts, { argv = process.argv.slice(2), permissive = false, stopAtPositional = false } = {}) {
37
- if (!opts) {
38
- throw new ArgError("argument specification object is required", "ARG_CONFIG_NO_SPEC");
39
- }
40
- const result = { _: [] };
41
- const aliases = {};
42
- const handlers = {};
43
- for (const key of Object.keys(opts)) {
44
- if (!key) {
45
- throw new ArgError("argument key cannot be an empty string", "ARG_CONFIG_EMPTY_KEY");
46
- }
47
- if (key[0] !== "-") {
48
- throw new ArgError(`argument key must start with '-' but found: '${key}'`, "ARG_CONFIG_NONOPT_KEY");
49
- }
50
- if (key.length === 1) {
51
- throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${key}`, "ARG_CONFIG_NONAME_KEY");
52
- }
53
- if (typeof opts[key] === "string") {
54
- aliases[key] = opts[key];
55
- continue;
56
- }
57
- let type = opts[key];
58
- let isFlag = false;
59
- if (Array.isArray(type) && type.length === 1 && typeof type[0] === "function") {
60
- const [fn] = type;
61
- type = (value, name, prev = []) => {
62
- prev.push(fn(value, name, prev[prev.length - 1]));
63
- return prev;
64
- };
65
- isFlag = fn === Boolean || fn[flagSymbol] === true;
66
- } else if (typeof type === "function") {
67
- isFlag = type === Boolean || type[flagSymbol] === true;
68
- } else {
69
- throw new ArgError(`type missing or not a function or valid array type: ${key}`, "ARG_CONFIG_VAD_TYPE");
70
- }
71
- if (key[1] !== "-" && key.length > 2) {
72
- throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${key}`, "ARG_CONFIG_SHORTOPT_TOOLONG");
73
- }
74
- handlers[key] = [type, isFlag];
75
- }
76
- for (let i = 0, len = argv.length; i < len; i++) {
77
- const wholeArg = argv[i];
78
- if (stopAtPositional && result._.length > 0) {
79
- result._ = result._.concat(argv.slice(i));
80
- break;
81
- }
82
- if (wholeArg === "--") {
83
- result._ = result._.concat(argv.slice(i + 1));
84
- break;
85
- }
86
- if (wholeArg.length > 1 && wholeArg[0] === "-") {
87
- const separatedArguments = wholeArg[1] === "-" || wholeArg.length === 2 ? [wholeArg] : wholeArg.slice(1).split("").map((a) => `-${a}`);
88
- for (let j = 0; j < separatedArguments.length; j++) {
89
- const arg3 = separatedArguments[j];
90
- const [originalArgName, argStr] = arg3[1] === "-" ? arg3.split(/=(.*)/, 2) : [arg3, void 0];
91
- let argName = originalArgName;
92
- while (argName in aliases) {
93
- argName = aliases[argName];
94
- }
95
- if (!(argName in handlers)) {
96
- if (permissive) {
97
- result._.push(arg3);
98
- continue;
99
- } else {
100
- throw new ArgError(`unknown or unexpected option: ${originalArgName}`, "ARG_UNKNOWN_OPTION");
101
- }
102
- }
103
- const [type, isFlag] = handlers[argName];
104
- if (!isFlag && j + 1 < separatedArguments.length) {
105
- throw new ArgError(`option requires argument (but was followed by another short argument): ${originalArgName}`, "ARG_MISSING_REQUIRED_SHORTARG");
106
- }
107
- if (isFlag) {
108
- result[argName] = type(true, argName, result[argName]);
109
- } else if (argStr === void 0) {
110
- if (argv.length < i + 2 || argv[i + 1].length > 1 && argv[i + 1][0] === "-" && !(argv[i + 1].match(/^-?\d*(\.(?=\d))?\d*$/) && (type === Number || // eslint-disable-next-line no-undef
111
- typeof BigInt !== "undefined" && type === BigInt))) {
112
- const extended = originalArgName === argName ? "" : ` (alias for ${argName})`;
113
- throw new ArgError(`option requires argument: ${originalArgName}${extended}`, "ARG_MISSING_REQUIRED_LONGARG");
114
- }
115
- result[argName] = type(argv[i + 1], argName, result[argName]);
116
- ++i;
117
- } else {
118
- result[argName] = type(argStr, argName, result[argName]);
119
- }
120
- }
121
- } else {
122
- result._.push(wholeArg);
123
- }
124
- }
125
- return result;
126
- }
127
- arg2.flag = (fn) => {
128
- fn[flagSymbol] = true;
129
- return fn;
130
- };
131
- arg2.COUNT = arg2.flag((v, name, existingCount) => (existingCount || 0) + 1);
132
- arg2.ArgError = ArgError;
133
- module.exports = arg2;
134
- }
135
- });
136
-
137
23
  // ../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js
138
24
  var require_ansi_regex = __commonJS({
139
25
  "../../node_modules/.pnpm/ansi-regex@5.0.1/node_modules/ansi-regex/index.js"(exports, module) {
@@ -237,25 +123,6 @@ var require_string_width = __commonJS({
237
123
  }
238
124
  });
239
125
 
240
- // src/util/get-args.ts
241
- var import_arg = __toESM(require_arg(), 1);
242
- function getArgs(argv, argsOptions, argOptions = {}) {
243
- return (0, import_arg.default)(Object.assign({}, arg_common_default(), argsOptions), {
244
- ...argOptions,
245
- argv
246
- });
247
- }
248
- function parseArguments(args, flagsSpecification, parserOptions = {}) {
249
- const { _: positional, ...rest } = (0, import_arg.default)(
250
- Object.assign({}, arg_common_default(), flagsSpecification),
251
- {
252
- ...parserOptions,
253
- argv: args
254
- }
255
- );
256
- return { args: positional, flags: rest };
257
- }
258
-
259
126
  // src/util/output/error.ts
260
127
  var import_chalk = __toESM(require_source(), 1);
261
128
 
@@ -333,8 +200,6 @@ function printError(error2) {
333
200
  }
334
201
 
335
202
  export {
336
- getArgs,
337
- parseArguments,
338
203
  require_strip_ansi,
339
204
  require_string_width,
340
205
  responseError,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_string_width
9
- } from "./chunk-RL7X7JGK.js";
9
+ } from "./chunk-KBEX5MYS.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-DKS4XDVC.js";
9
+ } from "./chunk-PVWXPWLQ.js";
10
10
  import {
11
11
  isNativeBinaryInstall
12
12
  } from "./chunk-ECCWJHC6.js";
13
13
  import {
14
14
  packageName
15
- } from "./chunk-U6PPDPR5.js";
15
+ } from "./chunk-SOFC4MLS.js";
16
16
  import {
17
17
  __toESM
18
18
  } from "./chunk-TZ2YI2VH.js";
@@ -8,7 +8,7 @@ import {
8
8
  packageName,
9
9
  projectOption,
10
10
  yesOption
11
- } from "./chunk-U6PPDPR5.js";
11
+ } from "./chunk-SOFC4MLS.js";
12
12
 
13
13
  // src/commands/routes/command.ts
14
14
  var listSubcommand = {
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  rulesAggregateCommand
9
- } from "./chunk-75MDJ6TK.js";
9
+ } from "./chunk-4UYKSYKQ.js";
10
10
  import {
11
11
  formatOption,
12
12
  jsonOption,
13
13
  limitOption,
14
14
  packageName,
15
15
  projectOption
16
- } from "./chunk-U6PPDPR5.js";
16
+ } from "./chunk-SOFC4MLS.js";
17
17
 
18
18
  // src/commands/alerts/command.ts
19
19
  var listSubcommand = {
@@ -13,7 +13,7 @@ import {
13
13
  nextOption,
14
14
  packageName,
15
15
  yesOption
16
- } from "./chunk-U6PPDPR5.js";
16
+ } from "./chunk-SOFC4MLS.js";
17
17
 
18
18
  // src/commands/list/command.ts
19
19
  var listCommand = {
@@ -19,12 +19,12 @@ import {
19
19
  require_lib,
20
20
  require_minimatch,
21
21
  require_pluralize
22
- } from "./chunk-DKS4XDVC.js";
22
+ } from "./chunk-PVWXPWLQ.js";
23
23
  import {
24
24
  CantParseJSONFile,
25
25
  cmd,
26
26
  code
27
- } from "./chunk-U6PPDPR5.js";
27
+ } from "./chunk-SOFC4MLS.js";
28
28
  import {
29
29
  pkg_default
30
30
  } from "./chunk-P4QNYOFB.js";
@@ -20,13 +20,15 @@ import {
20
20
  outputActionRequired,
21
21
  outputAgentError,
22
22
  shouldEmitNonInteractiveCommandError
23
- } from "./chunk-S7LXRKLD.js";
23
+ } from "./chunk-Z5ZQJ5VJ.js";
24
24
  import {
25
- parseArguments,
26
25
  printError,
27
26
  require_string_width,
28
27
  require_strip_ansi
29
- } from "./chunk-RL7X7JGK.js";
28
+ } from "./chunk-KBEX5MYS.js";
29
+ import {
30
+ parseArguments
31
+ } from "./chunk-XLKFJPMT.js";
30
32
  import {
31
33
  APIError,
32
34
  CantParseJSONFile,
@@ -57,7 +59,7 @@ import {
57
59
  projectOption,
58
60
  require_lib,
59
61
  yesOption
60
- } from "./chunk-U6PPDPR5.js";
62
+ } from "./chunk-SOFC4MLS.js";
61
63
  import {
62
64
  pkg_default
63
65
  } from "./chunk-P4QNYOFB.js";
@@ -38148,7 +38150,7 @@ var require_package = __commonJS({
38148
38150
  "../client/package.json"(exports, module) {
38149
38151
  module.exports = {
38150
38152
  name: "@vercel/client",
38151
- version: "18.2.0",
38153
+ version: "18.2.2",
38152
38154
  main: "dist/index.js",
38153
38155
  typings: "dist/index.d.ts",
38154
38156
  homepage: "https://vercel.com",
@@ -20,18 +20,18 @@ import {
20
20
  getLinkedProject,
21
21
  getProjectByNameOrId,
22
22
  getScope
23
- } from "./chunk-DKS4XDVC.js";
23
+ } from "./chunk-PVWXPWLQ.js";
24
24
  import {
25
25
  AGENT_REASON,
26
26
  buildCommandWithGlobalFlags,
27
27
  outputAgentError
28
- } from "./chunk-S7LXRKLD.js";
28
+ } from "./chunk-Z5ZQJ5VJ.js";
29
29
  import {
30
30
  ProjectNotFound,
31
31
  isAPIError,
32
32
  packageName,
33
33
  require_bytes
34
- } from "./chunk-U6PPDPR5.js";
34
+ } from "./chunk-SOFC4MLS.js";
35
35
  import {
36
36
  output_manager_default
37
37
  } 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
  require_strip_ansi
9
- } from "./chunk-RL7X7JGK.js";
9
+ } from "./chunk-KBEX5MYS.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-TZ2YI2VH.js";
@@ -511,6 +511,7 @@ var formatOption = {
511
511
  shorthand: "F",
512
512
  type: String,
513
513
  argument: "FORMAT",
514
+ description: "Specify the output format (json)",
514
515
  deprecated: false
515
516
  };
516
517
  var jsonOption = {
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-DKS4XDVC.js";
9
+ } from "./chunk-PVWXPWLQ.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
13
- } from "./chunk-U6PPDPR5.js";
13
+ } from "./chunk-SOFC4MLS.js";
14
14
  import {
15
15
  output_manager_default
16
16
  } from "./chunk-OX7KI3LF.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-V4RMJKQP.js";
11
11
  import {
12
12
  table
13
- } from "./chunk-LA3BQQQK.js";
13
+ } from "./chunk-KT4XXKJK.js";
14
14
  import {
15
15
  Separator,
16
16
  VERCEL_DIR_PROJECT,
@@ -46,15 +46,15 @@ import {
46
46
  selectAndParseRemoteUrl,
47
47
  selectOrg,
48
48
  writeServicesConfig
49
- } from "./chunk-DKS4XDVC.js";
49
+ } from "./chunk-PVWXPWLQ.js";
50
50
  import {
51
51
  printError
52
- } from "./chunk-RL7X7JGK.js";
52
+ } from "./chunk-KBEX5MYS.js";
53
53
  import {
54
54
  CantParseJSONFile,
55
55
  ProjectNotFound,
56
56
  isAPIError
57
- } from "./chunk-U6PPDPR5.js";
57
+ } from "./chunk-SOFC4MLS.js";
58
58
  import {
59
59
  output_manager_default
60
60
  } 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
  resolveAlertsScope
9
- } from "./chunk-CXICXWXJ.js";
9
+ } from "./chunk-DXS2X7KK.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -16,7 +16,7 @@ import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
18
18
  outputAgentError
19
- } from "./chunk-S7LXRKLD.js";
19
+ } from "./chunk-Z5ZQJ5VJ.js";
20
20
 
21
21
  // src/commands/alerts/rules/parse-scope.ts
22
22
  async function parseRulesFlagsAndScope(client, flags, jsonOutput, command = "alerts rules ls") {