vercel 50.25.6 → 50.26.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 (64) hide show
  1. package/dist/chunks/{chunk-VI7C4DUA.js → chunk-3AVNF6AH.js} +2 -2
  2. package/dist/chunks/{chunk-XHQKUIYD.js → chunk-4IS2QZ7D.js} +2 -2
  3. package/dist/chunks/{chunk-CNPRAFKN.js → chunk-5F2QN5D6.js} +1 -1
  4. package/dist/chunks/chunk-6PXAVV2L.js +127 -0
  5. package/dist/chunks/{chunk-R3ZVBJJV.js → chunk-7D2CONKL.js} +2 -2
  6. package/dist/chunks/chunk-7EHTK7LP.js +359 -0
  7. package/dist/chunks/{chunk-WUMIOXFA.js → chunk-AUOVKSJV.js} +2 -2
  8. package/dist/chunks/{chunk-MR7XLQML.js → chunk-BR67OKRE.js} +2 -2
  9. package/dist/chunks/chunk-D63ZY6XZ.js +38 -0
  10. package/dist/chunks/{chunk-JTUKNHUL.js → chunk-DOMJ6XOD.js} +2 -2
  11. package/dist/chunks/{chunk-IRQ6FO7P.js → chunk-DZ375AUF.js} +2 -2
  12. package/dist/chunks/{chunk-P2UUUDM7.js → chunk-EFQYD7RX.js} +1 -1
  13. package/dist/chunks/{chunk-I63FYLJU.js → chunk-EOZFDJSY.js} +0 -7
  14. package/dist/chunks/{chunk-AKFUFTZA.js → chunk-FBOPIB73.js} +5 -5
  15. package/dist/chunks/{chunk-4CX6HCBE.js → chunk-FUPEDOCK.js} +2 -2
  16. package/dist/chunks/{chunk-7272ELRD.js → chunk-G4C4IE2L.js} +10 -8
  17. package/dist/chunks/{chunk-LTTGCN2M.js → chunk-GT2DPHE7.js} +28 -4
  18. package/dist/chunks/chunk-GUECCUPR.js +1717 -0
  19. package/dist/chunks/{chunk-KQEHQBLZ.js → chunk-HF7WQJKX.js} +1 -1
  20. package/dist/chunks/{chunk-4DBVSHGE.js → chunk-JASYFCY2.js} +1 -1
  21. package/dist/chunks/{chunk-SMA5WLY5.js → chunk-JHA4NY23.js} +6 -6
  22. package/dist/chunks/{chunk-X5OVS3OI.js → chunk-KQRMUV2N.js} +3 -3
  23. package/dist/chunks/{chunk-JC42I36Q.js → chunk-LZOFD677.js} +2 -2
  24. package/dist/chunks/{chunk-AWZG32LN.js → chunk-PCDFSIYF.js} +1 -1
  25. package/dist/chunks/{chunk-ZJYMYAE7.js → chunk-RYFH6H4S.js} +8 -6
  26. package/dist/chunks/{chunk-QFK2VSFR.js → chunk-SO7KYCRU.js} +3 -3
  27. package/dist/chunks/{chunk-FAJVJUQ6.js → chunk-SX2UUXSH.js} +2 -2
  28. package/dist/chunks/{chunk-UAJX7S4G.js → chunk-U2GERZJX.js} +13 -7
  29. package/dist/chunks/{chunk-AF7J3V6Q.js → chunk-W3Z2NIJT.js} +5 -5
  30. package/dist/chunks/{chunk-OKSSZ6LV.js → chunk-WOAYL4EA.js} +16 -0
  31. package/dist/chunks/{chunk-TQJBKJCP.js → chunk-XZTNWCFJ.js} +97 -32
  32. package/dist/chunks/{parse-conditions-R3OD73CF.js → chunk-Y4JJYHUG.js} +8 -13
  33. package/dist/chunks/{chunk-MFP4TAJK.js → chunk-YEKC7YXH.js} +5 -5
  34. package/dist/chunks/{chunk-6AFO56VB.js → chunk-YRWIOAB2.js} +1 -348
  35. package/dist/chunks/{chunk-RTWSSVAZ.js → chunk-YTTWXN4B.js} +1 -1
  36. package/dist/chunks/{chunk-VZ2TAK5O.js → chunk-ZDA4Y7RR.js} +1 -1
  37. package/dist/chunks/{compile-vercel-config-CKOU46BU.js → compile-vercel-config-JY6JB354.js} +4 -3
  38. package/dist/chunks/{delete-43BQA5QN.js → delete-CPJQKQAW.js} +5 -4
  39. package/dist/chunks/{disable-W24WAQHF.js → disable-CGIQEGNK.js} +5 -4
  40. package/dist/chunks/{discard-C3LGBZ34.js → discard-RZLODD7W.js} +5 -4
  41. package/dist/chunks/edit-ARWATHWA.js +508 -0
  42. package/dist/chunks/{enable-QFA27SJ5.js → enable-TYAVMJQG.js} +5 -4
  43. package/dist/chunks/{export-ECID4CGM.js → export-2VYDW5CG.js} +5 -4
  44. package/dist/chunks/list-COERLRD2.js +458 -0
  45. package/dist/chunks/{publish-K476FXGM.js → publish-3PZMTHHN.js} +5 -4
  46. package/dist/chunks/{query-VFD4I7X5.js → query-76QCZH7B.js} +9 -23
  47. package/dist/chunks/{reorder-F3DTMH5G.js → reorder-DNFCU7MK.js} +5 -4
  48. package/dist/chunks/{restore-HNSI2HVP.js → restore-OTSLF6ZO.js} +5 -4
  49. package/dist/chunks/{routes-MAKCAK4J.js → routes-S6GRQFJQ.js} +1 -1
  50. package/dist/chunks/{schema-7ZLJYQG5.js → schema-ASGQV2JH.js} +8 -6
  51. package/dist/chunks/types-ERNAF2TU.js +108 -0
  52. package/dist/commands/build/index.js +16 -15
  53. package/dist/commands/deploy/index.js +61 -21
  54. package/dist/commands/dev/index.js +19 -17
  55. package/dist/commands/env/index.js +16 -14
  56. package/dist/commands/link/index.js +16 -14
  57. package/dist/commands/list/index.js +13 -10
  58. package/dist/commands-bulk.js +543 -114
  59. package/dist/index.js +31 -19
  60. package/dist/version.mjs +1 -1
  61. package/package.json +13 -13
  62. package/dist/chunks/chunk-B7MMQDQQ.js +0 -490
  63. package/dist/chunks/chunk-PENYWZQA.js +0 -153
  64. package/dist/chunks/edit-Q2K5O57R.js +0 -1011
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_end_of_stream
9
- } from "./chunk-RTWSSVAZ.js";
9
+ } from "./chunk-YTTWXN4B.js";
10
10
  import {
11
11
  require_once
12
- } from "./chunk-TQJBKJCP.js";
12
+ } from "./chunk-XZTNWCFJ.js";
13
13
  import {
14
14
  require_signal_exit
15
15
  } from "./chunk-I2CIWYG5.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR
