vercel 59.14.0 → 59.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (459) hide show
  1. package/dist/chunks/add-7XFD2OHW.js +8 -0
  2. package/dist/chunks/add-HZC7AUBY.js +8 -0
  3. package/dist/chunks/add-PYUNJZ6K.js +8 -0
  4. package/dist/chunks/build-EFKQ6BND.js +7 -0
  5. package/dist/chunks/chunk-2B2MN3U5.js +8 -0
  6. package/dist/chunks/chunk-2H77IRPI.js +9 -0
  7. package/dist/chunks/chunk-2I64AYHG.js +7 -0
  8. package/dist/chunks/chunk-2PPXY24N.js +20 -0
  9. package/dist/chunks/chunk-2S6PE6GB.js +7 -0
  10. package/dist/chunks/{chunk-PIMIVJYK.js → chunk-3FMJYJUR.js} +7 -32
  11. package/dist/chunks/chunk-3IAQUNQH.js +7 -0
  12. package/dist/chunks/chunk-3QHJYVCY.js +7 -0
  13. package/dist/chunks/chunk-3QT7VOE3.js +7 -0
  14. package/dist/chunks/chunk-3TXEXPUW.js +7 -0
  15. package/dist/chunks/chunk-4MZK6JT6.js +7 -0
  16. package/dist/chunks/chunk-4NE5IQ25.js +7 -0
  17. package/dist/chunks/chunk-4PNSSS3L.js +7 -0
  18. package/dist/chunks/chunk-4QX77CP7.js +7 -0
  19. package/dist/chunks/chunk-57GHYR4Y.js +25 -0
  20. package/dist/chunks/chunk-5QQNYN4N.js +7 -0
  21. package/dist/chunks/chunk-5XJNPXQK.js +7 -0
  22. package/dist/chunks/chunk-6L236MNA.js +7 -0
  23. package/dist/chunks/chunk-6PFC3KWQ.js +7 -0
  24. package/dist/chunks/chunk-6QKS6QK7.js +7 -0
  25. package/dist/chunks/chunk-6RIQPTJA.js +8 -0
  26. package/dist/chunks/chunk-6TAQ6OWD.js +13 -0
  27. package/dist/chunks/chunk-6YAADRQB.js +9 -0
  28. package/dist/chunks/chunk-75CPY75D.js +15 -0
  29. package/dist/chunks/chunk-7HL2RPUO.js +7 -0
  30. package/dist/chunks/chunk-7PNYOSDU.js +9 -0
  31. package/dist/chunks/chunk-7R5FEXZ5.js +7 -0
  32. package/dist/chunks/chunk-7RMCBXBB.js +62 -0
  33. package/dist/chunks/chunk-7RR7MIMT.js +7 -0
  34. package/dist/chunks/chunk-7T6TL3GQ.js +7 -0
  35. package/dist/chunks/chunk-ADUYPK2G.js +13 -0
  36. package/dist/chunks/chunk-AFPOIDM5.js +7 -0
  37. package/dist/chunks/chunk-AM46JVVN.js +7 -0
  38. package/dist/chunks/chunk-AVSPFBLM.js +7 -0
  39. package/dist/chunks/chunk-B4ATVYZW.js +7 -0
  40. package/dist/chunks/chunk-BATE73HA.js +9 -0
  41. package/dist/chunks/{chunk-64IF634X.js → chunk-BRK4OB4B.js} +1 -12
  42. package/dist/chunks/chunk-BVH2AEFE.js +7 -0
  43. package/dist/chunks/chunk-CN2QZO4U.js +7 -0
  44. package/dist/chunks/chunk-COQGD2EI.js +8 -0
  45. package/dist/chunks/chunk-CUAIEGNE.js +7 -0
  46. package/dist/chunks/chunk-CVKB54WW.js +7 -0
  47. package/dist/chunks/{chunk-A3NYPUKZ.js → chunk-CZSOZKHX.js} +1 -11
  48. package/dist/chunks/chunk-D4MW3RDW.js +7 -0
  49. package/dist/chunks/chunk-DFVNL5ML.js +7 -0
  50. package/dist/chunks/chunk-EE3FVJLV.js +16 -0
  51. package/dist/chunks/chunk-EGMJRU5P.js +28 -0
  52. package/dist/chunks/chunk-ENBTTYJR.js +7 -0
  53. package/dist/chunks/chunk-ENS6KX2F.js +7 -0
  54. package/dist/chunks/chunk-EOBD4ZEG.js +8 -0
  55. package/dist/chunks/chunk-EOCTK4EA.js +7 -0
  56. package/dist/chunks/chunk-EQ52F4LH.js +7 -0
  57. package/dist/chunks/chunk-ETV3C2CV.js +7 -0
  58. package/dist/chunks/chunk-EVZRQGNK.js +7 -0
  59. package/dist/chunks/chunk-F2ZWW2IO.js +8 -0
  60. package/dist/chunks/chunk-FAW6NBLQ.js +7 -0
  61. package/dist/chunks/chunk-FI772UVH.js +7 -0
  62. package/dist/chunks/chunk-FKCOBJFH.js +7 -0
  63. package/dist/chunks/chunk-FVGESGJI.js +45 -0
  64. package/dist/chunks/chunk-G5FC5ZCO.js +9 -0
  65. package/dist/chunks/chunk-G6CTAHKY.js +39 -0
  66. package/dist/chunks/chunk-G7Y77DFH.js +7 -0
  67. package/dist/chunks/chunk-GHAY4PSD.js +7 -0
  68. package/dist/chunks/chunk-GHM7V3GG.js +7 -0
  69. package/dist/chunks/chunk-GRNTLNC7.js +7 -0
  70. package/dist/chunks/chunk-GTRGQIY2.js +10 -0
  71. package/dist/chunks/chunk-GU6VIFR5.js +7 -0
  72. package/dist/chunks/{constants-YMCRE6IG.js → chunk-GZNDA6SV.js} +2 -9
  73. package/dist/chunks/chunk-HBFPLBTX.js +10 -0
  74. package/dist/chunks/chunk-HEGJZJO7.js +7 -0
  75. package/dist/chunks/chunk-HSJ6AHWG.js +12 -0
  76. package/dist/chunks/chunk-HTC6KO2B.js +7 -0
  77. package/dist/chunks/chunk-HVUHCRZB.js +18 -0
  78. package/dist/chunks/chunk-HZZ5L472.js +7 -0
  79. package/dist/chunks/chunk-IVSSTHB6.js +7 -0
  80. package/dist/chunks/chunk-IVWPQYIH.js +7 -0
  81. package/dist/chunks/chunk-J3U3L45Y.js +7 -0
  82. package/dist/chunks/chunk-JAJW3P42.js +7 -0
  83. package/dist/chunks/chunk-JEIMW3CO.js +7 -0
  84. package/dist/chunks/chunk-JIYY3B4C.js +7 -0
  85. package/dist/chunks/chunk-JKTQV2QJ.js +7 -0
  86. package/dist/chunks/chunk-JTVVBRW7.js +7 -0
  87. package/dist/chunks/chunk-JYAUUIR4.js +7 -0
  88. package/dist/chunks/chunk-JZRMH5UA.js +7 -0
  89. package/dist/chunks/chunk-K2RAW5DI.js +10 -0
  90. package/dist/chunks/chunk-K3KJZLBD.js +7 -0
  91. package/dist/chunks/chunk-KK4AJES5.js +36 -0
  92. package/dist/chunks/chunk-KKS7XWEX.js +7 -0
  93. package/dist/chunks/chunk-KNEWCUWF.js +14 -0
  94. package/dist/chunks/chunk-KO733OJG.js +9 -0
  95. package/dist/chunks/chunk-L243RUIR.js +19 -0
  96. package/dist/chunks/chunk-L3JDEHCQ.js +7 -0
  97. package/dist/chunks/chunk-LDM3SQAU.js +13 -0
  98. package/dist/chunks/chunk-LNPMDXBJ.js +7 -0
  99. package/dist/chunks/chunk-M2W3HKV3.js +23 -0
  100. package/dist/chunks/chunk-M2XARQBF.js +9 -0
  101. package/dist/chunks/chunk-M5AV545M.js +7 -0
  102. package/dist/chunks/chunk-MAVRGZQP.js +7 -0
  103. package/dist/chunks/chunk-MBL6TXEJ.js +7 -0
  104. package/dist/chunks/chunk-MEAY2K5Z.js +11 -0
  105. package/dist/chunks/chunk-MY4MONOH.js +7 -0
  106. package/dist/chunks/chunk-N3N5UHIL.js +7 -0
  107. package/dist/chunks/chunk-N3ZZ7FHQ.js +7 -0
  108. package/dist/chunks/chunk-N6CNMMSZ.js +7 -0
  109. package/dist/chunks/chunk-NBVY237X.js +7 -0
  110. package/dist/chunks/chunk-NGNOUPWS.js +25 -0
  111. package/dist/chunks/chunk-NHTF332K.js +7 -0
  112. package/dist/chunks/chunk-NNP5NITU.js +15 -0
  113. package/dist/chunks/chunk-NS4FH2TY.js +11 -0
  114. package/dist/chunks/chunk-NUGLE4QY.js +11 -0
  115. package/dist/chunks/chunk-NWFHHUKZ.js +7 -0
  116. package/dist/chunks/chunk-O7G3CZ42.js +7 -0
  117. package/dist/chunks/chunk-OD6RZ3XZ.js +8 -0
  118. package/dist/chunks/chunk-OHDEHZLX.js +7 -0
  119. package/dist/chunks/chunk-OK3S6KFX.js +16 -0
  120. package/dist/chunks/chunk-OKZDOANA.js +23 -0
  121. package/dist/chunks/chunk-OSCCYU74.js +7 -0
  122. package/dist/chunks/chunk-OUHPDA7Q.js +7 -0
  123. package/dist/chunks/chunk-P2O5DOYE.js +7 -0
  124. package/dist/chunks/chunk-PHW54NU5.js +13 -0
  125. package/dist/chunks/chunk-PPCFQQSU.js +7 -0
  126. package/dist/chunks/chunk-QGIGNMII.js +8 -0
  127. package/dist/chunks/chunk-QGIQK47P.js +7 -0
  128. package/dist/chunks/chunk-QHJLRTVY.js +7 -0
  129. package/dist/chunks/{chunk-2473DUBR.js → chunk-QR7QPUFN.js} +1 -9
  130. package/dist/chunks/chunk-QTKJC2O5.js +7 -0
  131. package/dist/chunks/chunk-R2TGGVCT.js +19 -0
  132. package/dist/chunks/chunk-RAIBQIKB.js +7 -0
  133. package/dist/chunks/chunk-RCTYVKM5.js +16 -0
  134. package/dist/chunks/chunk-RKAUVPOQ.js +86 -0
  135. package/dist/chunks/chunk-S5CEIACD.js +7 -0
  136. package/dist/chunks/chunk-SGWVKRSR.js +8 -0
  137. package/dist/chunks/chunk-SOJCELXH.js +7 -0
  138. package/dist/chunks/chunk-SXUEGVWB.js +7 -0
  139. package/dist/chunks/{chunk-GGPE5377.js → chunk-T3GQAMBJ.js} +1 -9
  140. package/dist/chunks/chunk-T52FMXWC.js +7 -0
  141. package/dist/chunks/chunk-TG2RCYTH.js +7 -0
  142. package/dist/chunks/chunk-TJCIHDPZ.js +9 -0
  143. package/dist/chunks/chunk-TKBXN4H3.js +9 -0
  144. package/dist/chunks/chunk-TRTEXGVN.js +7 -0
  145. package/dist/chunks/chunk-TXELFFNK.js +15 -0
  146. package/dist/chunks/chunk-U56NHYAH.js +7 -0
  147. package/dist/chunks/chunk-U7KCDTCH.js +12 -0
  148. package/dist/chunks/chunk-UETTIYUQ.js +8 -0
  149. package/dist/chunks/chunk-UGMZQZJE.js +24 -0
  150. package/dist/chunks/chunk-ULLWCOYC.js +7 -0
  151. package/dist/chunks/chunk-UXTHEQVJ.js +21 -0
  152. package/dist/chunks/chunk-VLZ47RWM.js +44 -0
  153. package/dist/chunks/chunk-WKZ6JSGZ.js +7 -0
  154. package/dist/chunks/chunk-WPS6JZF6.js +7 -0
  155. package/dist/chunks/chunk-WRILLB46.js +7 -0
  156. package/dist/chunks/chunk-WUZD4KBL.js +7 -0
  157. package/dist/chunks/chunk-XCJDGQO7.js +7 -0
  158. package/dist/chunks/{pkg-56KRLZ5K.js → chunk-XD2LZRBS.js} +1 -7
  159. package/dist/chunks/chunk-XFVGX5HG.js +7 -0
  160. package/dist/chunks/chunk-XHOGOH6N.js +7 -0
  161. package/dist/chunks/{update-route-version-E3V47KNI.js → chunk-XPXOV5UO.js} +1 -7
  162. package/dist/chunks/chunk-XQ73QIQ3.js +7 -0
  163. package/dist/chunks/chunk-XSVBYDYI.js +8 -0
  164. package/dist/chunks/chunk-YKZLKOOD.js +12 -0
  165. package/dist/chunks/chunk-YMVDWVMO.js +7 -0
  166. package/dist/chunks/chunk-YPTLSODC.js +7 -0
  167. package/dist/chunks/chunk-YV6CTDHR.js +7 -0
  168. package/dist/chunks/chunk-Z6Y55QJW.js +23 -0
  169. package/dist/chunks/chunk-ZDX75YNZ.js +7 -0
  170. package/dist/chunks/chunk-ZIPVX7LD.js +7 -0
  171. package/dist/chunks/chunk-ZKYS7EAB.js +7 -0
  172. package/dist/chunks/chunk-ZT6KDLLY.js +20 -0
  173. package/dist/chunks/chunk-ZXE4XYIV.js +7 -0
  174. package/dist/chunks/chunk-ZZQRMRWD.js +20 -0
  175. package/dist/chunks/cjs-GOQHXIHX.js +54 -0
  176. package/dist/chunks/clear-5NQAVWIF.js +8 -0
  177. package/dist/chunks/compile-vercel-config-6J2XUFRK.js +7 -0
  178. package/dist/chunks/config-CKYRXZXL.js +7 -0
  179. package/dist/chunks/config-VNUY4RJ4.js +8 -0
  180. package/dist/chunks/connect-git-provider-GIU5WZ52.js +7 -0
  181. package/dist/chunks/constants-G4UYVLOF.js +7 -0
  182. package/dist/chunks/create-project-SRQGD4JY.js +7 -0
  183. package/dist/chunks/delete-GTXXCSKQ.js +10 -0
  184. package/dist/chunks/delete-HRJEO4MI.js +9 -0
  185. package/dist/chunks/detect-projects-2GNCZ4CS.js +7 -0
  186. package/dist/chunks/detect-services-GHILEGNU.js +7 -0
  187. package/dist/chunks/disable-RWCRVG5O.js +7 -0
  188. package/dist/chunks/discard-SHFIYCJU.js +14 -0
  189. package/dist/chunks/edit-DMO3NSO2.js +9 -0
  190. package/dist/chunks/edit-EVQI2RSS.js +8 -0
  191. package/dist/chunks/enable-AWDU6STD.js +7 -0
  192. package/dist/chunks/esm-7HVUFWMN.js +7 -0
  193. package/dist/chunks/esm-BZBEM7YA.js +7 -0
  194. package/dist/chunks/esm-CXICLFA3.js +9 -0
  195. package/dist/chunks/esm-HDEHVK7I.js +9 -0
  196. package/dist/chunks/esm-NQRLKALI.js +20 -0
  197. package/dist/chunks/esm-SZZI53W7.js +7 -0
  198. package/dist/chunks/esm-WGJFGCLK.js +7 -0
  199. package/dist/chunks/exec-4AISDHUV.js +16372 -0
  200. package/dist/chunks/export-IQKTA4RS.js +19 -0
  201. package/dist/chunks/fetch-proxy-AEAWC6MD.js +7 -0
  202. package/dist/chunks/future-E2FHKPJN.js +7 -0
  203. package/dist/chunks/generate-cert-for-deploy-VKOWC4PZ.js +7 -0
  204. package/dist/chunks/image-LDFYNOCA.js +7 -0
  205. package/dist/chunks/import-builders-P7CXSX2D.js +7 -0
  206. package/dist/chunks/inspect-3N47ODIH.js +15 -0
  207. package/dist/chunks/inspect-53SGDDAH.js +20 -0
  208. package/dist/chunks/inspect-5INZDUQS.js +19 -0
  209. package/dist/chunks/inspect-WMT2M335.js +9 -0
  210. package/dist/chunks/inspect-Y6BUCOUV.js +13 -0
  211. package/dist/chunks/list-BIAPHKFM.js +11 -0
  212. package/dist/chunks/list-DMOCRRSE.js +16 -0
  213. package/dist/chunks/list-K5J7OULR.js +10 -0
  214. package/dist/chunks/login-DEAEVUHM.js +7 -0
  215. package/dist/chunks/login-SRVNHI4Y.js +9 -0
  216. package/dist/chunks/logs-GK7CJBYY.js +7 -0
  217. package/dist/chunks/ls-7ZX6DCJW.js +12 -0
  218. package/dist/chunks/ls-AJWN5ZR4.js +12 -0
  219. package/dist/chunks/ls-BFJWCRLZ.js +12 -0
  220. package/dist/chunks/ls-KGIE6HCO.js +12 -0
  221. package/dist/chunks/ls-UVKTHBTE.js +8 -0
  222. package/dist/chunks/ls-WEG45IOC.js +8 -0
  223. package/dist/chunks/native-self-update-KOJVRMHR.js +7 -0
  224. package/dist/chunks/open-OEWPI5G6.js +7 -0
  225. package/dist/chunks/openapi-MO5HYMHR.js +7 -0
  226. package/dist/chunks/permissions-EPQBQFE3.js +7 -0
  227. package/dist/chunks/pkg-YFU67U7I.js +7 -0
  228. package/dist/chunks/prompt-missing-credentials-IUHLYSQU.js +7 -0
  229. package/dist/chunks/publish-JG7MEPWT.js +15 -0
  230. package/dist/chunks/pull-MRKXG6TO.js +7 -0
  231. package/dist/chunks/purchase-domain-if-available-O5ARXEZ5.js +7 -0
  232. package/dist/chunks/push-XOXJDFYO.js +7 -0
  233. package/dist/chunks/query-AL7C6WV2.js +12 -0
  234. package/dist/chunks/reauthenticate-SH4XR7NH.js +7 -0
  235. package/dist/chunks/reorder-5DMRFDBY.js +10 -0
  236. package/dist/chunks/reply-WSRNZWFD.js +9 -0
  237. package/dist/chunks/repo-info-to-url-SK3VX6UL.js +7 -0
  238. package/dist/chunks/resolve-YJUXQVOZ.js +12 -0
  239. package/dist/chunks/resolve-deployment-framework-preset-XF3NJIDS.js +7 -0
  240. package/dist/chunks/restore-QT3DBGKU.js +16 -0
  241. package/dist/chunks/rm-MHPIUEZ5.js +8 -0
  242. package/dist/chunks/rm-MVZFU6RG.js +8 -0
  243. package/dist/chunks/rm-PXR4J2US.js +8 -0
  244. package/dist/chunks/rm-WB2AIP3N.js +8 -0
  245. package/dist/chunks/rm-XRP6MRUT.js +8 -0
  246. package/dist/chunks/routes-5DERZV5M.js +7 -0
  247. package/dist/chunks/rule-inspect-TT3DRGCS.js +8 -0
  248. package/dist/chunks/rules-B5GW4KJH.js +7 -0
  249. package/dist/chunks/schema-JY5QTZOG.js +14 -0
  250. package/dist/chunks/schema-KCNKVFT3.js +44 -0
  251. package/dist/chunks/select-org-KSCYSESV.js +7 -0
  252. package/dist/chunks/set-7BANEWEL.js +7 -0
  253. package/dist/chunks/setup-and-link-ZAV3EFGC.js +7 -0
  254. package/dist/chunks/slugify-O5DBATYT.js +7 -0
  255. package/dist/chunks/stamp-OX4YO3KY.js +7 -0
  256. package/dist/chunks/tags-VZR66NUC.js +7 -0
  257. package/dist/chunks/types-LRXQEDYI.js +14 -0
  258. package/dist/chunks/update-RBFNNSWE.js +8 -0
  259. package/dist/chunks/update-route-version-XZAFPQJC.js +7 -0
  260. package/dist/chunks/utils-B5ZTMQKY.js +58 -0
  261. package/dist/chunks/vlt-builder-importer-YVCYYRVV.js +11 -0
  262. package/dist/commands/build/index.js +24 -4925
  263. package/dist/commands/deploy/index.js +43 -2875
  264. package/dist/commands/dev/index.js +56 -23857
  265. package/dist/commands/env/index.js +26 -3411
  266. package/dist/commands/link/index.js +4 -284
  267. package/dist/commands/list/index.js +6 -566
  268. package/dist/commands-bulk.js +1187 -87691
  269. package/dist/help.js +1 -8
  270. package/dist/index.js +19 -2591
  271. package/dist/version.mjs +1 -1
  272. package/package.json +50 -51
  273. package/dist/chunks/add-EQZRT4XL.js +0 -221
  274. package/dist/chunks/add-KMDROZC3.js +0 -196
  275. package/dist/chunks/add-QPJ3XMBV.js +0 -145
  276. package/dist/chunks/build-W4HPTAOB.js +0 -251
  277. package/dist/chunks/chunk-26CU4Q3C.js +0 -598
  278. package/dist/chunks/chunk-2HSQ7YUK.js +0 -93
  279. package/dist/chunks/chunk-2JIX6UMI.js +0 -4626
  280. package/dist/chunks/chunk-2LCFOK66.js +0 -1536
  281. package/dist/chunks/chunk-332LMJLZ.js +0 -16014
  282. package/dist/chunks/chunk-3HZLXCVL.js +0 -137
  283. package/dist/chunks/chunk-3VM7HWF6.js +0 -104
  284. package/dist/chunks/chunk-3ZE5CFVM.js +0 -346
  285. package/dist/chunks/chunk-4IALDGB7.js +0 -22
  286. package/dist/chunks/chunk-4KD5BYHB.js +0 -127
  287. package/dist/chunks/chunk-4TUMNBEE.js +0 -231
  288. package/dist/chunks/chunk-4WG2MYCI.js +0 -163
  289. package/dist/chunks/chunk-57RHXXXG.js +0 -150
  290. package/dist/chunks/chunk-5AJPMLDV.js +0 -28
  291. package/dist/chunks/chunk-5EIV6LPQ.js +0 -305
  292. package/dist/chunks/chunk-5NF5HOBJ.js +0 -1854
  293. package/dist/chunks/chunk-653QRQAD.js +0 -417
  294. package/dist/chunks/chunk-67CRVWDF.js +0 -81
  295. package/dist/chunks/chunk-6E6KPBXY.js +0 -43
  296. package/dist/chunks/chunk-75VENWDN.js +0 -1892
  297. package/dist/chunks/chunk-7MRDIPJY.js +0 -107
  298. package/dist/chunks/chunk-7NRNFV77.js +0 -875
  299. package/dist/chunks/chunk-7Q45OKWR.js +0 -149
  300. package/dist/chunks/chunk-AHU7WNL2.js +0 -24
  301. package/dist/chunks/chunk-AINIBIP4.js +0 -39
  302. package/dist/chunks/chunk-AJ5HUOWB.js +0 -14059
  303. package/dist/chunks/chunk-AKLTIZCU.js +0 -46
  304. package/dist/chunks/chunk-AQ6P3IGG.js +0 -49
  305. package/dist/chunks/chunk-B5NH7SLK.js +0 -324
  306. package/dist/chunks/chunk-B5XLQKHI.js +0 -849
  307. package/dist/chunks/chunk-BEQV3X2L.js +0 -86
  308. package/dist/chunks/chunk-CAHP7UGE.js +0 -79
  309. package/dist/chunks/chunk-CFDDM4TX.js +0 -13618
  310. package/dist/chunks/chunk-CJV7J7B5.js +0 -314
  311. package/dist/chunks/chunk-CV5YC2EN.js +0 -867
  312. package/dist/chunks/chunk-CXFY6A6W.js +0 -255
  313. package/dist/chunks/chunk-D5SMZXVO.js +0 -233
  314. package/dist/chunks/chunk-E336ZXPP.js +0 -43
  315. package/dist/chunks/chunk-EDMW7SBH.js +0 -246
  316. package/dist/chunks/chunk-EFYMIIER.js +0 -40
  317. package/dist/chunks/chunk-EKPSCRJZ.js +0 -26
  318. package/dist/chunks/chunk-EOZFDJSY.js +0 -18
  319. package/dist/chunks/chunk-EWBCSDTM.js +0 -1708
  320. package/dist/chunks/chunk-EZKW5YJ2.js +0 -177
  321. package/dist/chunks/chunk-F2QLCXCF.js +0 -2399
  322. package/dist/chunks/chunk-FGDKMNEN.js +0 -21
  323. package/dist/chunks/chunk-FRVG4OW3.js +0 -7438
  324. package/dist/chunks/chunk-FVF4UHDM.js +0 -1288
  325. package/dist/chunks/chunk-G5FBSUL4.js +0 -822
  326. package/dist/chunks/chunk-GDOUDU6O.js +0 -74
  327. package/dist/chunks/chunk-GGP5R3FU.js +0 -129
  328. package/dist/chunks/chunk-GVNCVKCI.js +0 -68
  329. package/dist/chunks/chunk-GY5I4AYD.js +0 -122
  330. package/dist/chunks/chunk-GZLPFESR.js +0 -48
  331. package/dist/chunks/chunk-HB4UKFDO.js +0 -1295
  332. package/dist/chunks/chunk-HD4DR3DA.js +0 -818
  333. package/dist/chunks/chunk-HKHXKSXQ.js +0 -152
  334. package/dist/chunks/chunk-HM24ZWQL.js +0 -174
  335. package/dist/chunks/chunk-HRXRELD3.js +0 -338
  336. package/dist/chunks/chunk-IB5L4LKZ.js +0 -1082
  337. package/dist/chunks/chunk-IIMSID24.js +0 -104
  338. package/dist/chunks/chunk-J7JKZM4T.js +0 -58
  339. package/dist/chunks/chunk-JC2O346E.js +0 -137
  340. package/dist/chunks/chunk-JSD4EZL3.js +0 -34
  341. package/dist/chunks/chunk-JZXJZX7O.js +0 -257
  342. package/dist/chunks/chunk-K3RED3VO.js +0 -566
  343. package/dist/chunks/chunk-KFWQ3EFH.js +0 -151
  344. package/dist/chunks/chunk-KW7BS25T.js +0 -466
  345. package/dist/chunks/chunk-KXDWXXJH.js +0 -70
  346. package/dist/chunks/chunk-LERVNZTD.js +0 -90
  347. package/dist/chunks/chunk-LYAAQDNS.js +0 -242
  348. package/dist/chunks/chunk-M5I6INNF.js +0 -61
  349. package/dist/chunks/chunk-N6HP5BLI.js +0 -18190
  350. package/dist/chunks/chunk-ND5CF2H3.js +0 -53
  351. package/dist/chunks/chunk-NFU4XJIR.js +0 -120
  352. package/dist/chunks/chunk-NW34PW6V.js +0 -1772
  353. package/dist/chunks/chunk-OAMU5QO6.js +0 -18
  354. package/dist/chunks/chunk-OCIZ6ZYA.js +0 -253
  355. package/dist/chunks/chunk-ORQZKIIB.js +0 -2914
  356. package/dist/chunks/chunk-P3SKP5WM.js +0 -27
  357. package/dist/chunks/chunk-P4QNYOFB.js +0 -96
  358. package/dist/chunks/chunk-P7VSBDR4.js +0 -827
  359. package/dist/chunks/chunk-PEC3CQSK.js +0 -90
  360. package/dist/chunks/chunk-PMSMUMUO.js +0 -30
  361. package/dist/chunks/chunk-PNGVSHR3.js +0 -40
  362. package/dist/chunks/chunk-POOO7W47.js +0 -916
  363. package/dist/chunks/chunk-PRWJUY5U.js +0 -848
  364. package/dist/chunks/chunk-Q2DGFCO7.js +0 -579
  365. package/dist/chunks/chunk-RBF2NPUP.js +0 -577
  366. package/dist/chunks/chunk-RBIFXFZX.js +0 -52
  367. package/dist/chunks/chunk-RDTRWLWB.js +0 -11441
  368. package/dist/chunks/chunk-RN6V5ODW.js +0 -114
  369. package/dist/chunks/chunk-RNSMTWA6.js +0 -122
  370. package/dist/chunks/chunk-RTJASENB.js +0 -59
  371. package/dist/chunks/chunk-RVBZ64EQ.js +0 -52
  372. package/dist/chunks/chunk-S7KYDPEM.js +0 -1564
  373. package/dist/chunks/chunk-SLPSPYVR.js +0 -334
  374. package/dist/chunks/chunk-SM3F3PYJ.js +0 -522
  375. package/dist/chunks/chunk-TO7QZGYK.js +0 -105
  376. package/dist/chunks/chunk-TSBUHSN7.js +0 -3495
  377. package/dist/chunks/chunk-TSFWMUCY.js +0 -506
  378. package/dist/chunks/chunk-TZ2YI2VH.js +0 -87
  379. package/dist/chunks/chunk-UG2WOB5L.js +0 -150
  380. package/dist/chunks/chunk-UNKHOYMF.js +0 -559
  381. package/dist/chunks/chunk-UOVWUSLG.js +0 -2099
  382. package/dist/chunks/chunk-V4RMJKQP.js +0 -36
  383. package/dist/chunks/chunk-VGIMO3ZK.js +0 -17
  384. package/dist/chunks/chunk-VGKSIKCC.js +0 -92
  385. package/dist/chunks/chunk-VP5Y3SZG.js +0 -106
  386. package/dist/chunks/chunk-VXYGCOKL.js +0 -28
  387. package/dist/chunks/chunk-W7FGI2GZ.js +0 -233
  388. package/dist/chunks/chunk-WGGABYO5.js +0 -31
  389. package/dist/chunks/chunk-XDGOOW3K.js +0 -60
  390. package/dist/chunks/chunk-XFF5TGRA.js +0 -303
  391. package/dist/chunks/chunk-XNIZGCN5.js +0 -58
  392. package/dist/chunks/chunk-XPJLPUKO.js +0 -117
  393. package/dist/chunks/chunk-XUAWTW4W.js +0 -467
  394. package/dist/chunks/chunk-YPQSDAEW.js +0 -29
  395. package/dist/chunks/chunk-YS76T533.js +0 -270
  396. package/dist/chunks/chunk-ZDU2NODC.js +0 -104
  397. package/dist/chunks/chunk-ZW6HETRE.js +0 -97
  398. package/dist/chunks/cjs-DV4RM7XU.js +0 -20743
  399. package/dist/chunks/clear-4IACMLFU.js +0 -141
  400. package/dist/chunks/compile-vercel-config-PQQ3OCLV.js +0 -33
  401. package/dist/chunks/config-BQQKMQBP.js +0 -168
  402. package/dist/chunks/config-OCPNHXQL.js +0 -127
  403. package/dist/chunks/delete-HRKIYPCO.js +0 -159
  404. package/dist/chunks/delete-P2UL3KTU.js +0 -226
  405. package/dist/chunks/detect-projects-ODNU4PK2.js +0 -18
  406. package/dist/chunks/detect-services-U7QGT7VO.js +0 -40
  407. package/dist/chunks/disable-3NYMICQ3.js +0 -198
  408. package/dist/chunks/discard-RNVEJUK3.js +0 -145
  409. package/dist/chunks/edit-63S2RQHR.js +0 -162
  410. package/dist/chunks/edit-CTENFZ7H.js +0 -647
  411. package/dist/chunks/enable-WILWXAHV.js +0 -204
  412. package/dist/chunks/exec-4IPHZ55G.js +0 -1291
  413. package/dist/chunks/export-YHGV3EPK.js +0 -177
  414. package/dist/chunks/fetch-proxy-R3JZNXBZ.js +0 -99
  415. package/dist/chunks/image-MWKS2YMB.js +0 -75
  416. package/dist/chunks/import-builders-H55X5VYD.js +0 -39
  417. package/dist/chunks/inspect-JTJMK6TO.js +0 -596
  418. package/dist/chunks/inspect-KBIPLMGR.js +0 -216
  419. package/dist/chunks/inspect-OP26FDBY.js +0 -171
  420. package/dist/chunks/inspect-SW4UMWTB.js +0 -175
  421. package/dist/chunks/inspect-WPLZPVBO.js +0 -145
  422. package/dist/chunks/list-HE7DWAWH.js +0 -387
  423. package/dist/chunks/list-OUG7WCT7.js +0 -404
  424. package/dist/chunks/list-QUSEURJZ.js +0 -426
  425. package/dist/chunks/login-MIIQJVF3.js +0 -233
  426. package/dist/chunks/ls-24N3DUK4.js +0 -183
  427. package/dist/chunks/ls-3Y7KEFKT.js +0 -175
  428. package/dist/chunks/ls-75F5HIJ5.js +0 -188
  429. package/dist/chunks/ls-REN6X2X5.js +0 -204
  430. package/dist/chunks/ls-W4STUDXK.js +0 -223
  431. package/dist/chunks/ls-Z4CTSD6C.js +0 -210
  432. package/dist/chunks/open-ARMCLPBK.js +0 -116
  433. package/dist/chunks/permissions-JKI67F62.js +0 -99
  434. package/dist/chunks/publish-SMSQ7OX2.js +0 -155
  435. package/dist/chunks/pull-4QZJZELD.js +0 -45
  436. package/dist/chunks/push-T6IYQY2J.js +0 -191
  437. package/dist/chunks/query-CP3JK5LW.js +0 -725
  438. package/dist/chunks/reorder-RAWKFGLV.js +0 -412
  439. package/dist/chunks/reply-235UHUD4.js +0 -176
  440. package/dist/chunks/resolve-5KCLN7QV.js +0 -237
  441. package/dist/chunks/resolve-deployment-framework-preset-NPE6RLV3.js +0 -36
  442. package/dist/chunks/restore-D24WAUAN.js +0 -252
  443. package/dist/chunks/rm-DBQDXSOC.js +0 -162
  444. package/dist/chunks/rm-G5INO77R.js +0 -148
  445. package/dist/chunks/rm-NLKSEKZ5.js +0 -195
  446. package/dist/chunks/rm-QV76CJA4.js +0 -322
  447. package/dist/chunks/rm-TZ4PDDUK.js +0 -147
  448. package/dist/chunks/routes-QVMBXOSX.js +0 -24
  449. package/dist/chunks/rule-inspect-76MC7I2D.js +0 -123
  450. package/dist/chunks/rules-IDUXVTPG.js +0 -89
  451. package/dist/chunks/schema-AV6BHGKY.js +0 -237
  452. package/dist/chunks/schema-QJVQTNB4.js +0 -381
  453. package/dist/chunks/set-L5NFQSCF.js +0 -250
  454. package/dist/chunks/setup-and-link-USSVDKCM.js +0 -65
  455. package/dist/chunks/stamp-AA7R3MZS.js +0 -16
  456. package/dist/chunks/tags-2NLUU4EC.js +0 -69
  457. package/dist/chunks/types-4GAJ7XQQ.js +0 -116
  458. package/dist/chunks/update-WGLBB65M.js +0 -224
  459. package/dist/chunks/vlt-builder-importer-USCFHWPL.js +0 -322
