@vercel/cli-support 65.16.0 → 65.16.1-snapshot-c7f6a2a993e4

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 (163) hide show
  1. package/dist/chunks/{add-IF7YUXNC.js → add-25PDFDNA.js} +1 -1
  2. package/dist/chunks/{add-FNJVSOGC.js → add-SCHEJ2CE.js} +1 -1
  3. package/dist/chunks/{add-USUNJFSK.js → add-YPKGDQVD.js} +1 -1
  4. package/dist/chunks/{alerts-LVINUFWK.js → alerts-TMUTUWOV.js} +1 -1
  5. package/dist/chunks/{build-DTJQHSSW.js → build-CR5YVLRP.js} +1 -1
  6. package/dist/chunks/{chunk-3WRUC2R4.js → chunk-272MWUUJ.js} +1 -1
  7. package/dist/chunks/{chunk-IJHT5BPS.js → chunk-2LIWP52N.js} +1 -1
  8. package/dist/chunks/{chunk-ZFD2DRTN.js → chunk-2Q6OLI2P.js} +1 -1
  9. package/dist/chunks/{chunk-YWP266LP.js → chunk-3J7BCGTR.js} +1 -1
  10. package/dist/chunks/{chunk-Q7ZWSSJY.js → chunk-3U75QPME.js} +1 -1
  11. package/dist/chunks/{chunk-ZEZ3JMSO.js → chunk-4E4P32FU.js} +1 -1
  12. package/dist/chunks/{chunk-2GTMAEZR.js → chunk-4EY66PY4.js} +1 -1
  13. package/dist/chunks/{chunk-KZFBRCDC.js → chunk-4INQQNGI.js} +2 -2
  14. package/dist/chunks/{chunk-UPHE2DR4.js → chunk-4M5POIWX.js} +1 -1
  15. package/dist/chunks/{chunk-ZRYB7CYK.js → chunk-4ULT57AB.js} +2 -2
  16. package/dist/chunks/{chunk-HQGD4PEO.js → chunk-52JKQLMT.js} +1 -1
  17. package/dist/chunks/{chunk-AEVYUUOR.js → chunk-5HJKEZD6.js} +1 -1
  18. package/dist/chunks/chunk-5WN2WAIL.js +7 -0
  19. package/dist/chunks/{chunk-2Y5X7IPM.js → chunk-6SBSZZS2.js} +1 -1
  20. package/dist/chunks/{chunk-HWG4X7PL.js → chunk-6V27HBUD.js} +1 -1
  21. package/dist/chunks/{chunk-4KXDFLCW.js → chunk-7YXJM4KS.js} +1 -1
  22. package/dist/chunks/{chunk-BLYEOMFF.js → chunk-B36X2M5T.js} +1 -1
  23. package/dist/chunks/{chunk-MNZ242BI.js → chunk-BW7N3LUU.js} +1 -1
  24. package/dist/chunks/{chunk-JVKAWXUF.js → chunk-DLM62TTE.js} +1 -1
  25. package/dist/chunks/{chunk-BU3ZBWOL.js → chunk-EVD6J7OV.js} +1 -1
  26. package/dist/chunks/{chunk-GORJ4IIR.js → chunk-FHZQUE7U.js} +1 -1
  27. package/dist/chunks/{chunk-LFISOBMB.js → chunk-FXKFBUSB.js} +1 -1
  28. package/dist/chunks/{chunk-7ZMB7FWR.js → chunk-GDTDCF4M.js} +1 -1
  29. package/dist/chunks/{chunk-LLPWTJK5.js → chunk-GM77DPFH.js} +1 -1
  30. package/dist/chunks/{chunk-W73OWT3V.js → chunk-GMFUVGDL.js} +1 -1
  31. package/dist/chunks/{chunk-AZYXO75H.js → chunk-HDIQW2RG.js} +1 -1
  32. package/dist/chunks/{chunk-S43JFRZJ.js → chunk-KSG5EZQG.js} +1 -1
  33. package/dist/chunks/{chunk-TX7JUQEY.js → chunk-KYX4DLLU.js} +1 -1
  34. package/dist/chunks/{chunk-PO7KOYTC.js → chunk-L2L6GYWE.js} +1 -1
  35. package/dist/chunks/{chunk-WGPZUXBV.js → chunk-L2T5EGXV.js} +1 -1
  36. package/dist/chunks/{chunk-UVKZ3JMS.js → chunk-LSD5S452.js} +1 -1
  37. package/dist/chunks/{chunk-DVP6PFXR.js → chunk-OYEBMGA4.js} +1 -1
  38. package/dist/chunks/{chunk-J5SBJBQ5.js → chunk-PBVLXYJP.js} +1 -1
  39. package/dist/chunks/{chunk-YIYIORYD.js → chunk-PEPSNUAK.js} +1 -1
  40. package/dist/chunks/chunk-PYD364YY.js +7 -0
  41. package/dist/chunks/{chunk-5ZX2BTKJ.js → chunk-QFPO6RCP.js} +1 -1
  42. package/dist/chunks/{chunk-EAV3UVMD.js → chunk-QOKG2CZD.js} +1 -1
  43. package/dist/chunks/{chunk-ENTNS4PO.js → chunk-QWSVMX3Q.js} +1 -1
  44. package/dist/chunks/{chunk-GP5UKDIR.js → chunk-REICH372.js} +1 -1
  45. package/dist/chunks/{chunk-RINMIKJO.js → chunk-RUZDMYZB.js} +1 -1
  46. package/dist/chunks/{chunk-MLBOIQ2L.js → chunk-SCLMYOD2.js} +1 -1
  47. package/dist/chunks/{chunk-IPXDUMYC.js → chunk-SFVFTIBS.js} +1 -1
  48. package/dist/chunks/{chunk-G6S4LMOV.js → chunk-SLRFDVDJ.js} +1 -1
  49. package/dist/chunks/{chunk-EHUGPOTS.js → chunk-SW7EKMXY.js} +1 -1
  50. package/dist/chunks/{chunk-2EA65JZA.js → chunk-SZ6XSSLS.js} +1 -1
  51. package/dist/chunks/{chunk-4HWRF2GL.js → chunk-TNDEYUKG.js} +2 -2
  52. package/dist/chunks/{chunk-EUSQYO2U.js → chunk-TR6VKPBW.js} +1 -1
  53. package/dist/chunks/{chunk-BF23RQGC.js → chunk-U5DFPLFG.js} +1 -1
  54. package/dist/chunks/{chunk-5M5MAVQL.js → chunk-V54PRVCW.js} +1 -1
  55. package/dist/chunks/{chunk-FXYEANNZ.js → chunk-V6P3UQ3I.js} +1 -1
  56. package/dist/chunks/{chunk-47YAUPYH.js → chunk-VHGNPQ3A.js} +1 -1
  57. package/dist/chunks/{chunk-T2UD7BHP.js → chunk-VU57ZTAB.js} +1 -1
  58. package/dist/chunks/{chunk-FI7KYR23.js → chunk-WB5WPAHY.js} +1 -1
  59. package/dist/chunks/{chunk-INICCBM4.js → chunk-WD52LVCI.js} +1 -1
  60. package/dist/chunks/{chunk-TTUCLAE5.js → chunk-WF6YFBEN.js} +5 -5
  61. package/dist/chunks/{chunk-GCIM3AEP.js → chunk-WXPJKJTM.js} +1 -1
  62. package/dist/chunks/{chunk-TKF4SYCC.js → chunk-XQZOX3EM.js} +1 -1
  63. package/dist/chunks/{chunk-C4KCFZRT.js → chunk-YBLXXGKS.js} +1 -1
  64. package/dist/chunks/{chunk-GQ5IZOL2.js → chunk-Z22C4V37.js} +1 -1
  65. package/dist/chunks/{chunk-ZEC2VQIW.js → chunk-Z7GBAZZW.js} +1 -1
  66. package/dist/chunks/{chunk-FPB52RIJ.js → chunk-ZO7TVY55.js} +1 -1
  67. package/dist/chunks/{chunk-2XQEZDRT.js → chunk-ZST5R6HC.js} +1 -1
  68. package/dist/chunks/{clear-3BGPXV2G.js → clear-CH7Z3E2U.js} +1 -1
  69. package/dist/chunks/{compile-vercel-config-774ENJGE.js → compile-vercel-config-UKWC2IXU.js} +1 -1
  70. package/dist/chunks/{config-3MJPOGTI.js → config-ENI2U7KR.js} +1 -1
  71. package/dist/chunks/{config-TFPWWG6P.js → config-VSQQRY7S.js} +1 -1
  72. package/dist/chunks/config-validator.mjs +1 -1
  73. package/dist/chunks/{contract-QN2LRSOT.js → contract-4CWDWMZU.js} +1 -1
  74. package/dist/chunks/{delete-SQM34QZP.js → delete-7K64ANLT.js} +1 -1
  75. package/dist/chunks/{delete-TDECV2XR.js → delete-QTDNZDC7.js} +1 -1
  76. package/dist/chunks/{describe-G34SZASU.js → describe-T5H4OR3L.js} +1 -1
  77. package/dist/chunks/{detect-projects-4GK5I7QF.js → detect-projects-KOVZPEXK.js} +1 -1
  78. package/dist/chunks/{detect-services-72BKUOIC.js → detect-services-TMUA3DTP.js} +1 -1
  79. package/dist/chunks/{disable-OHQOMY26.js → disable-OFIZO5AP.js} +1 -1
  80. package/dist/chunks/{discard-HKEGBPYH.js → discard-3BS5TRUD.js} +1 -1
  81. package/dist/chunks/{edit-KKHJC3CV.js → edit-T4ZYSBWS.js} +1 -1
  82. package/dist/chunks/{edit-U66OYJAQ.js → edit-ZDAIPTGP.js} +1 -1
  83. package/dist/chunks/{enable-GWS6TJ7X.js → enable-NTG5HU66.js} +1 -1
  84. package/dist/chunks/{export-5MJSWTT5.js → export-H2MNQ4HC.js} +1 -1
  85. package/dist/chunks/{future-PFZYNSOR.js → future-KSMLGKMA.js} +1 -1
  86. package/dist/chunks/{generate-cert-for-deploy-T7ACUUA4.js → generate-cert-for-deploy-NNWQ3ZZ5.js} +1 -1
  87. package/dist/chunks/{image-CFLP2GAY.js → image-3DMZ72KE.js} +1 -1
  88. package/dist/chunks/{import-builders-YWQZ424J.js → import-builders-DYVWG7BE.js} +1 -1
  89. package/dist/chunks/{inspect-6QX22TNI.js → inspect-3HWAVO2E.js} +1 -1
  90. package/dist/chunks/{inspect-2I56AKPW.js → inspect-HRPDT5RM.js} +1 -1
  91. package/dist/chunks/{inspect-6C2MALZR.js → inspect-MMAB32X7.js} +1 -1
  92. package/dist/chunks/{inspect-EMRTB5OQ.js → inspect-V4PTZXCA.js} +1 -1
  93. package/dist/chunks/{inspect-57UB5E2U.js → inspect-ZRVMI47X.js} +1 -1
  94. package/dist/chunks/{list-QWVQBRIO.js → list-4JCYOVMX.js} +1 -1
  95. package/dist/chunks/{list-R4YHOHTV.js → list-GNJZEMS6.js} +1 -1
  96. package/dist/chunks/{list-64CEXMDW.js → list-ROVSRRJ5.js} +1 -1
  97. package/dist/chunks/{login-WZZXJWSJ.js → login-MXYQCGOC.js} +1 -1
  98. package/dist/chunks/{login-DCWFLCV3.js → login-ZJQOAA5R.js} +1 -1
  99. package/dist/chunks/{logs-EPXF2UZY.js → logs-IWEN7F4J.js} +1 -1
  100. package/dist/chunks/{ls-TK7CH2LQ.js → ls-KDEXP4D7.js} +1 -1
  101. package/dist/chunks/{ls-6DZ25HP4.js → ls-LR42R7MQ.js} +1 -1
  102. package/dist/chunks/{ls-CVHS6LXA.js → ls-NQYPPYJX.js} +1 -1
  103. package/dist/chunks/{ls-7XUE6NC7.js → ls-Q6RPAVGM.js} +1 -1
  104. package/dist/chunks/{ls-K7CGB7OK.js → ls-RRQUY42K.js} +1 -1
  105. package/dist/chunks/{ls-2RBHWYPN.js → ls-TQQ4MG33.js} +1 -1
  106. package/dist/chunks/{ls-EVYAFCBI.js → ls-TW6GHVYK.js} +1 -1
  107. package/dist/chunks/{migrate-experimental-services-P3CQZLMD.js → migrate-experimental-services-2CM7F6YG.js} +1 -1
  108. package/dist/chunks/{mutate-WLHC43PQ.js → mutate-34KAYMO2.js} +1 -1
  109. package/dist/chunks/{notifications-L7ZAHU4S.js → notifications-QFH2IBQP.js} +1 -1
  110. package/dist/chunks/{open-RGXFWROE.js → open-S2DYDGKS.js} +1 -1
  111. package/dist/chunks/{permissions-SBXMZ47M.js → permissions-5CPMICIX.js} +1 -1
  112. package/dist/chunks/{plugin-offer-GCKQEHWI.js → plugin-offer-UUBZDYTK.js} +1 -1
  113. package/dist/chunks/{prompt-missing-credentials-5A3XNNXY.js → prompt-missing-credentials-WUBUPHE6.js} +1 -1
  114. package/dist/chunks/{publish-AK6PDXPN.js → publish-Y4DUTML6.js} +1 -1
  115. package/dist/chunks/{pull-HQOGKTKO.js → pull-YSRVPDBT.js} +1 -1
  116. package/dist/chunks/{purchase-domain-if-available-WQN6DOWJ.js → purchase-domain-if-available-5DYBVJIN.js} +1 -1
  117. package/dist/chunks/{push-37NGCXA6.js → push-WS3A2JZU.js} +1 -1
  118. package/dist/chunks/{query-ENUI6DRP.js → query-I3ULCBF5.js} +1 -1
  119. package/dist/chunks/{raw-query-BVHWHOLM.js → raw-query-XFZTRF2T.js} +1 -1
  120. package/dist/chunks/{reauthenticate-LPDLZA2L.js → reauthenticate-KONTVAPO.js} +1 -1
  121. package/dist/chunks/{reorder-OJMZBO34.js → reorder-YGNMYEJY.js} +1 -1
  122. package/dist/chunks/{reply-3WBO7S2K.js → reply-QROHUMSJ.js} +1 -1
  123. package/dist/chunks/{resolve-AVRDCAWE.js → resolve-WQWBK64R.js} +1 -1
  124. package/dist/chunks/{resolve-agent-team-WEPK7PVW.js → resolve-agent-team-EYHRRHGN.js} +1 -1
  125. package/dist/chunks/{restore-A5IEW3OD.js → restore-IBFRW5EZ.js} +1 -1
  126. package/dist/chunks/{rm-7SCBXEDA.js → rm-4QBVMTKX.js} +1 -1
  127. package/dist/chunks/{rm-YFVQ5KY5.js → rm-CWV3ON2H.js} +1 -1
  128. package/dist/chunks/{rm-U7P7USHA.js → rm-PVKXLY7B.js} +1 -1
  129. package/dist/chunks/{rm-AP4N5QJM.js → rm-STYR73ES.js} +1 -1
  130. package/dist/chunks/{rm-FNRWU6B2.js → rm-SZ7WB22J.js} +1 -1
  131. package/dist/chunks/{rule-inspect-GRA4RVWO.js → rule-inspect-YCEVX5VG.js} +1 -1
  132. package/dist/chunks/{schema-YCDF2WE2.js → schema-3LDRHPYA.js} +1 -1
  133. package/dist/chunks/{schema-BEQD2AUQ.js → schema-FBWCIQ6L.js} +1 -1
  134. package/dist/chunks/{select-org-IULASKAG.js → select-org-A5WVNQYD.js} +1 -1
  135. package/dist/chunks/{set-FSMVOQK3.js → set-UCJZPJA4.js} +1 -1
  136. package/dist/chunks/{setup-and-link-N2DCDUW4.js → setup-and-link-F234BM2R.js} +1 -1
  137. package/dist/chunks/{tags-BODUNALW.js → tags-7SISUPYO.js} +1 -1
  138. package/dist/chunks/{update-L7UTYHAZ.js → update-GPO75GPO.js} +1 -1
  139. package/dist/chunks/{usage-DQSXLCZB.js → usage-AH3RVC6L.js} +1 -1
  140. package/dist/chunks/{validate-config-6RVSBIWX.js → validate-config-5N7JRJDB.js} +1 -1
  141. package/dist/commands/build/index.js +1 -1
  142. package/dist/commands/deploy/index.js +4 -4
  143. package/dist/commands/dev/index.js +2 -2
  144. package/dist/commands/env/index.js +1 -1
  145. package/dist/commands/link/index.js +1 -1
  146. package/dist/commands/list/index.js +1 -1
  147. package/dist/commands/project/index.js +1 -1
  148. package/dist/commands/tunnel/index.js +1 -1
  149. package/dist/commands-account.js +2 -2
  150. package/dist/commands-ai.js +1 -1
  151. package/dist/commands-blob.js +1 -1
  152. package/dist/commands-core.js +54 -48
  153. package/dist/commands-deployments.js +1 -1
  154. package/dist/commands-flags.js +1 -1
  155. package/dist/commands-integrations.js +1 -1
  156. package/dist/commands-observability.js +2 -2
  157. package/dist/commands-routing.js +2 -2
  158. package/dist/index.js +3 -3
  159. package/dist/internal-build.js +1 -1
  160. package/dist/package.json +40 -40
  161. package/dist/version.mjs +1 -1
  162. package/package.json +41 -41
  163. package/dist/chunks/chunk-VRYJNBOR.js +0 -7