9
- } from "./chunk-TQJBKJCP.js";
9
+ } from "./chunk-XZTNWCFJ.js";
10
10
  import {
11
11
  ConflictingConfigFiles
12
- } from "./chunk-6AFO56VB.js";
12
+ } from "./chunk-YRWIOAB2.js";
13
13
  import {
14
14
  output_manager_default
15
15
  } from "./chunk-I2CIWYG5.js";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatOption,
9
9
  packageName
10
- } from "./chunk-6AFO56VB.js";
10
+ } from "./chunk-YRWIOAB2.js";
11
11
 
12
12
  // src/commands/metrics/command.ts
13
13
  var schemaSubcommand = {
@@ -0,0 +1,127 @@
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
+ nextOption,
11
+ packageName
12
+ } from "./chunk-YRWIOAB2.js";
13
+
14
+ // src/commands/activity/command.ts
15
+ var typesSubcommand = {
16
+ name: "types",
17
+ aliases: [],
18
+ description: "List available event types with descriptions.",
19
+ arguments: [],
20
+ options: [formatOption],
21
+ examples: [
22
+ {
23
+ name: "List all event types",
24
+ value: `${packageName} activity types`
25
+ },
26
+ {
27
+ name: "Output JSON",
28
+ value: `${packageName} activity types --format json`
29
+ }
30
+ ]
31
+ };
32
+ var activityCommand = {
33
+ name: "activity",
34
+ aliases: [],
35
+ description: "List user activity events.",
36
+ arguments: [],
37
+ subcommands: [
38
+ // Hidden placeholder so the help synopsis renders [command] as optional
39
+ // (help.ts treats `command` as required unless a subcommand has `default: true`)
40
+ {
41
+ name: "ls",
42
+ aliases: ["list"],
43
+ description: "",
44
+ default: true,
45
+ hidden: true,
46
+ arguments: [],
47
+ options: [],
48
+ examples: []
49
+ },
50
+ typesSubcommand
51
+ ],
52
+ options: [
53
+ {
54
+ name: "type",
55
+ shorthand: null,
56
+ type: [String],
57
+ argument: "TYPE",
58
+ deprecated: false,
59
+ description: "Filter by event type. Repeatable and comma-separated (e.g. --type deployment --type project-created or --type deployment,project-created)."
60
+ },
61
+ {
62
+ name: "since",
63
+ shorthand: null,
64
+ type: String,
65
+ argument: "DATE",
66
+ deprecated: false,
67
+ description: "Show events after this date (ISO 8601 or relative: 1d, 7d, 30d)."
68
+ },
69
+ {
70
+ name: "until",
71
+ shorthand: null,
72
+ type: String,
73
+ argument: "DATE",
74
+ deprecated: false,
75
+ description: "Show events before this date (ISO 8601 or relative)."
76
+ },
77
+ {
78
+ name: "project",
79
+ shorthand: "p",
80
+ type: String,
81
+ argument: "NAME_OR_ID",
82
+ deprecated: false,
83
+ description: "Filter by project (overrides auto-detected linked project)."
84
+ },
85
+ {
86
+ name: "all",
87
+ shorthand: "a",
88
+ type: Boolean,
89
+ deprecated: false,
90
+ description: "Show all team events (ignore linked project auto-scoping)."
91
+ },
92
+ limitOption,
93
+ nextOption,
94
+ formatOption
95
+ ],
96
+ examples: [
97
+ {
98
+ name: "List events for the linked project",
99
+ value: `${packageName} activity`
100
+ },
101
+ {
102
+ name: "Filter events by multiple types",
103
+ value: `${packageName} activity --type deployment --type project-created --since 7d`
104
+ },
105
+ {
106
+ name: "Filter events by comma-separated types",
107
+ value: `${packageName} activity --type deployment,project-created --since 7d`
108
+ },
109
+ {
110
+ name: "List all team events",
111
+ value: `${packageName} activity --all --since 30d`
112
+ },
113
+ {
114
+ name: "Output JSON",
115
+ value: `${packageName} activity --format json | jq '.events[]'`
116
+ },
117
+ {
118
+ name: "List activity event types",
119
+ value: `${packageName} activity types`
120
+ }
121
+ ]
122
+ };
123
+
124
+ export {
125
+ typesSubcommand,
126
+ activityCommand
127
+ };
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getTeamById,
9
9
  getUser
