vercel 56.5.0 → 58.0.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.
- package/dist/chunks/{add-KNK5E2YT.js → add-7PPD4ZUJ.js} +2 -2
- package/dist/chunks/{add-6GRH6G2M.js → add-E4KH6P4A.js} +6 -5
- package/dist/chunks/{chunk-YS6EDZHB.js → chunk-2MJROFVC.js} +5 -1
- package/dist/chunks/chunk-3PGXYIKC.js +147 -0
- package/dist/chunks/chunk-5AJPMLDV.js +28 -0
- package/dist/chunks/{chunk-V5P25P7F.js → chunk-A3NYPUKZ.js} +7 -12
- package/dist/chunks/{chunk-JQG5EDRD.js → chunk-AZTV7WPZ.js} +1 -1
- package/dist/chunks/{chunk-3BHSS5E2.js → chunk-B2MTCHPO.js} +65 -210
- package/dist/chunks/{chunk-GAOAGU5K.js → chunk-BYQQLGCT.js} +1 -1
- package/dist/chunks/{chunk-ARKHETJP.js → chunk-DGFASMSE.js} +1 -1
- package/dist/chunks/{chunk-W346YNDN.js → chunk-DWMH5M4Q.js} +4 -1
- package/dist/chunks/{chunk-PRYNIKBZ.js → chunk-EA22NMFU.js} +1 -1
- package/dist/chunks/{chunk-26TEKOBZ.js → chunk-FB4UFWEC.js} +8 -1
- package/dist/chunks/chunk-FGDKMNEN.js +21 -0
- package/dist/chunks/{chunk-23U6FANO.js → chunk-FYR7WEUJ.js} +11 -18
- package/dist/chunks/chunk-GZLPFESR.js +48 -0
- package/dist/chunks/{chunk-STJJ3DFO.js → chunk-KCF6S3XF.js} +16 -1
- package/dist/chunks/{chunk-PPEQUJ7T.js → chunk-KGVT2RSG.js} +3 -3
- package/dist/chunks/{chunk-4MK452Y5.js → chunk-L4WYMJB3.js} +8 -8
- package/dist/chunks/{chunk-BM36UWE2.js → chunk-MDQJLTGN.js} +1 -1
- package/dist/chunks/{chunk-Z7NPYIZ6.js → chunk-NM43FFV6.js} +0 -8
- package/dist/chunks/chunk-OF2GNB42.js +53 -0
- package/dist/chunks/{chunk-YTFJGKRG.js → chunk-OQGN4TEC.js} +1 -1
- package/dist/chunks/chunk-PRWJUY5U.js +848 -0
- package/dist/chunks/{chunk-F5OMERHI.js → chunk-QZD5DKUR.js} +10 -23
- package/dist/chunks/{chunk-SWEPOMSA.js → chunk-R54DAHCL.js} +4 -3
- package/dist/chunks/{chunk-DOF6CJLL.js → chunk-RSCSALZH.js} +15 -839
- package/dist/chunks/{chunk-G4MTGCZ5.js → chunk-TEWJ7TIW.js} +1 -1
- package/dist/chunks/{chunk-TMK6RSYW.js → chunk-TPX7RZBM.js} +1433 -979
- package/dist/chunks/chunk-V4RMJKQP.js +36 -0
- package/dist/chunks/{chunk-DI3HR3K6.js → chunk-VUESC3YO.js} +1 -1
- package/dist/chunks/{chunk-IBP2XAUH.js → chunk-WANVKOVB.js} +39 -5
- package/dist/chunks/{chunk-X43U65TH.js → chunk-WDE2EDYX.js} +2 -2
- package/dist/chunks/{chunk-6RTK6BWX.js → chunk-YA3WQFLY.js} +1 -1
- package/dist/chunks/{chunk-EYICIM2K.js → chunk-YZMZCQP3.js} +4 -4
- package/dist/chunks/{chunk-CM3DLBDY.js → chunk-ZMVFTCQF.js} +1 -1
- package/dist/chunks/{compile-vercel-config-IFET4E6H.js → compile-vercel-config-G2IVBXEI.js} +1 -1
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{delete-PXB5WRH7.js → delete-2EIVGM6P.js} +2 -2
- package/dist/chunks/{delete-X2MUMONI.js → delete-E6ZQNE5X.js} +2 -2
- package/dist/chunks/{disable-GBL3SHJL.js → disable-M3Q6BBB7.js} +2 -2
- package/dist/chunks/{discard-XVVSRGDR.js → discard-3R6ETBPS.js} +2 -2
- package/dist/chunks/{edit-EIHRP6XT.js → edit-7JUDPVXD.js} +3 -3
- package/dist/chunks/{edit-K5Y2BDJO.js → edit-ICVMGRRU.js} +2 -2
- package/dist/chunks/{enable-W7AMJWKH.js → enable-HLTA35QL.js} +2 -2
- package/dist/chunks/{export-N3AZ2KOO.js → export-E6XZUFW3.js} +2 -2
- package/dist/chunks/{image-DRTGVPVJ.js → image-SIRPPQZT.js} +3 -3
- package/dist/chunks/{inspect-DYXTX6P4.js → inspect-4FYBOOM5.js} +2 -2
- package/dist/chunks/{inspect-AAIVWSJI.js → inspect-65YX7L3O.js} +2 -2
- package/dist/chunks/inspect-6TQWDIBG.js +587 -0
- package/dist/chunks/{inspect-IPSAYR2C.js → inspect-NFOURIGN.js} +2 -2
- package/dist/chunks/{inspect-SLZLI6ZC.js → inspect-OEWWGAHZ.js} +3 -3
- package/dist/chunks/{list-IF2YW73F.js → list-27DCGMBI.js} +1 -1
- package/dist/chunks/{list-V7VTXVK4.js → list-APFMKZJO.js} +41 -54
- package/dist/chunks/{list-K2HLGUXV.js → list-XQCZVLES.js} +3 -3
- package/dist/chunks/{login-7C6HQEOG.js → login-FMU4CQOV.js} +2 -2
- package/dist/chunks/{ls-2NU353QP.js → ls-24BRCAZR.js} +2 -2
- package/dist/chunks/ls-3L6EN4YU.js +188 -0
- package/dist/chunks/{ls-NKECPPOR.js → ls-BFACWH6C.js} +2 -2
- package/dist/chunks/{ls-QQQHOJBE.js → ls-T5RGDBCV.js} +2 -2
- package/dist/chunks/{open-2FAPZA6V.js → open-AG3VYJZM.js} +2 -2
- package/dist/chunks/{publish-G7PB64LJ.js → publish-5OVCPS4J.js} +2 -2
- package/dist/chunks/{query-D4QBT4WR.js → query-QS4VKBXJ.js} +8 -8
- package/dist/chunks/{reorder-3Z7YIPAX.js → reorder-B5V2P7YM.js} +2 -2
- package/dist/chunks/{reply-7QQBXL5H.js → reply-JBLWE6RS.js} +2 -2
- package/dist/chunks/{resolve-UYKTDZEX.js → resolve-2I6XH2G3.js} +2 -2
- package/dist/chunks/{restore-Q2DR7SMW.js → restore-O63FZXCL.js} +2 -2
- package/dist/chunks/{rm-OCLUTM57.js → rm-HUED5R3Q.js} +6 -5
- package/dist/chunks/{rm-O4M4GFSK.js → rm-N7W3QYWZ.js} +2 -2
- package/dist/chunks/{rm-PCWMEHQ2.js → rm-P3NJSCMY.js} +2 -2
- package/dist/chunks/rule-inspect-M3QUSPU2.js +283 -0
- package/dist/chunks/{rules-LIH5FLPJ.js → rules-NSSWPJ2B.js} +7 -7
- package/dist/chunks/{schema-OFALTXXM.js → schema-G2PAXPVA.js} +6 -4
- package/dist/chunks/{tags-P4HIAI6D.js → tags-JFMO63D4.js} +2 -2
- package/dist/chunks/{update-E3ZQAFBS.js → update-VJCKD6YG.js} +6 -5
- package/dist/commands/build/index.js +42 -10
- package/dist/commands/deploy/index.js +34 -24
- package/dist/commands/dev/index.js +23 -13
- package/dist/commands/env/index.js +8 -7
- package/dist/commands/link/index.js +8 -8
- package/dist/commands/list/index.js +2 -2
- package/dist/commands-bulk.js +1959 -1816
- package/dist/index.js +19 -20
- package/dist/vc.js +54 -18
- package/dist/version.mjs +1 -1
- package/package.json +35 -35
- package/dist/chunks/chunk-GNV7547O.js +0 -86
- package/dist/chunks/inspect-5YUAEI3L.js +0 -351
- package/dist/chunks/ls-RH6Y4XBS.js +0 -113
- package/dist/chunks/rule-inspect-XJ47UEG7.js +0 -141
|
@@ -6,18 +6,23 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getResolvedOrderMetadata,
|
|
9
|
-
getRollupColumnName
|
|
9
|
+
getRollupColumnName
|
|
10
|
+
} from "./chunk-NM43FFV6.js";
|
|
11
|
+
import {
|
|
12
|
+
formatGranularity
|
|
13
|
+
} from "./chunk-5AJPMLDV.js";
|
|
14
|
+
import {
|
|
10
15
|
indent_default
|
|
11
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A3NYPUKZ.js";
|
|
17
|
+
import {
|
|
18
|
+
ellipsizeMiddle
|
|
19
|
+
} from "./chunk-OF2GNB42.js";
|
|
12
20
|
import {
|
|
13
21
|
elapsed
|
|
14
22
|
} from "./chunk-VXYGCOKL.js";
|
|
15
23
|
import {
|
|
16
24
|
table
|
|
17
25
|
} from "./chunk-NZRWTCRM.js";
|
|
18
|
-
import {
|
|
19
|
-
require_strip_ansi
|
|
20
|
-
} from "./chunk-SZXT3PDQ.js";
|
|
21
26
|
import {
|
|
22
27
|
require_ms
|
|
23
28
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -122,7 +127,6 @@ function toGranularityMsFromDuration(duration) {
|
|
|
122
127
|
|
|
123
128
|
// src/commands/metrics/text-output.ts
|
|
124
129
|
var import_chalk = __toESM(require_source(), 1);
|
|
125
|
-
var import_strip_ansi = __toESM(require_strip_ansi(), 1);
|
|
126
130
|
var GROUP_KEY_DELIMITER = "";
|
|
127
131
|
var MAX_SPARKLINE_LENGTH = 120;
|
|
128
132
|
var COUNT_UNITS = /* @__PURE__ */ new Set(["count", "usd", "us dollars", "dollars"]);
|
|
@@ -176,15 +180,6 @@ function formatPeriodSpan(startInput, endInput) {
|
|
|
176
180
|
}
|
|
177
181
|
return elapsed(durationMs);
|
|
178
182
|
}
|
|
179
|
-
function formatGranularity(granularity) {
|
|
180
|
-
if ("minutes" in granularity) {
|
|
181
|
-
return `${granularity.minutes}m`;
|
|
182
|
-
}
|
|
183
|
-
if ("hours" in granularity) {
|
|
184
|
-
return `${granularity.hours}h`;
|
|
185
|
-
}
|
|
186
|
-
return `${granularity.days}d`;
|
|
187
|
-
}
|
|
188
183
|
function formatUnitLabel(unit) {
|
|
189
184
|
switch (normalizeUnit(unit)) {
|
|
190
185
|
case "milliseconds":
|
|
@@ -444,14 +439,6 @@ function computeGroupStats(points) {
|
|
|
444
439
|
};
|
|
445
440
|
}
|
|
446
441
|
var MAX_GROUP_VALUE_LENGTH = 60;
|
|
447
|
-
function ellipsizeMiddle(str, maxLength, useVisibleLength = false) {
|
|
448
|
-
const comparable = useVisibleLength ? (0, import_strip_ansi.default)(str) : str;
|
|
449
|
-
if (comparable.length <= maxLength)
|
|
450
|
-
return str;
|
|
451
|
-
const endLength = Math.floor((maxLength - 1) / 2);
|
|
452
|
-
const startLength = maxLength - 1 - endLength;
|
|
453
|
-
return `${comparable.slice(0, startLength)}\u2026${comparable.slice(comparable.length - endLength)}`;
|
|
454
|
-
}
|
|
455
442
|
function downsample(values, maxLen) {
|
|
456
443
|
if (maxLen <= 0) {
|
|
457
444
|
return [];
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-FYR7WEUJ.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-UDWRZXIT.js";
|
|
20
20
|
|
|
21
21
|
// src/commands/alerts/rules/parse-scope.ts
|
|
22
|
-
async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|
|
22
|
+
async function parseRulesFlagsAndScope(client, flags, jsonOutput, command = "alerts rules ls") {
|
|
23
23
|
const mutual = validateAllProjectMutualExclusivity(
|
|
24
24
|
flags["--all"],
|
|
25
25
|
flags["--project"]
|
|
@@ -48,7 +48,8 @@ async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|
|
|
48
48
|
return resolveAlertsScope(client, {
|
|
49
49
|
project: flags["--project"],
|
|
50
50
|
all: flags["--all"],
|
|
51
|
-
jsonOutput
|
|
51
|
+
jsonOutput,
|
|
52
|
+
command
|
|
52
53
|
});
|
|
53
54
|
}
|
|
54
55
|
|