package/dist/package.json CHANGED
@@ -1,35 +1,35 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "65.16.0",
3
+ "version": "65.16.1-snapshot-c7f6a2a993e4",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@vercel/backends": "26.0.0",
6
+ "@vercel/backends": "26.0.1-snapshot-c7f6a2a993e4",
7
7
  "@vercel/blob": "2.9.0",
8
- "@vercel/build-utils": "15.4.0",
8
+ "@vercel/build-utils": "15.4.1-snapshot-c7f6a2a993e4",
9
9
  "@vercel/cli-auth": "0.4.2",
10
10
  "@vercel/cli-config": "0.4.0",
11
- "@vercel/container": "26.0.0",
11
+ "@vercel/container": "26.0.1-snapshot-c7f6a2a993e4",
12
12
  "@vercel/detect-agent": "1.2.7",
13
- "@vercel/elysia": "26.0.0",
14
- "@vercel/express": "26.0.0",
15
- "@vercel/fastify": "26.0.0",
13
+ "@vercel/elysia": "26.0.1-snapshot-c7f6a2a993e4",
14
+ "@vercel/express": "26.0.1-snapshot-c7f6a2a993e4",
15
+ "@vercel/fastify": "26.0.1-snapshot-c7f6a2a993e4",
16
16
  "@vercel/fun": "1.3.6",