10
- } from "./chunk-TQJBKJCP.js";
10
+ } from "./chunk-XZTNWCFJ.js";
11
11
  import {
12
12
  TeamDeleted
13
- } from "./chunk-6AFO56VB.js";
13
+ } from "./chunk-YRWIOAB2.js";
14
14
 
15
15
  // src/util/get-scope.ts
16
16
  async function getScope(client, opts = {}) {
@@ -0,0 +1,359 @@
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/pluralize@7.0.0/node_modules/pluralize/pluralize.js
13
+ var require_pluralize = __commonJS({
14
+ "../../node_modules/.pnpm/pluralize@7.0.0/node_modules/pluralize/pluralize.js"(exports, module) {
15
+ (function(root, pluralize) {
16
+ if (typeof __require === "function" && typeof exports === "object" && typeof module === "object") {
17
+ module.exports = pluralize();
18
+ } else if (typeof define === "function" && define.amd) {
19
+ define(function() {
20
+ return pluralize();
21
+ });
22
+ } else {
23
+ root.pluralize = pluralize();
24
+ }
25
+ })(exports, function() {
26
+ var pluralRules = [];
27
+ var singularRules = [];
28
+ var uncountables = {};
29
+ var irregularPlurals = {};
30
+ var irregularSingles = {};
31
+ function sanitizeRule(rule) {
32
+ if (typeof rule === "string") {
33
+ return new RegExp("^" + rule + "$", "i");
34
+ }
35
+ return rule;
36
+ }
37
+ function restoreCase(word, token) {
38
+ if (word === token)
39
+ return token;
40
+ if (word === word.toUpperCase())
41
+ return token.toUpperCase();
42
+ if (word[0] === word[0].toUpperCase()) {
43
+ return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
44
+ }
45
+ return token.toLowerCase();
46
+ }
47
+ function interpolate(str, args) {
48
+ return str.replace(/\$(\d{1,2})/g, function(match, index) {
49
+ return args[index] || "";
50
+ });
51
+ }
52
+ function replace(word, rule) {
53
+ return word.replace(rule[0], function(match, index) {
54
+ var result = interpolate(rule[1], arguments);
55
+ if (match === "") {
56
+ return restoreCase(word[index - 1], result);
57
+ }
58
+ return restoreCase(match, result);
59
+ });
60
+ }
61
+ function sanitizeWord(token, word, rules) {
62
+ if (!token.length || uncountables.hasOwnProperty(token)) {
63
+ return word;
64
+ }
65
+ var len = rules.length;
66
+ while (len--) {
67
+ var rule = rules[len];
68
+ if (rule[0].test(word))
69
+ return replace(word, rule);
70
+ }
71
+ return word;
72
+ }
73
+ function replaceWord(replaceMap, keepMap, rules) {
74
+ return function(word) {
75
+ var token = word.toLowerCase();
76
+ if (keepMap.hasOwnProperty(token)) {
77
+ return restoreCase(word, token);
78
+ }
79
+ if (replaceMap.hasOwnProperty(token)) {
80
+ return restoreCase(word, replaceMap[token]);
81
+ }
82
+ return sanitizeWord(token, word, rules);
83
+ };
84
+ }
85
+ function checkWord(replaceMap, keepMap, rules, bool) {
86
+ return function(word) {
87
+ var token = word.toLowerCase();
88
+ if (keepMap.hasOwnProperty(token))
89
+ return true;
90
+ if (replaceMap.hasOwnProperty(token))
91
+ return false;
92
+ return sanitizeWord(token, token, rules) === token;
93
+ };
94
+ }
95
+ function pluralize(word, count, inclusive) {
96
+ var pluralized = count === 1 ? pluralize.singular(word) : pluralize.plural(word);
97
+ return (inclusive ? count + " " : "") + pluralized;
98
+ }
99
+ pluralize.plural = replaceWord(
100
+ irregularSingles,
101
+ irregularPlurals,
102
+ pluralRules
103
+ );
104
+ pluralize.isPlural = checkWord(
105
+ irregularSingles,
106
+ irregularPlurals,
107
+ pluralRules
108
+ );
109
+ pluralize.singular = replaceWord(
110
+ irregularPlurals,
111
+ irregularSingles,
112
+ singularRules
113
+ );
114
+ pluralize.isSingular = checkWord(
115
+ irregularPlurals,
116
+ irregularSingles,
117
+ singularRules
118
+ );
119
+ pluralize.addPluralRule = function(rule, replacement) {
120
+ pluralRules.push([sanitizeRule(rule), replacement]);
121
+ };
122
+ pluralize.addSingularRule = function(rule, replacement) {
123
+ singularRules.push([sanitizeRule(rule), replacement]);
124
+ };
125
+ pluralize.addUncountableRule = function(word) {
126
+ if (typeof word === "string") {
127
+ uncountables[word.toLowerCase()] = true;
128
+ return;
129
+ }
130
+ pluralize.addPluralRule(word, "$0");
131
+ pluralize.addSingularRule(word, "$0");
132
+ };
133
+ pluralize.addIrregularRule = function(single, plural) {
134
+ plural = plural.toLowerCase();
135
+ single = single.toLowerCase();
136
+ irregularSingles[single] = plural;
137
+ irregularPlurals[plural] = single;
138
+ };
139
+ [
140
+ // Pronouns.
141
+ ["I", "we"],
142
+ ["me", "us"],
143
+ ["he", "they"],
144
+ ["she", "they"],
145
+ ["them", "them"],
146
+ ["myself", "ourselves"],
147
+ ["yourself", "yourselves"],
148
+ ["itself", "themselves"],
149
+ ["herself", "themselves"],
150
+ ["himself", "themselves"],
151
+ ["themself", "themselves"],
152
+ ["is", "are"],
153
+ ["was", "were"],
154
+ ["has", "have"],
155
+ ["this", "these"],
156
+ ["that", "those"],
157
+ // Words ending in with a consonant and `o`.
158
+ ["echo", "echoes"],
159
+ ["dingo", "dingoes"],
160
+ ["volcano", "volcanoes"],
161
+ ["tornado", "tornadoes"],
162
+ ["torpedo", "torpedoes"],
163
+ // Ends with `us`.
164
+ ["genus", "genera"],
165
+ ["viscus", "viscera"],
166
+ // Ends with `ma`.
167
+ ["stigma", "stigmata"],
168
+ ["stoma", "stomata"],
169
+ ["dogma", "dogmata"],
170
+ ["lemma", "lemmata"],
171
+ ["schema", "schemata"],
172
+ ["anathema", "anathemata"],
173
+ // Other irregular rules.
174
+ ["ox", "oxen"],
175
+ ["axe", "axes"],
176
+ ["die", "dice"],
177
+ ["yes", "yeses"],
178
+ ["foot", "feet"],
179
+ ["eave", "eaves"],
180
+ ["goose", "geese"],
181
+ ["tooth", "teeth"],
182
+ ["quiz", "quizzes"],
183
+ ["human", "humans"],
184
+ ["proof", "proofs"],
185
+ ["carve", "carves"],
186
+ ["valve", "valves"],
187
+ ["looey", "looies"],
188
+ ["thief", "thieves"],
189
+ ["groove", "grooves"],
190
+ ["pickaxe", "pickaxes"],
191
+ ["whiskey", "whiskies"]
192
+ ].forEach(function(rule) {
193
+ return pluralize.addIrregularRule(rule[0], rule[1]);
194
+ });
195
+ [
196
+ [/s?$/i, "s"],
197
+ [/[^\u0000-\u007F]$/i, "$0"],
198
+ [/([^aeiou]ese)$/i, "$1"],
199
+ [/(ax|test)is$/i, "$1es"],
200
+ [/(alias|[^aou]us|tlas|gas|ris)$/i, "$1es"],
201
+ [/(e[mn]u)s?$/i, "$1s"],
202
+ [/([^l]ias|[aeiou]las|[emjzr]as|[iu]am)$/i, "$1"],
203
+ [/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1i"],
204
+ [/(alumn|alg|vertebr)(?:a|ae)$/i, "$1ae"],
205
+ [/(seraph|cherub)(?:im)?$/i, "$1im"],
206
+ [/(her|at|gr)o$/i, "$1oes"],
207
+ [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, "$1a"],
208
+ [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, "$1a"],
209
+ [/sis$/i, "ses"],
210
+ [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, "$1$2ves"],
211
+ [/([^aeiouy]|qu)y$/i, "$1ies"],
212
+ [/([^ch][ieo][ln])ey$/i, "$1ies"],
213
+ [/(x|ch|ss|sh|zz)$/i, "$1es"],
214
+ [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, "$1ices"],
215
+ [/(m|l)(?:ice|ouse)$/i, "$1ice"],
216
+ [/(pe)(?:rson|ople)$/i, "$1ople"],
217
+ [/(child)(?:ren)?$/i, "$1ren"],
218
+ [/eaux$/i, "$0"],
219
+ [/m[ae]n$/i, "men"],
220
+ ["thou", "you"]
221
+ ].forEach(function(rule) {
222
+ return pluralize.addPluralRule(rule[0], rule[1]);
223
+ });
224
+ [
225
+ [/s$/i, ""],
226
+ [/(ss)$/i, "$1"],
227
+ [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i, "$1fe"],
228
+ [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, "$1f"],
229
+ [/ies$/i, "y"],
230
+ [/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, "$1ie"],
231
+ [/\b(mon|smil)ies$/i, "$1ey"],
232
+ [/(m|l)ice$/i, "$1ouse"],
233
+ [/(seraph|cherub)im$/i, "$1"],
234
+ [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|tlas|gas|(?:her|at|gr)o|ris)(?:es)?$/i, "$1"],
235
+ [/(analy|ba|diagno|parenthe|progno|synop|the|empha|cri)(?:sis|ses)$/i, "$1sis"],
236
+ [/(movie|twelve|abuse|e[mn]u)s$/i, "$1"],
237
+ [/(test)(?:is|es)$/i, "$1is"],
238
+ [/(alumn|syllab|octop|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, "$1us"],
239
+ [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, "$1um"],
240
+ [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, "$1on"],
241
+ [/(alumn|alg|vertebr)ae$/i, "$1a"],
242
+ [/(cod|mur|sil|vert|ind)ices$/i, "$1ex"],
243
+ [/(matr|append)ices$/i, "$1ix"],
244
+ [/(pe)(rson|ople)$/i, "$1rson"],
245
+ [/(child)ren$/i, "$1"],
246
+ [/(eau)x?$/i, "$1"],
247
+ [/men$/i, "man"]
248
+ ].forEach(function(rule) {
249
+ return pluralize.addSingularRule(rule[0], rule[1]);
250
+ });
251
+ [
252
+ // Singular words with no plurals.
253
+ "adulthood",
254
+ "advice",
255
+ "agenda",
256
+ "aid",
257
+ "alcohol",
258
+ "ammo",
259
+ "anime",
260
+ "athletics",
261
+ "audio",
262
+ "bison",
263
+ "blood",
264
+ "bream",
265
+ "buffalo",
266
+ "butter",
267
+ "carp",
268
+ "cash",
269
+ "chassis",
270
+ "chess",
271
+ "clothing",
272
+ "cod",
273
+ "commerce",
274
+ "cooperation",
275
+ "corps",
276
+ "debris",
277
+ "diabetes",
278
+ "digestion",
279
+ "elk",
280
+ "energy",
281
+ "equipment",
282
+ "excretion",
283
+ "expertise",
284
+ "flounder",
285
+ "fun",
286
+ "gallows",
287
+ "garbage",
288
+ "graffiti",
289
+ "headquarters",
290
+ "health",
291
+ "herpes",
292
+ "highjinks",
293
+ "homework",
294
+ "housework",
295
+ "information",
296
+ "jeans",
297
+ "justice",
298
+ "kudos",
299
+ "labour",
300
+ "literature",
301
+ "machinery",
302
+ "mackerel",
303
+ "mail",
304
+ "media",
305
+ "mews",
306
+ "moose",
307
+ "music",
308
+ "manga",
309
+ "news",
310
+ "pike",
311
+ "plankton",
312
+ "pliers",
313
+ "pollution",
314
+ "premises",
315
+ "rain",
316
+ "research",
317
+ "rice",
318
+ "salmon",
319
+ "scissors",
320
+ "series",
321
+ "sewage",
322
+ "shambles",
323
+ "shrimp",
324
+ "species",
325
+ "staff",
326
+ "swine",
327
+ "tennis",
328
+ "traffic",
329
+ "transporation",
330
+ "trout",
331
+ "tuna",
332
+ "wealth",
333
+ "welfare",
334
+ "whiting",
335
+ "wildebeest",
336
+ "wildlife",
337
+ "you",
338
+ // Regexes.
339
+ /[^aeiou]ese$/i,
340
+ // "chinese", "japanese"
341
+ /deer$/i,
342
+ // "deer", "reindeer"
343
+ /fish$/i,
344
+ // "fish", "blowfish", "angelfish"
345
+ /measles$/i,
346
+ /o[iu]s$/i,
347
+ // "carnivorous"
348
+ /pox$/i,
349
+ // "chickpox", "smallpox"
350
+ /sheep$/i
351
+ ].forEach(pluralize.addUncountableRule);
352
+ return pluralize;
353
+ });
354
+ }
355
+ });
356
+
357
+ export {
358
+ require_pluralize
359
+ };
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLinkedProject
9
- } from "./chunk-TQJBKJCP.js";
9
+ } from "./chunk-XZTNWCFJ.js";
10
10
  import {
11
11
  getCommandName,
12
12
  getFlagsSpecification,
13
13
  parseArguments,
14
14
  printError
15
- } from "./chunk-6AFO56VB.js";
15
+ } from "./chunk-YRWIOAB2.js";
16
16
  import {
17
17
  output_manager_default
18
18
  } from "./chunk-I2CIWYG5.js";
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR
9
- } from "./chunk-TQJBKJCP.js";
9
+ } from "./chunk-XZTNWCFJ.js";
10
10
  import {
11
11
  ConflictingConfigFiles,
12
12
  InvalidLocalConfig,
13
13
  getArgs
14
- } from "./chunk-6AFO56VB.js";
14
+ } from "./chunk-YRWIOAB2.js";
15
15
 
