shopify 4.9.1 → 4.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-CLYTLX2B.js +1 -0
- package/dist/analytics-K6IFFIPX.js +1 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +14 -0
- package/dist/assets/hydrogen/starter/package.json +2 -2
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-P6ID3ULA.js → chunk-2E2NYRQH.js} +1 -1
- package/dist/{chunk-VEIZLSMG.js → chunk-2GYIQINP.js} +1 -1
- package/dist/{chunk-MZJKZLCC.js → chunk-2NRFFAV4.js} +1 -1
- package/dist/{chunk-EVQPVO4P.js → chunk-2S7WRX2J.js} +1 -1
- package/dist/{chunk-23ITMFUO.js → chunk-2WQGEYBB.js} +1 -1
- package/dist/{chunk-JF47WERF.js → chunk-32HWTEOM.js} +1 -1
- package/dist/chunk-3B3CJS5I.js +1 -0
- package/dist/chunk-3FCN4NS6.js +6 -0
- package/dist/{chunk-K5KUOPEF.js → chunk-3FPVTPQO.js} +1 -1
- package/dist/{chunk-DUWU7CL7.js → chunk-3JN6OWIO.js} +1 -1
- package/dist/{chunk-MIMOKFDI.js → chunk-3U2OMG7L.js} +1 -1
- package/dist/{chunk-Z6VWYOKN.js → chunk-3YAD263J.js} +1 -1
- package/dist/{chunk-JCOQDVEB.js → chunk-43DSLBSX.js} +1 -1
- package/dist/{chunk-YQZPL4K3.js → chunk-46I3BQZH.js} +1 -1
- package/dist/{chunk-ADIHYUQC.js → chunk-4J7HQGWI.js} +1 -1
- package/dist/{chunk-4AXLWDKW.js → chunk-4LTQEQ4O.js} +1 -1
- package/dist/{chunk-2AZXDU2R.js → chunk-4MUH4E2U.js} +1 -1
- package/dist/{chunk-CUZQRXTV.js → chunk-4Q5TSWQL.js} +3 -3
- package/dist/{chunk-7H4IM6PX.js → chunk-4Q7NZI5A.js} +1 -1
- package/dist/{chunk-QZDFPNYT.js → chunk-4RFKEFWW.js} +1 -1
- package/dist/{chunk-N56BJ3F7.js → chunk-4TF7ER72.js} +1 -1
- package/dist/{chunk-AJOTU26E.js → chunk-52ZHZWF7.js} +1 -1
- package/dist/{chunk-IQ4VOPT7.js → chunk-543SYIY6.js} +1 -1
- package/dist/chunk-5BGUKF7L.js +1 -0
- package/dist/{chunk-QEF43PR2.js → chunk-5LONOHNN.js} +1 -1
- package/dist/chunk-5LZ5L2FF.js +70 -0
- package/dist/{chunk-DREP3FRJ.js → chunk-5RJ6KQHZ.js} +1 -1
- package/dist/{chunk-DCSSFNW7.js → chunk-66JMKA7C.js} +1 -1
- package/dist/{chunk-PTS7J2JO.js → chunk-6BVQSX7D.js} +1 -1
- package/dist/{chunk-254XYKPN.js → chunk-6HWDGTSX.js} +1 -1
- package/dist/{chunk-LRKJSNM3.js → chunk-6JOZHD34.js} +1 -1
- package/dist/{chunk-S6YUSGTF.js → chunk-6ZSI3C4G.js} +1 -1
- package/dist/{chunk-U2WUTGPI.js → chunk-73LX4DOM.js} +1 -1
- package/dist/{chunk-7IS6Q756.js → chunk-7AP5E5CF.js} +1 -1
- package/dist/chunk-7E4MJCVE.js +10 -0
- package/dist/{chunk-LOKVWZD2.js → chunk-7IYSJGFF.js} +1 -1
- package/dist/{chunk-SHDGD2WJ.js → chunk-7KCHSZ6H.js} +1 -1
- package/dist/{chunk-JJ4MYCVU.js → chunk-7KVTQDRW.js} +1 -1
- package/dist/{chunk-LIB64ZJW.js → chunk-7NHCYOKI.js} +1 -1
- package/dist/{chunk-LBBYCPZP.js → chunk-7SIY6GZD.js} +1 -1
- package/dist/{chunk-55JDA75S.js → chunk-A36J5FWZ.js} +1 -1
- package/dist/{chunk-IPWU2ALH.js → chunk-A6KNDSNT.js} +1 -1
- package/dist/{chunk-UJD7OQ3I.js → chunk-A6NAQ2Y3.js} +1 -1
- package/dist/{chunk-ICFM55ZS.js → chunk-A75SA57D.js} +1 -1
- package/dist/{chunk-2QV5FHXJ.js → chunk-A76YYGZT.js} +1 -1
- package/dist/{chunk-33D7HGAI.js → chunk-ACGPDJ6Q.js} +1 -1
- package/dist/{chunk-GF75CMTJ.js → chunk-ADGPOQ5M.js} +1 -1
- package/dist/{chunk-TGUAZMI2.js → chunk-ADL6JSX7.js} +1 -1
- package/dist/{chunk-NWBAD3AV.js → chunk-ADVNRGOU.js} +1 -1
- package/dist/{chunk-2TOIR7YQ.js → chunk-AF36J7R7.js} +1 -1
- package/dist/{chunk-VEQDI5AB.js → chunk-B32O5KET.js} +1 -1
- package/dist/{chunk-ZDRQUKLN.js → chunk-BHOZAIHS.js} +1 -1
- package/dist/{chunk-NYNSMHKY.js → chunk-BWCPDFEY.js} +1 -1
- package/dist/{chunk-DEY5P63E.js → chunk-BZSCRXYR.js} +3 -3
- package/dist/{chunk-GHO2S3W3.js → chunk-C4G7OKJD.js} +1 -1
- package/dist/{chunk-3WMFKHIM.js → chunk-CB6QT5K5.js} +1 -1
- package/dist/{chunk-DUWS6Q7C.js → chunk-CGCM5DB7.js} +1 -1
- package/dist/{chunk-JWQBRHVY.js → chunk-CNA5YGXA.js} +1 -1
- package/dist/{chunk-DP7SBNLN.js → chunk-CNHO3T4F.js} +1 -1
- package/dist/{chunk-3GVSG4S6.js → chunk-CPT2VBMR.js} +1 -1
- package/dist/{chunk-FNITLQDL.js → chunk-CQKZSB7Z.js} +1 -1
- package/dist/{chunk-NGQDG4CJ.js → chunk-CTDETNGR.js} +1 -1
- package/dist/{chunk-MEFJND2V.js → chunk-CTVOXVXG.js} +1 -1
- package/dist/{chunk-NZRQKFUB.js → chunk-DE5BUQL5.js} +1 -1
- package/dist/{chunk-OJ7KRWUH.js → chunk-DHWY73OS.js} +1 -1
- package/dist/chunk-DPGUL2TW.js +1 -0
- package/dist/{chunk-P676C7UT.js → chunk-DWDR7XMI.js} +1 -1
- package/dist/{chunk-CPKLTBLZ.js → chunk-E7PW5SVD.js} +1 -1
- package/dist/{chunk-2KBTFKSM.js → chunk-EA5LKCRF.js} +1 -1
- package/dist/{chunk-63GEZEYP.js → chunk-EJ46P6A3.js} +1 -1
- package/dist/{chunk-HJ3DOUAL.js → chunk-EM6KPZCM.js} +1 -1
- package/dist/{chunk-GILHUPUG.js → chunk-FHOBQUQT.js} +1 -1
- package/dist/{chunk-C4QR7Z4N.js → chunk-FKGN6F3F.js} +1 -1
- package/dist/{chunk-2NBNVDDA.js → chunk-FLPWT4AK.js} +1 -1
- package/dist/{chunk-HT2JVMLK.js → chunk-FMBC7LZB.js} +1 -1
- package/dist/{chunk-H3QLPW7Q.js → chunk-GB4WR6DY.js} +1 -1
- package/dist/{chunk-J4SJHG3M.js → chunk-GBG6SUK4.js} +1 -1
- package/dist/{chunk-GPRUQBQX.js → chunk-GIGA7EU3.js} +1 -1
- package/dist/{chunk-TH4D7IGZ.js → chunk-GOBTF2ZH.js} +1 -1
- package/dist/{chunk-WRVB4JCZ.js → chunk-GPJAWTR7.js} +1 -1
- package/dist/{chunk-EDLID4PK.js → chunk-GQZ3KCWJ.js} +3 -3
- package/dist/{chunk-GRKZRK4G.js → chunk-H3N5LKJD.js} +1 -1
- package/dist/{chunk-7AD5YCLL.js → chunk-H4PXFC7T.js} +1 -1
- package/dist/{chunk-OSA6BKSU.js → chunk-H5ZPH2EC.js} +1 -1
- package/dist/{chunk-5MJX7RKQ.js → chunk-HHNMV6GX.js} +1 -1
- package/dist/{chunk-WR2MMFJO.js → chunk-HJPAHR2V.js} +1 -1
- package/dist/{chunk-MDMKTILJ.js → chunk-HQ4JWC5M.js} +1 -1
- package/dist/{chunk-JA2QZ635.js → chunk-I3J63RFV.js} +1 -1
- package/dist/{chunk-ET2CGROE.js → chunk-IGE4Y5SE.js} +1 -1
- package/dist/{chunk-2AAHKMPP.js → chunk-IH2CB73H.js} +1 -1
- package/dist/{chunk-JCVQB6MX.js → chunk-IJM576XA.js} +1 -1
- package/dist/{chunk-W6TPRWEE.js → chunk-IKN6ICJR.js} +1 -1
- package/dist/{chunk-KCHERKZO.js → chunk-IN634BRF.js} +88 -88
- package/dist/{chunk-HVOYSAB3.js → chunk-IR6OW5R2.js} +1 -1
- package/dist/{chunk-RX27ER4R.js → chunk-ISU7Q2EB.js} +1 -1
- package/dist/{chunk-RDCHRPKV.js → chunk-J6BK6SNB.js} +1 -1
- package/dist/{chunk-TOLPNBZK.js → chunk-JFBCE4HN.js} +1 -1
- package/dist/{chunk-77QYKF34.js → chunk-JQ3DMPI6.js} +1 -1
- package/dist/{chunk-C7YSU4R5.js → chunk-JTXQPPKQ.js} +1 -1
- package/dist/{chunk-I4FS7HYY.js → chunk-JYWFR6VL.js} +1 -1
- package/dist/chunk-KD5AYVA2.js +1 -0
- package/dist/{chunk-AKSOCKVF.js → chunk-KEI3OJVP.js} +2 -2
- package/dist/{chunk-RNXWL6DS.js → chunk-KFOU4WLJ.js} +1 -1
- package/dist/{chunk-HQK6QRXN.js → chunk-KI3VRWBP.js} +1 -1
- package/dist/{chunk-QEEA2KEN.js → chunk-KRL7FE6M.js} +1 -1
- package/dist/{chunk-YFR53MWF.js → chunk-KWKRJYTY.js} +1 -1
- package/dist/{chunk-NHEUJKAO.js → chunk-KXZQKOKF.js} +1 -1
- package/dist/{chunk-OKX6PKAW.js → chunk-KY4WH4ZK.js} +1 -1
- package/dist/{chunk-OUSRNKZG.js → chunk-KZ54OSBH.js} +1 -1
- package/dist/{chunk-NE32WJR5.js → chunk-KZE6JT42.js} +1 -1
- package/dist/{chunk-OVOOQFRY.js → chunk-KZWYFH7M.js} +1 -1
- package/dist/chunk-L4DFMMOI.js +1 -0
- package/dist/{chunk-EYB45DUG.js → chunk-LGRZQTQL.js} +1 -1
- package/dist/{chunk-LAHZ6FO5.js → chunk-LIE6QSQ2.js} +1 -1
- package/dist/{chunk-RFDOSK57.js → chunk-LOTMFUSV.js} +1 -1
- package/dist/{chunk-F34MAI7X.js → chunk-MAQ3SRQF.js} +1 -1
- package/dist/{chunk-3MEL3WLG.js → chunk-MBE23GGW.js} +1 -1
- package/dist/{chunk-DZS4GBQX.js → chunk-MDGF3K45.js} +1 -1
- package/dist/{chunk-YACDI6IK.js → chunk-ME4EYPKZ.js} +1 -1
- package/dist/{chunk-S3IDGHAZ.js → chunk-MMCDBR23.js} +1 -1
- package/dist/{chunk-STLYSBD5.js → chunk-MNHZWEXI.js} +1 -1
- package/dist/{chunk-LEFAUWKH.js → chunk-MROQ2FRU.js} +1 -1
- package/dist/{chunk-VX2CDHRQ.js → chunk-MVFBLQ4J.js} +1 -1
- package/dist/{chunk-7WWPAHVE.js → chunk-MWVT5HYW.js} +1 -1
- package/dist/{chunk-RRBI2IRE.js → chunk-MYIN4HYW.js} +1 -1
- package/dist/{chunk-ISIPFEFB.js → chunk-MYP6QEJW.js} +1 -1
- package/dist/{chunk-77QKJLBG.js → chunk-NC64STMQ.js} +1 -1
- package/dist/{chunk-B7Y2LMPU.js → chunk-NL6DJQJG.js} +1 -1
- package/dist/{chunk-BATQEAGE.js → chunk-NO3QDX7R.js} +1 -1
- package/dist/{chunk-X6Y3HDXN.js → chunk-NYVG34OW.js} +1 -1
- package/dist/{chunk-5UDBNXNH.js → chunk-O36EB75H.js} +1 -1
- package/dist/{chunk-QNR3U4IO.js → chunk-O7YHDFOO.js} +1 -1
- package/dist/{chunk-VWYZCCRE.js → chunk-OSGXBBUJ.js} +5 -5
- package/dist/{chunk-SKK7CPUY.js → chunk-OUO2T3CC.js} +1 -1
- package/dist/{chunk-YS5RZ6D5.js → chunk-OVTWO3W7.js} +1 -1
- package/dist/{chunk-UVSXPMUN.js → chunk-P4MNJULR.js} +1 -1
- package/dist/{chunk-5ZSN73EA.js → chunk-P7YDAQ53.js} +1 -1
- package/dist/{chunk-S3J3BYQ3.js → chunk-PE6H7U6N.js} +1 -1
- package/dist/{chunk-UZTL2UET.js → chunk-PFBESNYV.js} +64 -53
- package/dist/{chunk-VL3XMULV.js → chunk-PFPVFPHV.js} +1 -1
- package/dist/{chunk-HDQXFGYG.js → chunk-PIZDYS7T.js} +60 -60
- package/dist/{chunk-X3WFHNF5.js → chunk-PQEFZTEJ.js} +1 -1
- package/dist/chunk-Q54LU5W4.js +1 -0
- package/dist/{chunk-XCXQPV5W.js → chunk-QKJ542VO.js} +1 -1
- package/dist/{chunk-ZQKZC2KN.js → chunk-QKSN6ZYW.js} +1 -1
- package/dist/{chunk-5I5HKOQU.js → chunk-QZGVZMB5.js} +1 -1
- package/dist/{chunk-JOEWOCHY.js → chunk-RJGFFGEN.js} +1 -1
- package/dist/{chunk-2RVMF4QP.js → chunk-S34ZYEZS.js} +1 -1
- package/dist/{chunk-XY2SSJQD.js → chunk-SZLNUMWO.js} +1 -1
- package/dist/{chunk-VXHLE5UQ.js → chunk-T3LZJIZN.js} +1 -1
- package/dist/{chunk-WGBUSO27.js → chunk-TFB4JJFQ.js} +1 -1
- package/dist/{chunk-LQ7ENG4V.js → chunk-TQ7URMGS.js} +1 -1
- package/dist/{chunk-3VOMVINB.js → chunk-TWT5LVEM.js} +1 -1
- package/dist/{chunk-IUUKRTKF.js → chunk-UGJN5Q6Y.js} +1 -1
- package/dist/{chunk-T7BUP75N.js → chunk-UKINO57E.js} +1 -1
- package/dist/chunk-UWHAOGO4.js +4 -0
- package/dist/{chunk-COFGQT76.js → chunk-UYWRJHAJ.js} +3 -3
- package/dist/{chunk-7UV53AU2.js → chunk-UZL4B7LA.js} +1 -1
- package/dist/{chunk-2FHVYY3B.js → chunk-V4F4LQBQ.js} +1 -1
- package/dist/chunk-VCAYMY7D.js +275 -0
- package/dist/{chunk-XUJURYN5.js → chunk-VDE7IIYQ.js} +1 -1
- package/dist/{chunk-B4YDR22W.js → chunk-VOOYVTYA.js} +1 -1
- package/dist/{chunk-3VXXYY6S.js → chunk-VWDVWHV7.js} +1 -1
- package/dist/{chunk-AZCPTV4A.js → chunk-WEB63XPH.js} +1 -1
- package/dist/{chunk-XW33ZO7F.js → chunk-WS54VCDC.js} +1 -1
- package/dist/{chunk-7ZONBOEZ.js → chunk-WUGFTI5M.js} +1 -1
- package/dist/{chunk-WBTR5JZ6.js → chunk-X5VBX2QA.js} +1 -1
- package/dist/{chunk-NSHKVJST.js → chunk-XBCFYD3T.js} +1 -1
- package/dist/{chunk-5CANB25O.js → chunk-XGFY6FV4.js} +1 -1
- package/dist/{chunk-DYHRCMH6.js → chunk-XMPLZWXP.js} +1 -1
- package/dist/{chunk-KXSUEB4Y.js → chunk-XSGYQXWO.js} +1 -1
- package/dist/{chunk-QF6EH4HX.js → chunk-XVOUKPGD.js} +1 -1
- package/dist/{chunk-3UZYLXCB.js → chunk-XZHUUA6U.js} +1 -1
- package/dist/{chunk-KVZXRZ7U.js → chunk-XZOSPVMV.js} +1 -1
- package/dist/{chunk-FJCNEHTH.js → chunk-Y45QFHVA.js} +1 -1
- package/dist/{chunk-WR6KP7RT.js → chunk-YKK4PGCQ.js} +1 -1
- package/dist/{chunk-5KILOX2V.js → chunk-YMAVVMN5.js} +1 -1
- package/dist/{chunk-ON3YXHON.js → chunk-YN3NT2RC.js} +1 -1
- package/dist/{chunk-46IUD46F.js → chunk-YPGZANN3.js} +1 -1
- package/dist/{chunk-CKLS5LTU.js → chunk-YS447QGN.js} +1 -1
- package/dist/{chunk-VPH2AAHJ.js → chunk-YUM5XGSV.js} +1 -1
- package/dist/{chunk-6WGHVCYY.js → chunk-YVX2OJ7N.js} +1 -1
- package/dist/{chunk-RFB7RXTA.js → chunk-YWS2OTSC.js} +1 -1
- package/dist/{chunk-QH5R32AA.js → chunk-YZXNXWDR.js} +1 -1
- package/dist/{chunk-HKNFZUAM.js → chunk-Z5M2VWQZ.js} +107 -107
- package/dist/{chunk-VY7UGJZK.js → chunk-ZBMEU2CE.js} +1 -1
- package/dist/{chunk-JSGOBMF6.js → chunk-ZIL2P7FL.js} +1 -1
- package/dist/{chunk-FROK2K3X.js → chunk-ZRW47MJT.js} +1 -1
- package/dist/{chunk-QPCDSJ4J.js → chunk-ZZWGNETX.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/graphiql.js +1 -1
- package/dist/cli/commands/app/import/channel-config.js +1 -1
- package/dist/cli/commands/app/import/custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import/dashboard-extensions.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/security/check.js +1 -1
- package/dist/cli/commands/app/security/clean.js +1 -1
- package/dist/cli/commands/app/security/instructions.js +1 -1
- package/dist/cli/commands/app/security/record.js +1 -1
- package/dist/cli/commands/app/security/review.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/list.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/status.js +1 -1
- package/dist/cli/commands/app/subscription-migrations/unschedule.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/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.js +1 -1
- package/dist/cli/commands/doc/search.js +1 -1
- 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.js +1 -1
- package/dist/cli/commands/send-analytics.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/help.js +1 -1
- package/dist/{command-json-schema-SU56F3T4.js → command-json-schema-AWZEAYEU.js} +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-WDYDHG6V.js → conf-store-TBERV4YJ.js} +1 -1
- package/dist/{custom-oclif-loader-CP4XJAPS.js → custom-oclif-loader-RHFO4GO3.js} +1 -1
- package/dist/{deprecations-CBSMNYL3.js → deprecations-FNYLBULK.js} +1 -1
- package/dist/dist-HV5W7PYL.js +1 -0
- package/dist/dist-VKKGDJQ2.js +1 -0
- package/dist/environments-XC6OMZY2.js +1 -0
- package/dist/{error-LNWX6IWE.js → error-SI2QH7DT.js} +1 -1
- package/dist/error-handler-XOEXJ4TY.js +1 -0
- package/dist/{fs-Y33QBYY5.js → fs-J67RRM6W.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/index.js +1 -1
- package/dist/is-global-BSY2VR5F.js +1 -0
- package/dist/{json-error-UR2OILQ6.js → json-error-BVX244JK.js} +1 -1
- package/dist/lib-55QUD4AJ.js +1 -0
- package/dist/lib-PH52G55H.js +1 -0
- package/dist/lib-TYM5B75S.js +1 -0
- package/dist/{local-77XQ4CX3.js → local-VCJXKA4Z.js} +1 -1
- package/dist/{metadata-BC3BGHRY.js → metadata-G7M7BSIE.js} +1 -1
- package/dist/{morph-42EXMN3K.js → morph-BABFBRSW.js} +1 -1
- package/dist/{node-package-manager-6UZUTDCP.js → node-package-manager-PMTBCYAX.js} +1 -1
- package/dist/notifications-system-O2R4VN7A.js +1 -0
- package/dist/os-MMNGCSNT.js +1 -0
- package/dist/{output-GGY66WEM.js → output-2Q6CSC33.js} +1 -1
- package/dist/system-DQ2SKK6C.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typescript-ISACCMJN.js +1 -0
- package/dist/ui-QOSX5V7Z.js +1 -0
- package/dist/upgrade-7HYLPUVK.js +1 -0
- package/dist/version-BPEZT4N3.js +1 -0
- package/dist/version-VNCEYJRH.js +1 -0
- package/dist/{workerd-MEAM3XYI.js → workerd-2RFRLQVH.js} +1 -1
- package/oclif.manifest.json +5 -5
- package/package.json +8 -8
- package/dist/analytics-EPKJADE2.js +0 -1
- package/dist/analytics-TVCGKQGZ.js +0 -1
- package/dist/chunk-32B4LIKH.js +0 -1
- package/dist/chunk-5XO6PAMV.js +0 -1
- package/dist/chunk-7UZO72KN.js +0 -278
- package/dist/chunk-7Y7AZRL3.js +0 -10
- package/dist/chunk-A6OSIGQI.js +0 -1
- package/dist/chunk-F3TMLDLC.js +0 -1
- package/dist/chunk-HSTNTHWM.js +0 -1
- package/dist/chunk-MFXBSQDH.js +0 -12
- package/dist/chunk-MINDMVTH.js +0 -1
- package/dist/chunk-NTFIW3VK.js +0 -6
- package/dist/chunk-PCKWLJW2.js +0 -1
- package/dist/chunk-SMZ74TME.js +0 -64
- package/dist/dist-HI6AAP5V.js +0 -1
- package/dist/dist-W25ND3PJ.js +0 -1
- package/dist/environments-PUH6A5BU.js +0 -1
- package/dist/error-handler-24QGAUUD.js +0 -1
- package/dist/is-global-KY3QE3OZ.js +0 -1
- package/dist/lib-AD2G3QH3.js +0 -1
- package/dist/lib-VEVNMHDE.js +0 -1
- package/dist/lib-ZQW4E7QU.js +0 -1
- package/dist/notifications-system-4UDT72DQ.js +0 -1
- package/dist/os-U3LELTCV.js +0 -1
- package/dist/system-MCWAHFXK.js +0 -1
- package/dist/typescript-5R4Y7PXE.js +0 -1
- package/dist/ui-SYB4LLWY.js +0 -1
- package/dist/upgrade-V4GCQJBN.js +0 -1
- package/dist/version-HQPFW4QN.js +0 -1
- package/dist/version-VOSHQCYM.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-3B3CJS5I.js";import{a as d}from"./chunk-LOTMFUSV.js";import{Ha as h}from"./chunk-KEI3OJVP.js";import{b as g,c as l}from"./chunk-EA5LKCRF.js";import{a as m}from"./chunk-UGJN5Q6Y.js";import{Ib as u,Vb as f,b as e}from"./chunk-UYWRJHAJ.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();o();function S(s){return s.allExtensions.filter(t=>t.isFunctionExtension).map(t=>({source:`extensions.${t.configuration.handle}`,namespace:"extensions",handle:t.handle,name:t.name,type:t.type,externalType:t.externalType,humanName:t.humanName,uid:t.uid,directory:t.directory,configurationPath:t.configurationPath,configuration:t.configuration,entrySourceFilePath:t.entrySourceFilePath,outputPath:t.outputPath,surface:t.surface,features:t.features,dependency:t.dependency}))}o();var P=e.object({source:e.string(),namespace:e.literal("extensions"),handle:e.string(),name:e.string(),type:e.string(),externalType:e.string(),humanName:e.string(),uid:e.string(),directory:e.string(),configurationPath:e.string(),configuration:e.record(e.unknown()),entrySourceFilePath:e.string(),outputPath:e.string(),surface:e.string(),features:e.array(e.string()),dependency:e.string().optional()}).strict(),c=m({name:"AppLogSourcesResult",schema:e.object({sources:e.array(P)}).strict(),definitions:{AppLogSource:P}});o();function j(s,t){if(t==="json"){u(c.encode({sources:s}));return}let r=new Map;s.forEach(({source:a})=>{let n=a.split(".");if(n.length>=2){let i=n[0];r.has(i)||r.set(i,[]),r.set(i,[...r.get(i),a])}});for(let[a,n]of r)u(f(a,n.join(`
|
|
2
2
|
`)))}var p=class s extends y{static summary="Print out a list of sources that may be used with the logs command.";static descriptionWithMarkdown="The output source names can be used with the `--source` argument of `shopify app logs` to filter log output. Currently only function extensions are supported as sources.";static get jsonOutputSchema(){return c}static description=this.descriptionForHelp();static flags={...g,...d,...l};async run(){let{flags:t}=await this.parse(s),{app:r}=await h({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config});return r.errors.isEmpty()?j(S(r),t.json?"json":"text"):process.exit(2),{app:r}}};export{p as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-YN3NT2RC.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends o{};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-2NRFFAV4.js";import{b as a}from"./chunk-4Q5TSWQL.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();var t=class extends a{static description="View the UI kit components that process async tasks";static hidden=!0;async run(){await o()}};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as h,ba as F,c,ca as g,f as k,g as v,n as m}from"./chunk-
|
|
1
|
+
import{A as h,ba as F,c,ca as g,f as k,g as v,n as m}from"./chunk-OSGXBBUJ.js";import{b as l}from"./chunk-XVOUKPGD.js";import{i as n,l as A}from"./chunk-VDE7IIYQ.js";import{Cb as b,Eb as f}from"./chunk-UYWRJHAJ.js";import{i as q}from"./chunk-WNO2V53C.js";import{g as d}from"./chunk-VKWPEFWQ.js";d();d();var $={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"publicApiVersions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicApiVersions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"handle"}},{kind:"Field",name:{kind:"Name",value:"supported"}},{kind:"Field",name:{kind:"Name",value:"__typename"}}]}}]}}]};var S=new Map;async function Y(t,r,e,o){let p="Admin",u=o??await T(r),s=r.storeFqdn,i=V(r);l()==="local"&&(i["x-forwarded-host"]=s,s=new m().host("app"));let a=E(s,u,r);return F({query:t,api:p,addedHeaders:i,url:a,token:r.token,variables:e})}async function D(t){let{query:r,session:e,variables:o,version:p,responseOptions:u,preferredBehaviour:s}=t,i=p??S.get(e.storeFqdn);i??=await T(e,s);let a=e.storeFqdn,y=V(e);l()==="local"&&(y["x-forwarded-host"]=a,a=new m().host("app"));let x={url:E(a,i,e),api:"Admin",token:e.token,addedHeaders:y},w;return"refresh"in e&&(w={type:"token_refresh",handler:e.refresh}),g({...x,query:r,variables:o,responseOptions:u,unauthorizedHandler:w,preferredBehaviour:s})}function V(t){return h(t)?{"X-Shopify-Shop":t.storeFqdn,"X-Shopify-Access-Token":t.token}:{}}async function T(t,r){let o=(await N(t,r)).reverse()[0];return S.set(t.storeFqdn,o),o}async function N(t,r){return(await R(t,r)).filter(o=>o.supported).map(o=>o.handle).sort()}async function R(t,r){try{return(await D({query:$,session:t,variables:{},version:"unstable",responseOptions:{handleErrors:!1},preferredBehaviour:r})).publicApiVersions}catch(e){if(e instanceof c&&e.response.status===403){let o=t.storeFqdn.replace(".myshopify.com","");throw new n(f`Looks like you don't have access to this dev store: (${b.link(o,`https://${t.storeFqdn}`)})`,f`If you're not the owner, create a dev store staff account for yourself`)}throw e instanceof c&&(e.response.status===401||e.response.status===404)?new n(`Error connecting to your store ${t.storeFqdn}: ${e.message} ${e.response.status} ${e.response.data}`):e instanceof c&&e.response.status===402?new n(`The store ${t.storeFqdn} is currently unavailable.`,"This usually means the store is frozen, paused, or closed. Check the store in the Shopify admin and try again once it is reactivated."):e instanceof c&&e.response.status>=500?new n(`The Admin API for ${t.storeFqdn} returned a server error (HTTP ${e.response.status}).`,"This is a problem on the Shopify side, not with your command. Wait a moment and try again."):v(e)?new n(`Request to ${t.storeFqdn} was aborted before it completed.`,"The request was cancelled or timed out before the store responded. Try running the command again."):k(e)?new n(`Network error connecting to your store ${t.storeFqdn}: ${e instanceof Error?e.message:String(e)}`,"Check your internet connection and try again."):new A(`Unknown error connecting to your store ${t.storeFqdn}: ${e instanceof Error?e.message:String(e)}`)}}function E(t,r,e){let o=r??"unstable";return e&&h(e)?`https://${q}/cli/admin/api/${o}/graphql.json`:`https://${t}/admin/api/${o}/graphql.json`}export{Y as a,D as b,N as c,R as d,E as e};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as A}from"./chunk-VJEKDBGZ.js";import{b as f}from"./chunk-
|
|
1
|
+
import{a as A}from"./chunk-VJEKDBGZ.js";import{b as f}from"./chunk-GOBTF2ZH.js";import{f as C}from"./chunk-HJPAHR2V.js";import{i as n}from"./chunk-VDE7IIYQ.js";import{Cb as a,Eb as s,Ia as b,Nb as u,Xa as I,_a as G}from"./chunk-UYWRJHAJ.js";import{a as k,r as g}from"./chunk-FKGN6F3F.js";import{q as w}from"./chunk-3VYOLEQE.js";import{e as D,g as $}from"./chunk-VKWPEFWQ.js";$();var R=D(A());async function r(e,t){try{return(await f("git",e,{cwd:t})).stdout}catch(o){if(o instanceof Error){let i=new n(o.message);throw i.stack=o.stack,"exitCode"in o&&Object.assign(i,{exitCode:o.exitCode}),i}throw o}}async function K(e,t="main"){if(t.startsWith("-"))throw new n(`Invalid initial branch name: ${t}. Branch names can't start with a hyphen.`);u(s`Initializing git repository at ${a.path(e)}...`),await m(),await r(["init"],e),await r(["checkout","-b",t],e)}async function Q(e,t){try{return(await r(["check-ignore",...t],e)).split(`
|
|
2
2
|
`).filter(Boolean)}catch(o){if(o instanceof n&&"exitCode"in o&&o.exitCode===1)return[];throw o}}async function V(e){return C("cmd_all_timing_network_ms")(async()=>{let{repoUrl:t,destination:o,shallow:i,latestTag:l}=e;if(u(s`Git-cloning repository ${t} into ${a.path(o)}...`),await m(),await I(o)){if(!await b(o))throw new n(s`Can't clone to ${a.path(o)}`,"The path exists but isn't a directory.");if((await G(["*",".*"],{cwd:o,deep:1,onlyFiles:!1})).length>0)throw new n(s`Directory ${a.path(o)} already exists and is not empty`,s`Choose a different name or remove the existing directory first.`)}let[E,d]=t.split("#");if(d&&l)throw new n("Error cloning the repository. Git can't clone the latest release with a 'branch'.");if(i&&l)throw new n("Error cloning the repository. Git can't clone the latest release with the 'shallow' property.");let h=["clone","--recurse-submodules"];d&&h.push("--branch",d),i&&h.push("--depth","1"),k()||h.push("-c","core.askpass=true"),h.push(E,o);try{if(await f("git",h),l){let c=await S(o,t);await r(["checkout",c],o)}}catch(c){if(c instanceof n)throw c;if(c instanceof Error){let x=new n(c.message);throw x.stack=c.stack,x}throw c}})}async function S(e,t){let o=await F(e);if(!o)throw new n(`Couldn't obtain the most recent tag of the repository ${t}`);return o}async function X(e){let o=await r(["log","-1","--format=%H%x00%ai%x00%s%x00%D%x00%b%x00%an%x00%ae"],e);if(!o.trim())throw new n("Must have at least one commit to run command",s`Run ${a.genericShellCommand("git commit -m 'Initial commit'")} to create your first commit.`);let i=o.split("\0");return{hash:i[0],date:i[1],message:i[2],refs:i[3],body:i[4],author_name:i[5],author_email:i[6]}}async function Y(e){await r(["add","--all"],e)}async function Z(e,t){let o=["commit","-m",e];if(t?.author){if(t.author.startsWith("-"))throw new n(`Invalid commit author: ${t.author}. Author name/email can't start with a hyphen.`);o.push("--author",t.author)}return await r(o,t?.directory),(await r(["rev-parse","HEAD"],t?.directory)).trim()}async function m(){if(!await g())throw new n("Git is necessary in the environment to continue",s`Install ${a.link("git","https://git-scm.com/book/en/v2/Getting-Started-Installing-Git")}`)}var p=class extends n{};async function N(e){if(await m(),!await v(e))throw new p(`${a.path(e??w())} is not a Git directory`)}async function tt(e){return await g()?v(e):!1}async function v(e){try{return await f("git",["rev-parse","--git-dir"],{cwd:e}),!0}catch(t){if(t instanceof Error&&"exitCode"in t&&t.exitCode===128)return!1;throw t}}var y=class extends n{};async function et(e){if(!await T(e))throw new y(`${a.path(e??w())} is not a clean Git directory`)}async function T(e){return(await r(["status","--porcelain"],e)).trim()===""}async function F(e){try{return(await r(["describe","--tags","--abbrev=0"],e)).trim()||void 0}catch(t){if(t instanceof n&&"exitCode"in t&&t.exitCode===128)return;throw t}}async function ot(e,t="origin"){if(u(s`Removing git remote ${t} from ${a.path(e)}...`),await m(),!(await r(["remote"],e)).split(`
|
|
3
3
|
`).filter(Boolean).includes(t)){u(s`Remote ${t} does not exist, no action needed`);return}await r(["remote","remove",t],e)}export{K as a,Q as b,V as c,X as d,Y as e,Z as f,N as g,tt as h,y as i,et as j,T as k,ot as l};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-3B3CJS5I.js";import{a as m}from"./chunk-LOTMFUSV.js";import{Ha as l,i as s,ja as d}from"./chunk-KEI3OJVP.js";import{b as u}from"./chunk-EA5LKCRF.js";import{Cb as n,Eb as a,Ib as c}from"./chunk-UYWRJHAJ.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();i();async function g(e,t,o){return S(e,t,o,"text")}async function S(e,t,o,r){return await d(t,o.source),r==="json"?a`${n.json({SHOPIFY_API_KEY:t.apiKey,SHOPIFY_API_SECRET:t.apiSecretKeys[0]?.secret,SCOPES:s(e.configuration)})}`:a`
|
|
2
2
|
${n.green("SHOPIFY_API_KEY")}=${t.apiKey}
|
|
3
3
|
${n.green("SHOPIFY_API_SECRET")}=${t.apiSecretKeys[0]?.secret??""}
|
|
4
4
|
${n.green("SCOPES")}=${s(e.configuration)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./chunk-HB3MJYBK.js";import{a as I}from"./chunk-
|
|
1
|
+
import{a as m}from"./chunk-HB3MJYBK.js";import{a as I}from"./chunk-YKK4PGCQ.js";import{a as x}from"./chunk-MVFBLQ4J.js";import{A as R,D as T,F,I as d,L as u,a as A,e as b,f as k,r as _,v}from"./chunk-PFBESNYV.js";import{b as S}from"./chunk-EA5LKCRF.js";import{b as w}from"./chunk-4Q5TSWQL.js";import{_ as y,z as g}from"./chunk-IN634BRF.js";import{i as a}from"./chunk-VDE7IIYQ.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();c();var B=5e6,$={readStdin:y,engineVersion:k,writeAgentFindings:v,recordMetadata:I};function E(t){return u(t.record)}function s(t,e){throw new a("The findings document was rejected. Nothing was recorded.",null,[["Fix every error, then run",{command:E(e)},"again."]],[{title:"Errors",body:{list:{items:t}}}])}async function z(t,e){try{return await e.readStdin()}catch(i){throw i instanceof a&&s([i.message],t),i}}async function V(t,e){let i=await z(t,e);if(i===void 0)throw new a("No findings document was piped on stdin.",null,[["Pipe the findings document on stdin:",{command:E(t)}]]);let n=Buffer.byteLength(i,"utf8");n>B&&s([`The findings document is ${n} bytes; the limit is 5 MB.`],t);try{return JSON.parse(i)}catch(o){let r=o instanceof Error?o.message:String(o);s([`The findings document is not valid JSON: ${r}`],t)}}async function f(t,e=$){let{selection:i}=t,n=d(i,t.path),o=await V(n,e),r=b(o,{engineVersion:e.engineVersion()});r.ok||s(r.errors,n);let h=R(r.document);h>_&&s([`The recorded findings would be stored as ${h} bytes; the limit is 5 MB. Shorten or remove findings.`],n);let C=await e.writeAgentFindings(i.appDirectory,T(i),r.document),l=r.document.checks.reduce((D,N)=>D+N.findings.length,0);return await e.recordMetadata({num_security_findings:l}),{path:C,checks:r.document.checks.length,findings:l}}function M(t,e,i){let n=d(e,i);g({headline:"Agent findings recorded.",body:[`Recorded ${m(t.checks,"check")} and ${m(t.findings,"finding")} in`,{filePath:t.path}],nextSteps:[["Run",{command:u(n.review)},"to see the results."]]})}var p=class t extends w{static summary="Record agent findings from an app security check.";static descriptionWithMarkdown="Reads a coding agent's complete findings document from stdin, validates it, and replaces `agent-findings.json` in the results directory, `.shopify/app-security/<results key>/`. The results key is `--client-id` when you pass it, and otherwise the name of the app configuration file without `.toml`. `--client-id` is checked against your Shopify account before anything is read, so it needs you to be logged in.\n\nThe document must include a `scope` with the `include_dirs`, `excludes` and `no_git_ignore` values of the `check` run it describes, exactly as typed. It's recorded as reported and never compared with the scan's files.\n\nThe document is recorded all or nothing: if anything is invalid, the command fails with every error, writes nothing, and exits with a non-zero code. It needs the results directory that `shopify app security check` creates.";static description=this.descriptionForHelp();static flags={...S,...A};async run(){let{flags:e}=await this.parse(t),i=await F({path:e.path,config:e.config,clientId:e["client-id"],withoutAppConfig:e["without-app-config"],allowPrompts:!1,validateClientIdFlag:!0});await x(i,e.path);let n=await f({selection:i,path:e.path});M(n,i,e.path)}};export{p as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Q,b as W,c as X}from"./chunk-
|
|
1
|
+
import{a as Q,b as W,c as X}from"./chunk-4Q7NZI5A.js";import{a as L,c as P,e as f,f as M,h as T,i as q,m as V,p as F,q as U,r as j,s as z,u as H}from"./chunk-MWVT5HYW.js";import{a as _}from"./chunk-3B3CJS5I.js";import{a as G,b as J}from"./chunk-LOTMFUSV.js";import{b as N}from"./chunk-EA5LKCRF.js";import{A as v,B as E,I as D,a as $,y as g,z as u}from"./chunk-IN634BRF.js";import{i as m,l as R}from"./chunk-VDE7IIYQ.js";import{Cb as r,Eb as s,Ib as x,Xa as I,qa as C,ya as S}from"./chunk-UYWRJHAJ.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();c();async function te(t,e){if(t)return t.join(`
|
|
2
2
|
`);if(e){if(!await I(e))throw new m(s`Variable file not found at ${r.path(e)}. Please check the path and try again.`);return C(e,{encoding:"utf8"})}else return}async function Y(t){let{organization:e,remoteApp:i,store:n,query:o,variables:p,variableFile:b,outputFile:O,watch:Z=!1,version:ee}=t,{adminSession:d,version:k}=await D({title:s`Authenticating`,task:async()=>{let a=await Q(i,n.shopDomain),l=await M({adminSession:a,userSpecifiedVersion:ee,minimumDefaultVersion:L});return{adminSession:a,version:l}},renderOptions:{stdout:process.stderr}}),B=await te(p,b);ae(o,B),X(o,n),g({headline:"Starting bulk operation.",body:[{list:{items:W({organization:e,remoteApp:i,storeFqdn:n.shopDomain,version:k})}}]});let w=f(o)?await q({adminSession:d,query:o,variablesJsonl:B,version:k}):await T({adminSession:d,query:o,version:k});if(w?.userErrors?.length){E({headline:"Error creating bulk operation.",body:{list:{items:w.userErrors.map(a=>a.field?`${a.field.join(".")}: ${a.message}`:a.message)}}});return}let y=w?.bulkOperation;if(y)if(Z){let a=new $,l=await U(d,y.id,a.signal,()=>a.abort());a.signal.aborted?g({headline:`Bulk operation ${l.id} is still running in the background.`,body:h(l.id)}):await K(l,O)}else{let a=await F(d,y.id);["FAILED","CANCELED","EXPIRED"].includes(a.status)?await K(a,O):u({headline:"Bulk operation is running.",body:h(a.id),customSections:[{body:[{list:{items:[s`ID: ${r.cyan(a.id)}`.value]}}]}]})}else throw v({headline:"Bulk operation not created successfully.",body:"This is an unexpected error. Please try again later."}),new R("Bulk operation response returned null with no error message.")}async function K(t,e){let i=V(t).value,o=[{body:[{list:{items:[s`ID: ${r.cyan(t.id)}`.value,s`Status: ${r.yellow(t.status)}`.value,s`Created at: ${r.gray(String(t.createdAt))}`.value,...t.completedAt?[s`Completed at: ${r.gray(String(t.completedAt))}`.value]:[]]}}]}];switch(t.status){case"CREATED":u({headline:"Bulk operation started.",body:h(t.id),customSections:o});break;case"RUNNING":u({headline:"Bulk operation is running.",body:h(t.id),customSections:o});break;case"COMPLETED":if(t.url){let p=await j(t.url),b=z(p);e?await S(e,p):x(p),b?v({headline:"Bulk operation completed with errors.",body:e?`Results written to ${e}. Check file for error details.`:"Check results for error details.",customSections:o}):u({headline:i,body:e?[`Results written to ${e}`]:void 0,customSections:o})}else u({headline:i,customSections:o});break;case"CANCELED":case"CANCELING":case"EXPIRED":case"FAILED":E({headline:i,customSections:o});break}}function ae(t,e){if(f(t)&&!e)throw new m(s`Bulk mutations require variables. Provide a JSONL file with ${r.yellow("--variable-file")} or individual JSON objects with ${r.yellow("--variables")}.`);if(!f(t)&&e)throw new m(s`The ${r.yellow("--variables")} and ${r.yellow("--variable-file")} flags can only be used with mutations, not queries.`)}function h(t){return[`Monitor its progress with:
|
|
3
3
|
`,{command:`shopify app bulk status --id=${P(t)}`}]}var A=class t extends _{static summary="Execute bulk operations.";static descriptionWithMarkdown=`Executes an Admin API GraphQL query or mutation on the specified store, as a bulk operation. Mutations are only allowed on dev stores.
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as w}from"./chunk-
|
|
1
|
+
import{a as w}from"./chunk-Q54LU5W4.js";import{a as y}from"./chunk-ACGPDJ6Q.js";import{a as h}from"./chunk-LOTMFUSV.js";import{Ia as b,g}from"./chunk-KEI3OJVP.js";import{b as u}from"./chunk-EA5LKCRF.js";import{S as f,x as d,z as m}from"./chunk-IN634BRF.js";import{d as l}from"./chunk-HJPAHR2V.js";import{b as A}from"./chunk-I3J63RFV.js";import{e as _,g as s}from"./chunk-VKWPEFWQ.js";s();s();s();async function o(e,{web:i,stdout:t,stderr:a,signal:n,env:p={}}){let c=i.configuration.commands[e];if(!c)return;let[I,...v]=c.split(" ");await f(I,v,{cwd:i.directory,stdout:t,stderr:a,signal:n,env:p}),t.write("Web successfully built.")}async function S(e){!e.skipDependenciesInstallation&&!e.project.usesWorkspaces&&await y(e.project);let i={};e.apiKey&&(i.SHOPIFY_API_KEY=e.apiKey),await g(e.app),await d({processes:[...e.app.webs.map(t=>({prefix:["web",...t.configuration.roles].join("-"),action:async(a,n,p)=>{await o("build",{web:t,stdout:a,stderr:n,signal:p,env:i})}})),...e.app.allExtensions.map(t=>({prefix:t.localIdentifier,action:async(a,n,p)=>{await t.build({stdout:a,stderr:n,signal:p,app:e.app,environment:"production"})}}))],showTimestamps:!1}),m({headline:[{userInput:e.app.name},"built!"]})}var k=S;var x=_(A(),1);var r=class e extends w{static summary="Build the app, including extensions.";static descriptionWithMarkdown="This command executes the build script specified in the element's TOML file. You can specify a custom script in the file. To learn about configuration files in Shopify apps, refer to [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration).\n\n If you're building a [theme app extension](https://shopify.dev/docs/apps/online-store/theme-app-extensions), then running the `build` command runs [Theme Check](https://shopify.dev/docs/themes/tools/theme-check) against your extension to ensure that it's valid.";static description=this.descriptionForHelp();static flags={...u,...h,"skip-dependencies-installation":x.Flags.boolean({hidden:!1,description:"Skips the installation of dependencies. Deprecated, use workspaces instead.",env:"SHOPIFY_FLAG_SKIP_DEPENDENCIES_INSTALLATION",default:!1})};async run(){let{flags:i}=await this.parse(e),t=i["client-id"];await l(()=>({cmd_app_dependency_installation_skipped:i["skip-dependencies-installation"]}));let{app:a,project:n}=await b({directory:i.path,userProvidedConfigName:i.config});return await k({app:a,project:n,skipDependenciesInstallation:i["skip-dependencies-installation"],apiKey:t}),{app:a}}};export{r as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as y}from"./chunk-
|
|
1
|
+
import{i as y}from"./chunk-IH2CB73H.js";import{I as O,y as w}from"./chunk-IN634BRF.js";import{i as d}from"./chunk-VDE7IIYQ.js";import{Eb as m,Ib as S}from"./chunk-UYWRJHAJ.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();function h(t){return t.map(M).join(" \xB7 ")}function $(t,r){if(r){S(JSON.stringify({schemaVersion:1,operations:t},null,2));return}w({headline:"Subscription migration operations.",body:t.map(M)})}function M(t){return`${t.id}: ${t.status} (${t.results.edges.length}/${t.total} settled)`}i();i();var T=1e3,A=new Set(["COMPLETED","FAILED","CANCELED"]);async function E({clientId:t,operationIds:r,getOperation:s=y,pollIntervalMs:p=T,sleep:u=C,onUpdate:c}){let f=new Map,l=new Map,g=!0,a=[...r];for(;a.length>0;){let e=await Promise.all(a.map(async o=>{let n=await s({clientId:t,operationId:o});if(!n)throw new d(`Migration operation not found: ${o}`);return{operationId:o,operation:n}})),L=e.some(({operationId:o,operation:n})=>l.get(o)!==JSON.stringify(n));for(let{operationId:o,operation:n}of e)f.set(o,n),l.set(o,JSON.stringify(n));if(c&&(g||L)){let o=r.map(n=>f.get(n));await c(o)}g=!1,a=e.filter(({operation:o})=>!A.has(o.status)).map(({operationId:o})=>o),a.length>0&&await u(p)}return r.map(e=>f.get(e))}async function C(t){await new Promise(r=>setTimeout(r,t))}async function U({clientId:t,operationIds:r,waitForOperations:s=E}){return O({title:m`Polling subscription migration operations`,task:p=>s({clientId:t,operationIds:r,onUpdate:u=>p(m`${h(u)}`)}),renderOptions:{stdout:process.stderr}})}export{$ as a,U as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as c,f as m}from"./chunk-
|
|
1
|
+
import{e as c,f as m}from"./chunk-7E4MJCVE.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as s,c as i,d as n}from"./chunk-
|
|
1
|
+
import{a as s,c as i,d as n}from"./chunk-O7YHDFOO.js";import{b as a,c as r}from"./chunk-EA5LKCRF.js";import{b as e}from"./chunk-4Q5TSWQL.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var t=class u extends e{static summary="Check whether auto-upgrade is enabled, disabled, or not yet configured.";static descriptionWithMarkdown=`Check whether auto-upgrade is enabled, disabled, or not yet configured.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p}from"./chunk-
|
|
1
|
+
import{a as p}from"./chunk-UYWRJHAJ.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();a();a();var j=Symbol("Let zodToJsonSchema decide on which parser to use");var T={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"},N=e=>typeof e=="string"?{...T,name:e}:{...T,...e};a();var M=e=>{let t=N(e),r=t.name!==void 0?[...t.basePath,t.definitionPath,t.name]:t.basePath;return{...t,flags:{hasReferencedOpenAiAnyType:!1},currentPath:r,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([n,i])=>[i._def,{def:i._def,path:[...t.basePath,t.definitionPath,n],jsonSchema:void 0}]))}};a();function k(e,t,r,n){n?.errorMessages&&r&&(e.errorMessage={...e.errorMessage,[t]:r})}function m(e,t,r,n,i){e[t]=r,k(e,t,n,i)}a();var A=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")};a();a();a();function f(e){if(e.target!=="openAi")return{};let t=[...e.basePath,e.definitionPath,e.openAiAnyTypeName];return e.flags.hasReferencedOpenAiAnyType=!0,{$ref:e.$refStrategy==="relative"?A(t,e.currentPath):t.join("/")}}a();function $(e,t){let r={type:"array"};return e.type?._def&&e.type?._def?.typeName!==p.ZodAny&&(r.items=o(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&m(r,"minItems",e.minLength.value,e.minLength.message,t),e.maxLength&&m(r,"maxItems",e.maxLength.value,e.maxLength.message,t),e.exactLength&&(m(r,"minItems",e.exactLength.value,e.exactLength.message,t),m(r,"maxItems",e.exactLength.value,e.exactLength.message,t)),r}a();function w(e,t){let r={type:"integer",format:"int64"};if(!e.checks)return r;for(let n of e.checks)switch(n.kind){case"min":t.target==="jsonSchema7"?n.inclusive?m(r,"minimum",n.value,n.message,t):m(r,"exclusiveMinimum",n.value,n.message,t):(n.inclusive||(r.exclusiveMinimum=!0),m(r,"minimum",n.value,n.message,t));break;case"max":t.target==="jsonSchema7"?n.inclusive?m(r,"maximum",n.value,n.message,t):m(r,"exclusiveMaximum",n.value,n.message,t):(n.inclusive||(r.exclusiveMaximum=!0),m(r,"maximum",n.value,n.message,t));break;case"multipleOf":m(r,"multipleOf",n.value,n.message,t);break}return r}a();function E(){return{type:"boolean"}}a();function v(e,t){return o(e.type._def,t)}a();var z=(e,t)=>o(e.innerType._def,t);a();function _(e,t,r){let n=r??t.dateStrategy;if(Array.isArray(n))return{anyOf:n.map((i,s)=>_(e,t,i))};switch(n){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return se(e,t)}}var se=(e,t)=>{let r={type:"integer",format:"unix-time"};if(t.target==="openApi3")return r;for(let n of e.checks)switch(n.kind){case"min":m(r,"minimum",n.value,n.message,t);break;case"max":m(r,"maximum",n.value,n.message,t);break}return r};a();function R(e,t){return{...o(e.innerType._def,t),default:e.defaultValue()}}a();function L(e,t){return t.effectStrategy==="input"?o(e.schema._def,t):f(t)}a();function F(e){return{type:"string",enum:Array.from(e.values)}}a();var pe=e=>"type"in e&&e.type==="string"?!1:"allOf"in e;function I(e,t){let r=[o(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),o(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(s=>!!s),n=t.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,i=[];return r.forEach(s=>{if(pe(s))i.push(...s.allOf),s.unevaluatedProperties===void 0&&(n=void 0);else{let c=s;if("additionalProperties"in s&&s.additionalProperties===!1){let{additionalProperties:l,...u}=s;c=u}else n=void 0;i.push(c)}}),i.length?{allOf:i,...n}:void 0}a();function C(e,t){let r=typeof e.value;return r!=="bigint"&&r!=="number"&&r!=="boolean"&&r!=="string"?{type:Array.isArray(e.value)?"array":"object"}:t.target==="openApi3"?{type:r==="bigint"?"integer":r,enum:[e.value]}:{type:r==="bigint"?"integer":r,const:e.value}}a();a();a();var S,g={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(S===void 0&&(S=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),S),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function P(e,t){let r={type:"string"};if(e.checks)for(let n of e.checks)switch(n.kind){case"min":m(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t);break;case"max":m(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"email":switch(t.emailStrategy){case"format:email":y(r,"email",n.message,t);break;case"format:idn-email":y(r,"idn-email",n.message,t);break;case"pattern:zod":d(r,g.email,n.message,t);break}break;case"url":y(r,"uri",n.message,t);break;case"uuid":y(r,"uuid",n.message,t);break;case"regex":d(r,n.regex,n.message,t);break;case"cuid":d(r,g.cuid,n.message,t);break;case"cuid2":d(r,g.cuid2,n.message,t);break;case"startsWith":d(r,RegExp(`^${Z(n.value,t)}`),n.message,t);break;case"endsWith":d(r,RegExp(`${Z(n.value,t)}$`),n.message,t);break;case"datetime":y(r,"date-time",n.message,t);break;case"date":y(r,"date",n.message,t);break;case"time":y(r,"time",n.message,t);break;case"duration":y(r,"duration",n.message,t);break;case"length":m(r,"minLength",typeof r.minLength=="number"?Math.max(r.minLength,n.value):n.value,n.message,t),m(r,"maxLength",typeof r.maxLength=="number"?Math.min(r.maxLength,n.value):n.value,n.message,t);break;case"includes":{d(r,RegExp(Z(n.value,t)),n.message,t);break}case"ip":{n.version!=="v6"&&y(r,"ipv4",n.message,t),n.version!=="v4"&&y(r,"ipv6",n.message,t);break}case"base64url":d(r,g.base64url,n.message,t);break;case"jwt":d(r,g.jwt,n.message,t);break;case"cidr":{n.version!=="v6"&&d(r,g.ipv4Cidr,n.message,t),n.version!=="v4"&&d(r,g.ipv6Cidr,n.message,t);break}case"emoji":d(r,g.emoji(),n.message,t);break;case"ulid":{d(r,g.ulid,n.message,t);break}case"base64":{switch(t.base64Strategy){case"format:binary":{y(r,"binary",n.message,t);break}case"contentEncoding:base64":{m(r,"contentEncoding","base64",n.message,t);break}case"pattern:zod":{d(r,g.base64,n.message,t);break}}break}case"nanoid":d(r,g.nanoid,n.message,t);case"toLowerCase":case"toUpperCase":case"trim":break;default:}return r}function Z(e,t){return t.patternStrategy==="escape"?me(e):e}var ue=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function me(e){let t="";for(let r=0;r<e.length;r++)ue.has(e[r])||(t+="\\"),t+=e[r];return t}function y(e,t,r,n){e.format||e.anyOf?.some(i=>i.format)?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format,...e.errorMessage&&n.errorMessages&&{errorMessage:{format:e.errorMessage.format}}}),delete e.format,e.errorMessage&&(delete e.errorMessage.format,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):m(e,"format",t,r,n)}function d(e,t,r,n){e.pattern||e.allOf?.some(i=>i.pattern)?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern,...e.errorMessage&&n.errorMessages&&{errorMessage:{pattern:e.errorMessage.pattern}}}),delete e.pattern,e.errorMessage&&(delete e.errorMessage.pattern,Object.keys(e.errorMessage).length===0&&delete e.errorMessage)),e.allOf.push({pattern:U(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):m(e,"pattern",U(t,n),r,n)}function U(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let r={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},n=r.i?e.source.toLowerCase():e.source,i="",s=!1,c=!1,l=!1;for(let u=0;u<n.length;u++){if(s){i+=n[u],s=!1;continue}if(r.i){if(c){if(n[u].match(/[a-z]/)){l?(i+=n[u],i+=`${n[u-2]}-${n[u]}`.toUpperCase(),l=!1):n[u+1]==="-"&&n[u+2]?.match(/[a-z]/)?(i+=n[u],l=!0):i+=`${n[u]}${n[u].toUpperCase()}`;continue}}else if(n[u].match(/[a-z]/)){i+=`[${n[u]}${n[u].toUpperCase()}]`;continue}}if(r.m){if(n[u]==="^"){i+=`(^|(?<=[\r
|
|
2
2
|
]))`;continue}else if(n[u]==="$"){i+=`($|(?=[\r
|
|
3
3
|
]))`;continue}}if(r.s&&n[u]==="."){i+=c?`${n[u]}\r
|
|
4
4
|
`:`[${n[u]}\r
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h,b as I}from"./chunk-
|
|
1
|
+
import{a as h,b as I}from"./chunk-DE5BUQL5.js";import{a as D}from"./chunk-7NHCYOKI.js";import{a as _,c as b}from"./chunk-2E2NYRQH.js";import{e as F,q as y}from"./chunk-XBCFYD3T.js";import{i as w,p as g,v as T}from"./chunk-4MUH4E2U.js";import{b as v,f as u}from"./chunk-EA5LKCRF.js";import{E as p,z as d}from"./chunk-IN634BRF.js";import{Y as c}from"./chunk-UYWRJHAJ.js";import{b as C}from"./chunk-I3J63RFV.js";import{e as E,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function O(t,e,r){let n=e.themes;e.development&&(n=[(await new D(t).find()).id.toString()]);let m=t.storeFqdn,i=await H(t,{...e,themes:n,development:!1});if(!e.force&&!r&&!await L(i,m))return;await Promise.all(i.map(o=>(F(o)&&w(),y(o.id,t))));let l=e.environment?[{subdued:`Environment: ${e.environment}
|
|
2
2
|
|
|
3
3
|
`}]:[];d({body:c(i,o=>[...l,`The following themes were deleted from ${m}:`,I(o)],o=>[...l,"The theme",...h(o),`was deleted from ${m}.`])})}async function H(t,e){if(e.selectTheme||e.themes.length>0)return b(t,e);let r=t.storeFqdn;return[await _(t,{header:`Select a theme to delete from ${r}`,filter:{development:e.development}})]}async function L(t,e){let n={message:c(t,m=>[`Delete the following themes from ${e}?`],m=>["Delete",...h(m),`from ${e}?`]),confirmationMessage:"Yes, confirm changes",cancellationMessage:"Cancel"};return t.length>1&&(n.infoTable={"":t.map(h)}),p(n)}var s=E(C(),1);var f=class extends T{static summary="Delete remote themes from the connected store. This command can't be undone.";static descriptionWithMarkdown=`Deletes a theme from your store.
|
|
4
4
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{c as zr,g as Ft}from"./chunk-VKWPEFWQ.js";var Wr=zr((Oe,Dt)=>{Ft();(function(s,q){typeof Oe=="object"&&typeof Dt<"u"?q(Oe):typeof define=="function"&&define.amd?define(["exports"],q):(s=typeof globalThis<"u"?globalThis:s||self,q(s.async={}))})(Oe,(function(s){"use strict";function q(t,...e){return(...r)=>t(...e,...r)}function z(t){return function(...e){var r=e.pop();return t.call(this,e,r)}}var qt=typeof queueMicrotask=="function"&&queueMicrotask,Ve=typeof setImmediate=="function"&&setImmediate,Ge=typeof process=="object"&&typeof process.nextTick=="function";function Re(t){setTimeout(t,0)}function Ue(t){return(e,...r)=>t(()=>e(...r))}var W;qt?W=queueMicrotask:Ve?W=setImmediate:Ge?W=process.nextTick:W=Re;var j=Ue(W);function H(t){return Y(t)?function(...e){let r=e.pop(),n=t.apply(this,e);return Qe(n,r)}:z(function(e,r){var n;try{n=t.apply(this,e)}catch(i){return r(i)}if(n&&typeof n.then=="function")return Qe(n,r);r(null,n)})}function Qe(t,e){return t.then(r=>{ze(e,null,r)},r=>{ze(e,r&&(r instanceof Error||r.message)?r:new Error(r))})}function ze(t,e,r){try{t(e,r)}catch(n){j(i=>{throw i},n)}}function Y(t){return t[Symbol.toStringTag]==="AsyncFunction"}function Pt(t){return t[Symbol.toStringTag]==="AsyncGenerator"}function Vt(t){return typeof t[Symbol.asyncIterator]=="function"}function p(t){if(typeof t!="function")throw new Error("expected a function");return Y(t)?H(t):t}function m(t,e){if(e||(e=t.length),!e)throw new Error("arity is undefined");function r(...n){return typeof n[e-1]=="function"?t.apply(this,n):new Promise((i,u)=>{n[e-1]=(a,...f)=>{if(a)return u(a);i(f.length>1?f:f[0])},t.apply(this,n)})}return r}function We(t){return function(r,...n){return m(function(u){var a=this;return t(r,(f,o)=>{p(f).apply(a,n.concat(o))},u)})}}function $e(t,e,r,n){e=e||[];var i=[],u=0,a=p(r);return t(e,(f,o,c)=>{var y=u++;a(f,(g,d)=>{i[y]=d,c(g)})},f=>{n(f,i)})}function x(t){return t&&typeof t.length=="number"&&t.length>=0&&t.length%1===0}let ee={};function B(t){function e(...r){if(t!==null){var n=t;t=null,n.apply(this,r)}}return Object.assign(e,t),e}function Gt(t){return t[Symbol.iterator]&&t[Symbol.iterator]()}function Rt(t){var e=-1,r=t.length;return function(){return++e<r?{value:t[e],key:e}:null}}function Ut(t){var e=-1;return function(){var n=t.next();return n.done?null:(e++,{value:n.value,key:e})}}function Qt(t){var e=t?Object.keys(t):[],r=-1,n=e.length;return function i(){var u=e[++r];return u==="__proto__"?i():r<n?{value:t[u],key:u}:null}}function zt(t){if(x(t))return Rt(t);var e=Gt(t);return e?Ut(e):Qt(t)}function M(t){return function(...e){if(t===null)throw new Error("Callback was already called.");var r=t;t=null,r.apply(this,e)}}function He(t,e,r,n){let i=!1,u=!1,a=!1,f=0,o=0;function c(){f>=e||a||i||(a=!0,t.next().then(({value:d,done:A})=>{if(!(u||i)){if(a=!1,A){i=!0,f<=0&&n(null);return}f++,r(d,o,y),o++,c()}}).catch(g))}function y(d,A){if(f-=1,!u){if(d)return g(d);if(d===!1){i=!0,u=!0;return}if(A===ee||i&&f<=0)return i=!0,n(null);c()}}function g(d){u||(a=!1,i=!0,n(d))}c()}var $=t=>(e,r,n)=>{if(n=B(n),t<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return n(null);if(Pt(e))return He(e,t,r,n);if(Vt(e))return He(e[Symbol.asyncIterator](),t,r,n);var i=zt(e),u=!1,a=!1,f=0,o=!1;function c(g,d){if(!a)if(f-=1,g)u=!0,n(g);else if(g===!1)u=!0,a=!0;else{if(d===ee||u&&f<=0)return u=!0,n(null);o||y()}}function y(){for(o=!0;f<t&&!u;){var g=i();if(g===null){u=!0,f<=0&&n(null);return}f+=1,r(g.value,g.key,M(c))}o=!1}y()};function Wt(t,e,r,n){return $(e)(t,p(r),n)}var P=m(Wt,4);function Ht(t,e,r){r=B(r);var n=0,i=0,{length:u}=t,a=!1;u===0&&r(null);function f(o,c){o===!1&&(a=!0),a!==!0&&(o?r(o):(++i===u||c===ee)&&r(null))}for(;n<u;n++)e(t[n],n,M(f))}function Yt(t,e,r){return P(t,1/0,e,r)}function Jt(t,e,r){var n=x(t)?Ht:Yt;return n(t,p(e),r)}var E=m(Jt,3);function Kt(t,e,r){return $e(E,t,e,r)}var te=m(Kt,3),Ye=We(te);function Xt(t,e,r){return P(t,1,e,r)}var I=m(Xt,3);function Zt(t,e,r){return $e(I,t,e,r)}var Ie=m(Zt,3),Je=We(Ie);let V=Symbol("promiseCallback");function G(){let t,e;function r(n,...i){if(n)return e(n);t(i.length>1?i:i[0])}return r[V]=new Promise((n,i)=>{t=n,e=i}),r}function Te(t,e,r){typeof e!="number"&&(r=e,e=null),r=B(r||G());var n=Object.keys(t).length;if(!n)return r(null);e||(e=n);var i={},u=0,a=!1,f=!1,o=Object.create(null),c=[],y=[],g={};Object.keys(t).forEach(l=>{var v=t[l];if(!Array.isArray(v)){d(l,[v]),y.push(l);return}var S=v.slice(0,v.length-1),w=S.length;if(w===0){d(l,v),y.push(l);return}g[l]=w,S.forEach(_=>{if(!t[_])throw new Error("async.auto task `"+l+"` has a non-existent dependency `"+_+"` in "+S.join(", "));U(_,()=>{w--,w===0&&d(l,v)})})}),L(),A();function d(l,v){c.push(()=>b(l,v))}function A(){if(!a){if(c.length===0&&u===0)return r(null,i);for(;c.length&&u<e;){var l=c.shift();l()}}}function U(l,v){var S=o[l];S||(S=o[l]=[]),S.push(v)}function F(l){var v=o[l]||[];v.forEach(S=>S()),A()}function b(l,v){if(!f){var S=M((_,...O)=>{if(u--,_===!1){a=!0;return}if(O.length<2&&([O]=O),_){var Q={};if(Object.keys(i).forEach(D=>{Q[D]=i[D]}),Q[l]=O,f=!0,o=Object.create(null),a)return;r(_,Q)}else i[l]=O,F(l)});u++;var w=p(v[v.length-1]);v.length>1?w(i,S):w(S)}}function L(){for(var l,v=0;y.length;)l=y.pop(),v++,h(l).forEach(S=>{--g[S]===0&&y.push(S)});if(v!==n)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function h(l){var v=[];return Object.keys(t).forEach(S=>{let w=t[S];Array.isArray(w)&&w.indexOf(l)>=0&&v.push(S)}),v}return r[V]}var Nt=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,bt=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,kt=/,/,xt=/(=.+)?(\s*)$/;function er(t){let e="",r=0,n=t.indexOf("*/");for(;r<t.length;)if(t[r]==="/"&&t[r+1]==="/"){let i=t.indexOf(`
|
|
2
|
+
`,r);r=i===-1?t.length:i}else if(n!==-1&&t[r]==="/"&&t[r+1]==="*"){let i=t.indexOf("*/",r);i!==-1?(r=i+2,n=t.indexOf("*/",r)):(e+=t[r],r++)}else e+=t[r],r++;return e}function tr(t){let e=er(t.toString()),r=e.match(Nt);if(r||(r=e.match(bt)),!r)throw new Error(`could not parse args in autoInject
|
|
3
|
+
Source:
|
|
4
|
+
`+e);let[,n]=r;return n.replace(/\s/g,"").split(kt).map(i=>i.replace(xt,"").trim())}function Ke(t,e){var r={};return Object.keys(t).forEach(n=>{var i=t[n],u,a=Y(i),f=!a&&i.length===1||a&&i.length===0;if(Array.isArray(i))u=[...i],i=u.pop(),r[n]=u.concat(u.length>0?o:i);else if(f)r[n]=i;else{if(u=tr(i),i.length===0&&!a&&u.length===0)throw new Error("autoInject task functions require explicit parameters.");a||u.pop(),r[n]=u.concat(o)}function o(c,y){var g=u.map(d=>c[d]);g.push(y),p(i)(...g)}}),Te(r,e)}class rr{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,r){r.prev=e,r.next=e.next,e.next?e.next.prev=r:this.tail=r,e.next=r,this.length+=1}insertBefore(e,r){r.prev=e.prev,r.next=e,e.prev?e.prev.next=r:this.head=r,e.prev=r,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):Xe(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):Xe(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var r=this.head;r;){var{next:n}=r;e(r)&&this.removeLink(r),r=n}return this}}function Xe(t,e){t.length=1,t.head=t.tail=e}function je(t,e,r){if(e==null)e=1;else if(e===0)throw new RangeError("Concurrency must not be zero");var n=p(t),i=0,u=[];let a={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function f(h,l){a[h].push(l)}function o(h,l){let v=(...S)=>{c(h,v),l(...S)};a[h].push(v)}function c(h,l){if(!h)return Object.keys(a).forEach(v=>a[v]=[]);if(!l)return a[h]=[];a[h]=a[h].filter(v=>v!==l)}function y(h,...l){a[h].forEach(v=>v(...l))}var g=!1;function d(h,l,v,S){if(S!=null&&typeof S!="function")throw new Error("task callback must be a function");L.started=!0;var w,_;function O(D,...k){if(D)return v?_(D):w();if(k.length<=1)return w(k[0]);w(k)}var Q=L._createTaskItem(h,v?O:S||O);if(l?L._tasks.unshift(Q):L._tasks.push(Q),g||(g=!0,j(()=>{g=!1,L.process()})),v||!S)return new Promise((D,k)=>{w=D,_=k})}function A(h){return function(l,...v){i-=1;for(var S=0,w=h.length;S<w;S++){var _=h[S],O=u.indexOf(_);O===0?u.shift():O>0&&u.splice(O,1),_.callback(l,...v),l!=null&&y("error",l,_.data)}i<=L.concurrency-L.buffer&&y("unsaturated"),L.idle()&&y("drain"),L.process()}}function U(h){return h.length===0&&L.idle()?(j(()=>y("drain")),!0):!1}let F=h=>l=>{if(!l)return new Promise((v,S)=>{o(h,(w,_)=>{if(w)return S(w);v(_)})});c(h),f(h,l)};var b=!1,L={_tasks:new rr,_createTaskItem(h,l){return{data:h,callback:l}},*[Symbol.iterator](){yield*L._tasks[Symbol.iterator]()},concurrency:e,payload:r,buffer:e/4,started:!1,paused:!1,push(h,l){return Array.isArray(h)?U(h)?void 0:h.map(v=>d(v,!1,!1,l)):d(h,!1,!1,l)},pushAsync(h,l){return Array.isArray(h)?U(h)?void 0:h.map(v=>d(v,!1,!0,l)):d(h,!1,!0,l)},kill(){c(),L._tasks.empty()},unshift(h,l){return Array.isArray(h)?U(h)?void 0:h.map(v=>d(v,!0,!1,l)):d(h,!0,!1,l)},unshiftAsync(h,l){return Array.isArray(h)?U(h)?void 0:h.map(v=>d(v,!0,!0,l)):d(h,!0,!0,l)},remove(h){L._tasks.remove(h)},process(){if(!b){for(b=!0;!L.paused&&i<L.concurrency&&L._tasks.length;){var h=[],l=[],v=L._tasks.length;L.payload&&(v=Math.min(v,L.payload));for(var S=0;S<v;S++){var w=L._tasks.shift();h.push(w),u.push(w),l.push(w.data)}i+=1,L._tasks.length===0&&y("empty"),i===L.concurrency&&y("saturated");var _=M(A(h));n(l,_)}b=!1}},length(){return L._tasks.length},running(){return i},workersList(){return u},idle(){return L._tasks.length+i===0},pause(){L.paused=!0},resume(){L.paused!==!1&&(L.paused=!1,j(L.process))}};return Object.defineProperties(L,{saturated:{writable:!1,value:F("saturated")},unsaturated:{writable:!1,value:F("unsaturated")},empty:{writable:!1,value:F("empty")},drain:{writable:!1,value:F("drain")},error:{writable:!1,value:F("error")}}),L}function Ze(t,e){return je(t,1,e)}function Ne(t,e,r){return je(t,e,r)}function nr(t,e,r,n){n=B(n);var i=p(r);return I(t,(u,a,f)=>{i(e,u,(o,c)=>{e=c,f(o)})},u=>n(u,e))}var C=m(nr,4);function Be(...t){var e=t.map(p);return function(...r){var n=this,i=r[r.length-1];return typeof i=="function"?r.pop():i=G(),C(e,r,(u,a,f)=>{a.apply(n,u.concat((o,...c)=>{f(o,c)}))},(u,a)=>i(u,...a)),i[V]}}function be(...t){return Be(...t.reverse())}function ir(t,e,r,n){return $e($(e),t,r,n)}var J=m(ir,4);function ur(t,e,r,n){var i=p(r);return J(t,e,(u,a)=>{i(u,(f,...o)=>f?a(f):a(f,o))},(u,a)=>{for(var f=[],o=0;o<a.length;o++)a[o]&&(f=f.concat(...a[o]));return n(u,f)})}var R=m(ur,4);function ar(t,e,r){return R(t,1/0,e,r)}var re=m(ar,3);function fr(t,e,r){return R(t,1,e,r)}var ne=m(fr,3);function ke(...t){return function(...e){var r=e.pop();return r(null,...t)}}function T(t,e){return(r,n,i,u)=>{var a=!1,f;let o=p(i);r(n,(c,y,g)=>{o(c,(d,A)=>{if(d||d===!1)return g(d);if(t(A)&&!f)return a=!0,f=e(!0,c),g(null,ee);g()})},c=>{if(c)return u(c);u(null,a?f:e(!1))})}}function sr(t,e,r){return T(n=>n,(n,i)=>i)(E,t,e,r)}var ie=m(sr,3);function or(t,e,r,n){return T(i=>i,(i,u)=>u)($(e),t,r,n)}var ue=m(or,4);function lr(t,e,r){return T(n=>n,(n,i)=>i)($(1),t,e,r)}var ae=m(lr,3);function xe(t){return(e,...r)=>p(e)(...r,(n,...i)=>{typeof console=="object"&&(n?console.error&&console.error(n):console[t]&&i.forEach(u=>console[t](u)))})}var et=xe("dir");function cr(t,e,r){r=M(r);var n=p(t),i=p(e),u;function a(o,...c){if(o)return r(o);o!==!1&&(u=c,i(...c,f))}function f(o,c){if(o)return r(o);if(o!==!1){if(!c)return r(null,...u);n(a)}}return f(null,!0)}var K=m(cr,3);function tt(t,e,r){let n=p(e);return K(t,(...i)=>{let u=i.pop();n(...i,(a,f)=>u(a,!f))},r)}function rt(t){return(e,r,n)=>t(e,n)}function hr(t,e,r){return E(t,rt(p(e)),r)}var fe=m(hr,3);function vr(t,e,r,n){return $(e)(t,rt(p(r)),n)}var X=m(vr,4);function mr(t,e,r){return X(t,1,e,r)}var Z=m(mr,3);function Me(t){return Y(t)?t:function(...e){var r=e.pop(),n=!0;e.push((...i)=>{n?j(()=>r(...i)):r(...i)}),t.apply(this,e),n=!1}}function pr(t,e,r){return T(n=>!n,n=>!n)(E,t,e,r)}var se=m(pr,3);function yr(t,e,r,n){return T(i=>!i,i=>!i)($(e),t,r,n)}var oe=m(yr,4);function dr(t,e,r){return T(n=>!n,n=>!n)(I,t,e,r)}var le=m(dr,3);function Sr(t,e,r,n){var i=new Array(e.length);t(e,(u,a,f)=>{r(u,(o,c)=>{i[a]=!!c,f(o)})},u=>{if(u)return n(u);for(var a=[],f=0;f<e.length;f++)i[f]&&a.push(e[f]);n(null,a)})}function gr(t,e,r,n){var i=[];t(e,(u,a,f)=>{r(u,(o,c)=>{if(o)return f(o);c&&i.push({index:a,value:u}),f(o)})},u=>{if(u)return n(u);n(null,i.sort((a,f)=>a.index-f.index).map(a=>a.value))})}function ce(t,e,r,n){var i=x(e)?Sr:gr;return i(t,e,p(r),n)}function Lr(t,e,r){return ce(E,t,e,r)}var he=m(Lr,3);function wr(t,e,r,n){return ce($(e),t,r,n)}var ve=m(wr,4);function _r(t,e,r){return ce(I,t,e,r)}var me=m(_r,3);function Er(t,e){var r=M(e),n=p(Me(t));function i(u){if(u)return r(u);u!==!1&&n(i)}return i()}var nt=m(Er,2);function Ar(t,e,r,n){var i=p(r);return J(t,e,(u,a)=>{i(u,(f,o)=>f?a(f):a(f,{key:o,val:u}))},(u,a)=>{for(var f={},{hasOwnProperty:o}=Object.prototype,c=0;c<a.length;c++)if(a[c]){var{key:y}=a[c],{val:g}=a[c];o.call(f,y)?f[y].push(g):f[y]=[g]}return n(u,f)})}var pe=m(Ar,4);function it(t,e,r){return pe(t,1/0,e,r)}function ut(t,e,r){return pe(t,1,e,r)}var at=xe("log");function Or(t,e,r,n){n=B(n);var i={},u=p(r);return $(e)(t,(a,f,o)=>{u(a,f,(c,y)=>{if(c)return o(c);i[f]=y,o(c)})},a=>n(a,i))}var ye=m(Or,4);function ft(t,e,r){return ye(t,1/0,e,r)}function st(t,e,r){return ye(t,1,e,r)}function ot(t,e=r=>r){var r=Object.create(null),n=Object.create(null),i=p(t),u=z((a,f)=>{var o=e(...a);o in r?j(()=>f(null,...r[o])):o in n?n[o].push(f):(n[o]=[f],i(...a,(c,...y)=>{c||(r[o]=y);var g=n[o];delete n[o];for(var d=0,A=g.length;d<A;d++)g[d](c,...y)}))});return u.memo=r,u.unmemoized=t,u}var de;Ge?de=process.nextTick:Ve?de=setImmediate:de=Re;var lt=Ue(de),Ce=m((t,e,r)=>{var n=x(e)?[]:{};t(e,(i,u,a)=>{p(i)((f,...o)=>{o.length<2&&([o]=o),n[u]=o,a(f)})},i=>r(i,n))},3);function ct(t,e){return Ce(E,t,e)}function ht(t,e,r){return Ce($(e),t,r)}function Fe(t,e){var r=p(t);return je((n,i)=>{r(n[0],i)},e,1)}class $r{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){let r;for(;e>0&&De(this.heap[e],this.heap[r=vt(e)]);){let n=this.heap[e];this.heap[e]=this.heap[r],this.heap[r]=n,e=r}}percDown(e){let r;for(;(r=Ir(e))<this.heap.length&&(r+1<this.heap.length&&De(this.heap[r+1],this.heap[r])&&(r=r+1),!De(this.heap[e],this.heap[r]));){let n=this.heap[e];this.heap[e]=this.heap[r],this.heap[r]=n,e=r}}push(e){e.pushCount=++this.pushCount,this.heap.push(e),this.percUp(this.heap.length-1)}unshift(e){return this.heap.push(e)}shift(){let[e]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),e}toArray(){return[...this]}*[Symbol.iterator](){for(let e=0;e<this.heap.length;e++)yield this.heap[e].data}remove(e){let r=0;for(let n=0;n<this.heap.length;n++)e(this.heap[n])||(this.heap[r]=this.heap[n],r++);this.heap.splice(r);for(let n=vt(this.heap.length-1);n>=0;n--)this.percDown(n);return this}}function Ir(t){return(t<<1)+1}function vt(t){return(t+1>>1)-1}function De(t,e){return t.priority!==e.priority?t.priority<e.priority:t.pushCount<e.pushCount}function mt(t,e){var r=Fe(t,e),{push:n,pushAsync:i}=r;r._tasks=new $r,r._createTaskItem=({data:a,priority:f},o)=>({data:a,priority:f,callback:o});function u(a,f){return Array.isArray(a)?a.map(o=>({data:o,priority:f})):{data:a,priority:f}}return r.push=function(a,f=0,o){return n(u(a,f),o)},r.pushAsync=function(a,f=0,o){return i(u(a,f),o)},delete r.unshift,delete r.unshiftAsync,r}function Tr(t,e){if(e=B(e),!Array.isArray(t))return e(new TypeError("First argument to race must be an array of functions"));if(!t.length)return e();for(var r=0,n=t.length;r<n;r++)p(t[r])(e)}var pt=m(Tr,2);function Se(t,e,r,n){var i=[...t].reverse();return C(i,e,r,n)}function ge(t){var e=p(t);return z(function(n,i){return n.push((u,...a)=>{let f={};if(u&&(f.error=u),a.length>0){var o=a;a.length<=1&&([o]=a),f.value=o}i(null,f)}),e.apply(this,n)})}function yt(t){var e;return Array.isArray(t)?e=t.map(ge):(e={},Object.keys(t).forEach(r=>{e[r]=ge.call(this,t[r])})),e}function qe(t,e,r,n){let i=p(r);return ce(t,e,(u,a)=>{i(u,(f,o)=>{a(f,!o)})},n)}function jr(t,e,r){return qe(E,t,e,r)}var dt=m(jr,3);function Br(t,e,r,n){return qe($(e),t,r,n)}var St=m(Br,4);function Mr(t,e,r){return qe(I,t,e,r)}var gt=m(Mr,3);function Lt(t){return function(){return t}}let Pe=5,wt=0;function Le(t,e,r){var n={times:Pe,intervalFunc:Lt(wt)};if(arguments.length<3&&typeof t=="function"?(r=e||G(),e=t):(Cr(n,t),r=r||G()),typeof e!="function")throw new Error("Invalid arguments for async.retry");var i=p(e),u=1;function a(){i((f,...o)=>{f!==!1&&(f&&u++<n.times&&(typeof n.errorFilter!="function"||n.errorFilter(f))?setTimeout(a,n.intervalFunc(u-1)):r(f,...o))})}return a(),r[V]}function Cr(t,e){if(typeof e=="object")t.times=+e.times||Pe,t.intervalFunc=typeof e.interval=="function"?e.interval:Lt(+e.interval||wt),t.errorFilter=e.errorFilter;else if(typeof e=="number"||typeof e=="string")t.times=+e||Pe;else throw new Error("Invalid arguments for async.retry")}function _t(t,e){e||(e=t,t=null);let r=t&&t.arity||e.length;Y(e)&&(r+=1);var n=p(e);return z((i,u)=>{(i.length<r-1||u==null)&&(i.push(u),u=G());function a(f){n(...i,f)}return t?Le(t,a,u):Le(a,u),u[V]})}function Et(t,e){return Ce(I,t,e)}function Fr(t,e,r){return T(Boolean,n=>n)(E,t,e,r)}var we=m(Fr,3);function Dr(t,e,r,n){return T(Boolean,i=>i)($(e),t,r,n)}var _e=m(Dr,4);function qr(t,e,r){return T(Boolean,n=>n)(I,t,e,r)}var Ee=m(qr,3);function Pr(t,e,r){var n=p(e);return te(t,(u,a)=>{n(u,(f,o)=>{if(f)return a(f);a(f,{value:u,criteria:o})})},(u,a)=>{if(u)return r(u);r(null,a.sort(i).map(f=>f.value))});function i(u,a){var f=u.criteria,o=a.criteria;return f<o?-1:f>o?1:0}}var At=m(Pr,3);function Ot(t,e,r){var n=p(t);return z((i,u)=>{var a=!1,f;function o(){var c=t.name||"anonymous",y=new Error('Callback function "'+c+'" timed out.');y.code="ETIMEDOUT",r&&(y.info=r),a=!0,u(y)}i.push((...c)=>{a||(u(...c),clearTimeout(f))}),f=setTimeout(o,e),n(...i)})}function Vr(t){for(var e=Array(t);t--;)e[t]=t;return e}function Ae(t,e,r,n){var i=p(r);return J(Vr(t),e,i,n)}function $t(t,e,r){return Ae(t,1/0,e,r)}function It(t,e,r){return Ae(t,1,e,r)}function Tt(t,e,r,n){arguments.length<=3&&typeof e=="function"&&(n=r,r=e,e=Array.isArray(t)?[]:{}),n=B(n||G());var i=p(r);return E(t,(u,a,f)=>{i(e,u,a,f)},u=>n(u,e)),n[V]}function Gr(t,e){var r=null,n;return Z(t,(i,u)=>{p(i)((a,...f)=>{if(a===!1)return u(a);f.length<2?[n]=f:n=f,r=a,u(a?null:{})})},()=>e(r,n))}var jt=m(Gr);function Bt(t){return(...e)=>(t.unmemoized||t)(...e)}function Rr(t,e,r){r=M(r);var n=p(e),i=p(t),u=[];function a(o,...c){if(o)return r(o);u=c,o!==!1&&i(f)}function f(o,c){if(o)return r(o);if(o!==!1){if(!c)return r(null,...u);n(a)}}return i(f)}var N=m(Rr,3);function Mt(t,e,r){let n=p(t);return N(i=>n((u,a)=>i(u,!a)),e,r)}function Ur(t,e){if(e=B(e),!Array.isArray(t))return e(new Error("First argument to waterfall must be an array of functions"));if(!t.length)return e();var r=0;function n(u){var a=p(t[r++]);a(...u,M(i))}function i(u,...a){if(u!==!1){if(u||r===t.length)return e(u,...a);n(a)}}n([])}var Ct=m(Ur),Qr={apply:q,applyEach:Ye,applyEachSeries:Je,asyncify:H,auto:Te,autoInject:Ke,cargo:Ze,cargoQueue:Ne,compose:be,concat:re,concatLimit:R,concatSeries:ne,constant:ke,detect:ie,detectLimit:ue,detectSeries:ae,dir:et,doUntil:tt,doWhilst:K,each:fe,eachLimit:X,eachOf:E,eachOfLimit:P,eachOfSeries:I,eachSeries:Z,ensureAsync:Me,every:se,everyLimit:oe,everySeries:le,filter:he,filterLimit:ve,filterSeries:me,forever:nt,groupBy:it,groupByLimit:pe,groupBySeries:ut,log:at,map:te,mapLimit:J,mapSeries:Ie,mapValues:ft,mapValuesLimit:ye,mapValuesSeries:st,memoize:ot,nextTick:lt,parallel:ct,parallelLimit:ht,priorityQueue:mt,queue:Fe,race:pt,reduce:C,reduceRight:Se,reflect:ge,reflectAll:yt,reject:dt,rejectLimit:St,rejectSeries:gt,retry:Le,retryable:_t,seq:Be,series:Et,setImmediate:j,some:we,someLimit:_e,someSeries:Ee,sortBy:At,timeout:Ot,times:$t,timesLimit:Ae,timesSeries:It,transform:Tt,tryEach:jt,unmemoize:Bt,until:Mt,waterfall:Ct,whilst:N,all:se,allLimit:oe,allSeries:le,any:we,anyLimit:_e,anySeries:Ee,find:ie,findLimit:ue,findSeries:ae,flatMap:re,flatMapLimit:R,flatMapSeries:ne,forEach:fe,forEachSeries:Z,forEachLimit:X,forEachOf:E,forEachOfSeries:I,forEachOfLimit:P,inject:C,foldl:C,foldr:Se,select:he,selectLimit:ve,selectSeries:me,wrapSync:H,during:N,doDuring:K};s.all=se,s.allLimit=oe,s.allSeries=le,s.any=we,s.anyLimit=_e,s.anySeries=Ee,s.apply=q,s.applyEach=Ye,s.applyEachSeries=Je,s.asyncify=H,s.auto=Te,s.autoInject=Ke,s.cargo=Ze,s.cargoQueue=Ne,s.compose=be,s.concat=re,s.concatLimit=R,s.concatSeries=ne,s.constant=ke,s.default=Qr,s.detect=ie,s.detectLimit=ue,s.detectSeries=ae,s.dir=et,s.doDuring=K,s.doUntil=tt,s.doWhilst=K,s.during=N,s.each=fe,s.eachLimit=X,s.eachOf=E,s.eachOfLimit=P,s.eachOfSeries=I,s.eachSeries=Z,s.ensureAsync=Me,s.every=se,s.everyLimit=oe,s.everySeries=le,s.filter=he,s.filterLimit=ve,s.filterSeries=me,s.find=ie,s.findLimit=ue,s.findSeries=ae,s.flatMap=re,s.flatMapLimit=R,s.flatMapSeries=ne,s.foldl=C,s.foldr=Se,s.forEach=fe,s.forEachLimit=X,s.forEachOf=E,s.forEachOfLimit=P,s.forEachOfSeries=I,s.forEachSeries=Z,s.forever=nt,s.groupBy=it,s.groupByLimit=pe,s.groupBySeries=ut,s.inject=C,s.log=at,s.map=te,s.mapLimit=J,s.mapSeries=Ie,s.mapValues=ft,s.mapValuesLimit=ye,s.mapValuesSeries=st,s.memoize=ot,s.nextTick=lt,s.parallel=ct,s.parallelLimit=ht,s.priorityQueue=mt,s.queue=Fe,s.race=pt,s.reduce=C,s.reduceRight=Se,s.reflect=ge,s.reflectAll=yt,s.reject=dt,s.rejectLimit=St,s.rejectSeries=gt,s.retry=Le,s.retryable=_t,s.select=he,s.selectLimit=ve,s.selectSeries=me,s.seq=Be,s.series=Et,s.setImmediate=j,s.some=we,s.someLimit=_e,s.someSeries=Ee,s.sortBy=At,s.timeout=Ot,s.times=$t,s.timesLimit=Ae,s.timesSeries=It,s.transform=Tt,s.tryEach=jt,s.unmemoize=Bt,s.until=Mt,s.waterfall=Ct,s.whilst=N,s.wrapSync=H,Object.defineProperty(s,"__esModule",{value:!0})}))});export{Wr as a};
|