17
- "@vercel/go": "29.0.0",
18
- "@vercel/h3": "26.0.0",
19
- "@vercel/hono": "26.0.0",
20
- "@vercel/hydrogen": "27.0.0",
21
- "@vercel/koa": "26.0.0",
22
- "@vercel/nestjs": "26.0.0",
23
- "@vercel/next": "30.0.0",
24
- "@vercel/node": "31.0.0",
17
+ "@vercel/go": "29.0.1-snapshot-c7f6a2a993e4",
18
+ "@vercel/h3": "26.0.1-snapshot-c7f6a2a993e4",
19
+ "@vercel/hono": "26.0.1-snapshot-c7f6a2a993e4",
20
+ "@vercel/hydrogen": "27.0.1-snapshot-c7f6a2a993e4",
21
+ "@vercel/koa": "26.0.1-snapshot-c7f6a2a993e4",
22
+ "@vercel/nestjs": "26.0.1-snapshot-c7f6a2a993e4",
23
+ "@vercel/next": "30.0.1-snapshot-c7f6a2a993e4",
24
+ "@vercel/node": "31.0.1-snapshot-c7f6a2a993e4",
25
25
  "@vercel/prepare-flags-definitions": "0.6.1",
26
- "@vercel/python": "32.0.0",
26
+ "@vercel/python": "32.0.1-snapshot-c7f6a2a993e4",
27
27
  "@vercel/python-analysis": "0.15.3",