@@ -1,1082 +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 {
8
- __commonJS
9
- } from "./chunk-TZ2YI2VH.js";
10
-
11
- // ../../node_modules/.pnpm/semver@5.7.2/node_modules/semver/semver.js
12
- var require_semver = __commonJS({
13
- "../../node_modules/.pnpm/semver@5.7.2/node_modules/semver/semver.js"(exports, module) {
14
- exports = module.exports = SemVer;
15
- var debug;
16
- if (typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG)) {
17
- debug = function() {
18
- var args = Array.prototype.slice.call(arguments, 0);
19
- args.unshift("SEMVER");
20
- console.log.apply(console, args);
21
- };
22
- } else {
23
- debug = function() {
24
- };
25
- }
26
- exports.SEMVER_SPEC_VERSION = "2.0.0";
27
- var MAX_LENGTH = 256;
28
- var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
29
- 9007199254740991;
30
- var MAX_SAFE_COMPONENT_LENGTH = 16;
31
- var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
32
- var re = exports.re = [];
33
- var safeRe = exports.safeRe = [];
34
- var src = exports.src = [];
35
- var R = 0;
36
- var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
37
- var safeRegexReplacements = [
38
- ["\\s", 1],
39
- ["\\d", MAX_LENGTH],
40
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
41
- ];
42
- function makeSafeRe(value) {
43
- for (var i2 = 0; i2 < safeRegexReplacements.length; i2++) {
44
- var token = safeRegexReplacements[i2][0];
45
- var max = safeRegexReplacements[i2][1];
46
- value = value.split(token + "*").join(token + "{0," + max + "}").split(token + "+").join(token + "{1," + max + "}");
47
- }
48
- return value;
49
- }
50
- var NUMERICIDENTIFIER = R++;
51
- src[NUMERICIDENTIFIER] = "0|[1-9]\\d*";
52
- var NUMERICIDENTIFIERLOOSE = R++;
53
- src[NUMERICIDENTIFIERLOOSE] = "\\d+";
54
- var NONNUMERICIDENTIFIER = R++;
55
- src[NONNUMERICIDENTIFIER] = "\\d*[a-zA-Z-]" + LETTERDASHNUMBER + "*";
56
- var MAINVERSION = R++;
57
- src[MAINVERSION] = "(" + src[NUMERICIDENTIFIER] + ")\\.(" + src[NUMERICIDENTIFIER] + ")\\.(" + src[NUMERICIDENTIFIER] + ")";
58
- var MAINVERSIONLOOSE = R++;
59
- src[MAINVERSIONLOOSE] = "(" + src[NUMERICIDENTIFIERLOOSE] + ")\\.(" + src[NUMERICIDENTIFIERLOOSE] + ")\\.(" + src[NUMERICIDENTIFIERLOOSE] + ")";
60
- var PRERELEASEIDENTIFIER = R++;
61
- src[PRERELEASEIDENTIFIER] = "(?:" + src[NUMERICIDENTIFIER] + "|" + src[NONNUMERICIDENTIFIER] + ")";
62
- var PRERELEASEIDENTIFIERLOOSE = R++;
63
- src[PRERELEASEIDENTIFIERLOOSE] = "(?:" + src[NUMERICIDENTIFIERLOOSE] + "|" + src[NONNUMERICIDENTIFIER] + ")";
64
- var PRERELEASE = R++;
65
- src[PRERELEASE] = "(?:-(" + src[PRERELEASEIDENTIFIER] + "(?:\\." + src[PRERELEASEIDENTIFIER] + ")*))";
66
- var PRERELEASELOOSE = R++;
67
- src[PRERELEASELOOSE] = "(?:-?(" + src[PRERELEASEIDENTIFIERLOOSE] + "(?:\\." + src[PRERELEASEIDENTIFIERLOOSE] + ")*))";
68
- var BUILDIDENTIFIER = R++;
69
- src[BUILDIDENTIFIER] = LETTERDASHNUMBER + "+";
70
- var BUILD = R++;
71
- src[BUILD] = "(?:\\+(" + src[BUILDIDENTIFIER] + "(?:\\." + src[BUILDIDENTIFIER] + ")*))";
72
- var FULL = R++;
73
- var FULLPLAIN = "v?" + src[MAINVERSION] + src[PRERELEASE] + "?" + src[BUILD] + "?";
74
- src[FULL] = "^" + FULLPLAIN + "$";
75
- var LOOSEPLAIN = "[v=\\s]*" + src[MAINVERSIONLOOSE] + src[PRERELEASELOOSE] + "?" + src[BUILD] + "?";
76
- var LOOSE = R++;
77
- src[LOOSE] = "^" + LOOSEPLAIN + "$";
78
- var GTLT = R++;
79
- src[GTLT] = "((?:<|>)?=?)";
80
- var XRANGEIDENTIFIERLOOSE = R++;
81
- src[XRANGEIDENTIFIERLOOSE] = src[NUMERICIDENTIFIERLOOSE] + "|x|X|\\*";
82
- var XRANGEIDENTIFIER = R++;
83
- src[XRANGEIDENTIFIER] = src[NUMERICIDENTIFIER] + "|x|X|\\*";
84
- var XRANGEPLAIN = R++;
85
- src[XRANGEPLAIN] = "[v=\\s]*(" + src[XRANGEIDENTIFIER] + ")(?:\\.(" + src[XRANGEIDENTIFIER] + ")(?:\\.(" + src[XRANGEIDENTIFIER] + ")(?:" + src[PRERELEASE] + ")?" + src[BUILD] + "?)?)?";
86
- var XRANGEPLAINLOOSE = R++;
87
- src[XRANGEPLAINLOOSE] = "[v=\\s]*(" + src[XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + src[XRANGEIDENTIFIERLOOSE] + ")(?:\\.(" + src[XRANGEIDENTIFIERLOOSE] + ")(?:" + src[PRERELEASELOOSE] + ")?" + src[BUILD] + "?)?)?";
88
- var XRANGE = R++;
89
- src[XRANGE] = "^" + src[GTLT] + "\\s*" + src[XRANGEPLAIN] + "$";
90
- var XRANGELOOSE = R++;
91
- src[XRANGELOOSE] = "^" + src[GTLT] + "\\s*" + src[XRANGEPLAINLOOSE] + "$";
92
- var COERCE = R++;
93
- src[COERCE] = "(?:^|[^\\d])(\\d{1," + MAX_SAFE_COMPONENT_LENGTH + "})(?:\\.(\\d{1," + MAX_SAFE_COMPONENT_LENGTH + "}))?(?:\\.(\\d{1," + MAX_SAFE_COMPONENT_LENGTH + "}))?(?:$|[^\\d])";
94
- var LONETILDE = R++;
95
- src[LONETILDE] = "(?:~>?)";
96
- var TILDETRIM = R++;
97
- src[TILDETRIM] = "(\\s*)" + src[LONETILDE] + "\\s+";
98
- re[TILDETRIM] = new RegExp(src[TILDETRIM], "g");
99
- safeRe[TILDETRIM] = new RegExp(makeSafeRe(src[TILDETRIM]), "g");
100
- var tildeTrimReplace = "$1~";
101
- var TILDE = R++;
102
- src[TILDE] = "^" + src[LONETILDE] + src[XRANGEPLAIN] + "$";
103
- var TILDELOOSE = R++;
104
- src[TILDELOOSE] = "^" + src[LONETILDE] + src[XRANGEPLAINLOOSE] + "$";
105
- var LONECARET = R++;
106
- src[LONECARET] = "(?:\\^)";
107
- var CARETTRIM = R++;
108
- src[CARETTRIM] = "(\\s*)" + src[LONECARET] + "\\s+";
109
- re[CARETTRIM] = new RegExp(src[CARETTRIM], "g");
110
- safeRe[CARETTRIM] = new RegExp(makeSafeRe(src[CARETTRIM]), "g");
111
- var caretTrimReplace = "$1^";
112
- var CARET = R++;
113
- src[CARET] = "^" + src[LONECARET] + src[XRANGEPLAIN] + "$";
114
- var CARETLOOSE = R++;
115
- src[CARETLOOSE] = "^" + src[LONECARET] + src[XRANGEPLAINLOOSE] + "$";
116
- var COMPARATORLOOSE = R++;
117
- src[COMPARATORLOOSE] = "^" + src[GTLT] + "\\s*(" + LOOSEPLAIN + ")$|^$";
118
- var COMPARATOR = R++;
119
- src[COMPARATOR] = "^" + src[GTLT] + "\\s*(" + FULLPLAIN + ")$|^$";
120
- var COMPARATORTRIM = R++;
121
- src[COMPARATORTRIM] = "(\\s*)" + src[GTLT] + "\\s*(" + LOOSEPLAIN + "|" + src[XRANGEPLAIN] + ")";
122
- re[COMPARATORTRIM] = new RegExp(src[COMPARATORTRIM], "g");
123
- safeRe[COMPARATORTRIM] = new RegExp(makeSafeRe(src[COMPARATORTRIM]), "g");
124
- var comparatorTrimReplace = "$1$2$3";
125
- var HYPHENRANGE = R++;
126
- src[HYPHENRANGE] = "^\\s*(" + src[XRANGEPLAIN] + ")\\s+-\\s+(" + src[XRANGEPLAIN] + ")\\s*$";
127
- var HYPHENRANGELOOSE = R++;
128
- src[HYPHENRANGELOOSE] = "^\\s*(" + src[XRANGEPLAINLOOSE] + ")\\s+-\\s+(" + src[XRANGEPLAINLOOSE] + ")\\s*$";
129
- var STAR = R++;
130
- src[STAR] = "(<|>)?=?\\s*\\*";
131
- for (i = 0; i < R; i++) {
132
- debug(i, src[i]);
133
- if (!re[i]) {
134
- re[i] = new RegExp(src[i]);
135
- safeRe[i] = new RegExp(makeSafeRe(src[i]));
136
- }
137
- }
138
- var i;
139
- exports.parse = parse;
140
- function parse(version, options) {
141
- if (!options || typeof options !== "object") {
142
- options = {
143
- loose: !!options,
144
- includePrerelease: false
145
- };
146
- }
147
- if (version instanceof SemVer) {
148
- return version;
149
- }
150
- if (typeof version !== "string") {
151
- return null;
152
- }
153
- if (version.length > MAX_LENGTH) {
154
- return null;
155
- }
156
- var r = options.loose ? safeRe[LOOSE] : safeRe[FULL];
157
- if (!r.test(version)) {
158
- return null;
159
- }
160
- try {
161
- return new SemVer(version, options);
162
- } catch (er) {
163
- return null;
164
- }
165
- }
166
- exports.valid = valid;
167
- function valid(version, options) {
168
- var v = parse(version, options);
169
- return v ? v.version : null;
170
- }
171
- exports.clean = clean;
172
- function clean(version, options) {
173
- var s = parse(version.trim().replace(/^[=v]+/, ""), options);
174
- return s ? s.version : null;
175
- }
176
- exports.SemVer = SemVer;
177
- function SemVer(version, options) {
178
- if (!options || typeof options !== "object") {
179
- options = {
180
- loose: !!options,
181
- includePrerelease: false
182
- };
183
- }
184
- if (version instanceof SemVer) {
185
- if (version.loose === options.loose) {
186
- return version;
187
- } else {
188
- version = version.version;
189
- }
190
- } else if (typeof version !== "string") {
191
- throw new TypeError("Invalid Version: " + version);
192
- }
193
- if (version.length > MAX_LENGTH) {
194
- throw new TypeError("version is longer than " + MAX_LENGTH + " characters");
195
- }
196
- if (!(this instanceof SemVer)) {
197
- return new SemVer(version, options);
198
- }
199
- debug("SemVer", version, options);
200
- this.options = options;
201
- this.loose = !!options.loose;
202
- var m = version.trim().match(options.loose ? safeRe[LOOSE] : safeRe[FULL]);
203
- if (!m) {
204
- throw new TypeError("Invalid Version: " + version);
205
- }
206
- this.raw = version;
207
- this.major = +m[1];
208
- this.minor = +m[2];
209
- this.patch = +m[3];
210
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
211
- throw new TypeError("Invalid major version");
212
- }
213
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
214
- throw new TypeError("Invalid minor version");
215
- }
216
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
217
- throw new TypeError("Invalid patch version");
218
- }
219
- if (!m[4]) {
220
- this.prerelease = [];
221
- } else {
222
- this.prerelease = m[4].split(".").map(function(id) {
223
- if (/^[0-9]+$/.test(id)) {
224
- var num = +id;
225
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
226
- return num;
227
- }
228
- }
229
- return id;
230
- });
231
- }
232
- this.build = m[5] ? m[5].split(".") : [];
233
- this.format();
234
- }
235
- SemVer.prototype.format = function() {
236
- this.version = this.major + "." + this.minor + "." + this.patch;
237
- if (this.prerelease.length) {
238
- this.version += "-" + this.prerelease.join(".");
239
- }
240
- return this.version;
241
- };
242
- SemVer.prototype.toString = function() {
243
- return this.version;
244
- };
245
- SemVer.prototype.compare = function(other) {
246
- debug("SemVer.compare", this.version, this.options, other);
247
- if (!(other instanceof SemVer)) {
248
- other = new SemVer(other, this.options);
249
- }
250
- return this.compareMain(other) || this.comparePre(other);
251
- };
252
- SemVer.prototype.compareMain = function(other) {
253
- if (!(other instanceof SemVer)) {
254
- other = new SemVer(other, this.options);
255
- }
256
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
257
- };
258
- SemVer.prototype.comparePre = function(other) {
259
- if (!(other instanceof SemVer)) {
260
- other = new SemVer(other, this.options);
261
- }
262
- if (this.prerelease.length && !other.prerelease.length) {
263
- return -1;
264
- } else if (!this.prerelease.length && other.prerelease.length) {
265
- return 1;
266
- } else if (!this.prerelease.length && !other.prerelease.length) {
267
- return 0;
268
- }
269
- var i2 = 0;
270
- do {
271
- var a = this.prerelease[i2];
272
- var b = other.prerelease[i2];
273
- debug("prerelease compare", i2, a, b);
274
- if (a === void 0 && b === void 0) {
275
- return 0;
276
- } else if (b === void 0) {
277
- return 1;
278
- } else if (a === void 0) {
279
- return -1;
280
- } else if (a === b) {
281
- continue;
282
- } else {
283
- return compareIdentifiers(a, b);
284
- }
285
- } while (++i2);
286
- };
287
- SemVer.prototype.inc = function(release, identifier) {
288
- switch (release) {
289
- case "premajor":
290
- this.prerelease.length = 0;
291
- this.patch = 0;
292
- this.minor = 0;
293
- this.major++;
294
- this.inc("pre", identifier);
295
- break;
296
- case "preminor":
297
- this.prerelease.length = 0;
298
- this.patch = 0;
299
- this.minor++;
300
- this.inc("pre", identifier);
301
- break;
302
- case "prepatch":
303
- this.prerelease.length = 0;
304
- this.inc("patch", identifier);
305
- this.inc("pre", identifier);
306
- break;
307
- case "prerelease":
308
- if (this.prerelease.length === 0) {
309
- this.inc("patch", identifier);
310
- }
311
- this.inc("pre", identifier);
312
- break;
313
- case "major":
314
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
315
- this.major++;
316
- }
317
- this.minor = 0;
318
- this.patch = 0;
319
- this.prerelease = [];
320
- break;
321
- case "minor":
322
- if (this.patch !== 0 || this.prerelease.length === 0) {
323
- this.minor++;
324
- }
325
- this.patch = 0;
326
- this.prerelease = [];
327
- break;
328
- case "patch":
329
- if (this.prerelease.length === 0) {
330
- this.patch++;
331
- }
332
- this.prerelease = [];
333
- break;
334
- case "pre":
335
- if (this.prerelease.length === 0) {
336
- this.prerelease = [0];
337
- } else {
338
- var i2 = this.prerelease.length;
339
- while (--i2 >= 0) {
340
- if (typeof this.prerelease[i2] === "number") {
341
- this.prerelease[i2]++;
342
- i2 = -2;
343
- }
344
- }
345
- if (i2 === -1) {
346
- this.prerelease.push(0);
347
- }
348
- }
349
- if (identifier) {
350
- if (this.prerelease[0] === identifier) {
351
- if (isNaN(this.prerelease[1])) {
352
- this.prerelease = [identifier, 0];
353
- }
354
- } else {
355
- this.prerelease = [identifier, 0];
356
- }
357
- }
358
- break;
359
- default:
360
- throw new Error("invalid increment argument: " + release);
361
- }
362
- this.format();
363
- this.raw = this.version;
364
- return this;
365
- };
366
- exports.inc = inc;
367
- function inc(version, release, loose, identifier) {
368
- if (typeof loose === "string") {
369
- identifier = loose;
370
- loose = void 0;
371
- }
372
- try {
373
- return new SemVer(version, loose).inc(release, identifier).version;
374
- } catch (er) {
375
- return null;
376
- }
377
- }
378
- exports.diff = diff;
379
- function diff(version1, version2) {
380
- if (eq(version1, version2)) {
381
- return null;
382
- } else {
383
- var v1 = parse(version1);
384
- var v2 = parse(version2);
385
- var prefix = "";
386
- if (v1.prerelease.length || v2.prerelease.length) {
387
- prefix = "pre";
388
- var defaultResult = "prerelease";
389
- }
390
- for (var key in v1) {
391
- if (key === "major" || key === "minor" || key === "patch") {
392
- if (v1[key] !== v2[key]) {
393
- return prefix + key;
394
- }
395
- }
396
- }
397
- return defaultResult;
398
- }
399
- }
400
- exports.compareIdentifiers = compareIdentifiers;
401
- var numeric = /^[0-9]+$/;
402
- function compareIdentifiers(a, b) {
403
- var anum = numeric.test(a);
404
- var bnum = numeric.test(b);
405
- if (anum && bnum) {
406
- a = +a;
407
- b = +b;
408
- }
409
- return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
410
- }
411
- exports.rcompareIdentifiers = rcompareIdentifiers;
412
- function rcompareIdentifiers(a, b) {
413
- return compareIdentifiers(b, a);
414
- }
415
- exports.major = major;
416
- function major(a, loose) {
417
- return new SemVer(a, loose).major;
418
- }
419
- exports.minor = minor;
420
- function minor(a, loose) {
421
- return new SemVer(a, loose).minor;
422
- }
423
- exports.patch = patch;
424
- function patch(a, loose) {
425
- return new SemVer(a, loose).patch;
426
- }
427
- exports.compare = compare;
428
- function compare(a, b, loose) {
429
- return new SemVer(a, loose).compare(new SemVer(b, loose));
430
- }
431
- exports.compareLoose = compareLoose;
432
- function compareLoose(a, b) {
433
- return compare(a, b, true);
434
- }
435
- exports.rcompare = rcompare;
436
- function rcompare(a, b, loose) {
437
- return compare(b, a, loose);
438
- }
439
- exports.sort = sort;
440
- function sort(list, loose) {
441
- return list.sort(function(a, b) {
442
- return exports.compare(a, b, loose);
443
- });
444
- }
445
- exports.rsort = rsort;
446
- function rsort(list, loose) {
447
- return list.sort(function(a, b) {
448
- return exports.rcompare(a, b, loose);
449
- });
450
- }
451
- exports.gt = gt;
452
- function gt(a, b, loose) {
453
- return compare(a, b, loose) > 0;
454
- }
455
- exports.lt = lt;
456
- function lt(a, b, loose) {
457
- return compare(a, b, loose) < 0;
458
- }
459
- exports.eq = eq;
460
- function eq(a, b, loose) {
461
- return compare(a, b, loose) === 0;
462
- }
463
- exports.neq = neq;
464
- function neq(a, b, loose) {
465
- return compare(a, b, loose) !== 0;
466
- }
467
- exports.gte = gte;
468
- function gte(a, b, loose) {
469
- return compare(a, b, loose) >= 0;
470
- }
471
- exports.lte = lte;
472
- function lte(a, b, loose) {
473
- return compare(a, b, loose) <= 0;
474
- }
475
- exports.cmp = cmp;
476
- function cmp(a, op, b, loose) {
477
- switch (op) {
478
- case "===":
479
- if (typeof a === "object")
480
- a = a.version;
481
- if (typeof b === "object")
482
- b = b.version;
483
- return a === b;
484
- case "!==":
485
- if (typeof a === "object")
486
- a = a.version;
487
- if (typeof b === "object")
488
- b = b.version;
489
- return a !== b;
490
- case "":
491
- case "=":
492
- case "==":
493
- return eq(a, b, loose);
494
- case "!=":
495
- return neq(a, b, loose);
496
- case ">":
497
- return gt(a, b, loose);
498
- case ">=":
499
- return gte(a, b, loose);
500
- case "<":
501
- return lt(a, b, loose);
502
- case "<=":
503
- return lte(a, b, loose);
504
- default:
505
- throw new TypeError("Invalid operator: " + op);
506
- }
507
- }
508
- exports.Comparator = Comparator;
509
- function Comparator(comp, options) {
510
- if (!options || typeof options !== "object") {
511
- options = {
512
- loose: !!options,
513
- includePrerelease: false
514
- };
515
- }
516
- if (comp instanceof Comparator) {
517
- if (comp.loose === !!options.loose) {
518
- return comp;
519
- } else {
520
- comp = comp.value;
521
- }
522
- }
523
- if (!(this instanceof Comparator)) {
524
- return new Comparator(comp, options);
525
- }
526
- comp = comp.trim().split(/\s+/).join(" ");
527
- debug("comparator", comp, options);
528
- this.options = options;
529
- this.loose = !!options.loose;
530
- this.parse(comp);
531
- if (this.semver === ANY) {
532
- this.value = "";
533
- } else {
534
- this.value = this.operator + this.semver.version;
535
- }
536
- debug("comp", this);
537
- }
538
- var ANY = {};
539
- Comparator.prototype.parse = function(comp) {
540
- var r = this.options.loose ? safeRe[COMPARATORLOOSE] : safeRe[COMPARATOR];
541
- var m = comp.match(r);
542
- if (!m) {
543
- throw new TypeError("Invalid comparator: " + comp);
544
- }
545
- this.operator = m[1];
546
- if (this.operator === "=") {
547
- this.operator = "";
548
- }
549
- if (!m[2]) {
550
- this.semver = ANY;
551
- } else {
552
- this.semver = new SemVer(m[2], this.options.loose);
553
- }
554
- };
555
- Comparator.prototype.toString = function() {
556
- return this.value;
557
- };
558
- Comparator.prototype.test = function(version) {
559
- debug("Comparator.test", version, this.options.loose);
560
- if (this.semver === ANY) {
561
- return true;
562
- }
563
- if (typeof version === "string") {
564
- version = new SemVer(version, this.options);
565
- }
566
- return cmp(version, this.operator, this.semver, this.options);
567
- };
568
- Comparator.prototype.intersects = function(comp, options) {
569
- if (!(comp instanceof Comparator)) {
570
- throw new TypeError("a Comparator is required");
571
- }
572
- if (!options || typeof options !== "object") {
573
- options = {
574
- loose: !!options,
575
- includePrerelease: false
576
- };
577
- }
578
- var rangeTmp;
579
- if (this.operator === "") {
580
- rangeTmp = new Range(comp.value, options);
581
- return satisfies(this.value, rangeTmp, options);
582
- } else if (comp.operator === "") {
583
- rangeTmp = new Range(this.value, options);
584
- return satisfies(comp.semver, rangeTmp, options);
585
- }
586
- var sameDirectionIncreasing = (this.operator === ">=" || this.operator === ">") && (comp.operator === ">=" || comp.operator === ">");
587
- var sameDirectionDecreasing = (this.operator === "<=" || this.operator === "<") && (comp.operator === "<=" || comp.operator === "<");
588
- var sameSemVer = this.semver.version === comp.semver.version;
589
- var differentDirectionsInclusive = (this.operator === ">=" || this.operator === "<=") && (comp.operator === ">=" || comp.operator === "<=");
590
- var oppositeDirectionsLessThan = cmp(this.semver, "<", comp.semver, options) && ((this.operator === ">=" || this.operator === ">") && (comp.operator === "<=" || comp.operator === "<"));
591
- var oppositeDirectionsGreaterThan = cmp(this.semver, ">", comp.semver, options) && ((this.operator === "<=" || this.operator === "<") && (comp.operator === ">=" || comp.operator === ">"));
592
- return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;
593
- };
594
- exports.Range = Range;
595
- function Range(range, options) {
596
- if (!options || typeof options !== "object") {
597
- options = {
598
- loose: !!options,
599
- includePrerelease: false
600
- };
601
- }
602
- if (range instanceof Range) {
603
- if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
604
- return range;
605
- } else {
606
- return new Range(range.raw, options);
607
- }
608
- }
609
- if (range instanceof Comparator) {
610
- return new Range(range.value, options);
611
- }
612
- if (!(this instanceof Range)) {
613
- return new Range(range, options);
614
- }
615
- this.options = options;
616
- this.loose = !!options.loose;
617
- this.includePrerelease = !!options.includePrerelease;
618
- this.raw = range.trim().split(/\s+/).join(" ");
619
- this.set = this.raw.split("||").map(function(range2) {
620
- return this.parseRange(range2.trim());
621
- }, this).filter(function(c) {
622
- return c.length;
623
- });
624
- if (!this.set.length) {
625
- throw new TypeError("Invalid SemVer Range: " + this.raw);
626
- }
627
- this.format();
628
- }
629
- Range.prototype.format = function() {
630
- this.range = this.set.map(function(comps) {
631
- return comps.join(" ").trim();
632
- }).join("||").trim();
633
- return this.range;
634
- };
635
- Range.prototype.toString = function() {
636
- return this.range;
637
- };
638
- Range.prototype.parseRange = function(range) {
639
- var loose = this.options.loose;
640
- var hr = loose ? safeRe[HYPHENRANGELOOSE] : safeRe[HYPHENRANGE];
641
- range = range.replace(hr, hyphenReplace);
642
- debug("hyphen replace", range);
643
- range = range.replace(safeRe[COMPARATORTRIM], comparatorTrimReplace);
644
- debug("comparator trim", range, safeRe[COMPARATORTRIM]);
645
- range = range.replace(safeRe[TILDETRIM], tildeTrimReplace);
646
- range = range.replace(safeRe[CARETTRIM], caretTrimReplace);
647
- var compRe = loose ? safeRe[COMPARATORLOOSE] : safeRe[COMPARATOR];
648
- var set = range.split(" ").map(function(comp) {
649
- return parseComparator(comp, this.options);
650
- }, this).join(" ").split(/\s+/);
651
- if (this.options.loose) {
652
- set = set.filter(function(comp) {
653
- return !!comp.match(compRe);
654
- });
655
- }
656
- set = set.map(function(comp) {
657
- return new Comparator(comp, this.options);
658
- }, this);
659
- return set;
660
- };
661
- Range.prototype.intersects = function(range, options) {
662
- if (!(range instanceof Range)) {
663
- throw new TypeError("a Range is required");
664
- }
665
- return this.set.some(function(thisComparators) {
666
- return thisComparators.every(function(thisComparator) {
667
- return range.set.some(function(rangeComparators) {
668
- return rangeComparators.every(function(rangeComparator) {
669
- return thisComparator.intersects(rangeComparator, options);
670
- });
671
- });
672
- });
673
- });
674
- };
675
- exports.toComparators = toComparators;
676
- function toComparators(range, options) {
677
- return new Range(range, options).set.map(function(comp) {
678
- return comp.map(function(c) {
679
- return c.value;
680
- }).join(" ").trim().split(" ");
681
- });
682
- }
683
- function parseComparator(comp, options) {
684
- debug("comp", comp, options);
685
- comp = replaceCarets(comp, options);
686
- debug("caret", comp);
687
- comp = replaceTildes(comp, options);
688
- debug("tildes", comp);
689
- comp = replaceXRanges(comp, options);
690
- debug("xrange", comp);
691
- comp = replaceStars(comp, options);
692
- debug("stars", comp);
693
- return comp;
694
- }
695
- function isX(id) {
696
- return !id || id.toLowerCase() === "x" || id === "*";
697
- }
698
- function replaceTildes(comp, options) {
699
- return comp.trim().split(/\s+/).map(function(comp2) {
700
- return replaceTilde(comp2, options);
701
- }).join(" ");
702
- }
703
- function replaceTilde(comp, options) {
704
- var r = options.loose ? safeRe[TILDELOOSE] : safeRe[TILDE];
705
- return comp.replace(r, function(_, M, m, p, pr) {
706
- debug("tilde", comp, _, M, m, p, pr);
707
- var ret;
708
- if (isX(M)) {
709
- ret = "";
710
- } else if (isX(m)) {
711
- ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
712
- } else if (isX(p)) {
713
- ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
714
- } else if (pr) {
715
- debug("replaceTilde pr", pr);
716
- ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + (+m + 1) + ".0";
717
- } else {
718
- ret = ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0";
719
- }
720
- debug("tilde return", ret);
721
- return ret;
722
- });
723
- }
724
- function replaceCarets(comp, options) {
725
- return comp.trim().split(/\s+/).map(function(comp2) {
726
- return replaceCaret(comp2, options);
727
- }).join(" ");
728
- }
729
- function replaceCaret(comp, options) {
730
- debug("caret", comp, options);
731
- var r = options.loose ? safeRe[CARETLOOSE] : safeRe[CARET];
732
- return comp.replace(r, function(_, M, m, p, pr) {
733
- debug("caret", comp, _, M, m, p, pr);
734
- var ret;
735
- if (isX(M)) {
736
- ret = "";
737
- } else if (isX(m)) {
738
- ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
739
- } else if (isX(p)) {
740
- if (M === "0") {
741
- ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
742
- } else {
743
- ret = ">=" + M + "." + m + ".0 <" + (+M + 1) + ".0.0";
744
- }
745
- } else if (pr) {
746
- debug("replaceCaret pr", pr);
747
- if (M === "0") {
748
- if (m === "0") {
749
- ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + m + "." + (+p + 1);
750
- } else {
751
- ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + M + "." + (+m + 1) + ".0";
752
- }
753
- } else {
754
- ret = ">=" + M + "." + m + "." + p + "-" + pr + " <" + (+M + 1) + ".0.0";
755
- }
756
- } else {
757
- debug("no pr");
758
- if (M === "0") {
759
- if (m === "0") {
760
- ret = ">=" + M + "." + m + "." + p + " <" + M + "." + m + "." + (+p + 1);
761
- } else {
762
- ret = ">=" + M + "." + m + "." + p + " <" + M + "." + (+m + 1) + ".0";
763
- }
764
- } else {
765
- ret = ">=" + M + "." + m + "." + p + " <" + (+M + 1) + ".0.0";
766
- }
767
- }
768
- debug("caret return", ret);
769
- return ret;
770
- });
771
- }
772
- function replaceXRanges(comp, options) {
773
- debug("replaceXRanges", comp, options);
774
- return comp.split(/\s+/).map(function(comp2) {
775
- return replaceXRange(comp2, options);
776
- }).join(" ");
777
- }
778
- function replaceXRange(comp, options) {
779
- comp = comp.trim();
780
- var r = options.loose ? safeRe[XRANGELOOSE] : safeRe[XRANGE];
781
- return comp.replace(r, function(ret, gtlt, M, m, p, pr) {
782
- debug("xRange", comp, ret, gtlt, M, m, p, pr);
783
- var xM = isX(M);
784
- var xm = xM || isX(m);
785
- var xp = xm || isX(p);
786
- var anyX = xp;
787
- if (gtlt === "=" && anyX) {
788
- gtlt = "";
789
- }
790
- if (xM) {
791
- if (gtlt === ">" || gtlt === "<") {
792
- ret = "<0.0.0";
793
- } else {
794
- ret = "*";
795
- }
796
- } else if (gtlt && anyX) {
797
- if (xm) {
798
- m = 0;
799
- }
800
- p = 0;
801
- if (gtlt === ">") {
802
- gtlt = ">=";
803
- if (xm) {
804
- M = +M + 1;
805
- m = 0;
806
- p = 0;
807
- } else {
808
- m = +m + 1;
809
- p = 0;
810
- }
811
- } else if (gtlt === "<=") {
812
- gtlt = "<";
813
- if (xm) {
814
- M = +M + 1;
815
- } else {
816
- m = +m + 1;
817
- }
818
- }
819
- ret = gtlt + M + "." + m + "." + p;
820
- } else if (xm) {
821
- ret = ">=" + M + ".0.0 <" + (+M + 1) + ".0.0";
822
- } else if (xp) {
823
- ret = ">=" + M + "." + m + ".0 <" + M + "." + (+m + 1) + ".0";
824
- }
825
- debug("xRange return", ret);
826
- return ret;
827
- });
828
- }
829
- function replaceStars(comp, options) {
830
- debug("replaceStars", comp, options);
831
- return comp.trim().replace(safeRe[STAR], "");
832
- }
833
- function hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {
834
- if (isX(fM)) {
835
- from = "";
836
- } else if (isX(fm)) {
837
- from = ">=" + fM + ".0.0";
838
- } else if (isX(fp)) {
839
- from = ">=" + fM + "." + fm + ".0";
840
- } else {
841
- from = ">=" + from;
842
- }
843
- if (isX(tM)) {
844
- to = "";
845
- } else if (isX(tm)) {
846
- to = "<" + (+tM + 1) + ".0.0";
847
- } else if (isX(tp)) {
848
- to = "<" + tM + "." + (+tm + 1) + ".0";
849
- } else if (tpr) {
850
- to = "<=" + tM + "." + tm + "." + tp + "-" + tpr;
851
- } else {
852
- to = "<=" + to;
853
- }
854
- return (from + " " + to).trim();
855
- }
856
- Range.prototype.test = function(version) {
857
- if (!version) {
858
- return false;
859
- }
860
- if (typeof version === "string") {
861
- version = new SemVer(version, this.options);
862
- }
863
- for (var i2 = 0; i2 < this.set.length; i2++) {
864
- if (testSet(this.set[i2], version, this.options)) {
865
- return true;
866
- }
867
- }
868
- return false;
869
- };
870
- function testSet(set, version, options) {
871
- for (var i2 = 0; i2 < set.length; i2++) {
872
- if (!set[i2].test(version)) {
873
- return false;
874
- }
875
- }
876
- if (version.prerelease.length && !options.includePrerelease) {
877
- for (i2 = 0; i2 < set.length; i2++) {
878
- debug(set[i2].semver);
879
- if (set[i2].semver === ANY) {
880
- continue;
881
- }
882
- if (set[i2].semver.prerelease.length > 0) {
883
- var allowed = set[i2].semver;
884
- if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
885
- return true;
886
- }
887
- }
888
- }
889
- return false;
890
- }
891
- return true;
892
- }
893
- exports.satisfies = satisfies;
894
- function satisfies(version, range, options) {
895
- try {
896
- range = new Range(range, options);
897
- } catch (er) {
898
- return false;
899
- }
900
- return range.test(version);
901
- }
902
- exports.maxSatisfying = maxSatisfying;
903
- function maxSatisfying(versions, range, options) {
904
- var max = null;
905
- var maxSV = null;
906
- try {
907
- var rangeObj = new Range(range, options);
908
- } catch (er) {
909
- return null;
910
- }
911
- versions.forEach(function(v) {
912
- if (rangeObj.test(v)) {
913
- if (!max || maxSV.compare(v) === -1) {
914
- max = v;
915
- maxSV = new SemVer(max, options);
916
- }
917
- }
918
- });
919
- return max;
920
- }
921
- exports.minSatisfying = minSatisfying;
922
- function minSatisfying(versions, range, options) {
923
- var min = null;
924
- var minSV = null;
925
- try {
926
- var rangeObj = new Range(range, options);
927
- } catch (er) {
928
- return null;
929
- }
930
- versions.forEach(function(v) {
931
- if (rangeObj.test(v)) {
932
- if (!min || minSV.compare(v) === 1) {
933
- min = v;
934
- minSV = new SemVer(min, options);
935
- }
936
- }
937
- });
938
- return min;
939
- }
940
- exports.minVersion = minVersion;
941
- function minVersion(range, loose) {
942
- range = new Range(range, loose);
943
- var minver = new SemVer("0.0.0");
944
- if (range.test(minver)) {
945
- return minver;
946
- }
947
- minver = new SemVer("0.0.0-0");
948
- if (range.test(minver)) {
949
- return minver;
950
- }
951
- minver = null;
952
- for (var i2 = 0; i2 < range.set.length; ++i2) {
953
- var comparators = range.set[i2];
954
- comparators.forEach(function(comparator) {
955
- var compver = new SemVer(comparator.semver.version);
956
- switch (comparator.operator) {
957
- case ">":
958
- if (compver.prerelease.length === 0) {
959
- compver.patch++;
960
- } else {
961
- compver.prerelease.push(0);
962
- }
963
- compver.raw = compver.format();
964
- case "":
965
- case ">=":
966
- if (!minver || gt(minver, compver)) {
967
- minver = compver;
968
- }
969
- break;
970
- case "<":
971
- case "<=":
972
- break;
973
- default:
974
- throw new Error("Unexpected operation: " + comparator.operator);
975
- }
976
- });
977
- }
978
- if (minver && range.test(minver)) {
979
- return minver;
980
- }
981
- return null;
982
- }
983
- exports.validRange = validRange;
984
- function validRange(range, options) {
985
- try {
986
- return new Range(range, options).range || "*";
987
- } catch (er) {
988
- return null;
989
- }
990
- }
991
- exports.ltr = ltr;
992
- function ltr(version, range, options) {
993
- return outside(version, range, "<", options);
994
- }
995
- exports.gtr = gtr;
996
- function gtr(version, range, options) {
997
- return outside(version, range, ">", options);
998
- }
999
- exports.outside = outside;
1000
- function outside(version, range, hilo, options) {
1001
- version = new SemVer(version, options);
1002
- range = new Range(range, options);
1003
- var gtfn, ltefn, ltfn, comp, ecomp;
1004
- switch (hilo) {
1005
- case ">":
1006
- gtfn = gt;
1007
- ltefn = lte;
1008
- ltfn = lt;
1009
- comp = ">";
1010
- ecomp = ">=";
1011
- break;
1012
- case "<":
1013
- gtfn = lt;
1014
- ltefn = gte;
1015
- ltfn = gt;
1016
- comp = "<";
1017
- ecomp = "<=";
1018
- break;
1019
- default:
1020
- throw new TypeError('Must provide a hilo val of "<" or ">"');
1021
- }
1022
- if (satisfies(version, range, options)) {
1023
- return false;
1024
- }
1025
- for (var i2 = 0; i2 < range.set.length; ++i2) {
1026
- var comparators = range.set[i2];
1027
- var high = null;
1028
- var low = null;
1029
- comparators.forEach(function(comparator) {
1030
- if (comparator.semver === ANY) {
1031
- comparator = new Comparator(">=0.0.0");
1032
- }
1033
- high = high || comparator;
1034
- low = low || comparator;
1035
- if (gtfn(comparator.semver, high.semver, options)) {
1036
- high = comparator;
1037
- } else if (ltfn(comparator.semver, low.semver, options)) {
1038
- low = comparator;
1039
- }
1040
- });
1041
- if (high.operator === comp || high.operator === ecomp) {
1042
- return false;
1043
- }
1044
- if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
1045
- return false;
1046
- } else if (low.operator === ecomp && ltfn(version, low.semver)) {
1047
- return false;
1048
- }
1049
- }
1050
- return true;
1051
- }
1052
- exports.prerelease = prerelease;
1053
- function prerelease(version, options) {
1054
- var parsed = parse(version, options);
1055
- return parsed && parsed.prerelease.length ? parsed.prerelease : null;
1056
- }
1057
- exports.intersects = intersects;
1058
- function intersects(r1, r2, options) {
1059
- r1 = new Range(r1, options);
1060
- r2 = new Range(r2, options);
1061
- return r1.intersects(r2);
1062
- }
1063
- exports.coerce = coerce;
1064
- function coerce(version) {
1065
- if (version instanceof SemVer) {
1066
- return version;
1067
- }
1068
- if (typeof version !== "string") {
1069
- return null;
1070
- }
1071
- var match = version.match(safeRe[COERCE]);
1072
- if (match == null) {
1073
- return null;
1074
- }
1075
- return parse(match[1] + "." + (match[2] || "0") + "." + (match[3] || "0"));
1076
- }
1077
- }
1078
- });
1079
-
1080
- export {
1081
- require_semver
1082
- };