@shopify/cli 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acorn-QBS5IYTX.js → acorn-7M27BPGP.js} +1 -1
- package/dist/analytics-JH64XI2J.js +1 -0
- package/dist/analytics-MEGKKFGF.js +1 -0
- package/dist/{angular-UTTM4Y4S.js → angular-DW5TQVCM.js} +1 -1
- package/dist/{babel-JS32NLHY.js → babel-I2RLWM7N.js} +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/{chokidar-G4ONJSK4.js → chokidar-VDIVGBZH.js} +1 -1
- package/dist/{chunk-NBYS6YQ2.js → chunk-25HJX3L2.js} +1 -1
- package/dist/{chunk-ZZYFG22L.js → chunk-2EHBJWC6.js} +1 -1
- package/dist/{chunk-INFBVFMU.js → chunk-2GAFKG64.js} +1 -1
- package/dist/{chunk-F6T3UBBL.js → chunk-2GU7OY3H.js} +1 -1
- package/dist/{chunk-MIO2CV3Q.js → chunk-2K7FGAT6.js} +1 -1
- package/dist/{chunk-PRVQAHWI.js → chunk-2O22LZKV.js} +1 -1
- package/dist/{chunk-MKE434RB.js → chunk-2RBIR3NM.js} +1 -1
- package/dist/{chunk-4Z2WYNTE.js → chunk-2TMQG2UT.js} +1 -1
- package/dist/{chunk-FTN7Y6HD.js → chunk-2XZBQZ5R.js} +1 -1
- package/dist/{chunk-J6VTZEE2.js → chunk-33OHQUHZ.js} +1 -1
- package/dist/chunk-3AOQKI4B.js +1 -0
- package/dist/{chunk-4EXYYBQ6.js → chunk-3SPDFV5D.js} +1 -1
- package/dist/{chunk-X2TC7S57.js → chunk-3YDYZ232.js} +2 -2
- package/dist/{chunk-FFYYJKF7.js → chunk-4FFPTEKD.js} +1 -1
- package/dist/{chunk-IWCPQD7X.js → chunk-4J32OHLY.js} +1 -1
- package/dist/chunk-4QTEPWEJ.js +283 -0
- package/dist/{chunk-QLQGHMVU.js → chunk-57PPQKJT.js} +1 -1
- package/dist/{chunk-DCK2FX6J.js → chunk-5BKCIDMS.js} +1 -1
- package/dist/{chunk-JUVAGMIH.js → chunk-5C7HDTHJ.js} +1 -1
- package/dist/{chunk-A6X2IVGT.js → chunk-5FFHQTRC.js} +1 -1
- package/dist/{chunk-UCLSPAVX.js → chunk-5FVB7JHP.js} +1 -1
- package/dist/{chunk-HD5TYIDZ.js → chunk-5H3VTG77.js} +1 -1
- package/dist/{chunk-6TEXPRI2.js → chunk-5O43334U.js} +1 -1
- package/dist/{chunk-MZJRNFAU.js → chunk-5XDQ76DQ.js} +1 -1
- package/dist/{chunk-PD5ZHJWI.js → chunk-636CTEW7.js} +1 -1
- package/dist/chunk-6JKGUQRD.js +1 -0
- package/dist/chunk-6KETAPWL.js +1 -0
- package/dist/{chunk-UOQQNAHX.js → chunk-6LWOWDF4.js} +1 -1
- package/dist/{chunk-CE6FKJFS.js → chunk-7572RLUP.js} +1 -1
- package/dist/{chunk-XFKCDWXB.js → chunk-762JWOWJ.js} +1 -1
- package/dist/{chunk-IU2ZQ6TE.js → chunk-773TIA5M.js} +1 -1
- package/dist/{chunk-23AMFHXC.js → chunk-7D45IAMQ.js} +1 -1
- package/dist/{chunk-VPL2NDH6.js → chunk-7FQFEB33.js} +5 -5
- package/dist/{chunk-BPVZ7E63.js → chunk-7LV55VWE.js} +1 -1
- package/dist/{chunk-QUTQDXSL.js → chunk-7UNQOKZW.js} +1 -1
- package/dist/{chunk-IWE4RUI7.js → chunk-A27NZMWB.js} +1 -1
- package/dist/{chunk-7JESXDF2.js → chunk-A4SBXDZB.js} +1 -1
- package/dist/{chunk-AP3RFOPL.js → chunk-A5HKAMAC.js} +1 -1
- package/dist/{chunk-Z35BTAM6.js → chunk-AAK376RT.js} +1 -1
- package/dist/{chunk-DNLOSMHL.js → chunk-AERKD4TO.js} +1 -1
- package/dist/{chunk-WUK5NQSX.js → chunk-ANBOLDON.js} +2 -2
- package/dist/{chunk-TLSAQ6FG.js → chunk-AO3RFGNV.js} +1 -1
- package/dist/{chunk-KU5OPV7U.js → chunk-ATSMK66C.js} +1 -1
- package/dist/{chunk-LTWXTDDR.js → chunk-AU5EZQW7.js} +1 -1
- package/dist/{chunk-2YXKZWYW.js → chunk-AVD3INWF.js} +1 -1
- package/dist/chunk-AWEB5AQM.js +1 -0
- package/dist/{chunk-X4CV6TRE.js → chunk-AXNAGI32.js} +1 -1
- package/dist/{chunk-FQDRVPCY.js → chunk-BL46CZ2M.js} +1 -1
- package/dist/{chunk-OKOYLEA7.js → chunk-BQWK3C47.js} +3 -3
- package/dist/{chunk-C3LZPAAH.js → chunk-CEHXOWA6.js} +1 -1
- package/dist/{chunk-N5ROZKPZ.js → chunk-CFOXXOO2.js} +1 -1
- package/dist/{chunk-PIBY5DDZ.js → chunk-CRALWNNO.js} +1 -1
- package/dist/{chunk-NO5KVFTV.js → chunk-CV5EQGES.js} +3 -3
- package/dist/{chunk-H4W4DFKK.js → chunk-CX5CC6P5.js} +1 -1
- package/dist/{chunk-OKNBZSGN.js → chunk-DCLUZFT7.js} +1 -1
- package/dist/{chunk-2EJCY4CE.js → chunk-DNXYKGV2.js} +1 -1
- package/dist/{chunk-IOQQUHST.js → chunk-DTIWUT2T.js} +1 -1
- package/dist/{chunk-6TORWTD7.js → chunk-DYNH5SKT.js} +1 -1
- package/dist/{chunk-D3DDLLNF.js → chunk-DZQYG32N.js} +1 -1
- package/dist/{chunk-QTGMS62F.js → chunk-E7DHELFH.js} +1 -1
- package/dist/{chunk-PUTZFF2Z.js → chunk-EH7ZTFS4.js} +3 -3
- package/dist/{chunk-YS6VOQ7I.js → chunk-EJDWYASP.js} +1 -1
- package/dist/chunk-EKVTNWHM.js +1 -0
- package/dist/{chunk-6M3ZYNGO.js → chunk-ET2CGROE.js} +1 -1
- package/dist/{chunk-6ZIOYXEF.js → chunk-EVZA2TCI.js} +1 -1
- package/dist/{chunk-QSTEVZFQ.js → chunk-F3TMLDLC.js} +1 -1
- package/dist/{chunk-CW7WJZKR.js → chunk-FIYAECXH.js} +1 -1
- package/dist/{chunk-WDC3KIZT.js → chunk-FKIVKNOV.js} +1 -1
- package/dist/{chunk-7DVOSOEP.js → chunk-FOFJBRSL.js} +1 -1
- package/dist/{chunk-D656BV5Z.js → chunk-FQ5ZZX2G.js} +1 -1
- package/dist/{chunk-6YHJ554P.js → chunk-G2LVUM7N.js} +1 -1
- package/dist/{chunk-NPM3MFB3.js → chunk-G2OHWAY2.js} +1 -1
- package/dist/chunk-G3JJLXPH.js +1 -0
- package/dist/{chunk-57N2DFIF.js → chunk-G3RWLAOG.js} +1 -1
- package/dist/{chunk-4V4DQ6W7.js → chunk-G4OQABDT.js} +30 -30
- package/dist/{chunk-KLMDWDT2.js → chunk-GB3YC4TI.js} +1 -1
- package/dist/{chunk-OCOY5MV2.js → chunk-GCN4O7HM.js} +1 -1
- package/dist/{chunk-2N4O33VM.js → chunk-GDHD3TGC.js} +1 -1
- package/dist/{chunk-N3YWHJMB.js → chunk-GJXINXSU.js} +2 -2
- package/dist/{chunk-RAH5NW3R.js → chunk-GWHV62YT.js} +1 -1
- package/dist/{chunk-VA5IUGZV.js → chunk-HCTZN7L4.js} +1 -1
- package/dist/{chunk-LITB5QQX.js → chunk-HDC5V7RY.js} +1 -1
- package/dist/{chunk-K7K6GNF6.js → chunk-HIQHYPLU.js} +1 -1
- package/dist/{chunk-VEDZUOVI.js → chunk-HOSFU6UP.js} +3 -3
- package/dist/{chunk-HSYRYSX4.js → chunk-I22ZTRKK.js} +1 -1
- package/dist/{chunk-KLA7AWG6.js → chunk-I4R7TML2.js} +1 -1
- package/dist/{chunk-EENHXSWU.js → chunk-I5A6BPCP.js} +1 -1
- package/dist/{chunk-TNQXTZAX.js → chunk-IWOTLFOY.js} +1 -1
- package/dist/{chunk-PBTXPBI6.js → chunk-J3H4LPN6.js} +3 -3
- package/dist/{chunk-6HZTMQD6.js → chunk-J3HX6ZGD.js} +1 -1
- package/dist/{chunk-OYP7DKPU.js → chunk-J3JPJCWP.js} +1 -1
- package/dist/{chunk-E2YBU6D3.js → chunk-J5BRKYGE.js} +2 -2
- package/dist/{chunk-5TIJLYZU.js → chunk-JAWKLBOB.js} +1 -1
- package/dist/{chunk-6AJZKIZ3.js → chunk-JAWOP4HJ.js} +1 -1
- package/dist/{chunk-TQGTEVSR.js → chunk-JCIN73BE.js} +1 -1
- package/dist/{chunk-C6ABJCRG.js → chunk-JEZ3PGVC.js} +1 -1
- package/dist/{chunk-TGACBJIY.js → chunk-JJ6RM54S.js} +1 -1
- package/dist/{chunk-TXUTT6UA.js → chunk-JK3NIHTX.js} +1 -1
- package/dist/{chunk-OLOBQ42K.js → chunk-JLE4NBMT.js} +1 -1
- package/dist/{chunk-7KJ5TBWG.js → chunk-JSOGPMWB.js} +1 -1
- package/dist/{chunk-L2VSSINY.js → chunk-JUYJZUYU.js} +1 -1
- package/dist/chunk-KRQGLK2Q.js +3 -0
- package/dist/{chunk-3VZEETAV.js → chunk-KRZABRYT.js} +1 -1
- package/dist/{chunk-FBVBO5YQ.js → chunk-L2PC4MUV.js} +1 -1
- package/dist/{chunk-SSM346XI.js → chunk-LCZDC6EE.js} +1 -1
- package/dist/{chunk-NEZEHBT2.js → chunk-LXVORHCQ.js} +1 -1
- package/dist/{chunk-DERA4K6A.js → chunk-M2YINBHF.js} +1 -1
- package/dist/{chunk-VT77EFRL.js → chunk-M7YFD4EV.js} +6 -6
- package/dist/{chunk-DCBYHVKW.js → chunk-MEIEEENL.js} +1 -1
- package/dist/{chunk-7BFDUVOG.js → chunk-MIDYZPO4.js} +1 -1
- package/dist/{chunk-I3LX25MB.js → chunk-MINZGZ4N.js} +1 -1
- package/dist/{chunk-U3ZG675O.js → chunk-MMIHHCMW.js} +1 -1
- package/dist/{chunk-PRKBO42R.js → chunk-MPW2YJWU.js} +1 -1
- package/dist/{chunk-C2FFA4O4.js → chunk-MRS6LAY7.js} +1 -1
- package/dist/{chunk-IVGWFPMA.js → chunk-N3CNWCC2.js} +1 -1
- package/dist/{chunk-NXL6LDJU.js → chunk-N3NE4MVN.js} +1 -1
- package/dist/{chunk-WNGV4JQS.js → chunk-N3YTDGFY.js} +1 -1
- package/dist/{chunk-A5SQCM63.js → chunk-N5LVGFDS.js} +1 -1
- package/dist/{chunk-GVITHCQJ.js → chunk-NILXAUUT.js} +1 -1
- package/dist/{chunk-5Y7GIF2W.js → chunk-NJOO5XJV.js} +1 -1
- package/dist/{chunk-ULQG3XQS.js → chunk-NNOSZ447.js} +1 -1
- package/dist/{chunk-MGL4YM3S.js → chunk-NTRAWIEJ.js} +4 -4
- package/dist/{chunk-2WNODIWJ.js → chunk-NWXDOCL5.js} +1 -1
- package/dist/{chunk-K77WAKOB.js → chunk-OU3M32A2.js} +1 -1
- package/dist/chunk-OU4SKQTC.js +5 -0
- package/dist/{chunk-4KRT35A2.js → chunk-OXJBYKMX.js} +1 -1
- package/dist/{chunk-LCCMXY6N.js → chunk-OZBY45KT.js} +1 -1
- package/dist/{chunk-75VPUOC5.js → chunk-P2OI2P2M.js} +1 -1
- package/dist/{chunk-XP6IRAZN.js → chunk-PCCK4YTE.js} +1 -1
- package/dist/{chunk-2VLMN5QZ.js → chunk-PFGYC53K.js} +1 -1
- package/dist/{chunk-YGMVL6NZ.js → chunk-PMS4MNHB.js} +2 -2
- package/dist/{chunk-OA4P6AKS.js → chunk-PNP5OKNZ.js} +1 -1
- package/dist/{chunk-XX343DDG.js → chunk-PXHY753L.js} +1 -1
- package/dist/{chunk-UURFVUAH.js → chunk-Q73GEVSJ.js} +1 -1
- package/dist/{chunk-M2TJICTB.js → chunk-Q77MM2N2.js} +1 -1
- package/dist/{chunk-XDAOLCPN.js → chunk-Q7C44DX5.js} +1 -1
- package/dist/chunk-QDVJJKLB.js +1 -0
- package/dist/{chunk-5CH3B62S.js → chunk-RJ5VF3QY.js} +1 -1
- package/dist/{chunk-LQMSF3F7.js → chunk-RKDZGK5K.js} +1 -1
- package/dist/{chunk-VYXVYOIJ.js → chunk-RSRYC5ZF.js} +1 -1
- package/dist/{chunk-HLMFVORT.js → chunk-S22NCNAJ.js} +1 -1
- package/dist/{chunk-UARVYVLN.js → chunk-S5IFJ737.js} +2 -2
- package/dist/{chunk-42RMKTCJ.js → chunk-S6B2ADVR.js} +1 -1
- package/dist/chunk-S7F5KFQP.js +1 -0
- package/dist/{chunk-UBKVCI7A.js → chunk-SSCYLDSX.js} +1 -1
- package/dist/{chunk-QFWIDATO.js → chunk-STJ3LWFL.js} +1 -1
- package/dist/{chunk-LKS47US7.js → chunk-T3ERXB7F.js} +1 -1
- package/dist/{chunk-PLQFX5ZP.js → chunk-T4IV643Z.js} +1 -1
- package/dist/{chunk-BECEP46I.js → chunk-T4NS63K4.js} +1 -1
- package/dist/{chunk-3YWUSKWF.js → chunk-T6CC5WUU.js} +1 -1
- package/dist/{chunk-3TNEIDOD.js → chunk-T7KHS6RF.js} +1 -1
- package/dist/{chunk-QYR5VPQA.js → chunk-TOLPNBZK.js} +1 -1
- package/dist/{chunk-XXE7667M.js → chunk-TP7E54WN.js} +1 -1
- package/dist/chunk-TPCG6DCA.js +1 -0
- package/dist/{chunk-2KH2S7PI.js → chunk-TRYWVIVJ.js} +1 -1
- package/dist/chunk-TU47HMTL.js +1 -0
- package/dist/{chunk-HHXHOQQP.js → chunk-TUNUEOHO.js} +1 -1
- package/dist/{chunk-PS25FEBF.js → chunk-TY6BZTG3.js} +1 -1
- package/dist/chunk-TYMYIUIQ.js +1 -0
- package/dist/chunk-UB26DGTR.js +6 -0
- package/dist/{chunk-HJSYHK4S.js → chunk-UC7KMA6W.js} +1 -1
- package/dist/{chunk-FD5S2O6M.js → chunk-UOHNRH6E.js} +1 -1
- package/dist/{chunk-ZR76GGZ6.js → chunk-UQWFDL3F.js} +1 -1
- package/dist/{chunk-M4LOKANA.js → chunk-USLYL5AC.js} +1 -1
- package/dist/{chunk-VICNWPLQ.js → chunk-UTO4Z6P6.js} +12 -12
- package/dist/{chunk-F47MFBKM.js → chunk-UU5P2IYU.js} +1 -1
- package/dist/chunk-UYSF234H.js +1 -0
- package/dist/chunk-VE35YELD.js +1 -0
- package/dist/{chunk-6YAXFS6V.js → chunk-VI34CKV6.js} +1 -1
- package/dist/{chunk-M4V2OQAX.js → chunk-VJ6KDRZI.js} +1 -1
- package/dist/{chunk-VBUZWRUL.js → chunk-VJEKDBGZ.js} +1 -1
- package/dist/chunk-VKWPEFWQ.js +1 -0
- package/dist/chunk-VPPWSKOY.js +1 -0
- package/dist/chunk-VRJTLVG3.js +1 -0
- package/dist/chunk-VUMUCNI7.js +1 -0
- package/dist/chunk-W7DDV2EY.js +1 -0
- package/dist/{chunk-RL5BWZ7D.js → chunk-WA3YC5W4.js} +1 -1
- package/dist/{chunk-MFLBTJO7.js → chunk-WHNWE7P2.js} +1 -1
- package/dist/{chunk-R6JNXEB3.js → chunk-WVRGCNBZ.js} +1 -1
- package/dist/{chunk-MOA33ZFO.js → chunk-WW7TENNA.js} +1 -1
- package/dist/{chunk-HZA6IAA4.js → chunk-XVUHUA36.js} +1 -1
- package/dist/{chunk-PSQFZAF3.js → chunk-XWPPBOGF.js} +1 -1
- package/dist/chunk-YIRFEW5M.js +1 -0
- package/dist/{chunk-RGNAWKD7.js → chunk-YL3TYQGT.js} +1 -1
- package/dist/{chunk-A3VYI4LO.js → chunk-YLQ3LNNY.js} +3 -3
- package/dist/{chunk-MA52QGHP.js → chunk-YMAWEIUR.js} +1 -1
- package/dist/{chunk-6LK6ZP3Q.js → chunk-YPBCSDFQ.js} +1 -1
- package/dist/{chunk-3BRUCKZ2.js → chunk-YSIBRY6C.js} +1 -1
- package/dist/{chunk-FGVC22EY.js → chunk-YVQXEPHY.js} +1 -1
- package/dist/{chunk-4LNCYIS3.js → chunk-ZDF5N422.js} +1 -1
- package/dist/{chunk-T4M5CWAO.js → chunk-ZG7BVVT2.js} +1 -1
- package/dist/chunk-ZGJ3DFTQ.js +9 -0
- package/dist/{chunk-NKQBEFPS.js → chunk-ZI7LK3LW.js} +1 -1
- package/dist/{chunk-IXUVSFW2.js → chunk-ZM75DSIW.js} +1 -1
- package/dist/{chunk-3V63X7WZ.js → chunk-ZUKLGZOU.js} +1 -1
- package/dist/cli/commands/app/app-logs/sources.js +1 -1
- package/dist/cli/commands/app/build.js +1 -1
- package/dist/cli/commands/app/bulk/cancel.js +1 -1
- package/dist/cli/commands/app/bulk/execute.js +1 -1
- package/dist/cli/commands/app/bulk/status.js +1 -1
- package/dist/cli/commands/app/config/link.js +1 -1
- package/dist/cli/commands/app/config/pull.js +1 -1
- package/dist/cli/commands/app/config/use.js +1 -1
- package/dist/cli/commands/app/config/validate.js +1 -1
- package/dist/cli/commands/app/demo/watcher.js +1 -1
- package/dist/cli/commands/app/deploy.js +1 -1
- package/dist/cli/commands/app/dev/clean.js +1 -1
- package/dist/cli/commands/app/dev.js +1 -1
- package/dist/cli/commands/app/env/pull.js +1 -1
- package/dist/cli/commands/app/env/show.js +1 -1
- package/dist/cli/commands/app/execute.js +1 -1
- package/dist/cli/commands/app/function/build.js +1 -1
- package/dist/cli/commands/app/function/info.js +1 -1
- package/dist/cli/commands/app/function/replay.js +1 -1
- package/dist/cli/commands/app/function/run.js +1 -1
- package/dist/cli/commands/app/function/schema.js +1 -1
- package/dist/cli/commands/app/function/typegen.js +1 -1
- package/dist/cli/commands/app/generate/extension.js +1 -1
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import-extensions.js +1 -1
- package/dist/cli/commands/app/info.js +1 -1
- package/dist/cli/commands/app/init.js +1 -1
- package/dist/cli/commands/app/logs.js +1 -1
- package/dist/cli/commands/app/release.js +1 -1
- package/dist/cli/commands/app/versions/list.js +1 -1
- package/dist/cli/commands/app/webhook/trigger.js +1 -1
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/constants.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/doc/fetch.d.ts +12 -0
- package/dist/cli/commands/doc/fetch.js +1 -0
- package/dist/cli/commands/doc/search.d.ts +13 -0
- package/dist/cli/commands/doc/search.js +1 -0
- package/dist/cli/commands/docs/generate.js +1 -1
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
- package/dist/cli/commands/doctor-release/theme/index.js +1 -1
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.d.ts +4 -0
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/theme/check.js +1 -1
- package/dist/cli/commands/theme/console.js +1 -1
- package/dist/cli/commands/theme/delete.js +1 -1
- package/dist/cli/commands/theme/dev.js +1 -1
- package/dist/cli/commands/theme/duplicate.js +1 -1
- package/dist/cli/commands/theme/info.js +1 -1
- package/dist/cli/commands/theme/init.js +1 -1
- package/dist/cli/commands/theme/language-server.js +1 -1
- package/dist/cli/commands/theme/list.js +1 -1
- package/dist/cli/commands/theme/metafields/pull.js +1 -1
- package/dist/cli/commands/theme/open.js +1 -1
- package/dist/cli/commands/theme/package.js +1 -1
- package/dist/cli/commands/theme/preview.js +1 -1
- package/dist/cli/commands/theme/profile.js +1 -1
- package/dist/cli/commands/theme/publish.js +1 -1
- package/dist/cli/commands/theme/pull.js +1 -1
- package/dist/cli/commands/theme/push.js +1 -1
- package/dist/cli/commands/theme/rename.js +1 -1
- package/dist/cli/commands/theme/share.js +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/cli/services/commands/doc/fetch.d.ts +1 -0
- package/dist/cli/services/commands/doc/fetch.js +45 -0
- package/dist/cli/services/commands/doc/search.d.ts +1 -0
- package/dist/cli/services/commands/doc/search.js +47 -0
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-6QNH5BID.js → conf-store-UY3MDGGA.js} +1 -1
- package/dist/{custom-oclif-loader-TSPWW5YF.js → custom-oclif-loader-3AICQCNU.js} +1 -1
- package/dist/deprecations-KNUMDRIU.js +1 -0
- package/dist/{devtools-HCKYP7DQ.js → devtools-37DE4MUR.js} +1 -1
- package/dist/{devtools-VEZNCV6W.js → devtools-WAWU5KQL.js} +1 -1
- package/dist/dist-C5IV2YDQ.js +1 -0
- package/dist/dist-VL4KZWV2.js +1 -0
- package/dist/environments-YPRVO2CF.js +1 -0
- package/dist/error-XRBQTNFM.js +1 -0
- package/dist/error-handler-NI7D6GSY.js +1 -0
- package/dist/{estree-BYYJYS3A.js → estree-JV5M77BA.js} +1 -1
- package/dist/{flow-M3Q2HPQT.js → flow-N4JYPYMQ.js} +1 -1
- package/dist/{fs-YMUQ6JLE.js → fs-LJWVNO4H.js} +1 -1
- package/dist/{glimmer-3DEJJGOJ.js → glimmer-JEV3BXHR.js} +1 -1
- package/dist/{graphql-A4HHE3MB.js → graphql-DTF6MHYF.js} +1 -1
- package/dist/hooks/app-init.js +1 -1
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/plugin-plugins.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/hooks/public-metadata.js +1 -1
- package/dist/hooks/sensitive-metadata.js +1 -1
- package/dist/hooks/tunnel-provider.js +1 -1
- package/dist/hooks/tunnel-start.js +1 -1
- package/dist/{html-HETICZ2F.js → html-LVOJ3RQS.js} +1 -1
- package/dist/{http-proxy-node16-Q5DZMBHC.js → http-proxy-node16-X2WAMUT5.js} +1 -1
- package/dist/index.js +28 -7
- package/dist/is-global-W6ALVC5L.js +1 -0
- package/dist/{is-wsl-TN2CXYI7.js → is-wsl-UEMXYJPN.js} +1 -1
- package/dist/{latest-version-6OAYLOBL.js → latest-version-32HXMWJ7.js} +1 -1
- package/dist/lib-AIKYSHWL.js +1 -0
- package/dist/lib-O5EZ4NVT.js +1 -0
- package/dist/lib-Q4PWEMFD.js +1 -0
- package/dist/lib-QJDPPAWN.js +1 -0
- package/dist/{local-GPDAXHE6.js → local-GKEWZAIV.js} +1 -1
- package/dist/local-storage-ZOZMA22B.js +1 -0
- package/dist/{markdown-5TVCXM53.js → markdown-J6CE6POI.js} +1 -1
- package/dist/{meriyah-23OZNYWC.js → meriyah-PNQQZQYI.js} +1 -1
- package/dist/metadata-UEUN64TK.js +1 -0
- package/dist/{morph-I35VYPBH.js → morph-CGOZEPPZ.js} +1 -1
- package/dist/{multipart-parser-Q4QJZK3V.js → multipart-parser-5NSSTW27.js} +1 -1
- package/dist/{node-package-manager-GO4ZRTKQ.js → node-package-manager-4ASQQIIF.js} +1 -1
- package/dist/notifications-system-HLXJCAMG.js +1 -0
- package/dist/{npa-VNALV7XY.js → npa-A4YSCQ5Q.js} +1 -1
- package/dist/{open-VA7TLUIL.js → open-KLSGXBIW.js} +1 -1
- package/dist/out-CDCY25QC.js +1 -0
- package/dist/{output-7IYOMPSA.js → output-S6E37GJQ.js} +1 -1
- package/dist/{path-CWUNINMX.js → path-MBXP7ZIC.js} +1 -1
- package/dist/{postcss-IIK6CGAW.js → postcss-Q36SHOML.js} +1 -1
- package/dist/{prettier-ZSBNNQTK.js → prettier-EGVCP5CY.js} +1 -1
- package/dist/{source-map-3K6Y2OMO.js → source-map-E7FCCJL7.js} +1 -1
- package/dist/system-YQZNGSWB.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typescript-5R4Y7PXE.js +1 -0
- package/dist/{typescript-YKZ232QT.js → typescript-WYPDGPSV.js} +1 -1
- package/dist/ui-D2FFWRK7.js +1 -0
- package/dist/upgrade-TVTCFMXM.js +1 -0
- package/dist/version-J6MDN7BZ.js +1 -0
- package/dist/version-RIRW5EXQ.js +1 -0
- package/dist/{workerd-ST6XJKUN.js → workerd-QOTT6UCO.js} +1 -1
- package/dist/{yaml-SJKIH3VD.js → yaml-6KWCJ64X.js} +1 -1
- package/oclif.manifest.json +304 -6
- package/package.json +11 -8
- package/dist/analytics-CX22YIUZ.js +0 -1
- package/dist/analytics-UBWQIQYF.js +0 -1
- package/dist/chunk-4ZGSSQC6.js +0 -1
- package/dist/chunk-6SXOUZ7V.js +0 -1
- package/dist/chunk-ATPFTRCC.js +0 -1
- package/dist/chunk-AWQ5AR2K.js +0 -5
- package/dist/chunk-BHWEA4V2.js +0 -1
- package/dist/chunk-CCEA5CUX.js +0 -1
- package/dist/chunk-FP2NOZSD.js +0 -1
- package/dist/chunk-FSTCEWXX.js +0 -1
- package/dist/chunk-K3PGC6DC.js +0 -1
- package/dist/chunk-KFCGMT67.js +0 -1
- package/dist/chunk-KQU6HOJ3.js +0 -1
- package/dist/chunk-NP4UFPAX.js +0 -9
- package/dist/chunk-RVMB5LC2.js +0 -1
- package/dist/chunk-T5MK7ZSF.js +0 -1
- package/dist/chunk-UOQ75BL3.js +0 -1
- package/dist/chunk-UWJ73J4B.js +0 -1
- package/dist/chunk-VPRTJUIN.js +0 -1
- package/dist/chunk-WCWNI3ZV.js +0 -283
- package/dist/chunk-XEFQQPL4.js +0 -1
- package/dist/chunk-YJB7P2HC.js +0 -1
- package/dist/chunk-YOZNRLFC.js +0 -1
- package/dist/deprecations-F6JWVV2W.js +0 -1
- package/dist/dist-4BD6KOLR.js +0 -1
- package/dist/dist-AUABCVPI.js +0 -1
- package/dist/environments-RGLI75HN.js +0 -1
- package/dist/error-OZALZZ3U.js +0 -1
- package/dist/error-handler-V7LSEXHM.js +0 -1
- package/dist/is-global-BLIZ57HQ.js +0 -1
- package/dist/lib-AK5EOIKR.js +0 -1
- package/dist/lib-LVUMLZ4H.js +0 -1
- package/dist/lib-ME6554NA.js +0 -1
- package/dist/lib-WU3FEA6I.js +0 -1
- package/dist/local-storage-P66KJG6I.js +0 -1
- package/dist/metadata-TRH25EHU.js +0 -1
- package/dist/notifications-system-HM6JZ6WJ.js +0 -1
- package/dist/out-WLY6KV4B.js +0 -1
- package/dist/system-X5C4EQQH.js +0 -1
- package/dist/typescript-K5CWIA4V.js +0 -1
- package/dist/ui-H62CMRLG.js +0 -1
- package/dist/upgrade-EEOPH464.js +0 -1
- package/dist/version-76NBQR4K.js +0 -1
- package/dist/version-IGSEISUA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-GCN4O7HM.js";import{r as t}from"./chunk-HDC5V7RY.js";import{b as r}from"./chunk-HOSFU6UP.js";import{u as i}from"./chunk-NTRAWIEJ.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var o=class extends r{static{this.summary="Disable automatic upgrades for Shopify CLI."}static{this.descriptionWithMarkdown=`Disable automatic upgrades for Shopify CLI.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is disabled, Shopify CLI won't automatically update. Run \`shopify upgrade\` to update manually.
|
|
4
4
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Y as u,aa as l,ba as p}from"./chunk-UTO4Z6P6.js";import{b as d,c as f}from"./chunk-OXJBYKMX.js";import{b as c}from"./chunk-HOSFU6UP.js";import{C as m}from"./chunk-NTRAWIEJ.js";import{Lb as s}from"./chunk-7FQFEB33.js";import{g as n}from"./chunk-VKWPEFWQ.js";n();n();async function g(t){let i;try{i=await p()}catch(a){if(t.json&&a instanceof l){s(JSON.stringify({organizations:[]},null,2));return}throw a}if(t.json){let a={organizations:i.map(r=>({id:r.id,gid:u(r.id),name:r.businessName}))};s(JSON.stringify(a,null,2));return}h(i)}function h(t){let i=t.map(a=>({id:a.id,name:a.businessName}));m({rows:i,columns:{id:{header:"ID"},name:{header:"NAME"}}})}var e,o=class extends c{async run(){let{flags:i}=await this.parse(e);await g({json:i.json})}};e=o;o.summary="List Shopify organizations you have access to.";o.descriptionWithMarkdown="Lists the Shopify organizations that you have access to, along with their organization IDs.";o.description=e.descriptionWithoutMarkdown();o.flags={...d,...f};var x=o;export{x as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as a}from"./chunk-VKWPEFWQ.js";a();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as b}from"./chunk-
|
|
1
|
+
import{f as b}from"./chunk-S5IFJ737.js";import{g as m}from"./chunk-VKWPEFWQ.js";m();import{performance as u}from"node:perf_hooks";function w(){return b()?"bubble":"mute-and-report"}function h(g={}){let i={sensitive:{},public:{...g}},p=t=>{Object.assign(i.public,t)},M=t=>{Object.assign(i.sensitive,t)},l=async(t,e,n)=>{let r=n==="auto"?w():n,s=async()=>{let c=await e();t(c)};if(r==="bubble")await s();else try{await s()}catch(c){let{sendErrorToBugsnag:o}=await import("./error-handler-NI7D6GSY.js");await o(c,"unexpected_error")}},a=[];return{getAllPublicMetadata:()=>({...i.public}),getAllSensitiveMetadata:()=>({...i.sensitive}),addPublicMetadata:async(t,e="auto")=>l(p,t,e),addSensitiveMetadata:async(t,e="auto")=>l(M,t,e),runWithTimer:t=>async e=>{a.push(0);let n=u.now();try{return await e()}finally{let r=u.now();r=Math.max(n,r);let s=Math.max(r-n,0),c=a.pop(),o=Math.max(s-c,0);a.length>0&&(a[a.length-1]=(a[a.length-1]??0)+s),u.measure(`${t}#measurable`,{start:n,duration:o}),u.measure(`${t}#wall`,{start:n,end:r});let d=i.public[t]||0;d+=o,i.public[t]=d}}}}var y=h({cmd_all_timing_network_ms:0,cmd_all_timing_prompts_ms:0}),{getAllPublicMetadata:S,getAllSensitiveMetadata:f,addPublicMetadata:x,addSensitiveMetadata:A,runWithTimer:P}=y;export{h as a,S as b,f as c,x as d,A as e,P as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d}from"./chunk-
|
|
1
|
+
import{c as d}from"./chunk-5XDQ76DQ.js";import{xa as i}from"./chunk-G4OQABDT.js";import{A as s,D as a,w as m,x as u}from"./chunk-NTRAWIEJ.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();function f(e){return[`'${e.name}'`,{subdued:`(#${e.id})`}]}function y(e){return{list:{items:e.map(f)}}}async function T(e,r="It doesn't seem like you're running this command in a theme directory.",o,n){if(e)return!0;if(n)return u({headline:o?`Environment: ${o}`:"",body:r}),!1;if(m({body:r}),!process.stdout.isTTY)return!0;let t=await s({message:"Do you want to proceed?"});return i(`theme-service:confirm-directory:${t}`),t}async function v(e,r,o){if(e.role!==d||!process.stdout.isTTY||o)return!0;let n=`You're about to ${r} on your live theme "${e.name}". This will make changes visible to customers. Are you sure you want to proceed?`,t=await s({message:n,confirmationMessage:"Yes, proceed with live theme",cancellationMessage:"No, cancel"});return i(`theme-service:confirm-live-theme:${t}`),t}async function E(e,r,o=!1){e.length>0&&await a(e,{renderOptions:{stdout:r??process.stderr},noProgressBar:o})}export{f as a,y as b,T as c,v as d,E as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as N,g}from"./chunk-
|
|
1
|
+
import{c as N,g}from"./chunk-VKWPEFWQ.js";var B=N((V,L)=>{g();function d(e){return Array.isArray(e)?e:[e]}var a="",R=" ",u="\\",v=/^\s+$/,G=/(?:[^\\]|^)\\$/,I=/^\\!/,O=/^\\#/,T=/\r?\n/g,x=/^\.*\/|^\.+$/,l="/",C="node-ignore";typeof Symbol<"u"&&(C=Symbol.for("node-ignore"));var A=C,y=(e,t,s)=>Object.defineProperty(e,t,{value:s}),X=/([0-z])-([0-z])/g,P=()=>!1,b=e=>e.replace(X,(t,s,r)=>s.charCodeAt(0)<=r.charCodeAt(0)?t:a),m=e=>{let{length:t}=e;return e.slice(0,t-t%2)},w=[[/^\uFEFF/,()=>a],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,s)=>t+(s.indexOf("\\")===0?R:a)],[/(\\+?)\s/g,(e,t)=>{let{length:s}=t;return t.slice(0,s-s%2)+R}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,s)=>t+6<s.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,s)=>{let r=s.replace(/\\\*/g,"[^\\/]*");return t+r}],[/\\\\\\(?=[$.|*+(){^])/g,()=>u],[/\\\\/g,()=>u],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,s,r,n)=>t===u?`\\[${s}${m(r)}${n}`:n==="]"&&r.length%2===0?`[${b(s)}${r}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],$=Object.create(null),F=(e,t)=>{let s=$[e];return s||(s=w.reduce((r,[n,i])=>r.replace(n,i.bind(e)),e),$[e]=s),t?new RegExp(s,"i"):new RegExp(s)},f=e=>typeof e=="string",D=e=>e&&f(e)&&!v.test(e)&&!G.test(e)&&e.indexOf("#")!==0,H=e=>e.split(T),E=class{constructor(t,s,r,n){this.origin=t,this.pattern=s,this.negative=r,this.regex=n}},k=(e,t)=>{let s=e,r=!1;e.indexOf("!")===0&&(r=!0,e=e.substr(1)),e=e.replace(I,"!").replace(O,"#");let n=F(e,t);return new E(s,e,r,n)},p=(e,t)=>{throw new t(e)},o=(e,t,s)=>f(e)?e?o.isNotRelative(e)?s(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:s("path must not be empty",TypeError):s(`path must be a string, but got \`${t}\``,TypeError),S=e=>x.test(e);o.isNotRelative=S;o.convert=e=>e;var h=class{constructor({ignorecase:t=!0,ignoreCase:s=t,allowRelativePaths:r=!1}={}){y(this,A,!0),this._rules=[],this._ignoreCase=s,this._allowRelativePaths=r,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[A]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(D(t)){let s=k(t,this._ignoreCase);this._added=!0,this._rules.push(s)}}add(t){return this._added=!1,d(f(t)?H(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,s){let r=!1,n=!1;return this._rules.forEach(i=>{let{negative:c}=i;if(n===c&&r!==n||c&&!r&&!n&&!s)return;i.regex.test(t)&&(r=!c,n=c)}),{ignored:r,unignored:n}}_test(t,s,r,n){let i=t&&o.convert(t);return o(i,t,this._allowRelativePaths?P:p),this._t(i,s,r,n)}_t(t,s,r,n){if(t in s)return s[t];if(n||(n=t.split(l)),n.pop(),!n.length)return s[t]=this._testOne(t,r);let i=this._t(n.join(l)+l,s,r,n);return s[t]=i.ignored?i:this._testOne(t,r)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return d(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},_=e=>new h(e),z=e=>o(e&&o.convert(e),e,P);_.isPathValid=z;_.default=_;L.exports=_;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=s=>/^\\\\\?\\/.test(s)||/["<>|\u0000-\u001F]+/u.test(s)?s:s.replace(/\\/g,"/");o.convert=e;let t=/^[a-z]:\//i;o.isNotRelative=s=>t.test(s)||S(s)}});export{B as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=Object.create;var l=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var _=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var s=(r=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(r,{get:(e,i)=>(typeof require<"u"?require:e)[i]}):r)(function(r){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+r+'" is not supported')});var u=(r,e,i)=>()=>{if(i)throw i[0];try{return r&&(e=r(r=0)),e}catch(m){throw i=[m],m}};var d=(r,e)=>()=>{try{return e||r((e={exports:{}}).exports,e),e.exports}catch(i){throw e=0,i}},q=(r,e)=>{for(var i in e)l(r,i,{get:e[i],enumerable:!0})},o=(r,e,i,m)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of p(e))!h.call(r,a)&&a!==i&&l(r,a,{get:()=>e[a],enumerable:!(m=f(e,a))||m.enumerable});return r};var R=(r,e,i)=>(i=r!=null?t(_(r)):{},o(e||!r||!r.__esModule?l(i,"default",{value:r,enumerable:!0}):i,r)),c=r=>o(l({},"__esModule",{value:!0}),r);import{createRequire as n}from"node:module";import T from"node:path";import b from"node:url";var g=u(()=>{"use strict";globalThis.require=n(import.meta.url);globalThis.__filename=b.fileURLToPath(import.meta.url);globalThis.__dirname=T.dirname(__filename)});export{s as a,u as b,d as c,q as d,R as e,c as f,g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as I}from"./chunk-VKWPEFWQ.js";I();var o="4.3.0";export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as u,c as d}from"./chunk-7572RLUP.js";import{a as m}from"./chunk-S7F5KFQP.js";import{a}from"./chunk-5BKCIDMS.js";import{Ga as c,q as p}from"./chunk-4QTEPWEJ.js";import{b as e}from"./chunk-OXJBYKMX.js";import{v as n}from"./chunk-NTRAWIEJ.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();var s,o=class extends m{async run(){let{flags:t}=await this.parse(s),{app:r}=await c({directory:t.path,userProvidedConfigName:t.config}),l=await d(r,t.path);return await p(l,{app:r,stdout:process.stdout,stderr:process.stderr,useTasks:!0,environment:"production"}),n({headline:"Function built successfully."}),{app:r}}};s=o;o.summary="Compile a function to wasm.";o.descriptionWithMarkdown="Compiles the function in your current directory to WebAssembly (Wasm) for testing purposes.";o.description=s.descriptionWithoutMarkdown();o.flags={...e,...a,...u};var k=o;export{k as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as r}from"./chunk-VKWPEFWQ.js";r();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as n}from"./chunk-OXJBYKMX.js";import{u as r}from"./chunk-A4SBXDZB.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();function v(o){o.verbose&&(process.env[n.verbose.env]="true"),o.noColor&&(r.level=0,process.env.FORCE_COLOR="0")}export{v as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Ea as cs,Fb as kt,Hb as gs,Pa as hs,Pb as ms,Qa as us,Ta as fs,Wa as ds,bb as ps,ma as wt,pa as be,ua as ls,wa as bt}from"./chunk-
|
|
1
|
+
import{Ea as cs,Fb as kt,Hb as gs,Pa as hs,Pb as ms,Qa as us,Ta as fs,Wa as ds,bb as ps,ma as wt,pa as be,ua as ls,wa as bt}from"./chunk-7FQFEB33.js";import{d as we,g as yt,i as as}from"./chunk-773TIA5M.js";import{a as X,c as gi,e as mi,g as ye}from"./chunk-VKWPEFWQ.js";var ui=gi(l=>{"use strict";ye();Object.defineProperty(l,"__esModule",{value:!0});var yi=X("stream"),W=X("path"),G=X("fs"),Es=X("crypto"),O=class{constructor(e,s,i,r,n){this.kind=e,this.input=s,this.begin=i,this.end=r,this.file=n}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,s]=[1,1];for(let i=0;i<this.begin;i++)this.input[i]===`
|
|
2
2
|
`?(e++,s=1):s++;return[e,s]}size(){return this.end-this.begin}},D=class{liquidMethodMissing(e,s){}},wi=Object.prototype.toString,ys=String.prototype.toLowerCase,Qt=Object.hasOwnProperty;function d(t){return typeof t=="string"}function x(t){return typeof t=="function"}function bi(t){return t&&x(t.then)}function _e(t){return t&&x(t.next)&&x(t.throw)&&x(t.return)}function Kt(t){return function(...e){return new Promise((s,i)=>{t(...e,(r,n)=>{r?i(r):s(n)})})}}function h(t){return t=m(t),d(t)?t:k(t)?"":S(t)?t.map(e=>h(e)).join(""):String(t)}function ge(t){return t=m(t),S(t)?t:d(t)&&t.length>0?[t]:Ti(t)?Array.from(t):dt(t)?Object.keys(t).map(e=>[e,t[e]]):[]}function L(t){return t=m(t),k(t)?[]:S(t)?t:[t]}function m(t){return t instanceof D&&x(t.valueOf)?t.valueOf():t}function xt(t){return+m(t)||0}function ft(t){return typeof t=="number"}function Vs(t){return t&&x(t.toLiquid)?Vs(t.toLiquid()):t}function k(t){return t==null}function ki(t){return t===void 0}function S(t){return wi.call(t)==="[object Array]"}function Ps(t){return t&&ft(t.length)}function Ti(t){return dt(t)&&Symbol.iterator in t}function ws(t,e){t=t||{};for(let s in t)if(Qt.call(t,s)&&e(t[s],s,t)===!1)break;return t}function xi(t){return t[t.length-1]}function dt(t){let e=typeof t;return t!==null&&(e==="object"||e==="function")}function Cs(t,e,s=1){let i=[];for(let r=t;r<e;r+=s)i.push(r);return i}function oe(t,e,s=" "){return $s(t,e,s,(i,r)=>r+i)}function Si(t,e,s=" "){return $s(t,e,s,(i,r)=>i+r)}function $s(t,e,s,i){t=String(t);let r=e-t.length;return r<=0?t:i(t,s.repeat(r))}function js(t){return t}function _i(t){return[...t].some(s=>s>="a"&&s<="z")?t.toUpperCase():t.toLowerCase()}function Li(t,e){return t.length>e?t.slice(0,e-3)+"...":t}function Fi(t,e){return k(t)&&k(e)?0:k(t)?1:k(e)||t<e?-1:t>e?1:0}function Oi(t,e){return k(t)&&k(e)?0:k(t)?1:k(e)||(t=ys.call(t),e=ys.call(e),t<e)?-1:t>e?1:0}function pt(t){return function(...e){return t.call(this,...e.map(m))}}function V(t){return function(...e){return t.call(this,...e.map(xt))}}function*ke(t){let e=new Set;for(let s of t){let i=JSON.stringify(s);e.has(i)||(e.add(i),yield s)}}var bs="__liquidClass__",E=class extends Error{constructor(e,s){super(typeof e=="string"?e:e.message),this.context="",typeof e!="string"&&Object.defineProperty(this,"originalError",{value:e,enumerable:!1}),Object.defineProperty(this,"token",{value:s,enumerable:!1}),Object.defineProperty(this,bs,{value:"LiquidError",enumerable:!1})}update(){Object.defineProperty(this,"context",{value:vi(this.token),enumerable:!1}),this.message=zi(this.message,this.token),this.stack=this.message+`
|
|
3
3
|
`+this.context+`
|
|
4
4
|
`+this.stack,this.originalError&&(this.stack+=`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as A}from"./chunk-
|
|
1
|
+
import{n as A}from"./chunk-3YDYZ232.js";import{a as P}from"./chunk-W7DDV2EY.js";import{c as C}from"./chunk-VJ6KDRZI.js";import{s as T}from"./chunk-5XDQ76DQ.js";import{m as w}from"./chunk-TUNUEOHO.js";import{a as D}from"./chunk-YL3TYQGT.js";import{O as u}from"./chunk-G4OQABDT.js";import{v as h,x as y}from"./chunk-NTRAWIEJ.js";import{Pb as O,va as p}from"./chunk-7FQFEB33.js";import{d,q as m}from"./chunk-773TIA5M.js";import{g as l}from"./chunk-VKWPEFWQ.js";l();async function q(e){P({verbose:e.verbose,noColor:e.noColor});let t=w({store:e.store}),o=await u(t,e.password);await R(o,{path:e.path??m(),force:e.force??!1,silent:e.silent??!1})}var E={article:"ARTICLE",blog:"BLOG",collection:"COLLECTION",company:"COMPANY",company_location:"COMPANY_LOCATION",location:"LOCATION",market:"MARKET",order:"ORDER",page:"PAGE",product:"PRODUCT",variant:"PRODUCTVARIANT",shop:"SHOP"};async function R(e,t){let{force:o,path:i,silent:n}=t;if(!await A(i)&&(process.env.SHOPIFY_LANGUAGE_SERVER==="1"||!await C(o)))return;let f=[],r=[];for(let[a,s]of Object.entries(E))f.push(T(s,e).catch(c=>(r.push(s),[])).then(c=>({[a]:c})));let b=(await Promise.all(f)).reduce((a,s)=>({...a,...s}));if(r.length===Object.values(E).length){n||y({body:"Failed to fetch metafield definitions.",nextSteps:["Check your network connection and try again.","Ensure you have the permission to fetch metafield definitions."],reference:[{link:{label:"Metafield Definition API",url:"https://shopify.dev/docs/api/admin-graphql/latest/queries/metafieldDefinition"}}]});return}await S(i,b),r.length>0&&O(`Failed to fetch metafield definitions for the following owner types: ${r.join(", ")}`),n||h({body:"Metafield definitions have been successfully downloaded."})}async function S(e,t){let o=await D(e),i=d(o,"metafields.json"),n=JSON.stringify(t,null,2);p(i,n)}export{q as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as E}from"./chunk-
|
|
1
|
+
import{b as E}from"./chunk-OXJBYKMX.js";import{b}from"./chunk-HOSFU6UP.js";import{M as F,N}from"./chunk-NTRAWIEJ.js";import{r as U}from"./chunk-T6CC5WUU.js";import{Mb as k,T as C,Ta as w,ma as O}from"./chunk-7FQFEB33.js";import{u as n}from"./chunk-A4SBXDZB.js";import{k as R}from"./chunk-S5IFJ737.js";import{d as u,f as P,g as x,h as g,n as T,q as y}from"./chunk-773TIA5M.js";import{e as H,g as d}from"./chunk-VKWPEFWQ.js";d();d();d();d();var m=class{constructor(){this.assertions=[],this.registeredTests=[]}async runSuite(t){this.context=t,this.registeredTests=[];let e=[];this.tests();for(let i of this.registeredTests){this.assertions=[];let s=Date.now();try{await i.fn(),e.push({name:i.name,status:this.hasFailures()?"failed":"passed",duration:Date.now()-s,assertions:[...this.assertions]})}catch(r){e.push({name:i.name,status:"failed",duration:Date.now()-s,assertions:[...this.assertions],error:r instanceof Error?r:new Error(String(r))})}}return e}test(t,e){this.registeredTests.push({name:t,fn:e})}tests(){}async run(t,e){let i=e?.cwd??this.context.workingDirectory,s=await F(t,{cwd:i,env:e?.env});return{command:t,exitCode:s.exitCode,stdout:s.stdout,stderr:s.stderr,output:String(s.stdout)+String(s.stderr),success:s.exitCode===0}}async runInteractive(t,e){let i=e?.cwd??this.context.workingDirectory,s=0;try{await N(t,{cwd:i,env:e?.env,stdin:"inherit"})}catch{s=1}return{command:t,exitCode:s,stdout:"",stderr:"",output:"",success:s===0}}assertSuccess(t,e){this.assertions.push({description:e??`Command succeeded: ${t.command}`,passed:t.success,expected:"exit code 0",actual:`exit code ${t.exitCode}`})}assertError(t,e,i){let s=!t.success;if(e){let h=(typeof e=="string"?new RegExp(e):e).test(t.output),c;s?h?c="matched":c=`output: ${t.output.slice(0,200)}`:c="command succeeded",this.assertions.push({description:i??`Command failed with expected error: ${e}`,passed:s&&h,expected:`failure with error matching ${e}`,actual:c})}else this.assertions.push({description:i??`Command failed: ${t.command}`,passed:s,expected:"non-zero exit code",actual:`exit code ${t.exitCode}`})}async assertFile(t,e,i){let s=g(t)?t:u(this.context.workingDirectory,t),r=x(this.context.workingDirectory,s);if(!await w(s)){this.assertions.push({description:i??`File exists: ${r}`,passed:!1,expected:"file exists",actual:"file not found"});return}if(e){let c=await O(s),D=(typeof e=="string"?new RegExp(e):e).test(c);this.assertions.push({description:i??`File ${r} matches ${e}`,passed:D,expected:`content matching ${e}`,actual:D?"matched":`content: ${c.slice(0,200)}...`})}else this.assertions.push({description:i??`File exists: ${r}`,passed:!0,expected:"file exists",actual:"file exists"})}async assertNoFile(t,e){let i=g(t)?t:u(this.context.workingDirectory,t),s=x(this.context.workingDirectory,i),r=await w(i);this.assertions.push({description:e??`File does not exist: ${s}`,passed:!r,expected:"file does not exist",actual:r?"file exists":"file does not exist"})}async assertDirectory(t,e){let i=g(t)?t:u(this.context.workingDirectory,t),s=x(this.context.workingDirectory,i),r=await w(i);this.assertions.push({description:e??`Directory exists: ${s}`,passed:r,expected:"directory exists",actual:r?"directory exists":"directory not found"})}assertOutput(t,e,i){let r=(typeof e=="string"?new RegExp(e):e).test(t.output);this.assertions.push({description:i??`Output matches ${e}`,passed:r,expected:`output matching ${e}`,actual:r?"matched":`output: ${t.output.slice(0,200)}`})}assertJson(t,e,i){try{let s=JSON.parse(t.stdout);if(e){let r=e(s);this.assertions.push({description:i??"Output is valid JSON matching validator",passed:r,expected:"valid JSON matching validator",actual:r?"matched":"validator returned false"})}else this.assertions.push({description:i??"Output is valid JSON",passed:!0,expected:"valid JSON",actual:"valid JSON"});return s}catch{this.assertions.push({description:i??"Output is valid JSON",passed:!1,expected:"valid JSON",actual:`invalid JSON: ${t.stdout.slice(0,100)}`});return}}assert(t,e){this.assertions.push({description:e,passed:t,expected:"true",actual:String(t)})}assertEqual(t,e,i){this.assertions.push({description:i,passed:t===e,expected:String(e),actual:String(t)})}hasFailures(){return this.assertions.some(t=>!t.passed)}};m.description="Doctor test suite";var p=class extends m{constructor(){super(...arguments);this.themeName="";this.themePath=""}static{this.description="Tests the theme init command creates a valid theme structure"}tests(){this.test("init creates theme directory",async()=>{this.themeName=`doctor-theme-${C("creative")}`,this.themePath=u(this.context.workingDirectory,this.themeName);let e=await this.runInteractive(`shopify theme init ${this.themeName} --path ${this.context.workingDirectory}`);this.assertSuccess(e),this.context.themeName=this.themeName,this.context.themePath=this.themePath}),this.test("essential theme files exist",async()=>{let e=["layout/theme.liquid","config/settings_schema.json","templates/index.json"];await Promise.all(e.map(i=>this.assertFile(u(this.themePath,i))))}),this.test("theme directories exist",async()=>{let e=["sections","snippets","assets","locales"];await Promise.all(e.map(i=>this.assertDirectory(u(this.themePath,i))))}),this.test("layout/theme.liquid has valid content",async()=>{await this.assertFile(u(this.themePath,"layout/theme.liquid"),/<!doctype html>|<html|{{ content_for_header }}/i,"layout/theme.liquid contains expected Liquid markup")})}};d();var l=class extends m{static{this.description="Tests pushing a theme to the store creates an unpublished theme"}static{this.requiresStore=!0}tests(){this.test("push creates unpublished theme",async()=>{if(!this.context.themePath){this.assert(!1,"Theme init did not complete successfully; themePath is missing in context");return}let t=this.context.themeName??"doctor-theme",e=`shopify theme push --unpublished --json --path ${this.context.themePath} -t ${t}`;this.context.environment&&(e+=` -e ${this.context.environment}`),this.context.store&&(e+=` -s ${this.context.store}`),this.context.password&&(e+=` --password ${this.context.password}`);let i=await this.run(e);this.assertSuccess(i);let s=this.assertJson(i,r=>typeof r.theme?.id=="number");s?.theme&&(this.assert(typeof s.theme.id=="number","Theme was created with a valid ID"),this.assertEqual(s.theme.role,"unpublished","Theme role is unpublished"),this.assert(s.theme.editor_url.includes("/admin/themes/"),"Editor URL is provided"),this.assert(s.theme.preview_url.includes("preview_theme_id="),"Preview URL is provided"),this.context.themeId=String(s.theme.id),this.context.data.editorUrl=s.theme.editor_url,this.context.data.previewUrl=s.theme.preview_url)})}};d();function _(o){return{workingDirectory:o.path??y(),environment:o.environment,store:o.store,password:o.password,data:{}}}d();var a=o=>k(o),v;function J(o){v=o}function G(o){if(!v)return o;let t=/\/[^\s,)]+/g;return o.replace(t,e=>T(e,v))}function A(o,t){a(""),a(n.bold(n.cyan(`Suite: ${o}`))),a(n.dim(t))}function j(o){a(n.bold(n.blue(`Running: ${o}`)))}function q(o){let t=`(${(o.duration/1e3).toFixed(2)}s)`;if(o.status==="passed"){a(n.bold(n.green(`PASSED: ${o.name} ${n.dim(t)}`)));for(let e of I(o.assertions))a(e)}else if(o.status==="failed"){a(n.red(`FAILED: ${o.name} ${n.dim(t)}`));for(let e of I(o.assertions))a(e);o.error&&a(n.red(` Error: ${G(o.error.message)}`))}else a(n.yellow(`SKIPPED: ${o.name}`))}function S(o){let t=o.filter(h=>h.status==="passed").length,e=o.filter(h=>h.status==="failed").length,i=o.filter(h=>h.status==="skipped").length,s=o.length,r=o.reduce((h,c)=>h+c.duration,0);a(""),a(n.bold("\u2500".repeat(40))),e>0?a(n.red(n.bold(`Doctor Complete: ${e}/${s} tests failed`))):a(n.green(n.bold(`Doctor Complete: ${t}/${s} tests passed`))),a(` Passed: ${n.green(String(t))}`),a(` Failed: ${n.red(String(e))}`),i>0&&a(` Skipped: ${n.yellow(String(i))}`),a(` Total time: ${n.dim(`${(r/1e3).toFixed(2)}s`)}`)}function I(o){return o.map(t=>{if(t.passed)return n.green(` [OK] ${t.description}`);{let e=` (expected: ${t.expected}, actual: ${t.actual})`;return n.red(` [FAIL] ${t.description}${e}`)}})}var Y=[p,l];async function L(o){let t=[],e=_(o);J(e.workingDirectory);for(let i of Y){let s=new i,r=i.description??"Test suite";A(i.name,r);let h=await s.runSuite(e);for(let c of h)if(j(c.name),q(c),t.push(c),c.status==="failed")return S(t),t}return S(t),t}var f=H(U(),1);var $=class o extends b{static{this.description="Run all theme command doctor-release tests"}static{this.hidden=!0}static{this.flags={...E,path:f.Flags.string({char:"p",description:"The path to run tests in. Defaults to current directory.",env:"SHOPIFY_FLAG_PATH",parse:async t=>P(t),default:async()=>y()}),environment:f.Flags.string({char:"e",description:"The environment to use from shopify.theme.toml (required for store-connected tests).",env:"SHOPIFY_FLAG_ENVIRONMENT",required:!0}),store:f.Flags.string({char:"s",description:"Store URL (overrides environment).",env:"SHOPIFY_FLAG_STORE"}),password:f.Flags.string({description:"Password from Theme Access app (overrides environment).",env:"SHOPIFY_FLAG_PASSWORD"})}}async run(){if(!R())return;let{flags:t}=await this.parse(o);(await L({path:t.path,environment:t.environment,store:t.store,password:t.password})).some(s=>s.status==="failed")&&(process.exitCode=1)}};export{$ as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as t}from"./chunk-
|
|
1
|
+
import{g as t}from"./chunk-VKWPEFWQ.js";t();var n;function r(){return n??(n={currentCommandId:""}),n}function o(){return r().currentCommandId}function d(e){r().currentCommandId=e}export{o as a,d as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,g as o}from"./chunk-VPRTJUIN.js";var P=p((Ji,he)=>{"use strict";o();var tt="2.0.0",st=Number.MAX_SAFE_INTEGER||9007199254740991,it=16,nt=250,ot=["major","premajor","minor","preminor","patch","prepatch","prerelease"];he.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:it,MAX_SAFE_BUILD_LENGTH:nt,MAX_SAFE_INTEGER:st,RELEASE_TYPES:ot,SEMVER_SPEC_VERSION:tt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var v=p((en,pe)=>{"use strict";o();var ct=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};pe.exports=ct});var g=p((q,Re)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:W,MAX_SAFE_BUILD_LENGTH:lt,MAX_LENGTH:at}=P(),ut=v();q=Re.exports={};var Et=q.re=[],ft=q.safeRe=[],l=q.src=[],ht=q.safeSrc=[],a=q.t={},pt=0,z="[a-zA-Z0-9-]",Rt=[["\\s",1],["\\d",at],[z,lt]],$t=t=>{for(let[e,r]of Rt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},R=(t,e,r)=>{let s=$t(e),i=pt++;ut(t,i,e),a[t]=i,l[i]=e,ht[i]=s,Et[i]=new RegExp(e,r?"g":void 0),ft[i]=new RegExp(s,r?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*");R("NUMERICIDENTIFIERLOOSE","\\d+");R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${z}*`);R("MAINVERSION",`(${l[a.NUMERICIDENTIFIER]})\\.(${l[a.NUMERICIDENTIFIER]})\\.(${l[a.NUMERICIDENTIFIER]})`);R("MAINVERSIONLOOSE",`(${l[a.NUMERICIDENTIFIERLOOSE]})\\.(${l[a.NUMERICIDENTIFIERLOOSE]})\\.(${l[a.NUMERICIDENTIFIERLOOSE]})`);R("PRERELEASEIDENTIFIER",`(?:${l[a.NONNUMERICIDENTIFIER]}|${l[a.NUMERICIDENTIFIER]})`);R("PRERELEASEIDENTIFIERLOOSE",`(?:${l[a.NONNUMERICIDENTIFIER]}|${l[a.NUMERICIDENTIFIERLOOSE]})`);R("PRERELEASE",`(?:-(${l[a.PRERELEASEIDENTIFIER]}(?:\\.${l[a.PRERELEASEIDENTIFIER]})*))`);R("PRERELEASELOOSE",`(?:-?(${l[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[a.PRERELEASEIDENTIFIERLOOSE]})*))`);R("BUILDIDENTIFIER",`${z}+`);R("BUILD",`(?:\\+(${l[a.BUILDIDENTIFIER]}(?:\\.${l[a.BUILDIDENTIFIER]})*))`);R("FULLPLAIN",`v?${l[a.MAINVERSION]}${l[a.PRERELEASE]}?${l[a.BUILD]}?`);R("FULL",`^${l[a.FULLPLAIN]}$`);R("LOOSEPLAIN",`[v=\\s]*${l[a.MAINVERSIONLOOSE]}${l[a.PRERELEASELOOSE]}?${l[a.BUILD]}?`);R("LOOSE",`^${l[a.LOOSEPLAIN]}$`);R("GTLT","((?:<|>)?=?)");R("XRANGEIDENTIFIERLOOSE",`${l[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);R("XRANGEIDENTIFIER",`${l[a.NUMERICIDENTIFIER]}|x|X|\\*`);R("XRANGEPLAIN",`[v=\\s]*(${l[a.XRANGEIDENTIFIER]})(?:\\.(${l[a.XRANGEIDENTIFIER]})(?:\\.(${l[a.XRANGEIDENTIFIER]})(?:${l[a.PRERELEASE]})?${l[a.BUILD]}?)?)?`);R("XRANGEPLAINLOOSE",`[v=\\s]*(${l[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[a.XRANGEIDENTIFIERLOOSE]})(?:${l[a.PRERELEASELOOSE]})?${l[a.BUILD]}?)?)?`);R("XRANGE",`^${l[a.GTLT]}\\s*${l[a.XRANGEPLAIN]}$`);R("XRANGELOOSE",`^${l[a.GTLT]}\\s*${l[a.XRANGEPLAINLOOSE]}$`);R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${W}})(?:\\.(\\d{1,${W}}))?(?:\\.(\\d{1,${W}}))?`);R("COERCE",`${l[a.COERCEPLAIN]}(?:$|[^\\d])`);R("COERCEFULL",l[a.COERCEPLAIN]+`(?:${l[a.PRERELEASE]})?(?:${l[a.BUILD]})?(?:$|[^\\d])`);R("COERCERTL",l[a.COERCE],!0);R("COERCERTLFULL",l[a.COERCEFULL],!0);R("LONETILDE","(?:~>?)");R("TILDETRIM",`(\\s*)${l[a.LONETILDE]}\\s+`,!0);q.tildeTrimReplace="$1~";R("TILDE",`^${l[a.LONETILDE]}${l[a.XRANGEPLAIN]}$`);R("TILDELOOSE",`^${l[a.LONETILDE]}${l[a.XRANGEPLAINLOOSE]}$`);R("LONECARET","(?:\\^)");R("CARETTRIM",`(\\s*)${l[a.LONECARET]}\\s+`,!0);q.caretTrimReplace="$1^";R("CARET",`^${l[a.LONECARET]}${l[a.XRANGEPLAIN]}$`);R("CARETLOOSE",`^${l[a.LONECARET]}${l[a.XRANGEPLAINLOOSE]}$`);R("COMPARATORLOOSE",`^${l[a.GTLT]}\\s*(${l[a.LOOSEPLAIN]})$|^$`);R("COMPARATOR",`^${l[a.GTLT]}\\s*(${l[a.FULLPLAIN]})$|^$`);R("COMPARATORTRIM",`(\\s*)${l[a.GTLT]}\\s*(${l[a.LOOSEPLAIN]}|${l[a.XRANGEPLAIN]})`,!0);q.comparatorTrimReplace="$1$2$3";R("HYPHENRANGE",`^\\s*(${l[a.XRANGEPLAIN]})\\s+-\\s+(${l[a.XRANGEPLAIN]})\\s*$`);R("HYPHENRANGELOOSE",`^\\s*(${l[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[a.XRANGEPLAINLOOSE]})\\s*$`);R("STAR","(<|>)?=?\\s*\\*");R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var F=p((sn,$e)=>{"use strict";o();var mt=Object.freeze({loose:!0}),It=Object.freeze({}),Lt=t=>t?typeof t!="object"?mt:t:It;$e.exports=Lt});var K=p((on,Le)=>{"use strict";o();var me=/^[0-9]+$/,Ie=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=me.test(t),s=me.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},Nt=(t,e)=>Ie(e,t);Le.exports={compareIdentifiers:Ie,rcompareIdentifiers:Nt}});var N=p((ln,Oe)=>{"use strict";o();var j=v(),{MAX_LENGTH:Ne,MAX_SAFE_INTEGER:X}=P(),{safeRe:U,t:V}=g(),Ot=F(),{compareIdentifiers:Z}=K(),J=class t{constructor(e,r){if(r=Ot(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Ne)throw new TypeError(`version is longer than ${Ne} characters`);j("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?U[V.LOOSE]:U[V.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>X||this.major<0)throw new TypeError("Invalid major version");if(this.minor>X||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>X||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<X)return n}return i}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(j("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],i=e.prerelease[r];if(j("prerelease compare",r,s,i),s===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(s===void 0)return-1;if(s===i)continue;return Z(s,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],i=e.build[r];if(j("build compare",r,s,i),s===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(s===void 0)return-1;if(s===i)continue;return Z(s,i)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?U[V.PRERELEASELOOSE]:U[V.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let n=[r,i];s===!1&&(n=[r]),Z(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Oe.exports=J});var w=p((un,de)=>{"use strict";o();var Se=N(),St=(t,e,r=!1)=>{if(t instanceof Se)return t;try{return new Se(t,e)}catch(s){if(!r)return null;throw s}};de.exports=St});var Te=p((fn,Ae)=>{"use strict";o();var dt=w(),At=(t,e)=>{let r=dt(t,e);return r?r.version:null};Ae.exports=At});var we=p((pn,qe)=>{"use strict";o();var Tt=w(),qt=(t,e)=>{let r=Tt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};qe.exports=qt});var ve=p(($n,Pe)=>{"use strict";o();var ge=N(),wt=(t,e,r,s,i)=>{typeof r=="string"&&(i=s,s=r,r=void 0);try{return new ge(t instanceof ge?t.version:t,r).inc(e,s,i).version}catch{return null}};Pe.exports=wt});var De=p((In,Ce)=>{"use strict";o();var xe=w(),gt=(t,e)=>{let r=xe(t,null,!0),s=xe(e,null,!0),i=r.compare(s);if(i===0)return null;let n=i>0,c=n?r:s,u=n?s:r,E=!!c.prerelease.length;if(!!u.prerelease.length&&!E){if(!u.patch&&!u.minor)return"major";if(u.compareMain(c)===0)return u.minor&&!u.patch?"minor":"patch"}let m=E?"pre":"";return r.major!==s.major?m+"major":r.minor!==s.minor?m+"minor":r.patch!==s.patch?m+"patch":"prerelease"};Ce.exports=gt});var ye=p((Nn,Ge)=>{"use strict";o();var Pt=N(),vt=(t,e)=>new Pt(t,e).major;Ge.exports=vt});var je=p((Sn,Fe)=>{"use strict";o();var xt=N(),Ct=(t,e)=>new xt(t,e).minor;Fe.exports=Ct});var Ue=p((An,Xe)=>{"use strict";o();var Dt=N(),Gt=(t,e)=>new Dt(t,e).patch;Xe.exports=Gt});var _e=p((qn,Ve)=>{"use strict";o();var yt=w(),Ft=(t,e)=>{let r=yt(t,e);return r&&r.prerelease.length?r.prerelease:null};Ve.exports=Ft});var A=p((gn,be)=>{"use strict";o();var He=N(),jt=(t,e,r)=>new He(t,r).compare(new He(e,r));be.exports=jt});var Me=p((vn,ke)=>{"use strict";o();var Xt=A(),Ut=(t,e,r)=>Xt(e,t,r);ke.exports=Ut});var Be=p((Cn,Ye)=>{"use strict";o();var Vt=A(),_t=(t,e)=>Vt(t,e,!0);Ye.exports=_t});var _=p((Gn,ze)=>{"use strict";o();var We=N(),Ht=(t,e,r)=>{let s=new We(t,r),i=new We(e,r);return s.compare(i)||s.compareBuild(i)};ze.exports=Ht});var Ze=p((Fn,Ke)=>{"use strict";o();var bt=_(),kt=(t,e)=>t.sort((r,s)=>bt(r,s,e));Ke.exports=kt});var Qe=p((Xn,Je)=>{"use strict";o();var Mt=_(),Yt=(t,e)=>t.sort((r,s)=>Mt(s,r,e));Je.exports=Yt});var x=p((Vn,er)=>{"use strict";o();var Bt=A(),Wt=(t,e,r)=>Bt(t,e,r)>0;er.exports=Wt});var H=p((Hn,rr)=>{"use strict";o();var zt=A(),Kt=(t,e,r)=>zt(t,e,r)<0;rr.exports=Kt});var Q=p((kn,tr)=>{"use strict";o();var Zt=A(),Jt=(t,e,r)=>Zt(t,e,r)===0;tr.exports=Jt});var ee=p((Yn,sr)=>{"use strict";o();var Qt=A(),es=(t,e,r)=>Qt(t,e,r)!==0;sr.exports=es});var b=p((Wn,ir)=>{"use strict";o();var rs=A(),ts=(t,e,r)=>rs(t,e,r)>=0;ir.exports=ts});var k=p((Kn,nr)=>{"use strict";o();var ss=A(),is=(t,e,r)=>ss(t,e,r)<=0;nr.exports=is});var re=p((Jn,or)=>{"use strict";o();var ns=Q(),os=ee(),cs=x(),ls=b(),as=H(),us=k(),Es=(t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return ns(t,r,s);case"!=":return os(t,r,s);case">":return cs(t,r,s);case">=":return ls(t,r,s);case"<":return as(t,r,s);case"<=":return us(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};or.exports=Es});var lr=p((eo,cr)=>{"use strict";o();var fs=N(),hs=w(),{safeRe:M,t:Y}=g(),ps=(t,e)=>{if(t instanceof fs)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?M[Y.COERCEFULL]:M[Y.COERCE]);else{let E=e.includePrerelease?M[Y.COERCERTLFULL]:M[Y.COERCERTL],$;for(;($=E.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||$.index+$[0].length!==r.index+r[0].length)&&(r=$),E.lastIndex=$.index+$[1].length+$[2].length;E.lastIndex=-1}if(r===null)return null;let s=r[2],i=r[3]||"0",n=r[4]||"0",c=e.includePrerelease&&r[5]?`-${r[5]}`:"",u=e.includePrerelease&&r[6]?`+${r[6]}`:"";return hs(`${s}.${i}.${n}${c}${u}`,e)};cr.exports=ps});var ur=p((to,ar)=>{"use strict";o();var te=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};ar.exports=te});var T=p((io,pr)=>{"use strict";o();var Rs=/\s+/g,se=class t{constructor(e,r){if(r=ms(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof ie)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(Rs," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(i=>!fr(i[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&As(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s<r.length;s++)s>0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&Ss)|(this.options.loose&&ds))+":"+e,i=Er.get(s);if(i)return i;let n=this.options.loose,c=n?S[O.HYPHENRANGELOOSE]:S[O.HYPHENRANGE];e=e.replace(c,Gs(this.options.includePrerelease)),I("hyphen replace",e),e=e.replace(S[O.COMPARATORTRIM],Ls),I("comparator trim",e),e=e.replace(S[O.TILDETRIM],Ns),I("tilde trim",e),e=e.replace(S[O.CARETTRIM],Os),I("caret trim",e);let u=e.split(" ").map(f=>Ts(f,this.options)).join(" ").split(/\s+/).map(f=>Ds(f,this.options));n&&(u=u.filter(f=>(I("loose invalid filter",f,this.options),!!f.match(S[O.COMPARATORLOOSE])))),I("range list",u);let E=new Map,$=u.map(f=>new ie(f,this.options));for(let f of $){if(fr(f))return[f];E.set(f.value,f)}E.size>1&&E.has("")&&E.delete("");let m=[...E.values()];return Er.set(s,m),m}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>hr(s,r)&&e.set.some(i=>hr(i,r)&&s.every(n=>i.every(c=>n.intersects(c,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Is(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(ys(this.set[r],e,this.options))return!0;return!1}};pr.exports=se;var $s=ur(),Er=new $s,ms=F(),ie=C(),I=v(),Is=N(),{safeRe:S,t:O,comparatorTrimReplace:Ls,tildeTrimReplace:Ns,caretTrimReplace:Os}=g(),{FLAG_INCLUDE_PRERELEASE:Ss,FLAG_LOOSE:ds}=P(),fr=t=>t.value==="<0.0.0-0",As=t=>t.value==="",hr=(t,e)=>{let r=!0,s=t.slice(),i=s.pop();for(;r&&s.length;)r=s.every(n=>i.intersects(n,e)),i=s.pop();return r},Ts=(t,e)=>(t=t.replace(S[O.BUILD],""),I("comp",t,e),t=gs(t,e),I("caret",t),t=qs(t,e),I("tildes",t),t=vs(t,e),I("xrange",t),t=Cs(t,e),I("stars",t),t),d=t=>!t||t.toLowerCase()==="x"||t==="*",qs=(t,e)=>t.trim().split(/\s+/).map(r=>ws(r,e)).join(" "),ws=(t,e)=>{let r=e.loose?S[O.TILDELOOSE]:S[O.TILDE];return t.replace(r,(s,i,n,c,u)=>{I("tilde",t,s,i,n,c,u);let E;return d(i)?E="":d(n)?E=`>=${i}.0.0 <${+i+1}.0.0-0`:d(c)?E=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`:u?(I("replaceTilde pr",u),E=`>=${i}.${n}.${c}-${u} <${i}.${+n+1}.0-0`):E=`>=${i}.${n}.${c} <${i}.${+n+1}.0-0`,I("tilde return",E),E})},gs=(t,e)=>t.trim().split(/\s+/).map(r=>Ps(r,e)).join(" "),Ps=(t,e)=>{I("caret",t,e);let r=e.loose?S[O.CARETLOOSE]:S[O.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(i,n,c,u,E)=>{I("caret",t,i,n,c,u,E);let $;return d(n)?$="":d(c)?$=`>=${n}.0.0${s} <${+n+1}.0.0-0`:d(u)?n==="0"?$=`>=${n}.${c}.0${s} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.0${s} <${+n+1}.0.0-0`:E?(I("replaceCaret pr",E),n==="0"?c==="0"?$=`>=${n}.${c}.${u}-${E} <${n}.${c}.${+u+1}-0`:$=`>=${n}.${c}.${u}-${E} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.${u}-${E} <${+n+1}.0.0-0`):(I("no pr"),n==="0"?c==="0"?$=`>=${n}.${c}.${u}${s} <${n}.${c}.${+u+1}-0`:$=`>=${n}.${c}.${u}${s} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.${u} <${+n+1}.0.0-0`),I("caret return",$),$})},vs=(t,e)=>(I("replaceXRanges",t,e),t.split(/\s+/).map(r=>xs(r,e)).join(" ")),xs=(t,e)=>{t=t.trim();let r=e.loose?S[O.XRANGELOOSE]:S[O.XRANGE];return t.replace(r,(s,i,n,c,u,E)=>{I("xRange",t,s,i,n,c,u,E);let $=d(n),m=$||d(c),f=m||d(u),L=f;return i==="="&&L&&(i=""),E=e.includePrerelease?"-0":"",$?i===">"||i==="<"?s="<0.0.0-0":s="*":i&&L?(m&&(c=0),u=0,i===">"?(i=">=",m?(n=+n+1,c=0,u=0):(c=+c+1,u=0)):i==="<="&&(i="<",m?n=+n+1:c=+c+1),i==="<"&&(E="-0"),s=`${i+n}.${c}.${u}${E}`):m?s=`>=${n}.0.0${E} <${+n+1}.0.0-0`:f&&(s=`>=${n}.${c}.0${E} <${n}.${+c+1}.0-0`),I("xRange return",s),s})},Cs=(t,e)=>(I("replaceStars",t,e),t.trim().replace(S[O.STAR],"")),Ds=(t,e)=>(I("replaceGTE0",t,e),t.trim().replace(S[e.includePrerelease?O.GTE0PRE:O.GTE0],"")),Gs=t=>(e,r,s,i,n,c,u,E,$,m,f,L)=>(d(s)?r="":d(i)?r=`>=${s}.0.0${t?"-0":""}`:d(n)?r=`>=${s}.${i}.0${t?"-0":""}`:c?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,d($)?E="":d(m)?E=`<${+$+1}.0.0-0`:d(f)?E=`<${$}.${+m+1}.0-0`:L?E=`<=${$}.${m}.${f}-${L}`:t?E=`<${$}.${m}.${+f+1}-0`:E=`<=${E}`,`${r} ${E}`.trim()),ys=(t,e,r)=>{for(let s=0;s<t.length;s++)if(!t[s].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let s=0;s<t.length;s++)if(I(t[s].semver),t[s].semver!==ie.ANY&&t[s].semver.prerelease.length>0){let i=t[s].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}});var C=p((oo,Nr)=>{"use strict";o();var D=Symbol("SemVer ANY"),ce=class t{static get ANY(){return D}constructor(e,r){if(r=Rr(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),oe("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===D?this.value="":this.value=this.operator+this.semver.version,oe("comp",this)}parse(e){let r=this.options.loose?$r[mr.COMPARATORLOOSE]:$r[mr.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new Ir(s[2],this.options.loose):this.semver=D}toString(){return this.value}test(e){if(oe("Comparator.test",e,this.options.loose),this.semver===D||e===D)return!0;if(typeof e=="string")try{e=new Ir(e,this.options)}catch{return!1}return ne(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Lr(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Lr(this.value,r).test(e.semver):(r=Rr(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||ne(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||ne(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Nr.exports=ce;var Rr=F(),{safeRe:$r,t:mr}=g(),ne=re(),oe=v(),Ir=N(),Lr=T()});var G=p((lo,Or)=>{"use strict";o();var Fs=T(),js=(t,e,r)=>{try{e=new Fs(e,r)}catch{return!1}return e.test(t)};Or.exports=js});var dr=p((uo,Sr)=>{"use strict";o();var Xs=T(),Us=(t,e)=>new Xs(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));Sr.exports=Us});var Tr=p((fo,Ar)=>{"use strict";o();var Vs=N(),_s=T(),Hs=(t,e,r)=>{let s=null,i=null,n=null;try{n=new _s(e,r)}catch{return null}return t.forEach(c=>{n.test(c)&&(!s||i.compare(c)===-1)&&(s=c,i=new Vs(s,r))}),s};Ar.exports=Hs});var wr=p((po,qr)=>{"use strict";o();var bs=N(),ks=T(),Ms=(t,e,r)=>{let s=null,i=null,n=null;try{n=new ks(e,r)}catch{return null}return t.forEach(c=>{n.test(c)&&(!s||i.compare(c)===1)&&(s=c,i=new bs(s,r))}),s};qr.exports=Ms});var vr=p(($o,Pr)=>{"use strict";o();var le=N(),Ys=T(),gr=x(),Bs=(t,e)=>{t=new Ys(t,e);let r=new le("0.0.0");if(t.test(r)||(r=new le("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s<t.set.length;++s){let i=t.set[s],n=null;i.forEach(c=>{let u=new le(c.semver.version);switch(c.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!n||gr(u,n))&&(n=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),n&&(!r||gr(r,n))&&(r=n)}return r&&t.test(r)?r:null};Pr.exports=Bs});var Cr=p((Io,xr)=>{"use strict";o();var Ws=T(),zs=(t,e)=>{try{return new Ws(t,e).range||"*"}catch{return null}};xr.exports=zs});var B=p((No,Fr)=>{"use strict";o();var Ks=N(),yr=C(),{ANY:Zs}=yr,Js=T(),Qs=G(),Dr=x(),Gr=H(),ei=k(),ri=b(),ti=(t,e,r,s)=>{t=new Ks(t,s),e=new Js(e,s);let i,n,c,u,E;switch(r){case">":i=Dr,n=ei,c=Gr,u=">",E=">=";break;case"<":i=Gr,n=ri,c=Dr,u="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Qs(t,e,s))return!1;for(let $=0;$<e.set.length;++$){let m=e.set[$],f=null,L=null;if(m.forEach(h=>{h.semver===Zs&&(h=new yr(">=0.0.0")),f=f||h,L=L||h,i(h.semver,f.semver,s)?f=h:c(h.semver,L.semver,s)&&(L=h)}),f.operator===u||f.operator===E||(!L.operator||L.operator===u)&&n(t,L.semver))return!1;if(L.operator===E&&c(t,L.semver))return!1}return!0};Fr.exports=ti});var Xr=p((So,jr)=>{"use strict";o();var si=B(),ii=(t,e,r)=>si(t,e,">",r);jr.exports=ii});var Vr=p((To,Ur)=>{"use strict";o();var ni=B(),oi=(t,e,r)=>ni(t,e,"<",r);Ur.exports=oi});var br=p((wo,Hr)=>{"use strict";o();var _r=T(),ci=(t,e,r)=>(t=new _r(t,r),e=new _r(e,r),t.intersects(e,r));Hr.exports=ci});var Mr=p((Po,kr)=>{"use strict";o();var li=G(),ai=A();kr.exports=(t,e,r)=>{let s=[],i=null,n=null,c=t.sort((m,f)=>ai(m,f,r));for(let m of c)li(m,e,r)?(n=m,i||(i=m)):(n&&s.push([i,n]),n=null,i=null);i&&s.push([i,null]);let u=[];for(let[m,f]of s)m===f?u.push(m):!f&&m===c[0]?u.push("*"):f?m===c[0]?u.push(`<=${f}`):u.push(`${m} - ${f}`):u.push(`>=${m}`);let E=u.join(" || "),$=typeof e.raw=="string"?e.raw:String(e);return E.length<$.length?E:e}});var Zr=p((xo,Kr)=>{"use strict";o();var Yr=T(),ue=C(),{ANY:ae}=ue,y=G(),Ee=A(),ui=(t,e,r={})=>{if(t===e)return!0;t=new Yr(t,r),e=new Yr(e,r);let s=!1;e:for(let i of t.set){for(let n of e.set){let c=fi(i,n,r);if(s=s||c!==null,c)continue e}if(s)return!1}return!0},Ei=[new ue(">=0.0.0-0")],Br=[new ue(">=0.0.0")],fi=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===ae){if(e.length===1&&e[0].semver===ae)return!0;r.includePrerelease?t=Ei:t=Br}if(e.length===1&&e[0].semver===ae){if(r.includePrerelease)return!0;e=Br}let s=new Set,i,n;for(let h of t)h.operator===">"||h.operator===">="?i=Wr(i,h,r):h.operator==="<"||h.operator==="<="?n=zr(n,h,r):s.add(h.semver);if(s.size>1)return null;let c;if(i&&n){if(c=Ee(i.semver,n.semver,r),c>0)return null;if(c===0&&(i.operator!==">="||n.operator!=="<="))return null}for(let h of s){if(i&&!y(h,String(i),r)||n&&!y(h,String(n),r))return null;for(let rt of e)if(!y(h,String(rt),r))return!1;return!0}let u,E,$,m,f=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1,L=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&n.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let h of e){if(m=m||h.operator===">"||h.operator===">=",$=$||h.operator==="<"||h.operator==="<=",i){if(L&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===L.major&&h.semver.minor===L.minor&&h.semver.patch===L.patch&&(L=!1),h.operator===">"||h.operator===">="){if(u=Wr(i,h,r),u===h&&u!==i)return!1}else if(i.operator===">="&&!y(i.semver,String(h),r))return!1}if(n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(E=zr(n,h,r),E===h&&E!==n)return!1}else if(n.operator==="<="&&!y(n.semver,String(h),r))return!1}if(!h.operator&&(n||i)&&c!==0)return!1}return!(i&&$&&!n&&c!==0||n&&m&&!i&&c!==0||L||f)},Wr=(t,e,r)=>{if(!t)return e;let s=Ee(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},zr=(t,e,r)=>{if(!t)return e;let s=Ee(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};Kr.exports=ui});var Zi=p((Do,et)=>{"use strict";o();var fe=g(),Jr=P(),hi=N(),Qr=K(),pi=w(),Ri=Te(),$i=we(),mi=ve(),Ii=De(),Li=ye(),Ni=je(),Oi=Ue(),Si=_e(),di=A(),Ai=Me(),Ti=Be(),qi=_(),wi=Ze(),gi=Qe(),Pi=x(),vi=H(),xi=Q(),Ci=ee(),Di=b(),Gi=k(),yi=re(),Fi=lr(),ji=C(),Xi=T(),Ui=G(),Vi=dr(),_i=Tr(),Hi=wr(),bi=vr(),ki=Cr(),Mi=B(),Yi=Xr(),Bi=Vr(),Wi=br(),zi=Mr(),Ki=Zr();et.exports={parse:pi,valid:Ri,clean:$i,inc:mi,diff:Ii,major:Li,minor:Ni,patch:Oi,prerelease:Si,compare:di,rcompare:Ai,compareLoose:Ti,compareBuild:qi,sort:wi,rsort:gi,gt:Pi,lt:vi,eq:xi,neq:Ci,gte:Di,lte:Gi,cmp:yi,coerce:Fi,Comparator:ji,Range:Xi,satisfies:Ui,toComparators:Vi,maxSatisfying:_i,minSatisfying:Hi,minVersion:bi,validRange:ki,outside:Mi,gtr:Yi,ltr:Bi,intersects:Wi,simplifyRange:zi,subset:Ki,SemVer:hi,re:fe.re,src:fe.src,tokens:fe.t,SEMVER_SPEC_VERSION:Jr.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jr.RELEASE_TYPES,compareIdentifiers:Qr.compareIdentifiers,rcompareIdentifiers:Qr.rcompareIdentifiers}});export{Zi as a};
|
|
1
|
+
import{c as p,g as o}from"./chunk-VKWPEFWQ.js";var P=p((Ji,he)=>{"use strict";o();var tt="2.0.0",st=Number.MAX_SAFE_INTEGER||9007199254740991,it=16,nt=250,ot=["major","premajor","minor","preminor","patch","prepatch","prerelease"];he.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:it,MAX_SAFE_BUILD_LENGTH:nt,MAX_SAFE_INTEGER:st,RELEASE_TYPES:ot,SEMVER_SPEC_VERSION:tt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var v=p((en,pe)=>{"use strict";o();var ct=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};pe.exports=ct});var g=p((q,Re)=>{"use strict";o();var{MAX_SAFE_COMPONENT_LENGTH:W,MAX_SAFE_BUILD_LENGTH:lt,MAX_LENGTH:at}=P(),ut=v();q=Re.exports={};var Et=q.re=[],ft=q.safeRe=[],l=q.src=[],ht=q.safeSrc=[],a=q.t={},pt=0,z="[a-zA-Z0-9-]",Rt=[["\\s",1],["\\d",at],[z,lt]],$t=t=>{for(let[e,r]of Rt)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},R=(t,e,r)=>{let s=$t(e),i=pt++;ut(t,i,e),a[t]=i,l[i]=e,ht[i]=s,Et[i]=new RegExp(e,r?"g":void 0),ft[i]=new RegExp(s,r?"g":void 0)};R("NUMERICIDENTIFIER","0|[1-9]\\d*");R("NUMERICIDENTIFIERLOOSE","\\d+");R("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${z}*`);R("MAINVERSION",`(${l[a.NUMERICIDENTIFIER]})\\.(${l[a.NUMERICIDENTIFIER]})\\.(${l[a.NUMERICIDENTIFIER]})`);R("MAINVERSIONLOOSE",`(${l[a.NUMERICIDENTIFIERLOOSE]})\\.(${l[a.NUMERICIDENTIFIERLOOSE]})\\.(${l[a.NUMERICIDENTIFIERLOOSE]})`);R("PRERELEASEIDENTIFIER",`(?:${l[a.NONNUMERICIDENTIFIER]}|${l[a.NUMERICIDENTIFIER]})`);R("PRERELEASEIDENTIFIERLOOSE",`(?:${l[a.NONNUMERICIDENTIFIER]}|${l[a.NUMERICIDENTIFIERLOOSE]})`);R("PRERELEASE",`(?:-(${l[a.PRERELEASEIDENTIFIER]}(?:\\.${l[a.PRERELEASEIDENTIFIER]})*))`);R("PRERELEASELOOSE",`(?:-?(${l[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[a.PRERELEASEIDENTIFIERLOOSE]})*))`);R("BUILDIDENTIFIER",`${z}+`);R("BUILD",`(?:\\+(${l[a.BUILDIDENTIFIER]}(?:\\.${l[a.BUILDIDENTIFIER]})*))`);R("FULLPLAIN",`v?${l[a.MAINVERSION]}${l[a.PRERELEASE]}?${l[a.BUILD]}?`);R("FULL",`^${l[a.FULLPLAIN]}$`);R("LOOSEPLAIN",`[v=\\s]*${l[a.MAINVERSIONLOOSE]}${l[a.PRERELEASELOOSE]}?${l[a.BUILD]}?`);R("LOOSE",`^${l[a.LOOSEPLAIN]}$`);R("GTLT","((?:<|>)?=?)");R("XRANGEIDENTIFIERLOOSE",`${l[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);R("XRANGEIDENTIFIER",`${l[a.NUMERICIDENTIFIER]}|x|X|\\*`);R("XRANGEPLAIN",`[v=\\s]*(${l[a.XRANGEIDENTIFIER]})(?:\\.(${l[a.XRANGEIDENTIFIER]})(?:\\.(${l[a.XRANGEIDENTIFIER]})(?:${l[a.PRERELEASE]})?${l[a.BUILD]}?)?)?`);R("XRANGEPLAINLOOSE",`[v=\\s]*(${l[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[a.XRANGEIDENTIFIERLOOSE]})(?:${l[a.PRERELEASELOOSE]})?${l[a.BUILD]}?)?)?`);R("XRANGE",`^${l[a.GTLT]}\\s*${l[a.XRANGEPLAIN]}$`);R("XRANGELOOSE",`^${l[a.GTLT]}\\s*${l[a.XRANGEPLAINLOOSE]}$`);R("COERCEPLAIN",`(^|[^\\d])(\\d{1,${W}})(?:\\.(\\d{1,${W}}))?(?:\\.(\\d{1,${W}}))?`);R("COERCE",`${l[a.COERCEPLAIN]}(?:$|[^\\d])`);R("COERCEFULL",l[a.COERCEPLAIN]+`(?:${l[a.PRERELEASE]})?(?:${l[a.BUILD]})?(?:$|[^\\d])`);R("COERCERTL",l[a.COERCE],!0);R("COERCERTLFULL",l[a.COERCEFULL],!0);R("LONETILDE","(?:~>?)");R("TILDETRIM",`(\\s*)${l[a.LONETILDE]}\\s+`,!0);q.tildeTrimReplace="$1~";R("TILDE",`^${l[a.LONETILDE]}${l[a.XRANGEPLAIN]}$`);R("TILDELOOSE",`^${l[a.LONETILDE]}${l[a.XRANGEPLAINLOOSE]}$`);R("LONECARET","(?:\\^)");R("CARETTRIM",`(\\s*)${l[a.LONECARET]}\\s+`,!0);q.caretTrimReplace="$1^";R("CARET",`^${l[a.LONECARET]}${l[a.XRANGEPLAIN]}$`);R("CARETLOOSE",`^${l[a.LONECARET]}${l[a.XRANGEPLAINLOOSE]}$`);R("COMPARATORLOOSE",`^${l[a.GTLT]}\\s*(${l[a.LOOSEPLAIN]})$|^$`);R("COMPARATOR",`^${l[a.GTLT]}\\s*(${l[a.FULLPLAIN]})$|^$`);R("COMPARATORTRIM",`(\\s*)${l[a.GTLT]}\\s*(${l[a.LOOSEPLAIN]}|${l[a.XRANGEPLAIN]})`,!0);q.comparatorTrimReplace="$1$2$3";R("HYPHENRANGE",`^\\s*(${l[a.XRANGEPLAIN]})\\s+-\\s+(${l[a.XRANGEPLAIN]})\\s*$`);R("HYPHENRANGELOOSE",`^\\s*(${l[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[a.XRANGEPLAINLOOSE]})\\s*$`);R("STAR","(<|>)?=?\\s*\\*");R("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");R("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var F=p((sn,$e)=>{"use strict";o();var mt=Object.freeze({loose:!0}),It=Object.freeze({}),Lt=t=>t?typeof t!="object"?mt:t:It;$e.exports=Lt});var K=p((on,Le)=>{"use strict";o();var me=/^[0-9]+$/,Ie=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=me.test(t),s=me.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},Nt=(t,e)=>Ie(e,t);Le.exports={compareIdentifiers:Ie,rcompareIdentifiers:Nt}});var N=p((ln,Oe)=>{"use strict";o();var j=v(),{MAX_LENGTH:Ne,MAX_SAFE_INTEGER:X}=P(),{safeRe:U,t:V}=g(),Ot=F(),{compareIdentifiers:Z}=K(),J=class t{constructor(e,r){if(r=Ot(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Ne)throw new TypeError(`version is longer than ${Ne} characters`);j("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?U[V.LOOSE]:U[V.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>X||this.major<0)throw new TypeError("Invalid major version");if(this.minor>X||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>X||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let n=+i;if(n>=0&&n<X)return n}return i}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(j("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],i=e.prerelease[r];if(j("prerelease compare",r,s,i),s===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(s===void 0)return-1;if(s===i)continue;return Z(s,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],i=e.build[r];if(j("build compare",r,s,i),s===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(s===void 0)return-1;if(s===i)continue;return Z(s,i)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?U[V.PRERELEASELOOSE]:U[V.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);if(n===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let n=[r,i];s===!1&&(n=[r]),Z(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Oe.exports=J});var w=p((un,de)=>{"use strict";o();var Se=N(),St=(t,e,r=!1)=>{if(t instanceof Se)return t;try{return new Se(t,e)}catch(s){if(!r)return null;throw s}};de.exports=St});var Te=p((fn,Ae)=>{"use strict";o();var dt=w(),At=(t,e)=>{let r=dt(t,e);return r?r.version:null};Ae.exports=At});var we=p((pn,qe)=>{"use strict";o();var Tt=w(),qt=(t,e)=>{let r=Tt(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};qe.exports=qt});var ve=p(($n,Pe)=>{"use strict";o();var ge=N(),wt=(t,e,r,s,i)=>{typeof r=="string"&&(i=s,s=r,r=void 0);try{return new ge(t instanceof ge?t.version:t,r).inc(e,s,i).version}catch{return null}};Pe.exports=wt});var De=p((In,Ce)=>{"use strict";o();var xe=w(),gt=(t,e)=>{let r=xe(t,null,!0),s=xe(e,null,!0),i=r.compare(s);if(i===0)return null;let n=i>0,c=n?r:s,u=n?s:r,E=!!c.prerelease.length;if(!!u.prerelease.length&&!E){if(!u.patch&&!u.minor)return"major";if(u.compareMain(c)===0)return u.minor&&!u.patch?"minor":"patch"}let m=E?"pre":"";return r.major!==s.major?m+"major":r.minor!==s.minor?m+"minor":r.patch!==s.patch?m+"patch":"prerelease"};Ce.exports=gt});var ye=p((Nn,Ge)=>{"use strict";o();var Pt=N(),vt=(t,e)=>new Pt(t,e).major;Ge.exports=vt});var je=p((Sn,Fe)=>{"use strict";o();var xt=N(),Ct=(t,e)=>new xt(t,e).minor;Fe.exports=Ct});var Ue=p((An,Xe)=>{"use strict";o();var Dt=N(),Gt=(t,e)=>new Dt(t,e).patch;Xe.exports=Gt});var _e=p((qn,Ve)=>{"use strict";o();var yt=w(),Ft=(t,e)=>{let r=yt(t,e);return r&&r.prerelease.length?r.prerelease:null};Ve.exports=Ft});var A=p((gn,be)=>{"use strict";o();var He=N(),jt=(t,e,r)=>new He(t,r).compare(new He(e,r));be.exports=jt});var Me=p((vn,ke)=>{"use strict";o();var Xt=A(),Ut=(t,e,r)=>Xt(e,t,r);ke.exports=Ut});var Be=p((Cn,Ye)=>{"use strict";o();var Vt=A(),_t=(t,e)=>Vt(t,e,!0);Ye.exports=_t});var _=p((Gn,ze)=>{"use strict";o();var We=N(),Ht=(t,e,r)=>{let s=new We(t,r),i=new We(e,r);return s.compare(i)||s.compareBuild(i)};ze.exports=Ht});var Ze=p((Fn,Ke)=>{"use strict";o();var bt=_(),kt=(t,e)=>t.sort((r,s)=>bt(r,s,e));Ke.exports=kt});var Qe=p((Xn,Je)=>{"use strict";o();var Mt=_(),Yt=(t,e)=>t.sort((r,s)=>Mt(s,r,e));Je.exports=Yt});var x=p((Vn,er)=>{"use strict";o();var Bt=A(),Wt=(t,e,r)=>Bt(t,e,r)>0;er.exports=Wt});var H=p((Hn,rr)=>{"use strict";o();var zt=A(),Kt=(t,e,r)=>zt(t,e,r)<0;rr.exports=Kt});var Q=p((kn,tr)=>{"use strict";o();var Zt=A(),Jt=(t,e,r)=>Zt(t,e,r)===0;tr.exports=Jt});var ee=p((Yn,sr)=>{"use strict";o();var Qt=A(),es=(t,e,r)=>Qt(t,e,r)!==0;sr.exports=es});var b=p((Wn,ir)=>{"use strict";o();var rs=A(),ts=(t,e,r)=>rs(t,e,r)>=0;ir.exports=ts});var k=p((Kn,nr)=>{"use strict";o();var ss=A(),is=(t,e,r)=>ss(t,e,r)<=0;nr.exports=is});var re=p((Jn,or)=>{"use strict";o();var ns=Q(),os=ee(),cs=x(),ls=b(),as=H(),us=k(),Es=(t,e,r,s)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return ns(t,r,s);case"!=":return os(t,r,s);case">":return cs(t,r,s);case">=":return ls(t,r,s);case"<":return as(t,r,s);case"<=":return us(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}};or.exports=Es});var lr=p((eo,cr)=>{"use strict";o();var fs=N(),hs=w(),{safeRe:M,t:Y}=g(),ps=(t,e)=>{if(t instanceof fs)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?M[Y.COERCEFULL]:M[Y.COERCE]);else{let E=e.includePrerelease?M[Y.COERCERTLFULL]:M[Y.COERCERTL],$;for(;($=E.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||$.index+$[0].length!==r.index+r[0].length)&&(r=$),E.lastIndex=$.index+$[1].length+$[2].length;E.lastIndex=-1}if(r===null)return null;let s=r[2],i=r[3]||"0",n=r[4]||"0",c=e.includePrerelease&&r[5]?`-${r[5]}`:"",u=e.includePrerelease&&r[6]?`+${r[6]}`:"";return hs(`${s}.${i}.${n}${c}${u}`,e)};cr.exports=ps});var ur=p((to,ar)=>{"use strict";o();var te=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,r)}return this}};ar.exports=te});var T=p((io,pr)=>{"use strict";o();var Rs=/\s+/g,se=class t{constructor(e,r){if(r=ms(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof ie)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(Rs," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(i=>!fr(i[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&As(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s<r.length;s++)s>0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&Ss)|(this.options.loose&&ds))+":"+e,i=Er.get(s);if(i)return i;let n=this.options.loose,c=n?S[O.HYPHENRANGELOOSE]:S[O.HYPHENRANGE];e=e.replace(c,Gs(this.options.includePrerelease)),I("hyphen replace",e),e=e.replace(S[O.COMPARATORTRIM],Ls),I("comparator trim",e),e=e.replace(S[O.TILDETRIM],Ns),I("tilde trim",e),e=e.replace(S[O.CARETTRIM],Os),I("caret trim",e);let u=e.split(" ").map(f=>Ts(f,this.options)).join(" ").split(/\s+/).map(f=>Ds(f,this.options));n&&(u=u.filter(f=>(I("loose invalid filter",f,this.options),!!f.match(S[O.COMPARATORLOOSE])))),I("range list",u);let E=new Map,$=u.map(f=>new ie(f,this.options));for(let f of $){if(fr(f))return[f];E.set(f.value,f)}E.size>1&&E.has("")&&E.delete("");let m=[...E.values()];return Er.set(s,m),m}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>hr(s,r)&&e.set.some(i=>hr(i,r)&&s.every(n=>i.every(c=>n.intersects(c,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Is(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(ys(this.set[r],e,this.options))return!0;return!1}};pr.exports=se;var $s=ur(),Er=new $s,ms=F(),ie=C(),I=v(),Is=N(),{safeRe:S,t:O,comparatorTrimReplace:Ls,tildeTrimReplace:Ns,caretTrimReplace:Os}=g(),{FLAG_INCLUDE_PRERELEASE:Ss,FLAG_LOOSE:ds}=P(),fr=t=>t.value==="<0.0.0-0",As=t=>t.value==="",hr=(t,e)=>{let r=!0,s=t.slice(),i=s.pop();for(;r&&s.length;)r=s.every(n=>i.intersects(n,e)),i=s.pop();return r},Ts=(t,e)=>(t=t.replace(S[O.BUILD],""),I("comp",t,e),t=gs(t,e),I("caret",t),t=qs(t,e),I("tildes",t),t=vs(t,e),I("xrange",t),t=Cs(t,e),I("stars",t),t),d=t=>!t||t.toLowerCase()==="x"||t==="*",qs=(t,e)=>t.trim().split(/\s+/).map(r=>ws(r,e)).join(" "),ws=(t,e)=>{let r=e.loose?S[O.TILDELOOSE]:S[O.TILDE];return t.replace(r,(s,i,n,c,u)=>{I("tilde",t,s,i,n,c,u);let E;return d(i)?E="":d(n)?E=`>=${i}.0.0 <${+i+1}.0.0-0`:d(c)?E=`>=${i}.${n}.0 <${i}.${+n+1}.0-0`:u?(I("replaceTilde pr",u),E=`>=${i}.${n}.${c}-${u} <${i}.${+n+1}.0-0`):E=`>=${i}.${n}.${c} <${i}.${+n+1}.0-0`,I("tilde return",E),E})},gs=(t,e)=>t.trim().split(/\s+/).map(r=>Ps(r,e)).join(" "),Ps=(t,e)=>{I("caret",t,e);let r=e.loose?S[O.CARETLOOSE]:S[O.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(i,n,c,u,E)=>{I("caret",t,i,n,c,u,E);let $;return d(n)?$="":d(c)?$=`>=${n}.0.0${s} <${+n+1}.0.0-0`:d(u)?n==="0"?$=`>=${n}.${c}.0${s} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.0${s} <${+n+1}.0.0-0`:E?(I("replaceCaret pr",E),n==="0"?c==="0"?$=`>=${n}.${c}.${u}-${E} <${n}.${c}.${+u+1}-0`:$=`>=${n}.${c}.${u}-${E} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.${u}-${E} <${+n+1}.0.0-0`):(I("no pr"),n==="0"?c==="0"?$=`>=${n}.${c}.${u}${s} <${n}.${c}.${+u+1}-0`:$=`>=${n}.${c}.${u}${s} <${n}.${+c+1}.0-0`:$=`>=${n}.${c}.${u} <${+n+1}.0.0-0`),I("caret return",$),$})},vs=(t,e)=>(I("replaceXRanges",t,e),t.split(/\s+/).map(r=>xs(r,e)).join(" ")),xs=(t,e)=>{t=t.trim();let r=e.loose?S[O.XRANGELOOSE]:S[O.XRANGE];return t.replace(r,(s,i,n,c,u,E)=>{I("xRange",t,s,i,n,c,u,E);let $=d(n),m=$||d(c),f=m||d(u),L=f;return i==="="&&L&&(i=""),E=e.includePrerelease?"-0":"",$?i===">"||i==="<"?s="<0.0.0-0":s="*":i&&L?(m&&(c=0),u=0,i===">"?(i=">=",m?(n=+n+1,c=0,u=0):(c=+c+1,u=0)):i==="<="&&(i="<",m?n=+n+1:c=+c+1),i==="<"&&(E="-0"),s=`${i+n}.${c}.${u}${E}`):m?s=`>=${n}.0.0${E} <${+n+1}.0.0-0`:f&&(s=`>=${n}.${c}.0${E} <${n}.${+c+1}.0-0`),I("xRange return",s),s})},Cs=(t,e)=>(I("replaceStars",t,e),t.trim().replace(S[O.STAR],"")),Ds=(t,e)=>(I("replaceGTE0",t,e),t.trim().replace(S[e.includePrerelease?O.GTE0PRE:O.GTE0],"")),Gs=t=>(e,r,s,i,n,c,u,E,$,m,f,L)=>(d(s)?r="":d(i)?r=`>=${s}.0.0${t?"-0":""}`:d(n)?r=`>=${s}.${i}.0${t?"-0":""}`:c?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,d($)?E="":d(m)?E=`<${+$+1}.0.0-0`:d(f)?E=`<${$}.${+m+1}.0-0`:L?E=`<=${$}.${m}.${f}-${L}`:t?E=`<${$}.${m}.${+f+1}-0`:E=`<=${E}`,`${r} ${E}`.trim()),ys=(t,e,r)=>{for(let s=0;s<t.length;s++)if(!t[s].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let s=0;s<t.length;s++)if(I(t[s].semver),t[s].semver!==ie.ANY&&t[s].semver.prerelease.length>0){let i=t[s].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}});var C=p((oo,Nr)=>{"use strict";o();var D=Symbol("SemVer ANY"),ce=class t{static get ANY(){return D}constructor(e,r){if(r=Rr(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),oe("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===D?this.value="":this.value=this.operator+this.semver.version,oe("comp",this)}parse(e){let r=this.options.loose?$r[mr.COMPARATORLOOSE]:$r[mr.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new Ir(s[2],this.options.loose):this.semver=D}toString(){return this.value}test(e){if(oe("Comparator.test",e,this.options.loose),this.semver===D||e===D)return!0;if(typeof e=="string")try{e=new Ir(e,this.options)}catch{return!1}return ne(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Lr(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Lr(this.value,r).test(e.semver):(r=Rr(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||ne(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||ne(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Nr.exports=ce;var Rr=F(),{safeRe:$r,t:mr}=g(),ne=re(),oe=v(),Ir=N(),Lr=T()});var G=p((lo,Or)=>{"use strict";o();var Fs=T(),js=(t,e,r)=>{try{e=new Fs(e,r)}catch{return!1}return e.test(t)};Or.exports=js});var dr=p((uo,Sr)=>{"use strict";o();var Xs=T(),Us=(t,e)=>new Xs(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" "));Sr.exports=Us});var Tr=p((fo,Ar)=>{"use strict";o();var Vs=N(),_s=T(),Hs=(t,e,r)=>{let s=null,i=null,n=null;try{n=new _s(e,r)}catch{return null}return t.forEach(c=>{n.test(c)&&(!s||i.compare(c)===-1)&&(s=c,i=new Vs(s,r))}),s};Ar.exports=Hs});var wr=p((po,qr)=>{"use strict";o();var bs=N(),ks=T(),Ms=(t,e,r)=>{let s=null,i=null,n=null;try{n=new ks(e,r)}catch{return null}return t.forEach(c=>{n.test(c)&&(!s||i.compare(c)===1)&&(s=c,i=new bs(s,r))}),s};qr.exports=Ms});var vr=p(($o,Pr)=>{"use strict";o();var le=N(),Ys=T(),gr=x(),Bs=(t,e)=>{t=new Ys(t,e);let r=new le("0.0.0");if(t.test(r)||(r=new le("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s<t.set.length;++s){let i=t.set[s],n=null;i.forEach(c=>{let u=new le(c.semver.version);switch(c.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!n||gr(u,n))&&(n=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),n&&(!r||gr(r,n))&&(r=n)}return r&&t.test(r)?r:null};Pr.exports=Bs});var Cr=p((Io,xr)=>{"use strict";o();var Ws=T(),zs=(t,e)=>{try{return new Ws(t,e).range||"*"}catch{return null}};xr.exports=zs});var B=p((No,Fr)=>{"use strict";o();var Ks=N(),yr=C(),{ANY:Zs}=yr,Js=T(),Qs=G(),Dr=x(),Gr=H(),ei=k(),ri=b(),ti=(t,e,r,s)=>{t=new Ks(t,s),e=new Js(e,s);let i,n,c,u,E;switch(r){case">":i=Dr,n=ei,c=Gr,u=">",E=">=";break;case"<":i=Gr,n=ri,c=Dr,u="<",E="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Qs(t,e,s))return!1;for(let $=0;$<e.set.length;++$){let m=e.set[$],f=null,L=null;if(m.forEach(h=>{h.semver===Zs&&(h=new yr(">=0.0.0")),f=f||h,L=L||h,i(h.semver,f.semver,s)?f=h:c(h.semver,L.semver,s)&&(L=h)}),f.operator===u||f.operator===E||(!L.operator||L.operator===u)&&n(t,L.semver))return!1;if(L.operator===E&&c(t,L.semver))return!1}return!0};Fr.exports=ti});var Xr=p((So,jr)=>{"use strict";o();var si=B(),ii=(t,e,r)=>si(t,e,">",r);jr.exports=ii});var Vr=p((To,Ur)=>{"use strict";o();var ni=B(),oi=(t,e,r)=>ni(t,e,"<",r);Ur.exports=oi});var br=p((wo,Hr)=>{"use strict";o();var _r=T(),ci=(t,e,r)=>(t=new _r(t,r),e=new _r(e,r),t.intersects(e,r));Hr.exports=ci});var Mr=p((Po,kr)=>{"use strict";o();var li=G(),ai=A();kr.exports=(t,e,r)=>{let s=[],i=null,n=null,c=t.sort((m,f)=>ai(m,f,r));for(let m of c)li(m,e,r)?(n=m,i||(i=m)):(n&&s.push([i,n]),n=null,i=null);i&&s.push([i,null]);let u=[];for(let[m,f]of s)m===f?u.push(m):!f&&m===c[0]?u.push("*"):f?m===c[0]?u.push(`<=${f}`):u.push(`${m} - ${f}`):u.push(`>=${m}`);let E=u.join(" || "),$=typeof e.raw=="string"?e.raw:String(e);return E.length<$.length?E:e}});var Zr=p((xo,Kr)=>{"use strict";o();var Yr=T(),ue=C(),{ANY:ae}=ue,y=G(),Ee=A(),ui=(t,e,r={})=>{if(t===e)return!0;t=new Yr(t,r),e=new Yr(e,r);let s=!1;e:for(let i of t.set){for(let n of e.set){let c=fi(i,n,r);if(s=s||c!==null,c)continue e}if(s)return!1}return!0},Ei=[new ue(">=0.0.0-0")],Br=[new ue(">=0.0.0")],fi=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===ae){if(e.length===1&&e[0].semver===ae)return!0;r.includePrerelease?t=Ei:t=Br}if(e.length===1&&e[0].semver===ae){if(r.includePrerelease)return!0;e=Br}let s=new Set,i,n;for(let h of t)h.operator===">"||h.operator===">="?i=Wr(i,h,r):h.operator==="<"||h.operator==="<="?n=zr(n,h,r):s.add(h.semver);if(s.size>1)return null;let c;if(i&&n){if(c=Ee(i.semver,n.semver,r),c>0)return null;if(c===0&&(i.operator!==">="||n.operator!=="<="))return null}for(let h of s){if(i&&!y(h,String(i),r)||n&&!y(h,String(n),r))return null;for(let rt of e)if(!y(h,String(rt),r))return!1;return!0}let u,E,$,m,f=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1,L=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&n.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(let h of e){if(m=m||h.operator===">"||h.operator===">=",$=$||h.operator==="<"||h.operator==="<=",i){if(L&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===L.major&&h.semver.minor===L.minor&&h.semver.patch===L.patch&&(L=!1),h.operator===">"||h.operator===">="){if(u=Wr(i,h,r),u===h&&u!==i)return!1}else if(i.operator===">="&&!y(i.semver,String(h),r))return!1}if(n){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(E=zr(n,h,r),E===h&&E!==n)return!1}else if(n.operator==="<="&&!y(n.semver,String(h),r))return!1}if(!h.operator&&(n||i)&&c!==0)return!1}return!(i&&$&&!n&&c!==0||n&&m&&!i&&c!==0||L||f)},Wr=(t,e,r)=>{if(!t)return e;let s=Ee(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},zr=(t,e,r)=>{if(!t)return e;let s=Ee(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t};Kr.exports=ui});var Zi=p((Do,et)=>{"use strict";o();var fe=g(),Jr=P(),hi=N(),Qr=K(),pi=w(),Ri=Te(),$i=we(),mi=ve(),Ii=De(),Li=ye(),Ni=je(),Oi=Ue(),Si=_e(),di=A(),Ai=Me(),Ti=Be(),qi=_(),wi=Ze(),gi=Qe(),Pi=x(),vi=H(),xi=Q(),Ci=ee(),Di=b(),Gi=k(),yi=re(),Fi=lr(),ji=C(),Xi=T(),Ui=G(),Vi=dr(),_i=Tr(),Hi=wr(),bi=vr(),ki=Cr(),Mi=B(),Yi=Xr(),Bi=Vr(),Wi=br(),zi=Mr(),Ki=Zr();et.exports={parse:pi,valid:Ri,clean:$i,inc:mi,diff:Ii,major:Li,minor:Ni,patch:Oi,prerelease:Si,compare:di,rcompare:Ai,compareLoose:Ti,compareBuild:qi,sort:wi,rsort:gi,gt:Pi,lt:vi,eq:xi,neq:Ci,gte:Di,lte:Gi,cmp:yi,coerce:Fi,Comparator:ji,Range:Xi,satisfies:Ui,toComparators:Vi,maxSatisfying:_i,minSatisfying:Hi,minVersion:bi,validRange:ki,outside:Mi,gtr:Yi,ltr:Bi,intersects:Wi,simplifyRange:zi,subset:Ki,SemVer:hi,re:fe.re,src:fe.src,tokens:fe.t,SEMVER_SPEC_VERSION:Jr.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jr.RELEASE_TYPES,compareIdentifiers:Qr.compareIdentifiers,rcompareIdentifiers:Qr.rcompareIdentifiers}});export{Zi as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as c,o as m}from"./chunk-
|
|
1
|
+
import{n as c,o as m}from"./chunk-A4SBXDZB.js";import{g as F}from"./chunk-VKWPEFWQ.js";F();F();F();function o(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var S=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,B=["\x1B","\x9B"],E=e=>`${B[0]}[${e}m`,y=(e,t,a)=>{let i=[];e=[...e];for(let f of e){let s=f;f.includes(";")&&(f=f.split(";")[0][0]+"0");let r=m.codes.get(Number.parseInt(f,10));if(r){let n=e.indexOf(r.toString());n===-1?i.push(E(t?r:s)):e.splice(n,1)}else if(t){i.push(E(0));break}else i.push(E(s))}if(t&&(i=i.filter((f,s)=>i.indexOf(f)===s),a!==void 0)){let f=E(m.codes.get(Number.parseInt(a,10)));i=i.reduce((s,r)=>r===f?[r,...s]:[...s,r],[])}return i.join("")};function p(e,t,a){let i=[...e],f=[],s=typeof a=="number"?a:i.length,r=!1,n,u=0,l="";for(let[h,x]of i.entries()){let b=!1;if(B.includes(x)){let A=/\d[^m]*/.exec(e.slice(h,h+18));n=A&&A.length>0?A[0]:void 0,u<s&&(r=!0,n!==void 0&&f.push(n))}else r&&x==="m"&&(r=!1,b=!0);if(!r&&!b&&u++,!S.test(x)&&o(x.codePointAt())&&(u++,typeof a!="number"&&s++),u>t&&u<=s)l+=x;else if(u===t&&!r&&n!==void 0)l=y(f);else if(u>=s){l+=y(f,!0,n);break}}return l}function g(e,t,a){if(e.charAt(t)===" ")return t;let i=a?1:-1;for(let f=0;f<=3;f++){let s=t+f*i;if(e.charAt(s)===" ")return s}return t}function C(e,t,a={}){let{position:i="end",space:f=!1,preferTruncationOnSpace:s=!1}=a,{truncationCharacter:r="\u2026"}=a;if(typeof e!="string")throw new TypeError(`Expected \`input\` to be a string, got ${typeof e}`);if(typeof t!="number")throw new TypeError(`Expected \`columns\` to be a number, got ${typeof t}`);if(t<1)return"";if(t===1)return r;let n=c(e);if(n<=t)return e;if(i==="start"){if(s){let u=g(e,n-t+1,!0);return r+p(e,u,n).trim()}return f===!0&&(r+=" "),r+p(e,n-t+c(r),n)}if(i==="middle"){f===!0&&(r=` ${r} `);let u=Math.floor(t/2);if(s){let l=g(e,u),h=g(e,n-(t-u)+1,!0);return p(e,0,l)+r+p(e,h,n).trim()}return p(e,0,u)+r+p(e,n-(t-u)+c(r),n)}if(i==="end"){if(s){let u=g(e,t-1);return p(e,0,u)+r}return f===!0&&(r=` ${r}`),p(e,0,t-c(r))+r}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${i}`)}export{o as a,C as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i}from"./chunk-VPPWSKOY.js";import{b as e}from"./chunk-HOSFU6UP.js";import{Lb as t}from"./chunk-7FQFEB33.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();o();async function s(){t(i)}var r=class extends e{static{this.description="Shopify CLI version currently installed."}async run(){await s()}};export{r as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Fb as e,Hb as r,Pb as n,Ta as o,ua as g,wa as d}from"./chunk-
|
|
1
|
+
import{Fb as e,Hb as r,Pb as n,Ta as o,ua as g,wa as d}from"./chunk-7FQFEB33.js";import{d as i}from"./chunk-773TIA5M.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var f=".shopify";async function E(p){let t=i(p,f),a=i(t,".gitignore"),[h,u]=await Promise.all([o(t),o(a)]);return h||(n(r`Creating hidden .shopify folder at ${e.path(t)}...`),await d(t)),u||(n(r`Creating .gitignore in ${e.path(t)}...`),await g(a,`# Ignore the entire ${f} directory
|
|
2
2
|
*`)),t}export{E as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as Ur,d as Za,g as Vt}from"./chunk-
|
|
1
|
+
import{b as Ur,d as Za,g as Vt}from"./chunk-VKWPEFWQ.js";var Tu={};Za(Tu,{builders:()=>Ne,default:()=>Vr,printer:()=>Jt,utils:()=>Qt});function rs(e){return this[e<0?this.length+e:e]}function as(e){let t=e.length;for(;t>0&&(e[t-1]==="\r"||e[t-1]===`
|
|
2
2
|
`);)t--;return t<e.length?e.slice(0,t):e}function ss(e){if(typeof e=="string")return st;if(Array.isArray(e))return $e;if(!e)return;let{type:t}=e;if(Kr.has(t))return t}function Ds(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
|
|
3
3
|
Expected it to be 'string' or 'object'.`;if(Dt(e))throw new Error("doc is valid.");let u=Object.prototype.toString.call(e);if(u!=="[object Object]")return`Unexpected doc '${u}'.`;let r=os([...Kr].map(n=>`'${n}'`));return`Unexpected doc.type '${e.type}'.
|
|
4
4
|
Expected it to be ${r}.`}function ls(e,t,u,r){let n=[e];for(;n.length>0;){let i=n.pop();if(i===Gr){u(n.pop());continue}u&&n.push(i,Gr);let a=Dt(i);if(!a)throw new Ct(i);if(t?.(i)!==!1)switch(a){case $e:case Xe:{let s=a===$e?i:i.parts;for(let o=s.length,D=o-1;D>=0;--D)n.push(s[D]);break}case we:n.push(i.flatContents,i.breakContents);break;case be:if(r&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)n.push(i.expandedStates[o]);else n.push(i.contents);break;case We:case qe:case Ke:case Je:case Ye:n.push(i.contents);break;case st:case ot:case Ve:case ze:case ve:case Ie:break;default:throw new Ct(i)}}}function zt(e,t){if(typeof e=="string")return t(e);let u=new Map;return r(e);function r(i){if(u.has(i))return u.get(i);let a=n(i);return u.set(i,a),a}function n(i){switch(Dt(i)){case $e:return t(i.map(r));case Xe:return t({...i,parts:i.parts.map(r)});case we:return t({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case be:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(r),s=a[0]):s=r(s),t({...i,contents:s,expandedStates:a})}case We:case qe:case Ke:case Je:case Ye:return t({...i,contents:r(i.contents)});case st:case ot:case Ve:case ze:case ve:case Ie:return t(i);default:throw new Ct(i)}}}function wu(e,t,u){let r=u,n=!1;function i(a){if(n)return!1;let s=t(a);s!==void 0&&(n=!0,r=s)}return Su(e,i),r}function fs(e){if(e.type===be&&e.break||e.type===ve&&e.hard||e.type===Ie)return!0}function ds(e){return wu(e,fs,!1)}function qr(e){if(e.length>0){let t=je(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function hs(e){let t=new Set,u=[];function r(i){if(i.type===Ie&&qr(u),i.type===be){if(u.push(i),t.has(i))return!1;t.add(i)}}function n(i){i.type===be&&u.pop().break&&qr(u)}Su(e,r,n,!0)}function Fs(e){return e.type===ve&&!e.hard?e.soft?"":" ":e.type===we?e.flatContents:e}function ps(e){return zt(e,Fs)}function Wr(e){for(e=[...e];e.length>=2&&je(0,e,-2).type===ve&&je(0,e,-1).type===Ie;)e.length-=2;if(e.length>0){let t=Tt(je(0,e,-1));e[e.length-1]=t}return e}function Tt(e){switch(Dt(e)){case qe:case Ke:case be:case Ye:case Je:{let t=Tt(e.contents);return{...e,contents:t}}case we:return{...e,breakContents:Tt(e.breakContents),flatContents:Tt(e.flatContents)};case Xe:return{...e,parts:Wr(e.parts)};case $e:return Wr(e);case st:return as(e);case We:case ot:case Ve:case ze:case ve:case Ie:break;default:throw new Ct(e)}return e}function Es(e){return Tt(Cs(e))}function ms(e){switch(Dt(e)){case Xe:if(e.parts.every(t=>t===""))return"";break;case be:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===be&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case We:case qe:case Ke:case Ye:if(!e.contents)return"";break;case we:if(!e.flatContents&&!e.breakContents)return"";break;case $e:{let t=[];for(let u of e){if(!u)continue;let[r,...n]=Array.isArray(u)?u:[u];typeof r=="string"&&typeof je(0,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...n)}return t.length===0?"":t.length===1?t[0]:t}case st:case ot:case Ve:case ze:case ve:case Je:case Ie:break;default:throw new Ct(e)}return e}function Cs(e){return zt(e,t=>ms(t))}function gs(e,t=Zr){return zt(e,u=>typeof u=="string"?Jr(t,u.split(`
|
|
@@ -45,7 +45,7 @@ ${f}`),r?n.reset(f):f}function ml(e,t,u){let r=t===0?-1:e.lastIndexOf(`
|
|
|
45
45
|
`)throw new te("newlines are not allowed in inline tables",o);if(a==="#")throw new te("inline tables cannot contain comments",o);if(a===",")throw new te("expected key-value, found comma",o);if(a!==" "&&a!==" "){let D,c=n,l=!1,[f,d]=er(e,t-1);for(let P=0;P<f.length;P++){if(P&&(c=l?c[D]:c[D]={}),D=f[P],(l=Object.hasOwn(c,D))&&(typeof c[D]!="object"||i.has(c[D])))throw new te("trying to redefine an already defined value",{toml:e,ptr:t});!l&&D==="__proto__"&&Object.defineProperty(c,D,{enumerable:!0,configurable:!0,writable:!0})}if(l)throw new te("trying to redefine an already defined value",{toml:e,ptr:t});let[h,F]=vr(e,d,"}",u-1,r);i.add(h),c[D]=h,t=F,s=e[t-1]===","?t-1:0}}if(s)throw new te("trailing commas are not allowed in inline tables",{toml:e,ptr:s});if(!a)throw new te("unfinished table encountered",{toml:e,ptr:t});return[n,t]}function $l(e,t,u,r){let n=[],i;for(t++;(i=e[t++])!=="]"&&i;){if(i===",")throw new te("expected value, found comma",{toml:e,ptr:t-1});if(i==="#")t=Ar(e,t);else if(i!==" "&&i!==" "&&i!==`
|
|
46
46
|
`&&i!=="\r"){let a=vr(e,t-1,"]",u-1,r);n.push(a[0]),t=a[1]}}if(!i)throw new te("unfinished array encountered",{toml:e,ptr:t});return[n,t]}function Sn(e,t,u,r){let n=t,i=u,a,s=!1,o;for(let D=0;D<e.length;D++){if(D){if(n=s?n[a]:n[a]={},i=(o=i[a]).c,r===0&&(o.t===1||o.t===2))return null;if(o.t===2){let c=n.length-1;n=n[c],i=i[c].c}}if(a=e[D],(s=Object.hasOwn(n,a))&&i[a]?.t===0&&i[a]?.d)return null;s||(a==="__proto__"&&(Object.defineProperty(n,a,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(i,a,{enumerable:!0,configurable:!0,writable:!0})),i[a]={t:D<e.length-1&&r===2?3:r,d:!1,i:0,c:{}})}if(o=i[a],o.t!==r&&!(r===1&&o.t===3)||(r===2&&(o.d||(o.d=!0,n[a]=[]),n[a].push(n={}),o.c[o.i++]=o={t:1,d:!1,i:0,c:{}}),o.d))return null;if(o.d=!0,r===1)n=s?n[a]:n[a]={};else if(r===0&&s)return null;return[a,n,o.c]}function Ml(e,{maxDepth:t=1e3,integersAsBigInt:u}={}){let r={},n={},i=r,a=n;for(let s=Ge(e,0);s<e.length;){if(e[s]==="["){let o=e[++s]==="[",D=er(e,s+=+o,"]");if(o){if(e[D[1]-1]!=="]")throw new te("expected end of table declaration",{toml:e,ptr:D[1]-1});D[1]++}let c=Sn(D[0],r,n,o?2:1);if(!c)throw new te("trying to redefine an already defined table or value",{toml:e,ptr:s});a=c[2],i=c[1],s=D[1]}else{let o=er(e,s),D=Sn(o[0],i,a,0);if(!D)throw new te("trying to redefine an already defined table or value",{toml:e,ptr:s});let c=vr(e,o[1],void 0,t,u);D[1][D[0]]=c[0],s=c[1]}if(s=Ge(e,s,!0),e[s]&&e[s]!==`
|
|
47
47
|
`&&e[s]!=="\r")throw new te("each key-value declaration must be followed by an end-of-line",{toml:e,ptr:s});s=Ge(e,s)}return r}async function Hl(e){wi(e)&&(e=new URL(e));try{return await xl.readFile(e,"utf8")}catch(t){if(t.code==="ENOENT")return;throw new Error(`Unable to read '${e}': ${t.message}`)}}async function _r(e){let t=await Ht(e);try{return yl(t)}catch(u){throw u.message=`JSON Error in ${e}:
|
|
48
|
-
${u.message}`,u}}async function dt(e){return(await import(Vc(e).href)).default}async function Ul(e){try{return await _r(e)}catch(t){try{return await dt(e)}catch{}throw t}}async function Wi(e){let{prettier:t}=await au(e);return t}async function au(e){let t=await Ht(e);ju||({__parsePrettierYamlConfig:ju}=await import("./yaml-
|
|
48
|
+
${u.message}`,u}}async function dt(e){return(await import(Vc(e).href)).default}async function Ul(e){try{return await _r(e)}catch(t){try{return await dt(e)}catch{}throw t}}async function Wi(e){let{prettier:t}=await au(e);return t}async function au(e){let t=await Ht(e);ju||({__parsePrettierYamlConfig:ju}=await import("./yaml-6KWCJ64X.js"));try{return ju(t)}catch(u){throw u.message=`YAML Error in ${e}:
|
|
49
49
|
${u.message}`,u}}async function Gl(e){let t=await Ht(e);try{return Ml(t)}catch(u){throw u.message=`TOML Error in ${e}:
|
|
50
50
|
${u.message}`,u}}async function ql(e){let t=await Ht(e);try{return ul.parse(t)}catch(u){throw u.message=`JSON5 Error in ${e}:
|
|
51
51
|
${u.message}`,u}}async function Kl({name:e,path:t}){if(e==="package.json")try{return!!await qi(t)}catch{return!1}if(e==="package.yaml")try{return!!await Wi(t)}catch{return!1}return!0}function Yl(e){return new kc(Xl,{filter:Kl,stopDirectory:e})}function $u(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}function Se(e,t,u){return Yi.set(e,t),cf(u,e)}function cf(e,t){return u;function u(...r){let n=Error.stackTraceLimit;rr()&&(Error.stackTraceLimit=0);let i=new e;rr()&&(Error.stackTraceLimit=n);let a=df(t,r,i);return Object.defineProperties(i,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),ff(i),i.code=t,i}}function rr(){try{if(rf.startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):af.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function lf(e){let t=Df+e.name;return Object.defineProperty(e,"name",{value:t}),e}function df(e,t,u){let r=Yi.get(e);if(Et.ok(r!==void 0,"expected `message` to be found"),typeof r=="function")return Et.ok(r.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${r.length}).`),Reflect.apply(r,u,t);let n=/%[dfijoOs]/g,i=0;for(;n.exec(r)!==null;)i++;return Et.ok(i===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),t.length===0?r:(t.unshift(r),Reflect.apply(nf,null,t))}function hf(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${ur(e,{depth:-1})}`;let t=ur(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}function zi(e,{base:t,specifier:u}){let r=Rn.get(e);if(r)return r;let n;try{n=tf.readFileSync(uf.toNamespacedPath(e),"utf8")}catch(a){let s=a;if(s.code!=="ENOENT")throw s}let i={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(n!==void 0){let a;try{a=JSON.parse(n)}catch(s){let o=s,D=new Ff(e,(t?`"${u}" from `:"")+tr(t||u),o.message);throw D.cause=o,D}i.exists=!0,Ot.call(a,"name")&&typeof a.name=="string"&&(i.name=a.name),Ot.call(a,"main")&&typeof a.main=="string"&&(i.main=a.main),Ot.call(a,"exports")&&(i.exports=a.exports),Ot.call(a,"imports")&&(i.imports=a.imports),Ot.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(i.type=a.type)}return Rn.set(e,i),i}function br(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let n=zi(tr(t),{specifier:e});if(n.exists)return n;let i=t;if(t=new URL("../package.json",t),t.pathname===i.pathname)break}return{pjsonPath:tr(t),exists:!1,type:"none"}}function Pn(e){return br(e).type}function Cf(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}function gf(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return Cf(t)}function Af(e){let t=e.pathname,u=t.length;for(;u--;){let r=t.codePointAt(u);if(r===47)return"";if(r===46)return t.codePointAt(u-1)===47?"":t.slice(u)}return""}function vf(e,t,u){let r=Af(e);if(r===".js"){let a=Pn(e);return a!=="none"?a:"commonjs"}if(r===""){let a=Pn(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let n=mf[r];if(n)return n;if(u)return;let i=ef(e);throw new pf(r,i)}function On(){}function Ji(e,t){let u=e.protocol;return Ef.call(Tn,u)&&Tn[u](e,t,!0)||null}function Bf(){return Qi}function bf(){return yf}function Zi(e){if(e!==void 0&&e!==Bf()){if(!Array.isArray(e))throw new _f("conditions",e,"expected an array");return new Set(e)}return bf()}function jn(e,t,u,r,n,i,a){if(pt.noDeprecation)return;let s=se(r),o=If.exec(a?e:t)!==null;pt.emitWarning(`Use of deprecated ${o?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===u?"":`matched to "${u}" `}in the "${n?"imports":"exports"}" field module resolution of the package at ${s}${i?` imported from ${se(i)}`:""}.`,"DeprecationWarning","DEP0166")}function $n(e,t,u,r){if(pt.noDeprecation||Ji(e,{parentURL:u.href})!=="module")return;let i=se(e.href),a=se(new URL(".",t)),s=se(u);r?Ki.resolve(a,r)!==i&&pt.emitWarning(`Package ${a} has a "main" field set to "${r}", excluding the full filename and extension to the resolved file at "${i.slice(a.length)}", imported from ${s}.
|
|
@@ -96,4 +96,4 @@ ${n}`,t),this.line=u,this.column=r,this.codeblock=n}};wl=/^(\d{4}-\d{2}-\d{2})?[
|
|
|
96
96
|
`||e==="\r"||e==="\u2028"||e==="\u2029";mt=J0;et=Q0;Ca=Z0;Aa=ga;va=new WeakMap;Uu=()=>!1;ya=e=>!/[\S\n\u2028\u2029]/u.test(e);Ir=ad,{breakParent:sd,hardline:Mt,indent:qp,join:Wp,line:od,lineSuffix:Wn}=Ne;hd=()=>R0,Fd={checkIgnorePragma:{category:"Special",type:"boolean",default:!1,description:"Check whether the file's first docblock comment contains '@noprettier' or '@noformat' to determine if it should be formatted.",cliCategory:"Other"},cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing
|
|
97
97
|
(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"},{value:"mjml",description:"MJML"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive).
|
|
98
98
|
The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset.
|
|
99
|
-
The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};Ed=Array.prototype.toReversed??function(){return[...this].reverse()},md=Ut("toReversed",function(){if(Array.isArray(this))return Ed}),Cd=md,Ad=Pe(kD(),1);_d=vd,Sa=e=>{try{return gd.basename(wt(e))}catch{return""}};Sd=bd;_u=wd;wa=Rd,Od=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return u}},Id=Ut("findLast",function(){if(Array.isArray(this))return Od}),Ra=Id,Nd=Symbol.for("PRETTIER_IS_FRONT_MATTER"),Ld=[];Lr=kd,{hardline:Kn,markAsRoot:jd}=Ne,Pa=new Set(["yaml","toml"]),Ta=({node:e})=>Lr(e)&&Pa.has(e.language);xd=Md;Ud=Hd,Oa=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Gd=e=>Object.keys(e).filter(t=>!Oa.has(t));Yn=qd;Wu=new WeakMap;Kd=["clean","embed","print"],Yd=Object.fromEntries(Kd.map(e=>[e,!1]));nr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null,getVisitorKeys:null};Pt=Qd;qt=Zd,{stripTrailingHardline:th}=Qt;ih=nh,{cursor:yt}=Ne;ka=ah;oh=sh,Dh=Array.prototype.findLastIndex??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return t}return-1},ch=Ut("findLastIndex",function(){if(Array.isArray(this))return Dh}),lh=ch,fh=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";ja=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),ph=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);({addAlignmentToDoc:mh,hardline:Ch}=Ne),{printDocToString:jr}=Jt,$a="\uFEFF",Zn=Symbol("cursor");Ua={};Fu(Ua,{CATEGORY_CONFIG:()=>Sh,CATEGORY_EDITOR:()=>wh,CATEGORY_FORMAT:()=>Rh,CATEGORY_GLOBAL:()=>Oh,CATEGORY_OTHER:()=>Ph,CATEGORY_OUTPUT:()=>Th,CATEGORY_SPECIAL:()=>Ih});Sh="Config",wh="Editor",Rh="Format",Ph="Other",Th="Output",Oh="Global",Ih="Special",Nh=[{name:"CSS",type:"markup",aceMode:"css",extensions:[".css",".wxss"],tmScope:"source.css",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["css"],vscodeLanguageIds:["css"],linguistLanguageId:50},{name:"PostCSS",type:"markup",aceMode:"text",extensions:[".pcss",".postcss"],tmScope:"source.postcss",group:"CSS",parsers:["css"],vscodeLanguageIds:["postcss"],linguistLanguageId:262764437},{name:"Less",type:"markup",aceMode:"less",extensions:[".less"],tmScope:"source.css.less",aliases:["less-css"],codemirrorMode:"css",codemirrorMimeType:"text/x-less",parsers:["less"],vscodeLanguageIds:["less"],linguistLanguageId:198},{name:"SCSS",type:"markup",aceMode:"scss",extensions:[".scss"],tmScope:"source.css.scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",parsers:["scss"],vscodeLanguageIds:["scss"],linguistLanguageId:329}],Be={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Lh={singleQuote:Be.singleQuote},kh=Lh,jh=[{name:"GraphQL",type:"data",aceMode:"graphqlschema",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],$h={bracketSpacing:Be.bracketSpacing},Mh=$h,xh=[{name:"Handlebars",type:"markup",aceMode:"handlebars",extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aliases:["hbs","htmlbars"],parsers:["glimmer"],vscodeLanguageIds:["handlebars"],linguistLanguageId:155}],Hh=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"source.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],ui="HTML",Uh={bracketSameLine:Be.bracketSameLine,htmlWhitespaceSensitivity:{category:ui,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Be.singleAttributePerLine,vueIndentScriptAndStyle:{category:ui,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Gh=Uh,qh=[{name:"JavaScript",type:"programming",aceMode:"javascript",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],filenames:["Jakefile","start.frag","end.frag"],tmScope:"source.js",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",aceMode:"javascript",extensions:[".js.flow"],filenames:[],tmScope:"source.js",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",aceMode:"javascript",extensions:[".jsx"],filenames:void 0,tmScope:"source.js.jsx",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",aceMode:"typescript",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",aceMode:"tsx",extensions:[".tsx"],tmScope:"source.tsx",codemirrorMode:"jsx",codemirrorMimeType:"text/typescript-jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Qe="JavaScript",Wh={arrowParens:{category:Qe,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Be.bracketSameLine,objectWrap:Be.objectWrap,bracketSpacing:Be.bracketSpacing,jsxBracketSameLine:{category:Qe,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Qe,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalOperatorPosition:{category:Qe,type:"choice",default:"end",description:"Where to print operators when binary expressions wrap lines.",choices:[{value:"start",description:"Print operators at the start of new lines."},{value:"end",description:"Print operators at the end of previous lines."}]},experimentalTernaries:{category:Qe,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Be.singleQuote,jsxSingleQuote:{category:Qe,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Qe,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Qe,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Be.singleAttributePerLine},Vh=Wh,Xh=[{name:"JSON.stringify",type:"data",aceMode:"json",extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json-stringify"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON",type:"data",aceMode:"json",extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".json.example",".mcmeta",".sarif",".tact",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON with Comments",type:"data",aceMode:"javascript",extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-color-scheme",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],tmScope:"source.json.comments",aliases:["jsonc"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",group:"JSON",parsers:["jsonc"],vscodeLanguageIds:["jsonc"],linguistLanguageId:423},{name:"JSON5",type:"data",aceMode:"json5",extensions:[".json5"],tmScope:"source.js",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"],linguistLanguageId:175}],Kh=[{name:"Markdown",type:"prose",aceMode:"markdown",extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",aliases:["md","pandoc"],codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,parsers:["markdown"],vscodeLanguageIds:["markdown"],linguistLanguageId:222},{name:"MDX",type:"prose",aceMode:"markdown",extensions:[".mdx"],filenames:[],tmScope:"text.md",aliases:["md","pandoc"],codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,parsers:["mdx"],vscodeLanguageIds:["mdx"],linguistLanguageId:222}],Yh={proseWrap:Be.proseWrap,singleQuote:Be.singleQuote},zh=Yh,Jh=[{name:"YAML",type:"data",aceMode:"yaml",extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".clangd",".gemrc","CITATION.cff","glide.lock","pixi.lock",".prettierrc",".stylelintrc",".lintstagedrc"],tmScope:"source.yaml",aliases:["yml"],codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","dockercompose","github-actions-workflow","home-assistant"],linguistLanguageId:407}],Qh={bracketSpacing:Be.bracketSpacing,singleQuote:Be.singleQuote,proseWrap:Be.proseWrap},Zh=Qh;eF=Ga([{importPlugin:()=>import("./estree-BYYJYS3A.js"),printers:["estree","estree-json"]}]),tF={...kh,...Mh,...Gh,...Vh,...zh,...Zh},uF=[...Nh,...jh,...xh,...Hh,...qh,...Xh,...Kh,...Jh],{parsers:rF,printers:nF}=Ga([{importPlugin:()=>import("./acorn-QBS5IYTX.js"),parsers:["acorn","espree"]},{importPlugin:()=>import("./angular-UTTM4Y4S.js"),parsers:["__ng_action","__ng_binding","__ng_interpolation","__ng_directive"]},{importPlugin:()=>import("./babel-JS32NLHY.js"),parsers:["babel","babel-flow","babel-ts","__js_expression","__ts_expression","__vue_expression","__vue_ts_expression","__vue_event_binding","__vue_ts_event_binding","__babel_estree","json","json5","jsonc","json-stringify"]},{importPlugin:()=>import("./flow-M3Q2HPQT.js"),parsers:["flow"]},{importPlugin:()=>import("./glimmer-3DEJJGOJ.js"),parsers:["glimmer"],printers:["glimmer"]},{importPlugin:()=>import("./graphql-A4HHE3MB.js"),parsers:["graphql"],printers:["graphql"]},{importPlugin:()=>import("./html-HETICZ2F.js"),parsers:["html","angular","vue","lwc","mjml"],printers:["html"]},{importPlugin:()=>import("./markdown-5TVCXM53.js"),parsers:["markdown","mdx","remark"],printers:["mdast"]},{importPlugin:()=>import("./meriyah-23OZNYWC.js"),parsers:["meriyah"]},{importPlugin:()=>import("./postcss-IIK6CGAW.js"),parsers:["css","less","scss"],printers:["postcss"]},{importPlugin:()=>import("./typescript-YKZ232QT.js"),parsers:["typescript"]},{importPlugin:()=>import("./yaml-SJKIH3VD.js"),parsers:["yaml"],printers:["yaml"]}]),iF=[eF,{options:tF,languages:uF,parsers:rF,printers:nF}];qa=aF;DF=oF;cu=new Map;Wa=hF,FF=Pe(jD(),1),EF=lu.sep==="\\"?e=>gu(0,e,"\\","/"):e=>e;vF=AF;BF=_F,bF="3.8.4",Xa={};Fu(Xa,{addDanglingComment:()=>ht,addLeadingComment:()=>jt,addTrailingComment:()=>$t,getAlignmentSize:()=>Pr,getIndentSize:()=>OF,getMaxContinuousCount:()=>LF,getNextNonSpaceNonCommentCharacter:()=>jF,getNextNonSpaceNonCommentCharacterIndex:()=>KF,getPreferredQuote:()=>UF,getStringWidth:()=>W0,hasNewline:()=>et,hasNewlineInRange:()=>qF,hasSpaces:()=>VF,isNextLineEmpty:()=>ZF,isNextLineEmptyAfterIndex:()=>Hr,isPreviousLineEmpty:()=>zF,makeString:()=>QF,skip:()=>Gt,skipEverythingButNewLine:()=>ma,skipInlineComment:()=>$r,skipNewline:()=>mt,skipSpaces:()=>rt,skipToLineEnd:()=>Ea,skipTrailingComment:()=>Mr,skipWhitespace:()=>z0});$r=SF;Mr=wF;xr=RF;Hr=PF;OF=TF;LF=NF;jF=kF,Ka="'",$F='"',Ya=Object.freeze({character:Ka,codePoint:39}),za=Object.freeze({character:$F,codePoint:34}),MF=Object.freeze({preferred:Ya,alternate:za}),xF=Object.freeze({preferred:za,alternate:Ya});UF=HF;qF=GF;VF=WF;Ja=Ze(Ha);up=Ze(Nr,0),rp=Ze((e,t)=>_u(t,{physicalFile:e})),np={errors:yi,optionCategories:Ua,createIsIgnoredFunction:Va,formatOptionsHiddenDefaults:nr,normalizeOptions:wa,getSupportInfoWithoutPlugins:Nr,normalizeOptionSettings:ba,inferParser:(e,t)=>Promise.resolve(t?.parser??rp(e,t)),vnopts:{ChoiceSchema:_i,apiDescriptor:Ft},fastGlob:XD.default,createTwoFilesPatch:WD,picocolors:KD.default,closetLevenshteinMatch:Ei,utilities:{omit:vF,createMockable:Bi}},ip={parse:Ze(vh),formatAST:Ze(_h),formatDoc:Ze(yh),printToDoc:Ze(Bh),printDocToString:Ze(bh),mockable:bi}});export{Tu as a,$D as b,sa as c,f0 as d,BF as e,bF as f,Xa as g,Ja as h,Qa as i,ep as j,tp as k,up as l,np as m,ip as n,ap as o};
|
|
99
|
+
The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};Ed=Array.prototype.toReversed??function(){return[...this].reverse()},md=Ut("toReversed",function(){if(Array.isArray(this))return Ed}),Cd=md,Ad=Pe(kD(),1);_d=vd,Sa=e=>{try{return gd.basename(wt(e))}catch{return""}};Sd=bd;_u=wd;wa=Rd,Od=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return u}},Id=Ut("findLast",function(){if(Array.isArray(this))return Od}),Ra=Id,Nd=Symbol.for("PRETTIER_IS_FRONT_MATTER"),Ld=[];Lr=kd,{hardline:Kn,markAsRoot:jd}=Ne,Pa=new Set(["yaml","toml"]),Ta=({node:e})=>Lr(e)&&Pa.has(e.language);xd=Md;Ud=Hd,Oa=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Gd=e=>Object.keys(e).filter(t=>!Oa.has(t));Yn=qd;Wu=new WeakMap;Kd=["clean","embed","print"],Yd=Object.fromEntries(Kd.map(e=>[e,!1]));nr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null,getVisitorKeys:null};Pt=Qd;qt=Zd,{stripTrailingHardline:th}=Qt;ih=nh,{cursor:yt}=Ne;ka=ah;oh=sh,Dh=Array.prototype.findLastIndex??function(e){for(let t=this.length-1;t>=0;t--){let u=this[t];if(e(u,t,this))return t}return-1},ch=Ut("findLastIndex",function(){if(Array.isArray(this))return Dh}),lh=ch,fh=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";ja=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),ph=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);({addAlignmentToDoc:mh,hardline:Ch}=Ne),{printDocToString:jr}=Jt,$a="\uFEFF",Zn=Symbol("cursor");Ua={};Fu(Ua,{CATEGORY_CONFIG:()=>Sh,CATEGORY_EDITOR:()=>wh,CATEGORY_FORMAT:()=>Rh,CATEGORY_GLOBAL:()=>Oh,CATEGORY_OTHER:()=>Ph,CATEGORY_OUTPUT:()=>Th,CATEGORY_SPECIAL:()=>Ih});Sh="Config",wh="Editor",Rh="Format",Ph="Other",Th="Output",Oh="Global",Ih="Special",Nh=[{name:"CSS",type:"markup",aceMode:"css",extensions:[".css",".wxss"],tmScope:"source.css",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["css"],vscodeLanguageIds:["css"],linguistLanguageId:50},{name:"PostCSS",type:"markup",aceMode:"text",extensions:[".pcss",".postcss"],tmScope:"source.postcss",group:"CSS",parsers:["css"],vscodeLanguageIds:["postcss"],linguistLanguageId:262764437},{name:"Less",type:"markup",aceMode:"less",extensions:[".less"],tmScope:"source.css.less",aliases:["less-css"],codemirrorMode:"css",codemirrorMimeType:"text/x-less",parsers:["less"],vscodeLanguageIds:["less"],linguistLanguageId:198},{name:"SCSS",type:"markup",aceMode:"scss",extensions:[".scss"],tmScope:"source.css.scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",parsers:["scss"],vscodeLanguageIds:["scss"],linguistLanguageId:329}],Be={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Lh={singleQuote:Be.singleQuote},kh=Lh,jh=[{name:"GraphQL",type:"data",aceMode:"graphqlschema",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",parsers:["graphql"],vscodeLanguageIds:["graphql"],linguistLanguageId:139}],$h={bracketSpacing:Be.bracketSpacing},Mh=$h,xh=[{name:"Handlebars",type:"markup",aceMode:"handlebars",extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aliases:["hbs","htmlbars"],parsers:["glimmer"],vscodeLanguageIds:["handlebars"],linguistLanguageId:155}],Hh=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"source.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],ui="HTML",Uh={bracketSameLine:Be.bracketSameLine,htmlWhitespaceSensitivity:{category:ui,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Be.singleAttributePerLine,vueIndentScriptAndStyle:{category:ui,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Gh=Uh,qh=[{name:"JavaScript",type:"programming",aceMode:"javascript",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],filenames:["Jakefile","start.frag","end.frag"],tmScope:"source.js",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",aceMode:"javascript",extensions:[".js.flow"],filenames:[],tmScope:"source.js",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",aceMode:"javascript",extensions:[".jsx"],filenames:void 0,tmScope:"source.js.jsx",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",aceMode:"typescript",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",aceMode:"tsx",extensions:[".tsx"],tmScope:"source.tsx",codemirrorMode:"jsx",codemirrorMimeType:"text/typescript-jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Qe="JavaScript",Wh={arrowParens:{category:Qe,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Be.bracketSameLine,objectWrap:Be.objectWrap,bracketSpacing:Be.bracketSpacing,jsxBracketSameLine:{category:Qe,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:Qe,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalOperatorPosition:{category:Qe,type:"choice",default:"end",description:"Where to print operators when binary expressions wrap lines.",choices:[{value:"start",description:"Print operators at the start of new lines."},{value:"end",description:"Print operators at the end of previous lines."}]},experimentalTernaries:{category:Qe,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Be.singleQuote,jsxSingleQuote:{category:Qe,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:Qe,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:Qe,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Be.singleAttributePerLine},Vh=Wh,Xh=[{name:"JSON.stringify",type:"data",aceMode:"json",extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json-stringify"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON",type:"data",aceMode:"json",extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".json.example",".mcmeta",".sarif",".tact",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON with Comments",type:"data",aceMode:"javascript",extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-color-scheme",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],tmScope:"source.json.comments",aliases:["jsonc"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",group:"JSON",parsers:["jsonc"],vscodeLanguageIds:["jsonc"],linguistLanguageId:423},{name:"JSON5",type:"data",aceMode:"json5",extensions:[".json5"],tmScope:"source.js",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"],linguistLanguageId:175}],Kh=[{name:"Markdown",type:"prose",aceMode:"markdown",extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"text.md",aliases:["md","pandoc"],codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,parsers:["markdown"],vscodeLanguageIds:["markdown"],linguistLanguageId:222},{name:"MDX",type:"prose",aceMode:"markdown",extensions:[".mdx"],filenames:[],tmScope:"text.md",aliases:["md","pandoc"],codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,parsers:["mdx"],vscodeLanguageIds:["mdx"],linguistLanguageId:222}],Yh={proseWrap:Be.proseWrap,singleQuote:Be.singleQuote},zh=Yh,Jh=[{name:"YAML",type:"data",aceMode:"yaml",extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".clangd",".gemrc","CITATION.cff","glide.lock","pixi.lock",".prettierrc",".stylelintrc",".lintstagedrc"],tmScope:"source.yaml",aliases:["yml"],codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","dockercompose","github-actions-workflow","home-assistant"],linguistLanguageId:407}],Qh={bracketSpacing:Be.bracketSpacing,singleQuote:Be.singleQuote,proseWrap:Be.proseWrap},Zh=Qh;eF=Ga([{importPlugin:()=>import("./estree-JV5M77BA.js"),printers:["estree","estree-json"]}]),tF={...kh,...Mh,...Gh,...Vh,...zh,...Zh},uF=[...Nh,...jh,...xh,...Hh,...qh,...Xh,...Kh,...Jh],{parsers:rF,printers:nF}=Ga([{importPlugin:()=>import("./acorn-7M27BPGP.js"),parsers:["acorn","espree"]},{importPlugin:()=>import("./angular-DW5TQVCM.js"),parsers:["__ng_action","__ng_binding","__ng_interpolation","__ng_directive"]},{importPlugin:()=>import("./babel-I2RLWM7N.js"),parsers:["babel","babel-flow","babel-ts","__js_expression","__ts_expression","__vue_expression","__vue_ts_expression","__vue_event_binding","__vue_ts_event_binding","__babel_estree","json","json5","jsonc","json-stringify"]},{importPlugin:()=>import("./flow-N4JYPYMQ.js"),parsers:["flow"]},{importPlugin:()=>import("./glimmer-JEV3BXHR.js"),parsers:["glimmer"],printers:["glimmer"]},{importPlugin:()=>import("./graphql-DTF6MHYF.js"),parsers:["graphql"],printers:["graphql"]},{importPlugin:()=>import("./html-LVOJ3RQS.js"),parsers:["html","angular","vue","lwc","mjml"],printers:["html"]},{importPlugin:()=>import("./markdown-J6CE6POI.js"),parsers:["markdown","mdx","remark"],printers:["mdast"]},{importPlugin:()=>import("./meriyah-PNQQZQYI.js"),parsers:["meriyah"]},{importPlugin:()=>import("./postcss-Q36SHOML.js"),parsers:["css","less","scss"],printers:["postcss"]},{importPlugin:()=>import("./typescript-WYPDGPSV.js"),parsers:["typescript"]},{importPlugin:()=>import("./yaml-6KWCJ64X.js"),parsers:["yaml"],printers:["yaml"]}]),iF=[eF,{options:tF,languages:uF,parsers:rF,printers:nF}];qa=aF;DF=oF;cu=new Map;Wa=hF,FF=Pe(jD(),1),EF=lu.sep==="\\"?e=>gu(0,e,"\\","/"):e=>e;vF=AF;BF=_F,bF="3.8.4",Xa={};Fu(Xa,{addDanglingComment:()=>ht,addLeadingComment:()=>jt,addTrailingComment:()=>$t,getAlignmentSize:()=>Pr,getIndentSize:()=>OF,getMaxContinuousCount:()=>LF,getNextNonSpaceNonCommentCharacter:()=>jF,getNextNonSpaceNonCommentCharacterIndex:()=>KF,getPreferredQuote:()=>UF,getStringWidth:()=>W0,hasNewline:()=>et,hasNewlineInRange:()=>qF,hasSpaces:()=>VF,isNextLineEmpty:()=>ZF,isNextLineEmptyAfterIndex:()=>Hr,isPreviousLineEmpty:()=>zF,makeString:()=>QF,skip:()=>Gt,skipEverythingButNewLine:()=>ma,skipInlineComment:()=>$r,skipNewline:()=>mt,skipSpaces:()=>rt,skipToLineEnd:()=>Ea,skipTrailingComment:()=>Mr,skipWhitespace:()=>z0});$r=SF;Mr=wF;xr=RF;Hr=PF;OF=TF;LF=NF;jF=kF,Ka="'",$F='"',Ya=Object.freeze({character:Ka,codePoint:39}),za=Object.freeze({character:$F,codePoint:34}),MF=Object.freeze({preferred:Ya,alternate:za}),xF=Object.freeze({preferred:za,alternate:Ya});UF=HF;qF=GF;VF=WF;Ja=Ze(Ha);up=Ze(Nr,0),rp=Ze((e,t)=>_u(t,{physicalFile:e})),np={errors:yi,optionCategories:Ua,createIsIgnoredFunction:Va,formatOptionsHiddenDefaults:nr,normalizeOptions:wa,getSupportInfoWithoutPlugins:Nr,normalizeOptionSettings:ba,inferParser:(e,t)=>Promise.resolve(t?.parser??rp(e,t)),vnopts:{ChoiceSchema:_i,apiDescriptor:Ft},fastGlob:XD.default,createTwoFilesPatch:WD,picocolors:KD.default,closetLevenshteinMatch:Ei,utilities:{omit:vF,createMockable:Bi}},ip={parse:Ze(vh),formatAST:Ze(_h),formatDoc:Ze(yh),printToDoc:Ze(Bh),printDocToString:Ze(bh),mockable:bi}});export{Tu as a,$D as b,sa as c,f0 as d,BF as e,bF as f,Xa as g,Ja as h,Qa as i,ep as j,tp as k,up as l,np as m,ip as n,ap as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as l}from"./chunk-
|
|
1
|
+
import{d as l}from"./chunk-DTIWUT2T.js";import{c as t}from"./chunk-STJ3LWFL.js";import{a as i,h as m,i as w,j as d,m as f}from"./chunk-TUNUEOHO.js";import{F as n}from"./chunk-NTRAWIEJ.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();async function h(o,r){i()||f({store:r});let e=o??m()??await p(["Enter your",{link:{label:"store password",url:t(r)}}]),s=!1;for(;!await l(e,r);)s||(d(),s=!0),e=await p(["Incorrect",{link:{label:"store password",url:t(r)}},{char:"."},"Please try again"]);return w(e),e}async function p(o){return n({message:o,password:!0})}export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as T}from"./chunk-
|
|
1
|
+
import{a as T}from"./chunk-NWXDOCL5.js";import{b as P,c as w,d as v}from"./chunk-7572RLUP.js";import{a as F}from"./chunk-S7F5KFQP.js";import{a as x}from"./chunk-5BKCIDMS.js";import{Ga as y}from"./chunk-4QTEPWEJ.js";import{b as h,c as m}from"./chunk-OXJBYKMX.js";import{B as d,I as l}from"./chunk-NTRAWIEJ.js";import{r as N}from"./chunk-T6CC5WUU.js";import{Pb as r}from"./chunk-7FQFEB33.js";import{e as A,g}from"./chunk-VKWPEFWQ.js";g();var s=A(N(),1);var p,a="_start",e=class extends F{async run(){let{flags:t}=await this.parse(p),n=a,{app:c}=await y({directory:t.path,userProvidedConfigName:t.config}),o=await w(c,t.path);if(t.export!==void 0)r(`Using export ${t.export} from the --export flag.`),n=t.export;else if(o.configuration.targeting!==void 0&&o.configuration.targeting.length>0){let i=o.configuration.targeting;if(i.length>1&&l({})){let b=i.map(f=>({label:f.target,value:f.export||a}));n=await d({message:"Which target would you like to execute?",choices:b})}else n=i?.[0]?.export||a,r(`Using export '${n}'. Use the --export flag or an interactive terminal to select a different export.`)}else r(`No targeting information found. Using the default export '${n}'. Use the --export flag or an interactive terminal to select a different export.`);let u=o?.configuration.targeting?.[0]?.input_query,U=u&&`${o?.directory}/${u}`,_=await v(o,t.path,t["client-id"],t.reset,t.config);return await T({functionExtension:o,json:t.json,inputPath:t.input,export:n,stdin:"inherit",schemaPath:_,queryPath:U}),{app:c}}};p=e;e.summary="Run a function locally for testing.";e.descriptionWithMarkdown="Runs the function from your current directory for [testing purposes](https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](https://shopify.dev/docs/api/functions/errors).";e.description=p.descriptionWithoutMarkdown();e.flags={...h,...x,...P,...m,input:s.Flags.string({char:"i",description:"The input JSON to pass to the function. If omitted, standard input is used.",env:"SHOPIFY_FLAG_INPUT"}),export:s.Flags.string({char:"e",hidden:!1,description:"Name of the WebAssembly export to invoke.",env:"SHOPIFY_FLAG_EXPORT"})};var G=e;export{G as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-2RBIR3NM.js";import{b as i}from"./chunk-HOSFU6UP.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends i{static{this.description="Generate a notifications.json file for the the CLI, appending a new notification to the current file."}static{this.hidden=!0}async run(){await n()}};export{t as a};
|