28
- "@vercel/redwood": "28.0.0",
29
- "@vercel/remix-builder": "31.0.0",
30
- "@vercel/ruby": "28.0.0",
31
- "@vercel/rust": "27.0.0",
32
- "@vercel/static-build": "28.0.0",
28
+ "@vercel/redwood": "28.0.1-snapshot-c7f6a2a993e4",
29
+ "@vercel/remix-builder": "31.0.1-snapshot-c7f6a2a993e4",
30
+ "@vercel/ruby": "28.0.1-snapshot-c7f6a2a993e4",
31
+ "@vercel/rust": "27.0.1-snapshot-c7f6a2a993e4",
32
+ "@vercel/static-build": "28.0.1-snapshot-c7f6a2a993e4",
33
33
  "chokidar": "4.0.0",
34
34
  "esbuild": "0.27.0",
35
35
  "jose": "5.9.6",
@@ -42,24 +42,24 @@
42
42
  "zod": "4.6.7"
43
43
  },
44
44
  "builders": {
45
- "@vercel/backends": "26.0.0",
46
- "@vercel/container": "26.0.0",
47
- "@vercel/elysia": "26.0.0",
48
- "@vercel/express": "26.0.0",
49
- "@vercel/fastify": "26.0.0",
50
- "@vercel/go": "29.0.0",
51
- "@vercel/h3": "26.0.0",
52
- "@vercel/hono": "26.0.0",
53
- "@vercel/hydrogen": "27.0.0",
54
- "@vercel/koa": "26.0.0",
55
- "@vercel/nestjs": "26.0.0",
56
- "@vercel/next": "30.0.0",
57
- "@vercel/node": "31.0.0",
58
- "@vercel/python": "32.0.0",
59
- "@vercel/redwood": "28.0.0",
60
- "@vercel/remix-builder": "31.0.0",
61
- "@vercel/ruby": "28.0.0",
62
- "@vercel/rust": "27.0.0",
63
- "@vercel/static-build": "28.0.0"
45
+ "@vercel/backends": "26.0.1-snapshot-c7f6a2a993e4",
46
+ "@vercel/container": "26.0.1-snapshot-c7f6a2a993e4",
47
+ "@vercel/elysia": "26.0.1-snapshot-c7f6a2a993e4",
48
+ "@vercel/express": "26.0.1-snapshot-c7f6a2a993e4",
49
+ "@vercel/fastify": "26.0.1-snapshot-c7f6a2a993e4",
50
+ "@vercel/go": "29.0.1-snapshot-c7f6a2a993e4",
51
+ "@vercel/h3": "26.0.1-snapshot-c7f6a2a993e4",
52
+ "@vercel/hono": "26.0.1-snapshot-c7f6a2a993e4",
53
+ "@vercel/hydrogen": "27.0.1-snapshot-c7f6a2a993e4",
54
+ "@vercel/koa": "26.0.1-snapshot-c7f6a2a993e4",
55
+ "@vercel/nestjs": "26.0.1-snapshot-c7f6a2a993e4",
56
+ "@vercel/next": "30.0.1-snapshot-c7f6a2a993e4",
57
+ "@vercel/node": "31.0.1-snapshot-c7f6a2a993e4",
58
+ "@vercel/python": "32.0.1-snapshot-c7f6a2a993e4",
59
+ "@vercel/redwood": "28.0.1-snapshot-c7f6a2a993e4",
60
+ "@vercel/remix-builder": "31.0.1-snapshot-c7f6a2a993e4",
61
+ "@vercel/ruby": "28.0.1-snapshot-c7f6a2a993e4",
62
+ "@vercel/rust": "27.0.1-snapshot-c7f6a2a993e4",
63
+ "@vercel/static-build": "28.0.1-snapshot-c7f6a2a993e4"
64
64
  }
65
65
  }
package/dist/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const version = "65.16.0";
1
+ export const version = "65.16.1-snapshot-c7f6a2a993e4";
2
2
  export const buildLabel = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/cli-support",
3
- "version": "65.16.0",
3
+ "version": "65.16.1-snapshot-c7f6a2a993e4",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "The JavaScript Vercel CLI, installed by vercel to run where its native binary can't",
@@ -33,54 +33,54 @@
33
33
  "undici": "5.29.0",
34
34
  "uuid": "14.0.1",
35
35
  "zod": "4.6.7",
36
- "@vercel/build-utils": "15.4.0",
37
36
  "@vercel/cli-auth": "0.4.2",
38
- "@vercel/backends": "26.0.0",
37
+ "@vercel/backends": "26.0.1-snapshot-c7f6a2a993e4",
39
38
  "@vercel/cli-config": "0.4.0",
40
- "@vercel/container": "26.0.0",
39
+ "@vercel/container": "26.0.1-snapshot-c7f6a2a993e4",
41
40
  "@vercel/detect-agent": "1.2.7",
42
- "@vercel/elysia": "26.0.0",
43
- "@vercel/express": "26.0.0",
44
- "@vercel/fastify": "26.0.0",
45
- "@vercel/go": "29.0.0",
46
- "@vercel/hydrogen": "27.0.0",
47
- "@vercel/hono": "26.0.0",
48
- "@vercel/koa": "26.0.0",
49
- "@vercel/h3": "26.0.0",
50
- "@vercel/nestjs": "26.0.0",
51
- "@vercel/node": "31.0.0",
52
- "@vercel/next": "30.0.0",
41
+ "@vercel/build-utils": "15.4.1-snapshot-c7f6a2a993e4",
42
+ "@vercel/elysia": "26.0.1-snapshot-c7f6a2a993e4",
43
+ "@vercel/fastify": "26.0.1-snapshot-c7f6a2a993e4",
44
+ "@vercel/go": "29.0.1-snapshot-c7f6a2a993e4",
45
+ "@vercel/express": "26.0.1-snapshot-c7f6a2a993e4",
46
+ "@vercel/hono": "26.0.1-snapshot-c7f6a2a993e4",
47
+ "@vercel/koa": "26.0.1-snapshot-c7f6a2a993e4",
48
+ "@vercel/hydrogen": "27.0.1-snapshot-c7f6a2a993e4",
49
+ "@vercel/h3": "26.0.1-snapshot-c7f6a2a993e4",
50
+ "@vercel/nestjs": "26.0.1-snapshot-c7f6a2a993e4",
51
+ "@vercel/next": "30.0.1-snapshot-c7f6a2a993e4",
52
+ "@vercel/node": "31.0.1-snapshot-c7f6a2a993e4",
53
+ "@vercel/redwood": "28.0.1-snapshot-c7f6a2a993e4",
54
+ "@vercel/remix-builder": "31.0.1-snapshot-c7f6a2a993e4",
53
55
  "@vercel/python-analysis": "0.15.3",
