vercel 59.0.0 → 59.1.3
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-SQ6ERCFZ.js → add-CUGPQYFW.js} +8 -8
- package/dist/chunks/{add-QZUQNL2C.js → add-PP3PJPJV.js} +5 -5
- package/dist/chunks/{add-3LO3UMYC.js → add-PRG4KKYH.js} +9 -11
- package/dist/chunks/{build-WMUKZEFH.js → build-T22GMLY6.js} +8 -8
- package/dist/chunks/{chunk-ELA5VN3A.js → chunk-2MF3ZAVW.js} +13 -4
- package/dist/chunks/{chunk-ZFTRB6AB.js → chunk-43DD2KNM.js} +1 -1
- package/dist/chunks/{chunk-N5DK7EMY.js → chunk-4HI7G6KG.js} +1 -1
- package/dist/chunks/{chunk-DQDJVHA5.js → chunk-4JKZ7SRX.js} +4 -4
- package/dist/chunks/{chunk-ZRWSSPW5.js → chunk-57G6HBJ4.js} +2 -2
- package/dist/chunks/{chunk-RWRSUGXY.js → chunk-5DVMXOFT.js} +2 -2
- package/dist/chunks/{chunk-SHR6DYA5.js → chunk-7NQLRE5V.js} +1 -1
- package/dist/chunks/{chunk-JLWQWYKO.js → chunk-BBSS3XIW.js} +2 -4
- package/dist/chunks/{chunk-V42UVZDX.js → chunk-BCZFZETZ.js} +5 -5
- package/dist/chunks/{chunk-MZ3L3SGZ.js → chunk-DAWJOQF6.js} +4 -6
- package/dist/chunks/{chunk-W34XLJ44.js → chunk-DEB45ND4.js} +3 -3
- package/dist/chunks/{chunk-QGQX7BYN.js → chunk-DOMLWKKZ.js} +38 -15
- package/dist/chunks/{chunk-TEQKKTJQ.js → chunk-F7OXZLY2.js} +2 -2
- package/dist/chunks/{chunk-J6LK45HT.js → chunk-GFCTRJI5.js} +16 -2
- package/dist/chunks/{chunk-O26N2UPI.js → chunk-GGPE5377.js} +1 -1
- package/dist/chunks/{chunk-4LDQIDRM.js → chunk-GMWRTZVZ.js} +9 -1
- package/dist/chunks/{chunk-LT5UQNTC.js → chunk-IKKUCZE7.js} +3 -3
- package/dist/chunks/{chunk-XIG4GH62.js → chunk-JYEO6OJS.js} +188 -102
- package/dist/chunks/{chunk-DMLU5KQE.js → chunk-KTLFN5FV.js} +1 -1
- package/dist/chunks/{chunk-L6NIIAB7.js → chunk-LNVZ3T7X.js} +6 -8
- package/dist/chunks/{chunk-UQVOFOP2.js → chunk-M34ZRNDQ.js} +1 -1
- package/dist/chunks/{chunk-2SFMOCWR.js → chunk-PD7ZUXE7.js} +1 -1
- package/dist/chunks/chunk-QCVKGY2A.js +151 -0
- package/dist/chunks/{chunk-S3H7ITUR.js → chunk-QD5NX7RG.js} +1 -1
- package/dist/chunks/{chunk-4N7XLXM2.js → chunk-QQ6PH4RY.js} +1 -0
- package/dist/chunks/{chunk-A5KP5HAI.js → chunk-RIB4S2IB.js} +10 -1
- package/dist/chunks/{chunk-ZX2FSPWV.js → chunk-SJQEGGH7.js} +4 -4
- package/dist/chunks/{chunk-5KI3SUJI.js → chunk-SOKQBFF7.js} +609 -73
- package/dist/chunks/{chunk-PSZQNYEV.js → chunk-SQGMTRZD.js} +91 -43
- package/dist/chunks/{chunk-TJJ562C5.js → chunk-TJLBCLEX.js} +15 -0
- package/dist/chunks/{chunk-WE3TFESA.js → chunk-TM3F7PLR.js} +2 -2
- package/dist/chunks/{chunk-SD2QZHZA.js → chunk-TNKRSTMB.js} +1 -1
- package/dist/chunks/{chunk-KT4XXKJK.js → chunk-VAFU7DXZ.js} +195 -3
- package/dist/chunks/{chunk-RQ7H43CJ.js → chunk-VDJN4WKH.js} +1 -1
- package/dist/chunks/{chunk-3R5JGMHV.js → chunk-VE545BR3.js} +4473 -2796
- package/dist/chunks/{chunk-B3JTF4CF.js → chunk-WC7IINFV.js} +10 -1
- package/dist/chunks/{chunk-SQAQED4U.js → chunk-XZLI27ES.js} +2 -2
- package/dist/chunks/{chunk-CMR5KQVR.js → chunk-ZUVJISHS.js} +3 -3
- package/dist/chunks/{clear-W2B4CHTP.js → clear-Z4IKUIN7.js} +5 -5
- package/dist/chunks/{compile-vercel-config-HTWOS7DZ.js → compile-vercel-config-PSVXFAZW.js} +3 -3
- package/dist/chunks/{config-EGJY4UUE.js → config-M5GMZ2X5.js} +8 -8
- package/dist/chunks/{constants-WEQVJSYS.js → constants-YMCRE6IG.js} +1 -1
- package/dist/chunks/{delete-BVMID4W2.js → delete-5GRRDJSF.js} +4 -4
- package/dist/chunks/{delete-6I7V5AGV.js → delete-P4XIBY7T.js} +5 -5
- package/dist/chunks/{disable-I54JNXJE.js → disable-NT5NYVO7.js} +4 -4
- package/dist/chunks/{discard-6TSJJCUQ.js → discard-TBNIEAJZ.js} +4 -4
- package/dist/chunks/{edit-YS2SWHFJ.js → edit-DJ6MT6HA.js} +5 -5
- package/dist/chunks/{edit-KCWYQ2YT.js → edit-UF3D2CCH.js} +5 -5
- package/dist/chunks/{enable-RYXRIGQN.js → enable-JTQBQMBO.js} +4 -4
- package/dist/chunks/{export-G3NYOADE.js → export-OKMRGRVM.js} +4 -4
- package/dist/chunks/{image-RJBLSUES.js → image-ARUJH4H5.js} +4 -4
- package/dist/chunks/{import-builders-M6F3F4DH.js → import-builders-3NTMZM64.js} +6 -4
- package/dist/chunks/{inspect-YTCVTZHY.js → inspect-5NETOGAI.js} +6 -7
- package/dist/chunks/{inspect-AE4YIJYS.js → inspect-CHFKZKKP.js} +5 -5
- package/dist/chunks/{inspect-Z74NZZ2A.js → inspect-FXZTQY62.js} +6 -6
- package/dist/chunks/{inspect-E7TBGK7D.js → inspect-PTXIBSYW.js} +8 -8
- package/dist/chunks/{inspect-7XUEVBDM.js → inspect-UXP2HDES.js} +5 -5
- package/dist/chunks/{list-SGPLL4KJ.js → list-2WMIVJ2R.js} +15 -10
- package/dist/chunks/{list-KJNC3NOE.js → list-ADI55WKW.js} +6 -7
- package/dist/chunks/{list-WXS2AFQD.js → list-DYCZA2VX.js} +3 -3
- package/dist/chunks/{login-XD3CFPBF.js → login-YCSIQG6B.js} +8 -8
- package/dist/chunks/{ls-5DSOTTYX.js → ls-2TKUIUK4.js} +11 -12
- package/dist/chunks/{ls-KE5I7BZO.js → ls-EOMIQLRH.js} +11 -12
- package/dist/chunks/{ls-SVSO3677.js → ls-PQFDGOJL.js} +7 -8
- package/dist/chunks/{ls-5A4327XJ.js → ls-RZVTIP5U.js} +11 -12
- package/dist/chunks/{ls-NBKSDTWX.js → ls-VIOMDUGW.js} +14 -15
- package/dist/chunks/{open-M2MOAE2K.js → open-JYPWOXQD.js} +5 -5
- package/dist/chunks/{permissions-ADPY554K.js → permissions-SGJWGEVD.js} +6 -6
- package/dist/chunks/{publish-OBIOOL7T.js → publish-ZUQHJAXL.js} +4 -4
- package/dist/chunks/{push-5237XBTO.js → push-XMVKG5A5.js} +8 -8
- package/dist/chunks/{query-ILL74HIA.js → query-ZLJZEGZB.js} +237 -49
- package/dist/chunks/{reorder-GAUAO4LW.js → reorder-NVHDWMRU.js} +4 -4
- package/dist/chunks/{reply-IZJHEULD.js → reply-PUUPUQ3V.js} +5 -5
- package/dist/chunks/{resolve-HTIT7CGL.js → resolve-5U2LJVE6.js} +5 -5
- package/dist/chunks/{restore-IKL74HSE.js → restore-OXIUY2UI.js} +4 -4
- package/dist/chunks/{rm-QAVNP5KX.js → rm-3IOCBNPE.js} +5 -5
- package/dist/chunks/{rm-5Y6BL47T.js → rm-BZNKJRXU.js} +5 -5
- package/dist/chunks/{rm-C37ZORQV.js → rm-OUI4ZB5R.js} +5 -5
- package/dist/chunks/{rm-XJU5SBGH.js → rm-Z2KYJ7XT.js} +8 -8
- package/dist/chunks/{rule-inspect-DYHWWROS.js → rule-inspect-ZBJJCDQV.js} +7 -8
- package/dist/chunks/{rules-M6EJ2Y6S.js → rules-HEGAXXUN.js} +8 -8
- package/dist/chunks/{schema-LLBDZNIC.js → schema-7GVL3BNP.js} +63 -31
- package/dist/chunks/{schema-ZNPIMQL5.js → schema-ZYIJYA2E.js} +2 -3
- package/dist/chunks/{tags-HR5RVQFA.js → tags-3SCWCMNQ.js} +3 -3
- package/dist/chunks/{types-UWI4HETD.js → types-AJHILHO5.js} +2 -4
- package/dist/chunks/{update-6A5V6HBH.js → update-YR2GCCJN.js} +7 -8
- package/dist/commands/build/index.js +10 -15
- package/dist/commands/deploy/index.js +310 -302
- package/dist/commands/dev/index.js +254 -181
- package/dist/commands/env/index.js +15 -16
- package/dist/commands/link/index.js +14 -20
- package/dist/commands/list/index.js +7 -9
- package/dist/commands-bulk.js +4408 -1246
- package/dist/help.js +1 -1
- package/dist/index.js +30 -22
- package/dist/version.mjs +1 -1
- package/package.json +41 -40
- package/dist/chunks/chunk-BGILSKZ5.js +0 -85
- package/dist/chunks/chunk-GFG6QDIE.js +0 -101
- package/dist/chunks/chunk-KBEX5MYS.js +0 -208
- package/dist/chunks/chunk-PBECT5BN.js +0 -107
- package/dist/chunks/chunk-PVCJIMVY.js +0 -1552
- /package/dist/{commands/dev/next-dev-websocket-shim-preload.cjs → runtime-assets/node-preloads/next-dev-websocket.cjs} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
handleVcrApiError,
|
|
10
10
|
resolveVcrScope,
|
|
11
11
|
validateVcrJsonOutput
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TM3F7PLR.js";
|
|
13
13
|
import "./chunk-G75NFPIT.js";
|
|
14
14
|
import {
|
|
15
15
|
outputError
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
import "./chunk-KXDWXXJH.js";
|
|
18
18
|
import {
|
|
19
19
|
addSubcommand
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-2MF3ZAVW.js";
|
|
21
|
+
import "./chunk-WC7IINFV.js";
|
|
22
|
+
import "./chunk-RIB4S2IB.js";
|
|
23
|
+
import "./chunk-GFCTRJI5.js";
|
|
24
24
|
import "./chunk-R6IGDGX3.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VE545BR3.js";
|
|
26
26
|
import "./chunk-ECCWJHC6.js";
|
|
27
27
|
import {
|
|
28
28
|
AGENT_REASON,
|
|
29
29
|
buildCommandWithGlobalFlags,
|
|
30
30
|
outputAgentError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TJLBCLEX.js";
|
|
32
32
|
import "./chunk-GGP5R3FU.js";
|
|
33
33
|
import {
|
|
34
34
|
printError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
36
36
|
import {
|
|
37
37
|
parseArguments
|
|
38
38
|
} from "./chunk-XLKFJPMT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
emitVcrArgParseError,
|
|
18
18
|
resolveVcrScope,
|
|
19
19
|
validateVcrJsonOutput
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TM3F7PLR.js";
|
|
21
21
|
import "./chunk-G75NFPIT.js";
|
|
22
22
|
import {
|
|
23
23
|
outputError
|
|
@@ -25,19 +25,19 @@ import {
|
|
|
25
25
|
import "./chunk-KXDWXXJH.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionsAddSubcommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-GFCTRJI5.js";
|
|
29
29
|
import "./chunk-R6IGDGX3.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-VE545BR3.js";
|
|
31
31
|
import "./chunk-ECCWJHC6.js";
|
|
32
32
|
import {
|
|
33
33
|
AGENT_REASON,
|
|
34
34
|
buildCommandWithGlobalFlags,
|
|
35
35
|
outputAgentError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TJLBCLEX.js";
|
|
37
37
|
import "./chunk-GGP5R3FU.js";
|
|
38
38
|
import {
|
|
39
39
|
printError
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
41
41
|
import {
|
|
42
42
|
parseArguments
|
|
43
43
|
} from "./chunk-XLKFJPMT.js";
|
|
@@ -8,42 +8,40 @@ import {
|
|
|
8
8
|
parseCustomAlertQueryBody,
|
|
9
9
|
resolveCustomAlertProjectName,
|
|
10
10
|
setMissingCustomAlertProjectScope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IKKUCZE7.js";
|
|
12
12
|
import {
|
|
13
13
|
emitRulesArgParseError,
|
|
14
14
|
handleRulesApiError,
|
|
15
15
|
parseRulesFlagsAndScope,
|
|
16
16
|
rulesCollectionPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-57G6HBJ4.js";
|
|
18
18
|
import {
|
|
19
19
|
isCustomAlertRule
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-F7OXZLY2.js";
|
|
21
|
+
import "./chunk-XZLI27ES.js";
|
|
22
22
|
import "./chunk-A3NYPUKZ.js";
|
|
23
23
|
import "./chunk-P65EEFTR.js";
|
|
24
24
|
import "./chunk-FGDKMNEN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-DAWJOQF6.js";
|
|
26
26
|
import "./chunk-JKQWQA2T.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-VDJN4WKH.js";
|
|
28
28
|
import {
|
|
29
29
|
validateJsonOutput
|
|
30
30
|
} from "./chunk-KXDWXXJH.js";
|
|
31
31
|
import {
|
|
32
32
|
rulesAddSubcommand
|
|
33
33
|
} from "./chunk-UMA66MKW.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-KT4XXKJK.js";
|
|
36
|
-
import "./chunk-3R5JGMHV.js";
|
|
34
|
+
import "./chunk-VE545BR3.js";
|
|
37
35
|
import "./chunk-ECCWJHC6.js";
|
|
38
36
|
import {
|
|
39
37
|
AGENT_REASON,
|
|
40
38
|
buildCommandWithGlobalFlags,
|
|
41
39
|
outputAgentError
|
|
42
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TJLBCLEX.js";
|
|
43
41
|
import "./chunk-GGP5R3FU.js";
|
|
44
42
|
import {
|
|
45
43
|
printError
|
|
46
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
47
45
|
import {
|
|
48
46
|
parseArguments
|
|
49
47
|
} from "./chunk-XLKFJPMT.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
runEngine,
|
|
24
24
|
splitPassthrough,
|
|
25
25
|
validateVcrChoice
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-TM3F7PLR.js";
|
|
27
27
|
import "./chunk-G75NFPIT.js";
|
|
28
28
|
import {
|
|
29
29
|
outputError
|
|
@@ -31,22 +31,22 @@ import {
|
|
|
31
31
|
import "./chunk-KXDWXXJH.js";
|
|
32
32
|
import {
|
|
33
33
|
buildSubcommand
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-2MF3ZAVW.js";
|
|
35
|
+
import "./chunk-WC7IINFV.js";
|
|
36
|
+
import "./chunk-RIB4S2IB.js";
|
|
37
|
+
import "./chunk-GFCTRJI5.js";
|
|
38
38
|
import "./chunk-R6IGDGX3.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-VE545BR3.js";
|
|
40
40
|
import "./chunk-ECCWJHC6.js";
|
|
41
41
|
import {
|
|
42
42
|
AGENT_REASON,
|
|
43
43
|
buildCommandWithGlobalFlags,
|
|
44
44
|
outputAgentError
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-TJLBCLEX.js";
|
|
46
46
|
import "./chunk-GGP5R3FU.js";
|
|
47
47
|
import {
|
|
48
48
|
printError
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
50
50
|
import {
|
|
51
51
|
parseArguments
|
|
52
52
|
} from "./chunk-XLKFJPMT.js";
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
tagsAggregateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WC7IINFV.js";
|
|
10
10
|
import {
|
|
11
11
|
imageAggregateCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RIB4S2IB.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionsAggregateCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GFCTRJI5.js";
|
|
16
16
|
import {
|
|
17
17
|
formatOption,
|
|
18
18
|
jsonOption,
|
|
@@ -28,11 +28,19 @@ var projectScopeOption = {
|
|
|
28
28
|
shorthand: "p",
|
|
29
29
|
description: "Project name or ID (defaults to the linked project)."
|
|
30
30
|
};
|
|
31
|
+
var nextOption = {
|
|
32
|
+
name: "next",
|
|
33
|
+
shorthand: null,
|
|
34
|
+
type: String,
|
|
35
|
+
deprecated: false,
|
|
36
|
+
description: "Continue from a previous response",
|
|
37
|
+
argument: "CURSOR"
|
|
38
|
+
};
|
|
31
39
|
var cursorOption = {
|
|
32
40
|
name: "cursor",
|
|
33
41
|
shorthand: "c",
|
|
34
42
|
type: String,
|
|
35
|
-
deprecated:
|
|
43
|
+
deprecated: true,
|
|
36
44
|
description: "Cursor from a previous page to continue listing from",
|
|
37
45
|
argument: "STRING"
|
|
38
46
|
};
|
|
@@ -68,6 +76,7 @@ var listSubcommand = {
|
|
|
68
76
|
options: [
|
|
69
77
|
projectScopeOption,
|
|
70
78
|
limitOption,
|
|
79
|
+
nextOption,
|
|
71
80
|
cursorOption,
|
|
72
81
|
formatOption,
|
|
73
82
|
jsonOption
|
|
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loginCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SOKQBFF7.js";
|
|
10
10
|
import {
|
|
11
11
|
help
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SJQEGGH7.js";
|
|
13
13
|
import {
|
|
14
14
|
login
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VE545BR3.js";
|
|
16
16
|
import {
|
|
17
17
|
TelemetryClient
|
|
18
18
|
} from "./chunk-ECCWJHC6.js";
|
|
19
19
|
import {
|
|
20
20
|
printError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
22
22
|
import {
|
|
23
23
|
parseArguments
|
|
24
24
|
} from "./chunk-XLKFJPMT.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-
|
|
9
|
+
} from "./chunk-XZLI27ES.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-
|
|
19
|
+
} from "./chunk-TJLBCLEX.js";
|
|
20
20
|
|
|
21
21
|
// src/commands/alerts/rules/parse-scope.ts
|
|
22
22
|
async function parseRulesFlagsAndScope(client, flags, jsonOutput, command = "alerts rules ls") {
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
getProjectByNameOrId,
|
|
13
13
|
getScope
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VE545BR3.js";
|
|
15
15
|
import {
|
|
16
16
|
printError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectNotFound,
|
|
20
20
|
getCommandName,
|
|
@@ -5,11 +5,9 @@ const require = __createRequire(import.meta.url);
|
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
|
+
require_strip_ansi,
|
|
8
9
|
table
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
require_strip_ansi
|
|
12
|
-
} from "./chunk-KBEX5MYS.js";
|
|
10
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
13
11
|
import {
|
|
14
12
|
require_source
|
|
15
13
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
} from "./chunk-PRWJUY5U.js";
|
|
10
10
|
import {
|
|
11
11
|
progress
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4JKZ7SRX.js";
|
|
13
13
|
import {
|
|
14
14
|
isJSONObject,
|
|
15
15
|
printIndications,
|
|
16
16
|
require_dist as require_dist2,
|
|
17
17
|
sleep
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DAWJOQF6.js";
|
|
19
19
|
import {
|
|
20
20
|
suggestNextCommands
|
|
21
21
|
} from "./chunk-XBN2O34P.js";
|
|
22
22
|
import {
|
|
23
23
|
CommandTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SOKQBFF7.js";
|
|
25
25
|
import {
|
|
26
26
|
showPluginTipIfNeeded
|
|
27
27
|
} from "./chunk-HT2XWSAJ.js";
|
|
@@ -38,14 +38,14 @@ import {
|
|
|
38
38
|
require_dist as require_dist3,
|
|
39
39
|
require_pluralize,
|
|
40
40
|
ua_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VE545BR3.js";
|
|
42
42
|
import {
|
|
43
43
|
require_ms
|
|
44
44
|
} from "./chunk-GGP5R3FU.js";
|
|
45
45
|
import {
|
|
46
46
|
require_strip_ansi,
|
|
47
47
|
responseError
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
49
49
|
import {
|
|
50
50
|
APIError,
|
|
51
51
|
BuildError,
|
|
@@ -9,18 +9,16 @@ import {
|
|
|
9
9
|
highlight
|
|
10
10
|
} from "./chunk-JKQWQA2T.js";
|
|
11
11
|
import {
|
|
12
|
+
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
12
13
|
PromptBackError,
|
|
13
14
|
PromptCanceledError,
|
|
14
|
-
getLocalPathConfig
|
|
15
|
-
} from "./chunk-BGILSKZ5.js";
|
|
16
|
-
import {
|
|
17
|
-
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
18
15
|
VERCEL_CONFIG_EXTENSIONS,
|
|
19
16
|
VERCEL_DIR,
|
|
20
17
|
createPrompt,
|
|
21
18
|
esm_default,
|
|
22
19
|
esm_default2,
|
|
23
20
|
esm_default3,
|
|
21
|
+
getLocalPathConfig,
|
|
24
22
|
humanizePath,
|
|
25
23
|
isBackspaceKey,
|
|
26
24
|
isEnterKey,
|
|
@@ -39,13 +37,13 @@ import {
|
|
|
39
37
|
useKeypress,
|
|
40
38
|
usePrefix,
|
|
41
39
|
useState
|
|
42
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VE545BR3.js";
|
|
43
41
|
import {
|
|
44
42
|
require_load_json_file
|
|
45
43
|
} from "./chunk-ECCWJHC6.js";
|
|
46
44
|
import {
|
|
47
45
|
require_strip_ansi
|
|
48
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
49
47
|
import {
|
|
50
48
|
parseArguments
|
|
51
49
|
} from "./chunk-XLKFJPMT.js";
|
|
@@ -7,17 +7,17 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
login,
|
|
9
9
|
require_ci_info
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4JKZ7SRX.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig
|
|
13
13
|
} from "./chunk-JKQWQA2T.js";
|
|
14
14
|
import {
|
|
15
15
|
humanizePath,
|
|
16
16
|
param
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VE545BR3.js";
|
|
18
18
|
import {
|
|
19
19
|
printError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
21
21
|
import {
|
|
22
22
|
getCommandName
|
|
23
23
|
} from "./chunk-SOFC4MLS.js";
|
|
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M34ZRNDQ.js";
|
|
11
11
|
import {
|
|
12
12
|
progress,
|
|
13
13
|
require_ci_info
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4JKZ7SRX.js";
|
|
15
15
|
import {
|
|
16
16
|
writeToConfigFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DAWJOQF6.js";
|
|
18
18
|
import {
|
|
19
19
|
getGlobalPathConfig
|
|
20
20
|
} from "./chunk-JKQWQA2T.js";
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
apiCommand,
|
|
26
26
|
listSubcommand4 as listSubcommand
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SOKQBFF7.js";
|
|
28
28
|
import {
|
|
29
29
|
require_semver
|
|
30
30
|
} from "./chunk-IB5L4LKZ.js";
|
|
31
31
|
import {
|
|
32
32
|
help
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SJQEGGH7.js";
|
|
34
34
|
import {
|
|
35
35
|
require_chownr,
|
|
36
36
|
require_mkdirp,
|
|
37
37
|
require_pump,
|
|
38
38
|
require_tar_stream
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-VE545BR3.js";
|
|
40
40
|
import {
|
|
41
41
|
TelemetryClient,
|
|
42
42
|
isNativeBinaryInstall
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
printError,
|
|
49
49
|
require_strip_ansi
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
51
51
|
import {
|
|
52
52
|
parseArguments
|
|
53
53
|
} from "./chunk-XLKFJPMT.js";
|
|
@@ -3132,8 +3132,30 @@ function prVersionDirName(pr) {
|
|
|
3132
3132
|
function isPrVersionName(name) {
|
|
3133
3133
|
return /^pr-\d+$/.test(name);
|
|
3134
3134
|
}
|
|
3135
|
-
async function
|
|
3136
|
-
const url = `${PR_BINARIES_URL}/${pr}/
|
|
3135
|
+
async function fetchPrBuildSha(pr) {
|
|
3136
|
+
const url = `${PR_BINARIES_URL}/${pr}/current-sha`;
|
|
3137
|
+
const res = await fetch2(url);
|
|
3138
|
+
if (res.status === 404) {
|
|
3139
|
+
throw new Error(
|
|
3140
|
+
`No binary found for PR #${pr}. The PR may not have a build yet, or the build may still be running.`
|
|
3141
|
+
);
|
|
3142
|
+
}
|
|
3143
|
+
if (!res.ok) {
|
|
3144
|
+
throw new Error(
|
|
3145
|
+
`Failed to fetch current build for PR #${pr} (HTTP ${res.status})`
|
|
3146
|
+
);
|
|
3147
|
+
}
|
|
3148
|
+
const sha = (await res.text()).trim().toLowerCase();
|
|
3149
|
+
if (!/^[0-9a-f]{40}$/.test(sha)) {
|
|
3150
|
+
throw new Error(`Unexpected build SHA format for PR #${pr}`);
|
|
3151
|
+
}
|
|
3152
|
+
return sha;
|
|
3153
|
+
}
|
|
3154
|
+
function getPrBinaryBaseUrl(pr, buildSha) {
|
|
3155
|
+
return `${PR_BINARIES_URL}/${pr}/shas/${buildSha}`;
|
|
3156
|
+
}
|
|
3157
|
+
async function fetchPrChecksum(pr, buildSha) {
|
|
3158
|
+
const url = `${getPrBinaryBaseUrl(pr, buildSha)}/vercel-${platformTarget()}.sha256`;
|
|
3137
3159
|
const res = await fetch2(url);
|
|
3138
3160
|
if (res.status === 404) {
|
|
3139
3161
|
throw new Error(
|
|
@@ -3152,11 +3174,11 @@ async function fetchPrChecksum(pr) {
|
|
|
3152
3174
|
}
|
|
3153
3175
|
return sha;
|
|
3154
3176
|
}
|
|
3155
|
-
async function downloadPrBinary(pr, expectedSha, destination) {
|
|
3177
|
+
async function downloadPrBinary(pr, buildSha, expectedSha, destination) {
|
|
3156
3178
|
if (!isSupportedPlatform()) {
|
|
3157
3179
|
throw new Error(unsupportedPlatformMessage());
|
|
3158
3180
|
}
|
|
3159
|
-
const url = `${
|
|
3181
|
+
const url = `${getPrBinaryBaseUrl(pr, buildSha)}/vercel-${platformTarget()}`;
|
|
3160
3182
|
const res = await fetch2(url);
|
|
3161
3183
|
if (res.status === 404) {
|
|
3162
3184
|
throw new Error(
|
|
@@ -3194,17 +3216,18 @@ async function installAndLinkPrBinary(pr) {
|
|
|
3194
3216
|
const binaryPath = join2(versionDir, "vercel");
|
|
3195
3217
|
const shaPath = join2(versionDir, "vercel.sha256");
|
|
3196
3218
|
output_manager_default.spinner(`Checking latest build for PR #${pr}\u2026`, 0);
|
|
3197
|
-
const
|
|
3219
|
+
const buildSha = await fetchPrBuildSha(pr);
|
|
3220
|
+
const remoteSha = await fetchPrChecksum(pr, buildSha);
|
|
3198
3221
|
const existing = await stat(binaryPath).catch(() => null);
|
|
3199
3222
|
const localSha = existing?.isFile() ? (await readFile4(shaPath, "utf8").catch(() => "")).trim().split(/\s+/)[0] : void 0;
|
|
3200
3223
|
if (existing?.isFile() && localSha === remoteSha) {
|
|
3201
3224
|
await linkVersion(prVersionDirName(pr));
|
|
3202
|
-
return { updated: false,
|
|
3225
|
+
return { updated: false, buildSha };
|
|
3203
3226
|
}
|
|
3204
3227
|
output_manager_default.spinner(`Downloading Vercel CLI build for PR #${pr}\u2026`, 0);
|
|
3205
|
-
await downloadPrBinary(pr, remoteSha, versionDir);
|
|
3228
|
+
await downloadPrBinary(pr, buildSha, remoteSha, versionDir);
|
|
3206
3229
|
await linkVersion(prVersionDirName(pr));
|
|
3207
|
-
return { updated: true,
|
|
3230
|
+
return { updated: true, buildSha };
|
|
3208
3231
|
}
|
|
3209
3232
|
async function listInstalledVersions() {
|
|
3210
3233
|
const versionsDir = join2(getInstallRoot(), "versions");
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-FGDKMNEN.js";
|
|
13
13
|
import {
|
|
14
14
|
truncateMiddle
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VDJN4WKH.js";
|
|
16
16
|
import {
|
|
17
17
|
table
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VAFU7DXZ.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/alerts/format.ts
|
|
21
21
|
function renderAlertTable(rows, hsep = 3) {
|
|
@@ -24,11 +24,19 @@ var projectScopeOption = {
|
|
|
24
24
|
shorthand: "p",
|
|
25
25
|
description: "Project name or ID (defaults to the linked project)."
|
|
26
26
|
};
|
|
27
|
+
var nextOption = {
|
|
28
|
+
name: "next",
|
|
29
|
+
shorthand: null,
|
|
30
|
+
type: String,
|
|
31
|
+
deprecated: false,
|
|
32
|
+
description: "Continue from a previous response",
|
|
33
|
+
argument: "CURSOR"
|
|
34
|
+
};
|
|
27
35
|
var cursorOption = {
|
|
28
36
|
name: "cursor",
|
|
29
37
|
shorthand: "c",
|
|
30
38
|
type: String,
|
|
31
|
-
deprecated:
|
|
39
|
+
deprecated: true,
|
|
32
40
|
description: "Cursor from a previous page to continue listing from",
|
|
33
41
|
argument: "STRING"
|
|
34
42
|
};
|
|
@@ -37,7 +45,13 @@ var permissionsLsSubcommand = {
|
|
|
37
45
|
aliases: ["list"],
|
|
38
46
|
description: "List teams with access to a repository",
|
|
39
47
|
arguments: [],
|
|
40
|
-
options: [
|
|
48
|
+
options: [
|
|
49
|
+
projectScopeOption,
|
|
50
|
+
limitOption,
|
|
51
|
+
nextOption,
|
|
52
|
+
cursorOption,
|
|
53
|
+
formatOption
|
|
54
|
+
],
|
|
41
55
|
examples: [
|
|
42
56
|
{
|
|
43
57
|
name: "List teams with access to a repository",
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
|
|
8
8
|
// src/util/constants.ts
|
|
9
|
-
var SENTRY_DSN =
|
|
9
|
+
var SENTRY_DSN = void 0;
|
|
10
10
|
var BUILD_LABEL = void 0;
|
|
11
11
|
|
|
12
12
|
export {
|
|
@@ -83,13 +83,21 @@ var listSubcommand = {
|
|
|
83
83
|
description: "unresolved (default), resolved, or all"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
name: "page",
|
|
86
|
+
name: "page-path",
|
|
87
87
|
shorthand: null,
|
|
88
88
|
type: [String],
|
|
89
89
|
argument: "PATH",
|
|
90
90
|
deprecated: false,
|
|
91
91
|
description: "Filter by recorded page path or glob (repeatable). Note: rewrites may record a different path than the browser URL"
|
|
92
92
|
},
|
|
93
|
+
{
|
|
94
|
+
name: "page",
|
|
95
|
+
shorthand: null,
|
|
96
|
+
type: [String],
|
|
97
|
+
argument: "PATH",
|
|
98
|
+
deprecated: true,
|
|
99
|
+
description: "Filter by recorded page path or glob"
|
|
100
|
+
},
|
|
93
101
|
{
|
|
94
102
|
name: "author",
|
|
95
103
|
shorthand: null,
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isJSONObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DAWJOQF6.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VE545BR3.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TJLBCLEX.js";
|
|
17
17
|
import {
|
|
18
18
|
ProjectNotFound,
|
|
19
19
|
isAPIError
|