@depup/vercel 59.10.0-depup.0 → 59.11.7-depup.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/README.md +4 -4
- package/changes.json +3 -3
- package/dist/chunks/{add-SGSXZWCH.js → add-KSJQYR5C.js} +23 -18
- package/dist/chunks/{add-IJZ2Q46B.js → add-PERLOALD.js} +37 -23
- package/dist/chunks/{add-KYLIIWQV.js → add-WU2QYHYL.js} +23 -18
- package/dist/chunks/{build-PKOCHFHL.js → build-F3J6FLPD.js} +23 -18
- package/dist/chunks/{chunk-NGGLYKNU.js → chunk-26CU4Q3C.js} +3 -115
- package/dist/chunks/{chunk-QFAS4OVW.js → chunk-2JIX6UMI.js} +3 -84
- package/dist/chunks/chunk-2TSBB22D.js +14059 -0
- package/dist/chunks/chunk-332LMJLZ.js +16014 -0
- package/dist/chunks/{chunk-AYLY3ZVL.js → chunk-3VM7HWF6.js} +2 -2
- package/dist/chunks/chunk-4IALDGB7.js +22 -0
- package/dist/chunks/chunk-4IVSM24H.js +522 -0
- package/dist/chunks/{chunk-5XECIWME.js → chunk-5NF5HOBJ.js} +5 -3
- package/dist/chunks/chunk-6E6KPBXY.js +43 -0
- package/dist/chunks/chunk-7KROIXQM.js +59 -0
- package/dist/chunks/{chunk-ASBP32T6.js → chunk-7MRDIPJY.js} +1 -1
- package/dist/chunks/chunk-A5JZS6ZN.js +92 -0
- package/dist/chunks/{chunk-7ST552E3.js → chunk-AKLTIZCU.js} +1 -1
- package/dist/chunks/{chunk-26XDDLXM.js → chunk-ARU7VBKR.js} +2 -2
- package/dist/chunks/chunk-B5XLQKHI.js +849 -0
- package/dist/chunks/chunk-C762AAVU.js +137 -0
- package/dist/chunks/{chunk-53J6IECW.js → chunk-CEDN47PH.js} +4 -4
- package/dist/chunks/{chunk-OBPBFJFP.js → chunk-CNDPIHY5.js} +24 -22
- package/dist/chunks/{chunk-BMKU5KEL.js → chunk-CV5YC2EN.js} +1 -1
- package/dist/chunks/chunk-DBYHS3CK.js +257 -0
- package/dist/chunks/{chunk-SRVP2UST.js → chunk-DSTNNQVV.js} +12 -8
- package/dist/chunks/{chunk-AXNMBJKD.js → chunk-EFYMIIER.js} +2 -2
- package/dist/chunks/{chunk-7TYA36S5.js → chunk-EPOLDWRA.js} +2 -2
- package/dist/chunks/{chunk-KTCVGTRQ.js → chunk-EZQDYIVB.js} +10 -8
- package/dist/chunks/{chunk-YLNIMGMQ.js → chunk-FL4JLNT2.js} +8 -8
- package/dist/chunks/chunk-FRVG4OW3.js +7438 -0
- package/dist/chunks/{chunk-UTWU4DZF.js → chunk-FVNJTRCE.js} +17 -13
- package/dist/chunks/chunk-FVT74RZ5.js +1536 -0
- package/dist/chunks/chunk-G3PXSXIB.js +18188 -0
- package/dist/chunks/chunk-G5FBSUL4.js +822 -0
- package/dist/chunks/{chunk-FRAXI2WT.js → chunk-GCVXKRR5.js} +3 -3
- package/dist/chunks/chunk-GHKJAK5V.js +1288 -0
- package/dist/chunks/{chunk-QQ77K4QW.js → chunk-GUU4Z2AQ.js} +42 -28
- package/dist/chunks/{chunk-OQ3C5VXZ.js → chunk-GVNCVKCI.js} +4 -2
- package/dist/chunks/chunk-HB4UKFDO.js +1295 -0
- package/dist/chunks/chunk-HRXRELD3.js +338 -0
- package/dist/chunks/{chunk-IJ4X426J.js → chunk-IIMSID24.js} +1 -1
- package/dist/chunks/{chunk-O75LSD3C.js → chunk-JSD4EZL3.js} +1 -1
- package/dist/chunks/{chunk-7AEEQOD4.js → chunk-K3RED3VO.js} +1 -1
- package/dist/chunks/{chunk-GRINZMFI.js → chunk-KEKR7OCB.js} +6 -4
- package/dist/chunks/{chunk-3T7WSWZH.js → chunk-KFWQ3EFH.js} +1 -1
- package/dist/chunks/{chunk-L3UXB2CW.js → chunk-KW7BS25T.js} +1 -1
- package/dist/chunks/{chunk-X6TBTUZZ.js → chunk-N4QHMXOO.js} +11 -7
- package/dist/chunks/{chunk-XRWOTCDO.js → chunk-ND5CF2H3.js} +1 -1
- package/dist/chunks/{chunk-LCDVMLKI.js → chunk-NSOYO6JQ.js} +35 -27
- package/dist/chunks/{chunk-RKDCNQ4S.js → chunk-NW34PW6V.js} +3 -105
- package/dist/chunks/{chunk-GGPE5377.js → chunk-O26N2UPI.js} +1 -1
- package/dist/chunks/{chunk-C5HKWXRR.js → chunk-OAMU5QO6.js} +1 -1
- package/dist/chunks/{chunk-MTWHQEXI.js → chunk-OIH6FP5Y.js} +5 -3
- package/dist/chunks/chunk-P7VSBDR4.js +827 -0
- package/dist/chunks/chunk-PEC3CQSK.js +90 -0
- package/dist/chunks/{chunk-5BZWQDNJ.js → chunk-PFM75KY3.js} +12 -8
- package/dist/chunks/chunk-PJXMXMCO.js +81 -0
- package/dist/chunks/chunk-PNGVSHR3.js +40 -0
- package/dist/chunks/{chunk-VV5XULGR.js → chunk-QHS645AZ.js} +14 -6
- package/dist/chunks/{chunk-WC3XNI4B.js → chunk-QKX7WKIN.js} +8 -6
- package/dist/chunks/chunk-QOPTXV4G.js +417 -0
- package/dist/chunks/chunk-RN6V5ODW.js +114 -0
- package/dist/chunks/chunk-RVBZ64EQ.js +52 -0
- package/dist/chunks/chunk-SHFNEZVI.js +49 -0
- package/dist/chunks/{chunk-O6VHU65V.js → chunk-TGNEG57M.js} +44 -15
- package/dist/chunks/{chunk-WNAKOXGK.js → chunk-TO7QZGYK.js} +1 -1
- package/dist/chunks/chunk-UARGTFCT.js +875 -0
- package/dist/chunks/{chunk-FWKSJYDV.js → chunk-UG2WOB5L.js} +1 -1
- package/dist/chunks/chunk-V4RMJKQP.js +36 -0
- package/dist/chunks/chunk-VT3Z7HF6.js +233 -0
- package/dist/chunks/chunk-VUS2JQB2.js +121 -0
- package/dist/chunks/{chunk-Z2RKD7LL.js → chunk-VYC45Q4Z.js} +2 -2
- package/dist/chunks/{chunk-4KVJ2M4J.js → chunk-WL6QYSGD.js} +78 -17
- package/dist/chunks/{chunk-5JNGHAUT.js → chunk-X7DBBZQD.js} +4 -4
- package/dist/chunks/{chunk-MHO3EJAF.js → chunk-XD4DCYMX.js} +6 -6
- package/dist/chunks/{chunk-ZSFEACZU.js → chunk-XFF5TGRA.js} +1 -1
- package/dist/chunks/{chunk-FNYNYZAZ.js → chunk-XIFATBH5.js} +21 -15
- package/dist/chunks/chunk-XNIZGCN5.js +58 -0
- package/dist/chunks/chunk-XPJLPUKO.js +117 -0
- package/dist/chunks/{chunk-FXD67VN5.js → chunk-XUAWTW4W.js} +1 -1
- package/dist/chunks/{chunk-I526H4AS.js → chunk-YS76T533.js} +2 -2
- package/dist/chunks/chunk-Z7JWYFOY.js +58 -0
- package/dist/chunks/{chunk-6JPVTPTU.js → chunk-ZBEECGFD.js} +3 -3
- package/dist/chunks/{chunk-52QYYTM5.js → chunk-ZDU2NODC.js} +3 -127
- package/dist/chunks/chunk-ZW6HETRE.js +97 -0
- package/dist/chunks/{clear-J6TY2J3M.js → clear-XUQO4ZTK.js} +23 -18
- package/dist/chunks/{compile-vercel-config-WVGNTJXO.js → compile-vercel-config-D3ARNHTN.js} +8 -11
- package/dist/chunks/{config-3JDOCLH7.js → config-37OAE7QJ.js} +22 -17
- package/dist/chunks/{config-5T7XV4JE.js → config-MEDLXUVM.js} +23 -18
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{constants-YMCRE6IG.js → constants-WEQVJSYS.js} +1 -1
- package/dist/chunks/{delete-EPPNTNEW.js → delete-3N3YZZOF.js} +16 -12
- package/dist/chunks/{delete-XQOAWEZV.js → delete-VSWDZ2SW.js} +19 -14
- package/dist/chunks/detect-projects-ODNU4PK2.js +18 -0
- package/dist/chunks/detect-services-TESZCQWG.js +40 -0
- package/dist/chunks/{disable-U5YAPWPA.js → disable-A4FLFMC7.js} +17 -13
- package/dist/chunks/{discard-OCUCCXKO.js → discard-CHGFULBZ.js} +17 -13
- package/dist/chunks/{edit-CD7EXAO3.js → edit-JZ63AJYQ.js} +17 -13
- package/dist/chunks/{edit-PNRGHNGQ.js → edit-MHSYAPDR.js} +19 -15
- package/dist/chunks/{enable-25RH2LVW.js → enable-KD46SEC5.js} +17 -13
- package/dist/chunks/{exec-XH4K34JM.js → exec-4IPHZ55G.js} +9 -5
- package/dist/chunks/{export-YSGEUXJW.js → export-42QZLBSN.js} +16 -13
- package/dist/chunks/{image-4ZKCR4HL.js → image-GP4H73A2.js} +11 -8
- package/dist/chunks/{import-builders-FQ2LOIWC.js → import-builders-6TBLMPL2.js} +18 -13
- package/dist/chunks/{inspect-WRBFJUSY.js → inspect-5FMWMY3C.js} +22 -18
- package/dist/chunks/{inspect-ZC4GRGTE.js → inspect-MUVK6MMT.js} +18 -14
- package/dist/chunks/{inspect-3K2EDYL6.js → inspect-Q3DWW7MC.js} +22 -18
- package/dist/chunks/{inspect-K2NJD2AI.js → inspect-QFXAOUL4.js} +18 -14
- package/dist/chunks/{inspect-F5DJM5DL.js → inspect-RNTSYM6O.js} +18 -14
- package/dist/chunks/{list-PUFYWIOF.js → list-IHHIPXEC.js} +20 -16
- package/dist/chunks/{list-B7C56Z7B.js → list-JRNWLSO5.js} +16 -14
- package/dist/chunks/{list-Z6VHQQBW.js → list-XHD5DLEX.js} +23 -19
- package/dist/chunks/{login-ZYUF7JZQ.js → login-PCT6KFWY.js} +23 -18
- package/dist/chunks/{ls-ALX26ARH.js → ls-GPEHEFCF.js} +24 -18
- package/dist/chunks/{ls-PRY6OV4B.js → ls-PF7F4PP4.js} +27 -23
- package/dist/chunks/{ls-TBBLZ766.js → ls-PQZ2RIDX.js} +24 -18
- package/dist/chunks/{ls-2OUQUKPT.js → ls-SVOHC3XW.js} +24 -18
- package/dist/chunks/{ls-SQRTT5RH.js → ls-TGHCCARZ.js} +24 -18
- package/dist/chunks/{ls-FNOL7XTY.js → ls-VRIH5WA3.js} +22 -15
- package/dist/chunks/{open-673AJXYY.js → open-E7DEKYDU.js} +18 -13
- package/dist/chunks/{permissions-B6SFNLN4.js → permissions-JKOONWVL.js} +14 -11
- package/dist/chunks/{publish-TPJHZ2PJ.js → publish-EDDELDE5.js} +17 -13
- package/dist/chunks/pull-646WEVDE.js +45 -0
- package/dist/chunks/{push-3WD5IPXP.js → push-LTNW5OVD.js} +23 -18
- package/dist/chunks/{query-ZXOJQZ7G.js → query-LU4N6KPO.js} +22 -19
- package/dist/chunks/{reorder-SUFOQGPC.js → reorder-22PKJMZP.js} +17 -13
- package/dist/chunks/{reply-YOVUA6ZF.js → reply-SF2EZMVZ.js} +17 -13
- package/dist/chunks/{resolve-OQ7P74JY.js → resolve-ZCZGXTOT.js} +16 -12
- package/dist/chunks/resolve-deployment-framework-preset-NPE6RLV3.js +36 -0
- package/dist/chunks/{restore-BD5XJOE7.js → restore-VJAWZXB4.js} +17 -13
- package/dist/chunks/{rm-4UIILZLP.js → rm-KN2QFCKO.js} +23 -18
- package/dist/chunks/{rm-4KAI42EX.js → rm-KVEAJPRE.js} +23 -18
- package/dist/chunks/{rm-XAMQUW3J.js → rm-OSZ5FZUM.js} +23 -16
- package/dist/chunks/{rm-EKVIZG2N.js → rm-W722Q2AO.js} +21 -18
- package/dist/chunks/{rm-5TY3QJUZ.js → rm-WNPGTUBH.js} +23 -18
- package/dist/chunks/{routes-2OLIBRYX.js → routes-QVMBXOSX.js} +7 -3
- package/dist/chunks/{rule-inspect-XZZE54SW.js → rule-inspect-25Z6SNX3.js} +28 -24
- package/dist/chunks/{rules-SF5FBWFF.js → rules-65LKAQ35.js} +15 -12
- package/dist/chunks/{schema-45SJNY5L.js → schema-7D6IGJEJ.js} +9 -7
- package/dist/chunks/{schema-3HRYA6AT.js → schema-NXCW4M75.js} +19 -17
- package/dist/chunks/{set-T4IYLXET.js → set-FYJVKMPV.js} +20 -13
- package/dist/chunks/setup-and-link-KXPZE32P.js +65 -0
- package/dist/chunks/{tags-EZKT46VN.js → tags-ANIRP5E3.js} +10 -7
- package/dist/chunks/{types-JGANJ5EQ.js → types-4GAJ7XQQ.js} +9 -7
- package/dist/chunks/{update-OE7Y2J5I.js → update-UT6CTKVG.js} +32 -19
- package/dist/commands/build/index.js +359 -61
- package/dist/commands/deploy/index.js +75 -66
- package/dist/commands/dev/index.js +104 -58
- package/dist/commands/env/index.js +69 -45
- package/dist/commands/link/index.js +48 -27
- package/dist/commands/list/index.js +33 -22
- package/dist/commands-bulk.js +1667 -1295
- package/dist/index.js +79 -42
- package/dist/version.mjs +1 -1
- package/package.json +54 -54
- package/dist/chunks/chunk-XNFHNTS2.js +0 -2939
- package/dist/chunks/chunk-Z44PATWW.js +0 -61983
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/vercel
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [vercel](https://www.npmjs.com/package/vercel) @ 59.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [vercel](https://www.npmjs.com/package/vercel) @ 59.11.7 |
|
|
17
|
+
| Processed | 2026-09-06 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 11 |
|
|
20
20
|
|
|
@@ -26,11 +26,11 @@ npm install @depup/vercel
|
|
|
26
26
|
| @vercel/prepare-flags-definitions | 0.3.0 | ^0.4.0 |
|
|
27
27
|
| chokidar | 4.0.0 | ^5.0.0 |
|
|
28
28
|
| esbuild | 0.27.0 | ^0.28.2 |
|
|
29
|
-
| jose | 5.9.6 | ^6.2.
|
|
29
|
+
| jose | 5.9.6 | ^6.2.12 |
|
|
30
30
|
| luxon | ^3.4.0 | ^3.7.2 |
|
|
31
31
|
| sandbox | 4.1.0 | ^4.2.1 |
|
|
32
32
|
| smol-toml | 1.5.2 | ^1.8.0 |
|
|
33
|
-
| undici | 5.29.0 | ^8.10.
|
|
33
|
+
| undici | 5.29.0 | ^8.10.2 |
|
|
34
34
|
| uuid | 14.0.1 | ^14.0.2 |
|
|
35
35
|
| zod | 4.1.11 | ^4.5.4 |
|
|
36
36
|
|
package/changes.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"jose": {
|
|
20
20
|
"from": "5.9.6",
|
|
21
|
-
"to": "^6.2.
|
|
21
|
+
"to": "^6.2.12"
|
|
22
22
|
},
|
|
23
23
|
"luxon": {
|
|
24
24
|
"from": "^3.4.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"undici": {
|
|
36
36
|
"from": "5.29.0",
|
|
37
|
-
"to": "^8.10.
|
|
37
|
+
"to": "^8.10.2"
|
|
38
38
|
},
|
|
39
39
|
"uuid": {
|
|
40
40
|
"from": "14.0.1",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"to": "^4.5.4"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"timestamp": "2026-
|
|
48
|
+
"timestamp": "2026-09-06T01:01:07.921Z",
|
|
49
49
|
"totalUpdated": 11
|
|
50
50
|
}
|
|
@@ -17,44 +17,49 @@ import {
|
|
|
17
17
|
emitVcrArgParseError,
|
|
18
18
|
resolveVcrScope,
|
|
19
19
|
validateVcrJsonOutput
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-FVNJTRCE.js";
|
|
21
|
+
import "./chunk-TO7QZGYK.js";
|
|
22
22
|
import {
|
|
23
23
|
outputError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KFWQ3EFH.js";
|
|
25
25
|
import "./chunk-KXDWXXJH.js";
|
|
26
26
|
import {
|
|
27
27
|
permissionsAddSubcommand
|
|
28
28
|
} from "./chunk-EZKW5YJ2.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-XNFHNTS2.js";
|
|
33
|
-
import {
|
|
34
|
-
AGENT_REASON,
|
|
35
|
-
buildCommandWithGlobalFlags,
|
|
36
|
-
outputAgentError
|
|
37
|
-
} from "./chunk-NGGLYKNU.js";
|
|
29
|
+
import "./chunk-5NF5HOBJ.js";
|
|
30
|
+
import "./chunk-ZDU2NODC.js";
|
|
31
|
+
import "./chunk-PEC3CQSK.js";
|
|
38
32
|
import "./chunk-GGP5R3FU.js";
|
|
33
|
+
import {
|
|
34
|
+
AGENT_REASON
|
|
35
|
+
} from "./chunk-VUS2JQB2.js";
|
|
36
|
+
import "./chunk-4IVSM24H.js";
|
|
37
|
+
import "./chunk-XNIZGCN5.js";
|
|
39
38
|
import {
|
|
40
39
|
printError
|
|
41
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3VM7HWF6.js";
|
|
42
41
|
import {
|
|
43
42
|
parseArguments
|
|
44
43
|
} from "./chunk-57RHXXXG.js";
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-2TSBB22D.js";
|
|
45
|
+
import "./chunk-G5FBSUL4.js";
|
|
46
|
+
import {
|
|
47
|
+
buildCommandWithGlobalFlags,
|
|
48
|
+
outputAgentError
|
|
49
|
+
} from "./chunk-26CU4Q3C.js";
|
|
50
|
+
import "./chunk-XPJLPUKO.js";
|
|
46
51
|
import {
|
|
47
52
|
isAPIError
|
|
48
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CV5YC2EN.js";
|
|
49
54
|
import {
|
|
50
55
|
getFlagsSpecification,
|
|
51
56
|
packageName
|
|
52
57
|
} from "./chunk-Q2DGFCO7.js";
|
|
53
|
-
import "./chunk-P4QNYOFB.js";
|
|
54
|
-
import "./chunk-52QYYTM5.js";
|
|
55
58
|
import {
|
|
56
59
|
output_manager_default
|
|
57
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2JIX6UMI.js";
|
|
61
|
+
import "./chunk-P4QNYOFB.js";
|
|
62
|
+
import "./chunk-ZW6HETRE.js";
|
|
58
63
|
import "./chunk-S7KYDPEM.js";
|
|
59
64
|
import {
|
|
60
65
|
__toESM
|
|
@@ -4,61 +4,75 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
isCustomAlertRule
|
|
9
|
+
} from "./chunk-ARU7VBKR.js";
|
|
7
10
|
import {
|
|
8
11
|
parseCustomAlertQueryBody,
|
|
9
12
|
resolveCustomAlertProjectName,
|
|
10
13
|
setMissingCustomAlertProjectScope
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QKX7WKIN.js";
|
|
12
15
|
import {
|
|
13
16
|
emitRulesArgParseError,
|
|
14
17
|
handleRulesApiError,
|
|
15
18
|
parseRulesFlagsAndScope,
|
|
16
19
|
rulesCollectionPath
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import
|
|
19
|
-
isCustomAlertRule
|
|
20
|
-
} from "./chunk-26XDDLXM.js";
|
|
21
|
-
import "./chunk-X6TBTUZZ.js";
|
|
20
|
+
} from "./chunk-KEKR7OCB.js";
|
|
21
|
+
import "./chunk-N4QHMXOO.js";
|
|
22
22
|
import "./chunk-A3NYPUKZ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-KFWQ3EFH.js";
|
|
24
24
|
import "./chunk-FGDKMNEN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-GUU4Z2AQ.js";
|
|
26
26
|
import "./chunk-AINIBIP4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-Z7JWYFOY.js";
|
|
28
|
+
import "./chunk-ND5CF2H3.js";
|
|
28
29
|
import {
|
|
29
30
|
validateJsonOutput
|
|
30
31
|
} from "./chunk-KXDWXXJH.js";
|
|
32
|
+
import "./chunk-V4RMJKQP.js";
|
|
31
33
|
import {
|
|
32
34
|
rulesAddSubcommand
|
|
33
35
|
} from "./chunk-XM3LOQIX.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
buildCommandWithGlobalFlags,
|
|
40
|
-
outputAgentError
|
|
41
|
-
} from "./chunk-NGGLYKNU.js";
|
|
36
|
+
import "./chunk-G3PXSXIB.js";
|
|
37
|
+
import "./chunk-P7VSBDR4.js";
|
|
38
|
+
import "./chunk-QOPTXV4G.js";
|
|
39
|
+
import "./chunk-ZDU2NODC.js";
|
|
40
|
+
import "./chunk-PEC3CQSK.js";
|
|
42
41
|
import "./chunk-GGP5R3FU.js";
|
|
42
|
+
import {
|
|
43
|
+
AGENT_REASON
|
|
44
|
+
} from "./chunk-VUS2JQB2.js";
|
|
45
|
+
import "./chunk-DBYHS3CK.js";
|
|
46
|
+
import "./chunk-HRXRELD3.js";
|
|
47
|
+
import "./chunk-B5XLQKHI.js";
|
|
48
|
+
import "./chunk-NW34PW6V.js";
|
|
49
|
+
import "./chunk-4IVSM24H.js";
|
|
50
|
+
import "./chunk-XNIZGCN5.js";
|
|
43
51
|
import {
|
|
44
52
|
printError
|
|
45
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-3VM7HWF6.js";
|
|
46
54
|
import {
|
|
47
55
|
parseArguments
|
|
48
56
|
} from "./chunk-57RHXXXG.js";
|
|
49
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-2TSBB22D.js";
|
|
58
|
+
import "./chunk-G5FBSUL4.js";
|
|
59
|
+
import {
|
|
60
|
+
buildCommandWithGlobalFlags,
|
|
61
|
+
outputAgentError
|
|
62
|
+
} from "./chunk-26CU4Q3C.js";
|
|
63
|
+
import "./chunk-XPJLPUKO.js";
|
|
50
64
|
import {
|
|
51
65
|
isAPIError
|
|
52
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-CV5YC2EN.js";
|
|
53
67
|
import {
|
|
54
68
|
getFlagsSpecification,
|
|
55
69
|
packageName
|
|
56
70
|
} from "./chunk-Q2DGFCO7.js";
|
|
57
|
-
import "./chunk-P4QNYOFB.js";
|
|
58
|
-
import "./chunk-52QYYTM5.js";
|
|
59
71
|
import {
|
|
60
72
|
output_manager_default
|
|
61
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-2JIX6UMI.js";
|
|
74
|
+
import "./chunk-P4QNYOFB.js";
|
|
75
|
+
import "./chunk-ZW6HETRE.js";
|
|
62
76
|
import "./chunk-S7KYDPEM.js";
|
|
63
77
|
import "./chunk-TZ2YI2VH.js";
|
|
64
78
|
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
handleVcrApiError,
|
|
10
10
|
resolveVcrScope,
|
|
11
11
|
validateVcrJsonOutput
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-FVNJTRCE.js";
|
|
13
|
+
import "./chunk-TO7QZGYK.js";
|
|
14
14
|
import {
|
|
15
15
|
outputError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KFWQ3EFH.js";
|
|
17
17
|
import "./chunk-KXDWXXJH.js";
|
|
18
18
|
import {
|
|
19
19
|
addSubcommand
|
|
@@ -21,35 +21,40 @@ import {
|
|
|
21
21
|
import "./chunk-EZKW5YJ2.js";
|
|
22
22
|
import "./chunk-NFU4XJIR.js";
|
|
23
23
|
import "./chunk-3HZLXCVL.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-XNFHNTS2.js";
|
|
28
|
-
import {
|
|
29
|
-
AGENT_REASON,
|
|
30
|
-
buildCommandWithGlobalFlags,
|
|
31
|
-
outputAgentError
|
|
32
|
-
} from "./chunk-NGGLYKNU.js";
|
|
24
|
+
import "./chunk-5NF5HOBJ.js";
|
|
25
|
+
import "./chunk-ZDU2NODC.js";
|
|
26
|
+
import "./chunk-PEC3CQSK.js";
|
|
33
27
|
import "./chunk-GGP5R3FU.js";
|
|
28
|
+
import {
|
|
29
|
+
AGENT_REASON
|
|
30
|
+
} from "./chunk-VUS2JQB2.js";
|
|
31
|
+
import "./chunk-4IVSM24H.js";
|
|
32
|
+
import "./chunk-XNIZGCN5.js";
|
|
34
33
|
import {
|
|
35
34
|
printError
|
|
36
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3VM7HWF6.js";
|
|
37
36
|
import {
|
|
38
37
|
parseArguments
|
|
39
38
|
} from "./chunk-57RHXXXG.js";
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-2TSBB22D.js";
|
|
40
|
+
import "./chunk-G5FBSUL4.js";
|
|
41
|
+
import {
|
|
42
|
+
buildCommandWithGlobalFlags,
|
|
43
|
+
outputAgentError
|
|
44
|
+
} from "./chunk-26CU4Q3C.js";
|
|
45
|
+
import "./chunk-XPJLPUKO.js";
|
|
41
46
|
import {
|
|
42
47
|
isAPIError
|
|
43
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-CV5YC2EN.js";
|
|
44
49
|
import {
|
|
45
50
|
getFlagsSpecification,
|
|
46
51
|
packageName
|
|
47
52
|
} from "./chunk-Q2DGFCO7.js";
|
|
48
|
-
import "./chunk-P4QNYOFB.js";
|
|
49
|
-
import "./chunk-52QYYTM5.js";
|
|
50
53
|
import {
|
|
51
54
|
output_manager_default
|
|
52
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-2JIX6UMI.js";
|
|
56
|
+
import "./chunk-P4QNYOFB.js";
|
|
57
|
+
import "./chunk-ZW6HETRE.js";
|
|
53
58
|
import "./chunk-S7KYDPEM.js";
|
|
54
59
|
import "./chunk-TZ2YI2VH.js";
|
|
55
60
|
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
runEngine,
|
|
24
24
|
splitPassthrough,
|
|
25
25
|
validateVcrChoice
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-FVNJTRCE.js";
|
|
27
|
+
import "./chunk-TO7QZGYK.js";
|
|
28
28
|
import {
|
|
29
29
|
outputError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KFWQ3EFH.js";
|
|
31
31
|
import "./chunk-KXDWXXJH.js";
|
|
32
32
|
import {
|
|
33
33
|
buildSubcommand
|
|
@@ -35,32 +35,37 @@ import {
|
|
|
35
35
|
import "./chunk-EZKW5YJ2.js";
|
|
36
36
|
import "./chunk-NFU4XJIR.js";
|
|
37
37
|
import "./chunk-3HZLXCVL.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-XNFHNTS2.js";
|
|
42
|
-
import {
|
|
43
|
-
AGENT_REASON,
|
|
44
|
-
buildCommandWithGlobalFlags,
|
|
45
|
-
outputAgentError
|
|
46
|
-
} from "./chunk-NGGLYKNU.js";
|
|
38
|
+
import "./chunk-5NF5HOBJ.js";
|
|
39
|
+
import "./chunk-ZDU2NODC.js";
|
|
40
|
+
import "./chunk-PEC3CQSK.js";
|
|
47
41
|
import "./chunk-GGP5R3FU.js";
|
|
42
|
+
import {
|
|
43
|
+
AGENT_REASON
|
|
44
|
+
} from "./chunk-VUS2JQB2.js";
|
|
45
|
+
import "./chunk-4IVSM24H.js";
|
|
46
|
+
import "./chunk-XNIZGCN5.js";
|
|
48
47
|
import {
|
|
49
48
|
printError
|
|
50
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3VM7HWF6.js";
|
|
51
50
|
import {
|
|
52
51
|
parseArguments
|
|
53
52
|
} from "./chunk-57RHXXXG.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-2TSBB22D.js";
|
|
54
|
+
import "./chunk-G5FBSUL4.js";
|
|
55
|
+
import {
|
|
56
|
+
buildCommandWithGlobalFlags,
|
|
57
|
+
outputAgentError
|
|
58
|
+
} from "./chunk-26CU4Q3C.js";
|
|
59
|
+
import "./chunk-XPJLPUKO.js";
|
|
60
|
+
import "./chunk-CV5YC2EN.js";
|
|
56
61
|
import {
|
|
57
62
|
getFlagsSpecification
|
|
58
63
|
} from "./chunk-Q2DGFCO7.js";
|
|
59
|
-
import "./chunk-P4QNYOFB.js";
|
|
60
|
-
import "./chunk-52QYYTM5.js";
|
|
61
64
|
import {
|
|
62
65
|
output_manager_default
|
|
63
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-2JIX6UMI.js";
|
|
67
|
+
import "./chunk-P4QNYOFB.js";
|
|
68
|
+
import "./chunk-ZW6HETRE.js";
|
|
64
69
|
import "./chunk-S7KYDPEM.js";
|
|
65
70
|
import "./chunk-TZ2YI2VH.js";
|
|
66
71
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
LinkRequiredError,
|
|
9
9
|
ProjectNotFound,
|
|
10
10
|
isAPIError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CV5YC2EN.js";
|
|
12
12
|
import {
|
|
13
13
|
getGlobalFlagsFromArgs,
|
|
14
14
|
packageName,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-Q2DGFCO7.js";
|
|
18
18
|
import {
|
|
19
19
|
require_dist
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZW6HETRE.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -573,115 +573,6 @@ function openUrlInBrowserCommand(url) {
|
|
|
573
573
|
return `xdg-open '${url}'`;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
-
// src/util/agent-output-constants.ts
|
|
577
|
-
var AGENT_STATUS = {
|
|
578
|
-
ERROR: "error",
|
|
579
|
-
ACTION_REQUIRED: "action_required",
|
|
580
|
-
OK: "ok"
|
|
581
|
-
};
|
|
582
|
-
var AGENT_REASON = {
|
|
583
|
-
// Common (use across dns, flags, routes, env, domains, link)
|
|
584
|
-
MISSING_ARGUMENTS: "missing_arguments",
|
|
585
|
-
INVALID_ARGUMENTS: "invalid_arguments",
|
|
586
|
-
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
587
|
-
INTERACTIVE_CONFIRMATION_REQUIRED: "interactive_confirmation_required",
|
|
588
|
-
LOGIN_REQUIRED: "login_required",
|
|
589
|
-
PROJECT_SETTINGS_REQUIRED: "project_settings_required",
|
|
590
|
-
NOT_LINKED: "not_linked",
|
|
591
|
-
NOT_FOUND: "not_found",
|
|
592
|
-
PROJECT_NOT_FOUND: "project_not_found",
|
|
593
|
-
MISSING_SCOPE: "missing_scope",
|
|
594
|
-
SCOPE_NOT_ACCESSIBLE: "scope_not_accessible",
|
|
595
|
-
API_ERROR: "api_error",
|
|
596
|
-
// Flags
|
|
597
|
-
SEGMENT_IN_USE: "segment_in_use",
|
|
598
|
-
// Env
|
|
599
|
-
MISSING_REQUIREMENTS: "missing_requirements",
|
|
600
|
-
MISSING_NAME: "missing_name",
|
|
601
|
-
MISSING_VALUE: "missing_value",
|
|
602
|
-
MISSING_ENVIRONMENT: "missing_environment",
|
|
603
|
-
ENV_NOT_FOUND: "env_not_found",
|
|
604
|
-
MULTIPLE_ENVS: "multiple_envs",
|
|
605
|
-
ENV_FILE_EXISTS: "env_file_exists",
|
|
606
|
-
GIT_BRANCH_REQUIRED: "git_branch_required",
|
|
607
|
-
ENV_KEY_SENSITIVE: "env_key_sensitive",
|
|
608
|
-
// Routes
|
|
609
|
-
AMBIGUOUS_ROUTE: "ambiguous_route",
|
|
610
|
-
ROUTE_CREATE_FAILED: "route_create_failed",
|
|
611
|
-
ROUTE_GENERATION_FAILED: "route_generation_failed",
|
|
612
|
-
// DNS
|
|
613
|
-
DOMAIN_NOT_FOUND: "domain_not_found",
|
|
614
|
-
DNS_RECORD_NOT_FOUND: "dns_record_not_found",
|
|
615
|
-
INCOMPLETE_RECORD: "incomplete_record",
|
|
616
|
-
PERMISSION_DENIED: "permission_denied",
|
|
617
|
-
INVALID_PORT: "invalid_port",
|
|
618
|
-
INVALID_DNS_TYPE: "invalid_dns_type",
|
|
619
|
-
DNS_ADD_FAILED: "dns_add_failed",
|
|
620
|
-
INVALID_DOMAIN: "invalid_domain",
|
|
621
|
-
CONFIGURED_CORRECTLY: "configured_correctly",
|
|
622
|
-
VERIFICATION_NEEDED: "verification_needed",
|
|
623
|
-
INVALID_CONFIGURATION: "invalid_configuration",
|
|
624
|
-
DNS_CHANGE_REQUIRED: "dns_change_required",
|
|
625
|
-
DNS_CHANGE_RECOMMENDED: "dns_change_recommended",
|
|
626
|
-
DNSSEC_NEEDS_TO_BE_DISABLED: "dnssec_needs_to_be_disabled",
|
|
627
|
-
PROJECT_ATTACHMENT_RECOMMENDED: "project_attachment_recommended",
|
|
628
|
-
PROJECT_DOMAIN_MISSING: "project_domain_missing",
|
|
629
|
-
/** User must accept marketplace integration terms in the browser before install can continue. */
|
|
630
|
-
INTEGRATION_TERMS_ACCEPTANCE_REQUIRED: "integration_terms_acceptance_required",
|
|
631
|
-
/** Integration uninstall blocked because team-scoped resources still exist. */
|
|
632
|
-
HAS_RESOURCES: "has_resources",
|
|
633
|
-
/** User must claim a sandbox marketplace resource (e.g. Stripe, Shopify) in the browser. */
|
|
634
|
-
INTEGRATION_SANDBOX_CLAIM_REQUIRED: "integration_sandbox_claim_required",
|
|
635
|
-
// Tokens
|
|
636
|
-
CLASSIC_TOKEN_REQUIRED: "classic_token_required",
|
|
637
|
-
/** Classic token lacks full user/account scope (e.g. team- or product-scoped token). */
|
|
638
|
-
TOKEN_USER_SCOPE_REQUIRED: "token_user_scope_required",
|
|
639
|
-
// Webhooks
|
|
640
|
-
MISSING_URL: "missing_url",
|
|
641
|
-
MISSING_EVENTS: "missing_events",
|
|
642
|
-
INVALID_URL: "invalid_url",
|
|
643
|
-
INVALID_EVENT: "invalid_event",
|
|
644
|
-
// AI Gateway
|
|
645
|
-
INVALID_BUDGET: "invalid_budget",
|
|
646
|
-
INVALID_REFRESH_PERIOD: "invalid_refresh_period",
|
|
647
|
-
INVALID_EXPIRATION: "invalid_expiration",
|
|
648
|
-
INVALID_ALERT_THRESHOLDS: "invalid_alert_thresholds",
|
|
649
|
-
/**
|
|
650
|
-
* Every selected agent needs explicit `--agent`/`--all` consent (see the
|
|
651
|
-
* payload's skipped[]). `--yes` does not grant it, so this is deliberately
|
|
652
|
-
* not `confirmation_required` — re-running with --yes would loop forever.
|
|
653
|
-
*/
|
|
654
|
-
REQUIRES_CONSENT: "requires_consent",
|
|
655
|
-
// KMS
|
|
656
|
-
MISSING_ISSUER_ID: "missing_issuer_id",
|
|
657
|
-
MISSING_KEY: "missing_key",
|
|
658
|
-
MISSING_KEY_ID: "missing_key_id",
|
|
659
|
-
MISSING_PROJECT: "missing_project",
|
|
660
|
-
ISSUER_NOT_FOUND: "issuer_not_found",
|
|
661
|
-
/** The issuer is provisioned by another Vercel service and is read-only here. */
|
|
662
|
-
ISSUER_MANAGED: "issuer_managed",
|
|
663
|
-
/** Keys for an imported issuer must be imported too, so `add-key` cannot serve it. */
|
|
664
|
-
ISSUER_REQUIRES_IMPORTED_KEY: "issuer_requires_imported_key",
|
|
665
|
-
/** Vercel generates the keys for this issuer, so `import-key` cannot serve it. */
|
|
666
|
-
ISSUER_REQUIRES_GENERATED_KEY: "issuer_requires_generated_key",
|
|
667
|
-
/** Immediate revocation only applies to a key already scheduled for revocation. */
|
|
668
|
-
KEY_NOT_REVOKING: "key_not_revoking",
|
|
669
|
-
NO_CHANGES_REQUESTED: "no_changes_requested",
|
|
670
|
-
// Redirects
|
|
671
|
-
REDIRECT_NOT_FOUND: "redirect_not_found",
|
|
672
|
-
VERSION_NOT_FOUND: "version_not_found",
|
|
673
|
-
VERSION_ALREADY_LIVE: "version_already_live",
|
|
674
|
-
VERSION_IS_STAGING: "version_is_staging",
|
|
675
|
-
PLAN_UPGRADE_REQUIRED: "plan_upgrade_required",
|
|
676
|
-
NOT_TEAM_MEMBER: "not_team_member",
|
|
677
|
-
INVALID_ROLE_COMBINATION: "invalid_role_combination"
|
|
678
|
-
};
|
|
679
|
-
var AGENT_ACTION = {
|
|
680
|
-
MISSING_ARGUMENTS: "missing_arguments",
|
|
681
|
-
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
682
|
-
LOGIN_REQUIRED: "login_required"
|
|
683
|
-
};
|
|
684
|
-
|
|
685
576
|
export {
|
|
686
577
|
quoteArg,
|
|
687
578
|
buildCommandWithYes,
|
|
@@ -703,8 +594,5 @@ export {
|
|
|
703
594
|
outputAgentError,
|
|
704
595
|
outputAgentSuccess,
|
|
705
596
|
exitWithNonInteractiveError,
|
|
706
|
-
openUrlInBrowserCommand
|
|
707
|
-
AGENT_STATUS,
|
|
708
|
-
AGENT_REASON,
|
|
709
|
-
AGENT_ACTION
|
|
597
|
+
openUrlInBrowserCommand
|
|
710
598
|
};
|
|
@@ -4,6 +4,9 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
+
import {
|
|
8
|
+
require_dist
|
|
9
|
+
} from "./chunk-ZW6HETRE.js";
|
|
7
10
|
import {
|
|
8
11
|
require_has_flag,
|
|
9
12
|
require_source,
|
|
@@ -15,89 +18,6 @@ import {
|
|
|
15
18
|
__toESM
|
|
16
19
|
} from "./chunk-TZ2YI2VH.js";
|
|
17
20
|
|
|
18
|
-
// ../error-utils/dist/index.js
|
|
19
|
-
var require_dist = __commonJS({
|
|
20
|
-
"../error-utils/dist/index.js"(exports, module) {
|
|
21
|
-
"use strict";
|
|
22
|
-
var __create = Object.create;
|
|
23
|
-
var __defProp = Object.defineProperty;
|
|
24
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
25
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
26
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
27
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
28
|
-
var __export = (target, all) => {
|
|
29
|
-
for (var name in all)
|
|
30
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
31
|
-
};
|
|
32
|
-
var __copyProps = (to, from, except, desc) => {
|
|
33
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
34
|
-
for (let key of __getOwnPropNames(from))
|
|
35
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
36
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
37
|
-
}
|
|
38
|
-
return to;
|
|
39
|
-
};
|
|
40
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
41
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
42
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
43
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
44
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
45
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
46
|
-
mod
|
|
47
|
-
));
|
|
48
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
49
|
-
var src_exports = {};
|
|
50
|
-
__export(src_exports, {
|
|
51
|
-
errorToString: () => errorToString2,
|
|
52
|
-
errorToStringFriendly: () => errorToStringFriendly,
|
|
53
|
-
getSystemErrorMessage: () => getSystemErrorMessage,
|
|
54
|
-
isErrnoException: () => isErrnoException,
|
|
55
|
-
isError: () => isError,
|
|
56
|
-
isErrorLike: () => isErrorLike,
|
|
57
|
-
isObject: () => isObject,
|
|
58
|
-
isSpawnError: () => isSpawnError,
|
|
59
|
-
normalizeError: () => normalizeError
|
|
60
|
-
});
|
|
61
|
-
module.exports = __toCommonJS(src_exports);
|
|
62
|
-
var import_node_util = __toESM2(__require("util"));
|
|
63
|
-
var isObject = (obj) => typeof obj === "object" && obj !== null;
|
|
64
|
-
var isError = (error) => {
|
|
65
|
-
return import_node_util.default.types.isNativeError(error);
|
|
66
|
-
};
|
|
67
|
-
var isErrnoException = (error) => {
|
|
68
|
-
return isError(error) && "code" in error;
|
|
69
|
-
};
|
|
70
|
-
var nativeGetSystemErrorMessage = import_node_util.default.getSystemErrorMessage;
|
|
71
|
-
var getSystemErrorMessageFallback = (errno) => {
|
|
72
|
-
return import_node_util.default.getSystemErrorMap().get(errno)?.[1] ?? `Unknown system error ${errno}`;
|
|
73
|
-
};
|
|
74
|
-
var isErrorLike = (error) => isObject(error) && "message" in error;
|
|
75
|
-
var errorToString2 = (error, fallback) => {
|
|
76
|
-
if (isError(error) || isErrorLike(error))
|
|
77
|
-
return error.message;
|
|
78
|
-
if (typeof error === "string")
|
|
79
|
-
return error;
|
|
80
|
-
return fallback ?? "An unknown error has ocurred.";
|
|
81
|
-
};
|
|
82
|
-
var getSystemErrorMessage = nativeGetSystemErrorMessage ?? getSystemErrorMessageFallback;
|
|
83
|
-
var errorToStringFriendly = (error, fallback) => {
|
|
84
|
-
if (isErrnoException(error) && typeof error.errno === "number") {
|
|
85
|
-
return getSystemErrorMessage(error.errno);
|
|
86
|
-
}
|
|
87
|
-
return errorToString2(error, fallback);
|
|
88
|
-
};
|
|
89
|
-
var normalizeError = (error) => {
|
|
90
|
-
if (isError(error))
|
|
91
|
-
return error;
|
|
92
|
-
const errorMessage = errorToString2(error);
|
|
93
|
-
return isErrorLike(error) ? Object.assign(new Error(errorMessage), error) : new Error(errorMessage);
|
|
94
|
-
};
|
|
95
|
-
function isSpawnError(v) {
|
|
96
|
-
return isErrnoException(v) && "spawnargs" in v;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
|
|
101
21
|
// ../../node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js
|
|
102
22
|
var require_ansi_escapes = __commonJS({
|
|
103
23
|
"../../node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js"(exports, module) {
|
|
@@ -4693,7 +4613,6 @@ var output = new Output(process.stderr, {
|
|
|
4693
4613
|
var output_manager_default = output;
|
|
4694
4614
|
|
|
4695
4615
|
export {
|
|
4696
|
-
require_dist,
|
|
4697
4616
|
require_ansi_escapes,
|
|
4698
4617
|
link_default,
|
|
4699
4618
|
require_escape_string_regexp,
|