54
- "@vercel/redwood": "28.0.0",
55
- "@vercel/remix-builder": "31.0.0",
56
- "@vercel/python": "32.0.0",
57
- "@vercel/static-build": "28.0.0",
58
- "@vercel/ruby": "28.0.0",
59
- "@vercel/rust": "27.0.0"
56
+ "@vercel/python": "32.0.1-snapshot-c7f6a2a993e4",
57
+ "@vercel/ruby": "28.0.1-snapshot-c7f6a2a993e4",
58
+ "@vercel/rust": "27.0.1-snapshot-c7f6a2a993e4",
59
+ "@vercel/static-build": "28.0.1-snapshot-c7f6a2a993e4"
60
60
  },
61
61
  "builders": {
62
- "@vercel/backends": "26.0.0",
63
- "@vercel/container": "26.0.0",
64
- "@vercel/elysia": "26.0.0",
65
- "@vercel/express": "26.0.0",
66
- "@vercel/fastify": "26.0.0",
67
- "@vercel/go": "29.0.0",
68
- "@vercel/h3": "26.0.0",
69
- "@vercel/hono": "26.0.0",
70
- "@vercel/hydrogen": "27.0.0",
71
- "@vercel/koa": "26.0.0",
72
- "@vercel/nestjs": "26.0.0",
73
- "@vercel/next": "30.0.0",
74
- "@vercel/node": "31.0.0",
75
- "@vercel/python": "32.0.0",
76
- "@vercel/redwood": "28.0.0",
77
- "@vercel/remix-builder": "31.0.0",
78
- "@vercel/ruby": "28.0.0",
79
- "@vercel/rust": "27.0.0",
80
- "@vercel/static-build": "28.0.0"
62
+ "@vercel/backends": "26.0.1-snapshot-c7f6a2a993e4",
63
+ "@vercel/container": "26.0.1-snapshot-c7f6a2a993e4",
64
+ "@vercel/elysia": "26.0.1-snapshot-c7f6a2a993e4",
65
+ "@vercel/express": "26.0.1-snapshot-c7f6a2a993e4",
66
+ "@vercel/fastify": "26.0.1-snapshot-c7f6a2a993e4",
67
+ "@vercel/go": "29.0.1-snapshot-c7f6a2a993e4",
68
+ "@vercel/h3": "26.0.1-snapshot-c7f6a2a993e4",
69
+ "@vercel/hono": "26.0.1-snapshot-c7f6a2a993e4",
70
+ "@vercel/hydrogen": "27.0.1-snapshot-c7f6a2a993e4",
71
+ "@vercel/koa": "26.0.1-snapshot-c7f6a2a993e4",
72
+ "@vercel/nestjs": "26.0.1-snapshot-c7f6a2a993e4",
73
+ "@vercel/next": "30.0.1-snapshot-c7f6a2a993e4",
74
+ "@vercel/node": "31.0.1-snapshot-c7f6a2a993e4",
75
+ "@vercel/python": "32.0.1-snapshot-c7f6a2a993e4",
76
+ "@vercel/redwood": "28.0.1-snapshot-c7f6a2a993e4",
77
+ "@vercel/remix-builder": "31.0.1-snapshot-c7f6a2a993e4",
78
+ "@vercel/ruby": "28.0.1-snapshot-c7f6a2a993e4",
79
+ "@vercel/rust": "27.0.1-snapshot-c7f6a2a993e4",
80
+ "@vercel/static-build": "28.0.1-snapshot-c7f6a2a993e4"
81
81
  },
82
82
  "devDependencies": {
83
- "@vercel-internals/cli-core": "65.16.0"
83
+ "@vercel-internals/cli-core": "65.16.1-snapshot-c7f6a2a993e4"
84
84
  },