16
16
  // src/util/config/local-path.ts
17
17
  import path from "path";
@@ -0,0 +1,38 @@
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
+ require_ms
9
+ } from "./chunk-CO5D46AG.js";
10
+ import {
11
+ __toESM
12
+ } from "./chunk-TZ2YI2VH.js";
13
+
14
+ // src/util/time-utils.ts
15
+ var import_ms = __toESM(require_ms(), 1);
16
+ function parseTimeFlag(input) {
17
+ const milliseconds = (0, import_ms.default)(input);
18
+ if (milliseconds !== void 0) {
19
+ return new Date(Date.now() - milliseconds);
20
+ }
21
+ const date = new Date(input);
22
+ if (isNaN(date.getTime())) {
23
+ throw new Error(
24
+ `Invalid time format "${input}". Use relative (1h, 30m, 2d, 1w) or ISO 8601 datetime.`
25
+ );
26
+ }
27
+ return date;
28
+ }
29
+ function resolveTimeRange(since = "1h", until) {
30
+ const startTime = parseTimeFlag(since);
31
+ const endTime = until ? parseTimeFlag(until) : /* @__PURE__ */ new Date();
32
+ return { startTime, endTime };
33
+ }
34
+
35
+ export {
36
+ parseTimeFlag,
37
+ resolveTimeRange
38
+ };
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-TQJBKJCP.js";
9
+ } from "./chunk-XZTNWCFJ.js";
10
10
  import {
11
11
  packageName
12
- } from "./chunk-6AFO56VB.js";
12
+ } from "./chunk-YRWIOAB2.js";
13
13
  import {
14
14
  __toESM
15
15
  } from "./chunk-TZ2YI2VH.js";
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-TQJBKJCP.js";
9
+ } from "./chunk-XZTNWCFJ.js";
10
10
  import {
11
11
  packageName,
12
12
  yesOption
13
- } from "./chunk-6AFO56VB.js";
13
+ } from "./chunk-YRWIOAB2.js";
14
14
 
15
15
  // src/commands/build/command.ts
16
16
  var buildCommand = {
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-TQJBKJCP.js";
11
+ } from "./chunk-XZTNWCFJ.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-I2CIWYG5.js";
@@ -5,12 +5,6 @@ const require = __createRequire(import.meta.url);
5
5
  const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
 
8
- // src/util/is-valid-name.ts
9
- function isValidName(name = "") {
10
- const blacklist = ":/#?&@%+~".split("");
11
- return !name.split("").every((c) => blacklist.includes(c));
12
- }
13
-
14
8
  // src/util/get-command-flags.ts
15
9
  function getCommandFlags(argv, excludeFlags = []) {
16
10
  const flags = Object.keys(argv).filter((key) => !excludeFlags.includes(key)).map(
@@ -20,6 +14,5 @@ function getCommandFlags(argv, excludeFlags = []) {
20
14
  }
21
15
 
22
16
  export {
23
- isValidName,
24
17
  getCommandFlags
25
18
  };