85
85
  "scripts": {
86
86
  "build": "node scripts/build.mjs"
@@ -1,7 +0,0 @@
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{require_dist as require_dist2}from"./chunk-HQGD4PEO.js";import{require_dist}from"./chunk-ISSNEDG5.js";import{require_types}from"./chunk-AW33SRYY.js";import{require_build_utils}from"./chunk-5MDNVAE6.js";import{__toESM}from"./chunk-BZENIQ7N.js";var import_routing_utils=__toESM(require_dist(),1),import_build_utils=__toESM(require_build_utils(),1),import_types=__toESM(require_types(),1),import_fs_detectors=__toESM(require_dist2(),1);import{getConfigValidator}from"./config-validator.mjs";var imagesSchema={type:"object",additionalProperties:!1,required:["sizes"],properties:{contentDispositionType:{enum:["inline","attachment"]},contentSecurityPolicy:{type:"string",minLength:1,maxLength:256},dangerouslyAllowSVG:{type:"boolean"},domains:{type:"array",minItems:0,maxItems:50,items:{type:"string",minLength:1,maxLength:256}},formats:{type:"array",minItems:1,maxItems:4,items:{enum:["image/avif","image/webp","image/jpeg","image/png"]}},localPatterns:{type:"array",minItems:0,maxItems:25,items:{type:"object",additionalProperties:!1,properties:{pathname:{type:"string",minLength:1,maxLength:256},search:{type:"string",minLength:0,maxLength:256}}}},minimumCacheTTL:{type:"integer",minimum:1,maximum:31536e4},qualities:{type:"array",minItems:1,maxItems:20,items:{type:"integer",minimum:1,maximum:100}},remotePatterns:{type:"array",minItems:0,maxItems:50,items:{type:"object",additionalProperties:!1,required:["hostname"],properties:{protocol:{enum:["http","https"]},hostname:{type:"string",minLength:1,maxLength:256},port:{type:"string",minLength:0,maxLength:5},pathname:{type:"string",minLength:1,maxLength:256},search:{type:"string",minLength:0,maxLength:256}}}},sizes:{type:"array",minItems:1,maxItems:50,items:{type:"number"}}}},cronsSchema={type:"array",minItems:0,items:{type:"object",additionalProperties:!1,required:["path","schedule"],properties:{path:{type:"string",minLength:1,maxLength:512,pattern:"^/.*"},schedule:{type:"string",minLength:9,maxLength:256}}}},scheduleNameSchema={type:"string",minLength:1,maxLength:256,pattern:"^[0-9A-Za-z][0-9A-Za-z._-]*$"},scheduleDefinitionSchema={type:"object",additionalProperties:!1,required:["schedule"],properties:{schedule:{type:"string",minLength:9,maxLength:256},timezone:{type:"string",minLength:1,maxLength:50,description:"IANA timezone for cron evaluation. Defaults to UTC."},jitter:{type:"integer",minimum:1,maximum:15},path:{description:"Deployment path to invoke over HTTP, like `crons[].path`. Must start with `/`.",type:"string",maxLength:512,pattern:"^/"},requestMethod:{description:"HTTP method used to invoke `path`. Only valid with `path`. Defaults to `POST`.",enum:["GET","POST"]},function:{type:"string",minLength:1},service:{description:"Service that owns `function`, from `services`. When set, `function` is the path within that service. Only valid with `function`.",type:"string",minLength:1,maxLength:64,pattern:"^[a-z]([a-z_-]*[a-z])?$"},topic:{type:"string",minLength:1,maxLength:256,pattern:"^[A-Za-z0-9_-]+$"},run:{description:"Command to run for each firing. Only valid with a Dockerfile or Containerfile entrypoint.",type:"array",minItems:1,items:[{type:"string",pattern:"\\S"}],additionalItems:{type:"string"}},root:{description:"Directory of the service that runs the `run` command. `entrypoint` is relative to it. Only valid with `run`.",type:"string",minLength:1,maxLength:512},entrypoint:{type:"string",minLength:1,maxLength:512}},dependencies:{requestMethod:["path"],service:["function"],run:["entrypoint","root"],entrypoint:["run"],root:["run"]},oneOf:[{required:["path"]},{required:["function"]},{required:["topic"]},{required:["entrypoint"]}]},maxSchedules=500,schedulesSchema={type:"object",maxProperties:maxSchedules,propertyNames:scheduleNameSchema,additionalProperties:scheduleDefinitionSchema},experimentalServicesMountSchema={oneOf:[{type:"string",minLength:1,maxLength:512},{type:"object",additionalProperties:!1,properties:{path:{type:"string",minLength:1,maxLength:512},subdomain:{type:"string",minLength:1,maxLength:63}},anyOf:[{required:["path"]},{required:["subdomain"]}]}]},staticExperimentalServiceScheduleSchema={type:"string",minLength:9,maxLength:256,not:{const:"<dynamic>"}},experimentalServiceScheduleSchema={oneOf:[{type:"string",minLength:9,maxLength:256},{type:"array",minItems:1,items:staticExperimentalServiceScheduleSchema}]},experimentalServiceQueueTopicSchema={type:"object",additionalProperties:!1,required:["topic"],properties:{topic:{type:"string",minLength:1,maxLength:256},retryAfterSeconds:{type:"integer",minimum:1,maximum:86400},initialDelaySeconds:{type:"integer",minimum:0,maximum:86400}}},experimentalServiceTopicsSchema={oneOf:[{type:"array",minItems:1,items:{type:"string",minLength:1,maxLength:256}},{type:"array",minItems:1,items:experimentalServiceQueueTopicSchema}]},envVarNamesSchema={pattern:"^[A-Za-z_][A-Za-z0-9_]*$",maxLength:256},getExperimentalServicesCommonProperties=()=>({entrypoint:{type:"string",minLength:1,maxLength:512},root:{type:"string",minLength:1,maxLength:512},workspace:{type:"string",minLength:1,maxLength:512},framework:{type:"string",minLength:1,maxLength:256},builder:{type:"string",minLength:1,maxLength:256},runtime:{type:"string",minLength:1,maxLength:256},buildCommand:{type:"string",minLength:1,maxLength:2048},installCommand:{type:"string",minLength:1,maxLength:2048},preDeployCommand:{type:"string",minLength:1,maxLength:2048},command:{oneOf:[{type:"string",minLength:1,maxLength:2048},{type:"array",minItems:1,items:{type:"string",minLength:1,maxLength:2048}}]},memory:{type:"integer",minimum:128,maximum:10240},maxDuration:(0,import_build_utils.getMaxDurationSchema)(),includeFiles:{oneOf:[{type:"string",minLength:1},{type:"array",items:{type:"string",minLength:1}}]},excludeFiles:{oneOf:[{type:"string",minLength:1},{type:"array",items:{type:"string",minLength:1}}]}}),experimentalServicesRoutableProperties={mount:experimentalServicesMountSchema,routePrefix:{type:"string",minLength:1,maxLength:512},subdomain:{type:"string",minLength:1,maxLength:63}},getExperimentalServicesServiceConfigSchema=()=>({oneOf:[{type:"object",additionalProperties:!1,properties:{...getExperimentalServicesCommonProperties(),...experimentalServicesRoutableProperties,type:{enum:["web"]}}},{type:"object",additionalProperties:!1,required:["type","trigger","schedule"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"schedule"},schedule:experimentalServiceScheduleSchema}},{type:"object",additionalProperties:!1,required:["type","trigger","topics"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"queue"},topics:experimentalServiceTopicsSchema,consumer:{type:"string",minLength:1,maxLength:256}}},{type:"object",additionalProperties:!1,required:["type","trigger","entrypoint"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"job"},trigger:{const:"workflow"}}},{type:"object",additionalProperties:!1,required:["type"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"worker"},topics:{type:"array",items:{type:"string",minLength:1,maxLength:256},minItems:1},consumer:{type:"string",minLength:1,maxLength:256}}},{type:"object",additionalProperties:!1,required:["type","schedule"],properties:{...getExperimentalServicesCommonProperties(),type:{const:"cron"},schedule:experimentalServiceScheduleSchema}}]}),getExperimentalServicesSchema=()=>({type:"object",propertyNames:{pattern:"^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$",maxLength:64},additionalProperties:getExperimentalServicesServiceConfigSchema()}),experimentalServiceGroupsSchema={type:"object",propertyNames:{pattern:"^[a-zA-Z]([a-zA-Z0-9_-]*[a-zA-Z0-9])?$",maxLength:64},additionalProperties:{type:"array",items:{type:"string",minLength:1,maxLength:256}}},servicesPathSchema={type:"string",minLength:1,maxLength:512},servicesCommandSchema={type:"string",minLength:1,maxLength:2048},servicesBindingSchema={type:"object",additionalProperties:!1,required:["service","format","env"],properties:{type:{description:"Optional binding type marker. Currently the only supported type is `service`. When present this must be `service`.",const:"service"},service:{type:"string",minLength:1,maxLength:64,pattern:import_build_utils.SERVICE_NAME_PATTERN},format:{const:"url"},env:{type:"string",...envVarNamesSchema}}},servicesBindingsSchema={type:"array",maxItems:100,items:servicesBindingSchema},getServicesServiceConfigSchema=()=>({type:"object",additionalProperties:!1,required:["root"],properties:{root:servicesPathSchema,framework:{type:"string",minLength:1,maxLength:256},runtime:{type:"string",minLength:1,maxLength:256},entrypoint:servicesPathSchema,command:{oneOf:[{type:"string",minLength:1,maxLength:4096},{type:"array",minItems:1,maxItems:128,items:{type:"string",minLength:1,maxLength:4096}}]},installCommand:servicesCommandSchema,buildCommand:servicesCommandSchema,devCommand:servicesCommandSchema,ignoreCommand:servicesCommandSchema,outputDirectory:servicesPathSchema,bindings:servicesBindingsSchema,functions:(0,import_build_utils.getFunctionsSchema)(),headers:import_routing_utils.headersSchema,redirects:import_routing_utils.redirectsSchema,rewrites:import_routing_utils.rewritesSchema,routes:import_routing_utils.routesSchema,cleanUrls:import_routing_utils.cleanUrlsSchema,trailingSlash:import_routing_utils.trailingSlashSchema}}),daemonConfigSchema={type:"object",additionalProperties:!1,required:["root","entrypoint"],anyOf:[{required:["instances"]},{required:["replicas"]}],properties:{root:servicesPathSchema,entrypoint:servicesPathSchema,command:{type:"array",minItems:1,maxItems:128,items:{type:"string",minLength:1,maxLength:4096}},instances:{type:"object",additionalProperties:{type:"integer",minimum:0}},replicas:{description:"Deprecated. Use `instances`. Ignored when `instances` is set.",deprecated:!0,type:"object",additionalProperties:{type:"integer",minimum:0}},resources:{type:"object",additionalProperties:!1,required:["requests"],properties:{requests:{type:"object",additionalProperties:!1,required:["memory"],properties:{memory:{enum:["1Gi","2Gi","4Gi","8Gi"]}}}}},terminationGracePeriodSeconds:{type:"integer",minimum:0},livenessProbe:{type:"object",additionalProperties:!1,required:["httpGet"],properties:{httpGet:{type:"object",additionalProperties:!1,required:["port"],properties:{path:{type:"string",minLength:1},port:{type:"integer",minimum:1,maximum:65535},host:{type:"string",minLength:1},scheme:{enum:["HTTP","HTTPS"]},httpHeaders:{type:"array",items:{type:"object",additionalProperties:!1,required:["name","value"],properties:{name:{type:"string",minLength:1},value:{type:"string"}}}}}},initialDelaySeconds:{type:"integer",minimum:0,maximum:86400},periodSeconds:{type:"integer",minimum:1,maximum:86400},timeoutSeconds:{type:"integer",minimum:1,maximum:86400},successThreshold:{type:"integer",minimum:1,maximum:10},failureThreshold:{type:"integer",minimum:1,maximum:10}}},bindings:{...servicesBindingsSchema,items:{...servicesBindingSchema,required:["type",...servicesBindingSchema.required]}}}},getServicesSchema=()=>({type:"object",propertyNames:{pattern:import_build_utils.SERVICE_NAME_PATTERN,maxLength:64},additionalProperties:getServicesServiceConfigSchema()}),maxDaemons=100,daemonsSchema={type:"object",maxProperties:maxDaemons,propertyNames:{pattern:import_build_utils.DAEMON_NAME_PATTERN,maxLength:64},additionalProperties:daemonConfigSchema},proxySchema={type:"object",additionalProperties:!1,required:["entrypoint"],properties:{entrypoint:{type:"string",minLength:1},matcher:{oneOf:[{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string",minLength:1}}]}}};function buildVercelConfigSchema(){return{type:"object",additionalProperties:!0,properties:{builds:import_build_utils.buildsSchema,routes:import_routing_utils.routesSchema,cleanUrls:import_routing_utils.cleanUrlsSchema,headers:import_routing_utils.headersSchema,redirects:import_routing_utils.redirectsSchema,rewrites:import_routing_utils.rewritesSchema,trailingSlash:import_routing_utils.trailingSlashSchema,functions:(0,import_build_utils.getFunctionsSchema)(),images:imagesSchema,crons:cronsSchema,schedules:schedulesSchema,bunVersion:{type:"string"},proxy:proxySchema,experimentalServices:getExperimentalServicesSchema(),experimentalServiceGroups:experimentalServiceGroupsSchema,services:getServicesSchema(),experimentalServicesV2:getServicesSchema(),daemons:daemonsSchema}}}var isDockerfilePath=entrypoint=>/(docker|container)file/i.test((0,import_build_utils.splitDockerfileEntrypoint)(entrypoint).path.split(/[\\/]/).pop()??""),hasInvalidDockerfileStage=entrypoint=>{let{buildTarget}=(0,import_build_utils.splitDockerfileEntrypoint)(entrypoint);return buildTarget!==void 0&&!(0,import_build_utils.isValidDockerfileStage)(buildTarget)};function validateConfig(config){let validate=getConfigValidator(buildVercelConfigSchema);if(!validate(config)&&validate.errors&&validate.errors[0]){let error=validate.errors[0],fileName=config[import_types.fileNameSymbol]||"vercel.json",niceError=(0,import_build_utils.getPrettyError)(error);return niceError.message=`Invalid ${fileName} - ${niceError.message}`,niceError}let serviceNames=new Set([...Object.keys(config.services??{}),...Object.keys(config.daemons??{})]),scheduleServices=getScheduleServiceNames(config),destinationServices=new Set(getDestinationServices(config)),invalidCommand=message=>new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_COMMAND",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - ${message}`});for(let[name,schedule]of Object.entries(config.schedules??{})){let path=`schedules.${name}`;if("run"in schedule){if(!isDockerfilePath(schedule.entrypoint))return invalidCommand(`\`${path}.run\` requires a Dockerfile or Containerfile \`entrypoint\`.`);if(hasInvalidDockerfileStage(schedule.entrypoint))return invalidCommand(`\`${path}.entrypoint\` "${schedule.entrypoint}" is invalid. ${import_build_utils.DOCKERFILE_STAGE_HINT}`)}if(scheduleServices.has(name)){if(name.length>64||!new RegExp(import_build_utils.SERVICE_NAME_PATTERN).test(name))return invalidScheduleService(config,`\`${path}\` runs as a service, so its name must be a valid service name: lowercase letters, \`-\` and \`_\`, at most 64 characters.`);if(serviceNames.has(name))return invalidScheduleService(config,`\`${path}\` runs as service "${name}", which is already the name of a service or daemon.`);if(destinationServices.has(name))return invalidScheduleService(config,`Rewrites and routes cannot target schedule "${name}" because schedules do not receive traffic.`)}if(schedule.timezone!==void 0)try{if(!/^[A-Za-z][A-Za-z0-9_+/-]*$/.test(schedule.timezone))throw new RangeError("Expected a named timezone");new Intl.DateTimeFormat("en-US",{timeZone:schedule.timezone})}catch{return new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_TIMEZONE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - \`schedules.${name}.timezone\` must be a valid IANA timezone, such as "America/New_York". Omit it to use UTC.`})}}let functionMaps=[config.functions,...Object.values(config.services??{}).map(service=>service.functions),...Object.values(config.experimentalServicesV2??{}).map(service=>service.functions)];for(let functions of functionMaps)for(let[pattern,fn]of Object.entries(functions??{})){let regions=[...new Set(fn.regions)];if(fn.affinity?.mode==="strict"&&(regions.includes("all")||regions.length>1))return new import_build_utils.NowBuildError({code:"INVALID_FUNCTION_AFFINITY_REGIONS",message:`Function affinity mode "strict" requires at most one statically configured region. Update \`functions[${JSON.stringify(pattern)}].regions\` to contain a single region.`,link:"https://vercel.com/docs/concepts/projects/project-configuration#functions"})}if(config.proxy){let proxyError=(0,import_fs_detectors.validateProxyConfig)(config.proxy);if(proxyError)return new import_build_utils.NowBuildError({code:proxyError.code.toUpperCase(),message:proxyError.message})}if(config.functions&&config.builds)return new import_build_utils.NowBuildError({code:"FUNCTIONS_AND_BUILDS",message:"The `functions` property cannot be used in conjunction with the `builds` property. Please remove one of them.",link:"https://vercel.link/functions-and-builds"});if(config.proxy&&config.builds)return new import_build_utils.NowBuildError({code:"PROXY_AND_BUILDS",message:"The `proxy` property cannot be used with the `builds` property. Remove `builds` to use an explicit proxy entrypoint."});let hasExperimentalServices=!!config.experimentalServices;if(hasExperimentalServices&&config.builds)return new import_build_utils.NowBuildError({code:"EXPERIMENTAL_SERVICES_AND_BUILDS",message:"The `experimentalServices` property cannot be used in conjunction with the `builds` property. Please remove one of them."});if(hasExperimentalServices&&config.functions)return new import_build_utils.NowBuildError({code:"EXPERIMENTAL_SERVICES_AND_FUNCTIONS",message:"The `experimentalServices` property cannot be used in conjunction with the `functions` property. Please remove one of them."});if(config.experimentalServiceGroups&&!config.experimentalServices)return new import_build_utils.NowBuildError({code:"SERVICE_GROUPS_WITHOUT_SERVICES",message:"The `experimentalServiceGroups` property requires `experimentalServices` to be defined. Service groups reference services by name."});let hasServices=config.services!=null,hasExperimentalServicesV2=config.experimentalServicesV2!=null;if(hasServices&&hasExperimentalServicesV2)return new import_build_utils.NowBuildError({code:"SERVICES_AND_EXPERIMENTAL_SERVICES_V2",message:"The `services` property cannot be used in conjunction with its deprecated alias `experimentalServicesV2`. Please use only `services`."});let servicesConfig=config.services??config.experimentalServicesV2,servicesConfigKey=hasServices?"services":"experimentalServicesV2",servicesErrorCodePrefix=hasServices?"SERVICES":"EXPERIMENTAL_SERVICES_V2";if(servicesConfig&&hasExperimentalServices)return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_EXPERIMENTAL_SERVICES`,message:`The \`${servicesConfigKey}\` property cannot be used in conjunction with the \`experimentalServices\` property. Please use only one services configuration.`});if(servicesConfig&&config.builds)return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_BUILDS`,message:`The \`${servicesConfigKey}\` property cannot be used in conjunction with the \`builds\` property. Please remove one of them.`});if(servicesConfig){let ambiguousTopLevel=[];if(config.functions!=null&&ambiguousTopLevel.push("functions"),config.installCommand!=null&&ambiguousTopLevel.push("installCommand"),config.buildCommand!=null&&ambiguousTopLevel.push("buildCommand"),config.devCommand!=null&&ambiguousTopLevel.push("devCommand"),config.ignoreCommand!=null&&ambiguousTopLevel.push("ignoreCommand"),config.outputDirectory!=null&&ambiguousTopLevel.push("outputDirectory"),config.framework!=null&&ambiguousTopLevel.push("framework"),ambiguousTopLevel.length>0){let count=ambiguousTopLevel.length,fields=ambiguousTopLevel.map(field=>`\`${field}\``).join(", ");return new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_AND_TOP_LEVEL_BUILD_SETTINGS`,message:`The top-level ${count>1?"properties":"property"} ${fields} cannot be used with \`${servicesConfigKey}\` because the owning service is ambiguous. Move ${count>1?"them":"it"} under the relevant service in \`${servicesConfigKey}\`.`})}}if(config.daemons){let daemonError=validateDaemons(config,config.daemons);if(daemonError)return daemonError}if(servicesConfig){let serviceNames2=new Set(Object.keys(servicesConfig));for(let[serviceName,serviceConfig]of Object.entries(servicesConfig))for(let binding of serviceConfig.bindings??[])if(!serviceNames2.has(binding.service))return scheduleServices.has(binding.service)?scheduleBindingError(config,`Service "${serviceName}"`,binding.service):new import_build_utils.NowBuildError({code:`${servicesErrorCodePrefix}_BINDING_UNKNOWN_SERVICE`,message:`Service "${serviceName}" declares a binding to unknown service "${binding.service}". Add "${binding.service}" to \`${servicesConfigKey}\` or fix the binding.`})}return null}function validateDaemons(config,daemons){let invalid=message=>new import_build_utils.NowBuildError({code:"INVALID_DAEMON",message}),daemonNames=new Set(Object.keys(daemons)),scheduleServices=getScheduleServiceNames(config);for(let[name,daemon]of Object.entries(daemons)){if(!isDockerfilePath(daemon.entrypoint))return invalid(`Daemon "${name}" must set \`entrypoint\` to a Dockerfile or Containerfile.`);if(hasInvalidDockerfileStage(daemon.entrypoint))return invalid(`Daemon "${name}" has invalid \`entrypoint\` "${daemon.entrypoint}". ${import_build_utils.DOCKERFILE_STAGE_HINT}`)}let services={...config.experimentalServicesV2,...config.services},isDaemonTarget=name=>daemonNames.has(name)&&!Object.prototype.hasOwnProperty.call(services,name);for(let[name,service]of Object.entries(services)){let binding=service.bindings?.find(binding2=>isDaemonTarget(binding2.service));if(binding)return invalid(`Service "${name}" cannot bind to daemon "${binding.service}" because daemons do not receive traffic.`)}for(let[name,daemon]of Object.entries(daemons)){let envs=new Set;for(let binding of daemon.bindings??[]){if(!Object.prototype.hasOwnProperty.call(services,binding.service))return scheduleServices.has(binding.service)?scheduleBindingError(config,`Daemon "${name}"`,binding.service):invalid(`Daemon "${name}" declares a binding to unknown service "${binding.service}". Add "${binding.service}" to \`services\` or fix the binding.`);if(envs.has(binding.env))return invalid(`Daemon "${name}" declares more than one binding for the environment variable "${binding.env}".`);envs.add(binding.env)}}let daemonTarget=getDestinationServices(config).find(isDaemonTarget);return daemonTarget?invalid(`Rewrites and routes cannot target daemon "${daemonTarget}" because daemons do not receive traffic.`):null}function getScheduleServiceNames(config){return new Set(Object.entries(config.schedules??{}).filter(([,schedule])=>"entrypoint"in schedule||"run"in schedule).map(([name])=>name))}function invalidScheduleService(config,message){return new import_build_utils.NowBuildError({code:"INVALID_SCHEDULE_SERVICE",message:`Invalid ${config[import_types.fileNameSymbol]||"vercel.json"} - ${message}`})}function scheduleBindingError(config,binder,schedule){return invalidScheduleService(config,`${binder} cannot bind to schedule "${schedule}" because schedules do not receive traffic.`)}function getDestinationServices(config){let services={...config.experimentalServicesV2,...config.services};return[...config.rewrites??[],...config.routes??[],...Object.values(services).flatMap(service=>[...service.rewrites??[],...service.routes??[]])].flatMap(entry=>{let destination="destination"in entry?entry.destination:void 0;return typeof destination=="object"&&destination!==null?[destination.service]:[]})}export{buildVercelConfigSchema,validateConfig};