hyperframes 0.9.31 → 0.9.33
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/{add-53MR45WI.js → add-GDXM36YQ.js} +18 -18
- package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-KPNDH2EI.js} +36 -19
- package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-SAKETEZ2.js} +11 -11
- package/dist/api.js +51 -46
- package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
- package/dist/{asset-Y3YAVXJ3.js → asset-KOJC72AQ.js} +2 -2
- package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-Q4ZFUI6G.js} +13 -13
- package/dist/{audio-TRDZQ2NW.js → audio-XZBBXKQC.js} +32 -30
- package/dist/{auth-MN66MWGN.js → auth-X45YSZGE.js} +4 -4
- package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-77XWQ564.js} +3 -3
- package/dist/{avatars-F2COSI7P.js → avatars-D3D22TI2.js} +20 -19
- package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-2L2RWFJ3.js} +4 -4
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-CI6OFGS5.js → batchRender-O7J47H2Z.js} +5 -5
- package/dist/{beats-GBCNB763.js → beats-6RVVU56H.js} +15 -15
- package/dist/{benchmark-AHHMJBDN.js → benchmark-D5JRNAVQ.js} +12 -12
- package/dist/{billing-HME22C5A.js → billing-WT4DGZII.js} +20 -19
- package/dist/{browser-VZTIOZI3.js → browser-2OR737P4.js} +9 -9
- package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
- package/dist/{capture-ZILHWIOF.js → capture-23X2CK56.js} +82 -39
- package/dist/{capture-NU2ZIXJB.js → capture-B34FTO6G.js} +4 -4
- package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-TPZKEVKN.js} +19 -19
- package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
- package/dist/{catalog-NVEGPXGE.js → catalog-ACHSYU5Z.js} +18 -18
- package/dist/{catch-up-W7ST5JSZ.js → catch-up-FGANS2BB.js} +12 -12
- package/dist/{check-BZ652RYH.js → check-DXK4L5WP.js} +54 -54
- package/dist/{checkAudio-5NVSRMGL.js → checkAudio-4ISYJED3.js} +20 -20
- package/dist/{checkBrowser-YN454IBU.js → checkBrowser-5ECMULMP.js} +47 -47
- package/dist/{chunk-Q7EIUAYK.js → chunk-23354HMA.js} +3 -3
- package/dist/{chunk-W4OMDRZF.js → chunk-2I4DQZLQ.js} +28 -8
- package/dist/{chunk-O4Z4D4KA.js → chunk-2KYLVWLO.js} +1 -1
- package/dist/{chunk-BJSUKOWW.js → chunk-2LMCARA5.js} +2 -2
- package/dist/{chunk-XB77LMOP.js → chunk-2QTGQGYA.js} +1 -1
- package/dist/{chunk-JULHFF3J.js → chunk-2RBQLV6B.js} +1 -1
- package/dist/{chunk-R5U5PFDJ.js → chunk-2TBW7UOF.js} +5177 -4970
- package/dist/{chunk-RCWPVC4M.js → chunk-3J32XVJ6.js} +2 -2
- package/dist/{chunk-CP4FVXKZ.js → chunk-45ZQI734.js} +2 -2
- package/dist/{chunk-LHBQW4GJ.js → chunk-4CHGNFCS.js} +23 -15
- package/dist/{chunk-RLYYA6IR.js → chunk-4DLYTSWQ.js} +15 -8
- package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
- package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
- package/dist/{chunk-ZSELEQI2.js → chunk-4US5QCXR.js} +408 -219
- package/dist/{chunk-CWOUPW5E.js → chunk-4WZU4FYS.js} +4 -4
- package/dist/{chunk-B7H5RCKP.js → chunk-5GYTBKZA.js} +2 -2
- package/dist/{chunk-4HSE3FWO.js → chunk-5RVPI6QL.js} +4 -4
- package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
- package/dist/{chunk-KAICKZZK.js → chunk-6QEEF5RR.js} +1 -1
- package/dist/{chunk-5Q3TTLGB.js → chunk-6RV2QY4K.js} +31 -31
- package/dist/{chunk-3SZ43GZG.js → chunk-6ZVUTYNB.js} +6 -6
- package/dist/{chunk-C4U6FRZH.js → chunk-76KUCQXD.js} +14 -11
- package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
- package/dist/{chunk-GRHBVTBK.js → chunk-7LTXT7ME.js} +11 -9
- package/dist/{chunk-RBECDLMQ.js → chunk-7UUUV4PN.js} +1 -1
- package/dist/{chunk-X3HQA3YE.js → chunk-A4VXOJZO.js} +10 -8
- package/dist/{chunk-OJSOH2LS.js → chunk-ADYMQM7T.js} +2 -2
- package/dist/{chunk-GSXHYLW4.js → chunk-AIC7T7CC.js} +2 -2
- package/dist/{chunk-MQOO5Z4U.js → chunk-B66UZ2YK.js} +9 -9
- package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
- package/dist/{chunk-T7PFJH2B.js → chunk-BBL6STGK.js} +2 -2
- package/dist/{chunk-5AMGFTMU.js → chunk-C2VZ7UPE.js} +18 -18
- package/dist/{chunk-CUORARXJ.js → chunk-CDI3CCAU.js} +7 -7
- package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
- package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
- package/dist/{chunk-OOEZ3FT3.js → chunk-CHM3QYLF.js} +3 -3
- package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
- package/dist/{chunk-DJVSNDF3.js → chunk-CNJLBAKM.js} +133 -22
- package/dist/chunk-DDDSTRHU.js +3890 -0
- package/dist/{chunk-AWL5M7BX.js → chunk-DGC2RIQE.js} +4 -4
- package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
- package/dist/{chunk-WSPGX2SM.js → chunk-DMZER7D5.js} +1 -1
- package/dist/{chunk-3DIYMOES.js → chunk-ERJBWDPM.js} +7 -7
- package/dist/{chunk-56MGA4FM.js → chunk-ETWXZQN5.js} +2 -2
- package/dist/{chunk-MMAPQWUP.js → chunk-EX533ULK.js} +2 -2
- package/dist/{chunk-HM3PIREE.js → chunk-EX7WPDFA.js} +2 -2
- package/dist/{chunk-MX3UCKZR.js → chunk-FRH3CPW5.js} +1 -1
- package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
- package/dist/{chunk-FKW5FP4C.js → chunk-G55YEL2L.js} +129 -89
- package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
- package/dist/{chunk-44VR2CWT.js → chunk-GHLLC6LJ.js} +2 -2
- package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
- package/dist/{chunk-BCMR6DE4.js → chunk-HEXTAQYG.js} +2 -2
- package/dist/{chunk-URXVZMSI.js → chunk-HMB3IAVP.js} +2 -2
- package/dist/{chunk-22PWPQVX.js → chunk-HPKW6UVW.js} +6 -6
- package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
- package/dist/{chunk-YJVJCNK4.js → chunk-I35B5RWZ.js} +3 -3
- package/dist/{chunk-SCWMPY3F.js → chunk-I3PA54IU.js} +1 -1
- package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
- package/dist/{chunk-CWN75OWQ.js → chunk-IYLGUQFR.js} +19 -7
- package/dist/chunk-JCJJCYCP.js +392 -0
- package/dist/{chunk-P7LZ2WSQ.js → chunk-JSVCF4A6.js} +4 -4
- package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
- package/dist/{chunk-OBRKDUCE.js → chunk-KIAY63AB.js} +38 -4
- package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
- package/dist/{chunk-6VNDEMSP.js → chunk-L6BFXQ6S.js} +8 -4
- package/dist/chunk-M3BJEZ7E.js +152 -0
- package/dist/{chunk-ZOOY4LEZ.js → chunk-MA35E5OY.js} +3 -3
- package/dist/{chunk-IHWNDG5C.js → chunk-MDBEAWP2.js} +3 -3
- package/dist/{chunk-TEOIEMTR.js → chunk-MDGNQWFN.js} +1 -1
- package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
- package/dist/{chunk-O7ZX5DHD.js → chunk-MP36L7OJ.js} +2 -2
- package/dist/{chunk-5LLDGJGZ.js → chunk-MVIUSNPZ.js} +1 -1
- package/dist/{chunk-IIMW46LC.js → chunk-N2C7WJDG.js} +1 -1
- package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
- package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
- package/dist/{chunk-AQJA7TAQ.js → chunk-NQFIMBXS.js} +2 -2
- package/dist/{chunk-G5DZZEQF.js → chunk-O2T6ZTLN.js} +1 -1
- package/dist/{chunk-RHUYVGFO.js → chunk-O5CNNVRY.js} +7 -7
- package/dist/{chunk-6WHOI52Z.js → chunk-OD7PLYYX.js} +8 -8
- package/dist/{chunk-K7JA32EI.js → chunk-PNP2BO3U.js} +2 -2
- package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
- package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
- package/dist/{chunk-SEVZKBMA.js → chunk-QWM3NY2E.js} +4 -4
- package/dist/{chunk-ZQYRP22G.js → chunk-R45WFVRA.js} +1 -1
- package/dist/{chunk-PGGMJW7B.js → chunk-RCB4SGTB.js} +35 -7
- package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
- package/dist/{chunk-5HVQV4H4.js → chunk-RGYOCAHC.js} +2 -2
- package/dist/{chunk-GFDXA5QO.js → chunk-ROXILOZ6.js} +2 -2
- package/dist/{chunk-G5S72X6Q.js → chunk-SIGASWB7.js} +4 -4
- package/dist/{chunk-J5LQW6VB.js → chunk-SOAQ3XXB.js} +2 -2
- package/dist/{chunk-RLQOYHXT.js → chunk-SUXEL7G4.js} +15 -15
- package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
- package/dist/{chunk-Q77TZ76B.js → chunk-SWPI27QV.js} +8 -8
- package/dist/{chunk-T54RTTFW.js → chunk-T3GSTIBS.js} +3 -3
- package/dist/chunk-TFBPCJPG.js +26 -0
- package/dist/{chunk-XDIHAX2C.js → chunk-U77L3ZQZ.js} +1 -1
- package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
- package/dist/{chunk-7XZS4PNM.js → chunk-UE2WSWNA.js} +1 -1
- package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
- package/dist/{chunk-KAHWO4XC.js → chunk-VKZSAAXZ.js} +3 -3
- package/dist/chunk-VQJLTYEK.js +453 -0
- package/dist/{chunk-5YYGPTBP.js → chunk-VZQXHYEI.js} +3 -3
- package/dist/{chunk-OZNJ2QD5.js → chunk-W2FSQBUR.js} +17 -17
- package/dist/{chunk-RVI665CP.js → chunk-W5PW26KE.js} +1 -1
- package/dist/{chunk-KKUBMYCY.js → chunk-WIMVXPYG.js} +12 -12
- package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
- package/dist/{chunk-OB6DVKHE.js → chunk-WYPRTHXQ.js} +2 -2
- package/dist/{chunk-ELWX6CAA.js → chunk-XDDBSGBD.js} +2 -2
- package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
- package/dist/{chunk-3OA75WJW.js → chunk-XFXCI4IP.js} +16 -9
- package/dist/{chunk-RJA64ACI.js → chunk-XQWWFIBR.js} +2 -2
- package/dist/{chunk-FK3KV32T.js → chunk-XSHJ37U3.js} +27 -24
- package/dist/{chunk-Y6RU3H6C.js → chunk-XUDJ5XSQ.js} +6 -6
- package/dist/{chunk-DFSAC4F4.js → chunk-XVVPEWNX.js} +1 -1
- package/dist/chunk-Y5DOT5NQ.js +57 -0
- package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
- package/dist/{chunk-L6ZLOJBI.js → chunk-YDG3OXH3.js} +3 -2
- package/dist/{chunk-SQ63BIR2.js → chunk-YNFHZ4RI.js} +3 -3
- package/dist/{chunk-5BIMSULZ.js → chunk-YSHUIQ3I.js} +2 -2
- package/dist/chunk-YTUPQTXA.js +560 -0
- package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
- package/dist/chunk-ZOAANTVI.js +193 -0
- package/dist/{clean-WYXHI2DO.js → clean-3IN64RHM.js} +31 -31
- package/dist/cli.js +71 -69
- package/dist/{cloud-X52P5AIE.js → cloud-LBUZBUP6.js} +4 -4
- package/dist/{cloud-TDXVUIUM.js → cloud-SVYXHFEG.js} +9 -8
- package/dist/{cloudrun-36IR6ZKU.js → cloudrun-PZOF2QGL.js} +8 -8
- package/dist/{compare-R2KXOV2I.js → compare-UOJ3LXQQ.js} +46 -46
- package/dist/{compiler-FRWUFIQC.js → compiler-5ZDHBKBQ.js} +9 -7
- package/dist/{component-TIBQY7KQ.js → component-EVIPLTTJ.js} +3 -3
- package/dist/{compositions-NQPORXIX.js → compositions-R4GG5FBO.js} +17 -17
- package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
- package/dist/contract/LICENSE-Unicode.txt +39 -0
- package/dist/contract/path-policy.json +311 -0
- package/dist/contract/unicode-15.1.0.json +6179 -0
- package/dist/{curve-DTLRPBSB.js → curve-LR3PSRW3.js} +16 -16
- package/dist/{cuts-73HKU767.js → cuts-DHCOBAFT.js} +17 -17
- package/dist/{delete-HIHA436T.js → delete-MMGGU3QP.js} +12 -11
- package/dist/deploy-SKIGUTM2.js +213 -0
- package/dist/{describeProject-4A5UXQ25.js → describeProject-L7HNTBPV.js} +12 -12
- package/dist/{destroy-4DOMPOYB.js → destroy-5HSMMDH7.js} +22 -18
- package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
- package/dist/{diff-JPADFUMV.js → diff-KR7VKPYL.js} +48 -47
- package/dist/{dist-EFXKPJJT.js → dist-3MFNUZSN.js} +4 -4
- package/dist/{dist-KWXQYTRT.js → dist-HK3AZNNL.js} +22 -22
- package/dist/{dist-FKEKIXVL.js → dist-ZGYPFYOH.js} +4 -4
- package/dist/docs/rendering.md +2 -0
- package/dist/{doctor-3OO3CONL.js → doctor-G7VGNSA5.js} +18 -18
- package/dist/{energy-XFPN5YIL.js → energy-H7EEH6WO.js} +17 -17
- package/dist/{events-6ONCYFB5.js → events-5ATZCZTK.js} +4 -4
- package/dist/{events-QWPZT3EQ.js → events-ASG27IXP.js} +19 -19
- package/dist/{events-G2MME5LQ.js → events-YD6N7OPQ.js} +9 -9
- package/dist/execute-OAS454OB.js +109 -0
- package/dist/{extract-3EV72SMY.js → extract-645SENLA.js} +20 -20
- package/dist/{face-JZS6P3AT.js → face-WRT5XH4I.js} +19 -19
- package/dist/{feedback-JVWBHRQG.js → feedback-3LKLR5MV.js} +22 -17
- package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-PXKIZL2X.js} +11 -11
- package/dist/{figma-KPHTDMCQ.js → figma-RIEVJJBW.js} +3 -3
- package/dist/fontLocalizeCli.js +20 -20
- package/dist/{frames-KRVRJTKC.js → frames-OTB3J5W3.js} +19 -19
- package/dist/{generate-X2MYGFZX.js → generate-IUKCZW2D.js} +33 -32
- package/dist/{get-QM24BI7N.js → get-6WVQ7TBV.js} +12 -11
- package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-HXSVAEU4.js} +11 -11
- package/dist/{grade-compare-W5N5LH4X.js → grade-compare-TCAYHDEF.js} +47 -47
- package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
- package/dist/hangReport.js +1 -1
- package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-GXIMK4HK.js} +12 -12
- package/dist/{help-LWS4YWMO.js → help-RGOL5EJD.js} +2 -1
- package/dist/{history-SG34LBJY.js → history-XKPRGJGS.js} +15 -15
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +42 -42
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-2FC43IYB.js → info-EYBBC42V.js} +19 -19
- package/dist/{init-GKY5OKDV.js → init-F2FWPSMA.js} +36 -36
- package/dist/{ink-7UK6YCUY.js → ink-BWFERAAT.js} +17 -17
- package/dist/{inspect-ZB2NTNQA.js → inspect-74N7L3BW.js} +44 -44
- package/dist/{installer-GALVXWPC.js → installer-LOUR7G4R.js} +8 -8
- package/dist/{keyframes-LSP4FLHT.js → keyframes-WB5PTKFE.js} +15 -13
- package/dist/{lambda-3F32DRYF.js → lambda-JYCNXUKB.js} +20 -20
- package/dist/{layout-XPGS3QTX.js → layout-P52EVR24.js} +44 -44
- package/dist/{lint-Q5SO57RK.js → lint-SL55KAS2.js} +15 -15
- package/dist/{lintProject-5CBL7VFV.js → lintProject-46WU53VC.js} +4 -4
- package/dist/{list-FL5RYSFT.js → list-LN6CQH52.js} +14 -13
- package/dist/{localPage-IOHQETQT.js → localPage-L6OJU3UH.js} +12 -12
- package/dist/{login-D4TCWDDW.js → login-WTOAMDID.js} +8 -7
- package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
- package/dist/{look-G2BT4E4A.js → look-O6ESLJRP.js} +17 -17
- package/dist/{manager-F6WI43DQ.js → manager-CMEZWENF.js} +12 -12
- package/dist/{measure-VXQQHYMZ.js → measure-NEIXU53P.js} +11 -11
- package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-6CAQG7MU.js} +19 -19
- package/dist/{media-use-63LZFAID.js → media-use-IXJFMKU7.js} +16 -9
- package/dist/{models-MWUVU4CY.js → models-TZALWUEY.js} +15 -15
- package/dist/{motionShot-U4YDT7UV.js → motionShot-OQYK6G6M.js} +24 -24
- package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-43PJLOBY.js} +15 -15
- package/dist/oauth-SAVP2YM4.js +40 -0
- package/dist/{open-DRLXHOW2.js → open-EOX6QY4M.js} +20 -20
- package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-STHAXQAF.js} +19 -19
- package/dist/{pipeline-MAIRRYD6.js → pipeline-RRWZHFBQ.js} +14 -14
- package/dist/plan-JWUSMF4W.js +88 -0
- package/dist/{play-33A3EXX3.js → play-TUKTST32.js} +40 -34
- package/dist/{preflight-HSWMKB2Q.js → preflight-L42JKT6F.js} +12 -12
- package/dist/{present-HJIFEIDH.js → present-Z7HRDXPV.js} +34 -28
- package/dist/{preview-J6Z6RKMN.js → preview-HGTIRAV3.js} +31 -31
- package/dist/{probe-RA4VOGYY.js → probe-RXK44FY7.js} +17 -17
- package/dist/{producer-KWP2B4A5.js → producer-KJ2RZDJ3.js} +1 -1
- package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
- package/dist/{projectConfig-3YIGHLNE.js → projectConfig-K36NTJXP.js} +11 -11
- package/dist/{publication-QRUY2WJK.js → publication-OZWLT6K6.js} +6 -6
- package/dist/{publish-GV3I3GUL.js → publish-CRUTXNYM.js} +92 -30
- package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
- package/dist/{remove-background-UUITKXEQ.js → remove-background-R37HZPCG.js} +15 -15
- package/dist/{render-ZITQXHJP.js → render-EZMKBT7V.js} +57 -52
- package/dist/{render-NHVDJRFD.js → render-SU2XTMJL.js} +8 -8
- package/dist/{render-EC67XXR2.js → render-ZHCPCISN.js} +101 -937
- package/dist/{render-batch-RII4F3PD.js → render-batch-YIUOEAAL.js} +8 -8
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-R3FXDZKS.js → resolver-DLCKRKQR.js} +8 -8
- package/dist/{reverse-2GJ5Y3WM.js → reverse-4FAVXIER.js} +1 -1
- package/dist/{run-24USN7TA.js → run-H4GVEJVS.js} +8 -6
- package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-CQF5FYVI.js} +14 -14
- package/dist/service-XDQOULGD.js +68 -0
- package/dist/share-CUCQALE7.js +274 -0
- package/dist/{sherpa-YIJR47GX.js → sherpa-WZNRQUVC.js} +18 -18
- package/dist/sherpaWorker.js +1 -1
- package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +21 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
- package/dist/{skills-DM3XC7RQ.js → skills-J52DBZAK.js} +12 -12
- package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
- package/dist/{snapshot-72RQQXHW.js → snapshot-ZIRQFDA7.js} +94 -69
- package/dist/{src-SPFGPZZQ.js → src-7BGBN6SS.js} +18 -18
- package/dist/{src-C43KUEBY.js → src-C3XYMTF4.js} +12 -10
- package/dist/{start-FSYSYLI7.js → start-QG2XNMYN.js} +31 -30
- package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
- package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-TWMEFK3T.js} +28 -28
- package/dist/{status-TE74GP4Q.js → status-3UPA5WPI.js} +26 -24
- package/dist/studio/assets/{codec-DXM4vA6G.js → codec-qz1-OXLj.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-2eG1zFX5.js} +1 -1
- package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
- package/dist/studio/assets/{index-Ob53qo6K.js → index-DDmhnfrS.js} +189 -189
- package/dist/studio/assets/{index-Bw4stQMm.js → index-DUveJ_YP.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-JAOHMYPG.js → studio-api-Z42OO4JJ.js} +22 -22
- package/dist/{studioServer-RHCPM4CN.js → studioServer-SMN3RMVL.js} +455 -71
- package/dist/{sync-UZJ7DOUA.js → sync-ONTI2WSI.js} +17 -17
- package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
- package/dist/{telemetry-TFOEA2PM.js → telemetry-RRXALB5D.js} +9 -9
- package/dist/{templates-2AHM5TZ3.js → templates-BHFOSD6F.js} +23 -22
- package/dist/{timeline-ZGV323MP.js → timeline-Z5IHY5TN.js} +28 -28
- package/dist/{tokens-ERUFEWUA.js → tokens-MZVEPARM.js} +2 -2
- package/dist/{transcribe-6HLYS7NV.js → transcribe-5IZS4BGW.js} +37 -36
- package/dist/{transcribe-M5UZ2XFG.js → transcribe-M5N3YZZU.js} +15 -15
- package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
- package/dist/{update-JDVI2XTM.js → update-EVPWBIKY.js} +14 -13
- package/dist/{updateCheck-GDTYPXKO.js → updateCheck-2UUEF6TC.js} +5 -3
- package/dist/{upgrade-SJKYBA4X.js → upgrade-DK45FD4K.js} +6 -4
- package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-3MPHIDSA.js} +10 -10
- package/dist/{validate-IUTHTA2N.js → validate-W27TQ367.js} +36 -36
- package/dist/{video-4BJ7WHI2.js → video-TI372QGV.js} +13 -13
- package/dist/{voices-UDSFBPZX.js → voices-FZV4PGT6.js} +30 -29
- package/dist/warmCheck.js +55 -55
- package/dist/warmCheckClient.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-2X4PQEYM.js +0 -34
- package/dist/deploy-EB3FS2BT.js +0 -361
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WIMVXPYG.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W2FSQBUR.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SWPI27QV.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,22 +29,18 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SUXEL7G4.js";
|
|
33
33
|
import {
|
|
34
34
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
35
|
withRemainingBudget
|
|
36
36
|
} from "./chunk-YGGZ23BB.js";
|
|
37
37
|
import {
|
|
38
38
|
findStageProxyBox
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7UUUV4PN.js";
|
|
40
40
|
import {
|
|
41
41
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
42
42
|
STUDIO_PREVIEW_MARK_META
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
artifactDirectory,
|
|
46
|
-
finishSnapshotRun
|
|
47
|
-
} from "./chunk-VPPJIWVG.js";
|
|
43
|
+
} from "./chunk-G55YEL2L.js";
|
|
48
44
|
import {
|
|
49
45
|
FfmpegUnavailableError,
|
|
50
46
|
decideMediaProxyEligibility,
|
|
@@ -54,21 +50,25 @@ import {
|
|
|
54
50
|
resolveProxies,
|
|
55
51
|
scanProjectMediaCodecMap,
|
|
56
52
|
shouldPrewarmProxy
|
|
57
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-XSHJ37U3.js";
|
|
54
|
+
import {
|
|
55
|
+
artifactDirectory,
|
|
56
|
+
finishSnapshotRun
|
|
57
|
+
} from "./chunk-XDRSEU2I.js";
|
|
58
58
|
import {
|
|
59
59
|
BrowserCleanupError,
|
|
60
60
|
closeManagedBrowser,
|
|
61
61
|
onStopSignal
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-NQFIMBXS.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveAutoProxy
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-SOAQ3XXB.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_CONFIG
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-2TBW7UOF.js";
|
|
69
69
|
import {
|
|
70
70
|
injectTagsAtHeadStart
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-XDDBSGBD.js";
|
|
72
72
|
import {
|
|
73
73
|
parseHTML
|
|
74
74
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -928,7 +928,7 @@ function proxyFailedDraft(message) {
|
|
|
928
928
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
929
929
|
}
|
|
930
930
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
931
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
931
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-VBET4RVR.js");
|
|
932
932
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
933
933
|
}
|
|
934
934
|
function withCapturePreviewMark(html) {
|
|
@@ -1001,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1001
1001
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1002
1002
|
}));
|
|
1003
1003
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1004
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1004
|
+
const { analyzeClipMediaFit } = await import("./src-C3XYMTF4.js");
|
|
1005
1005
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1006
1006
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1007
1007
|
}
|
|
@@ -1143,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1143
1143
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1144
1144
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1145
1145
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1146
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1146
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-VBET4RVR.js");
|
|
1147
1147
|
return withCapturePreviewMark(
|
|
1148
1148
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1149
1149
|
);
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
KOKORO_PIP,
|
|
10
10
|
MUSICGEN_MODULES,
|
|
11
11
|
MUSICGEN_PIP
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SVI2CJ6R.js";
|
|
13
13
|
import {
|
|
14
14
|
describeRejectedPythonOverride,
|
|
15
15
|
hasPythonModules
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CHJGVW5W.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3J32XVJ6.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-JCNPHRGX.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2TBW7UOF.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
runningInstall,
|
|
45
45
|
updateCommandFor,
|
|
46
46
|
withMeta
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-4DLYTSWQ.js";
|
|
48
48
|
import {
|
|
49
49
|
CONFIG_PATH,
|
|
50
50
|
withFileLock
|
|
51
51
|
} from "./chunk-AWD2MWWL.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-45ZQI734.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -249,7 +249,7 @@ function checkEnvironment() {
|
|
|
249
249
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
250
250
|
}
|
|
251
251
|
async function checkWhisper() {
|
|
252
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
252
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-CMEZWENF.js");
|
|
253
253
|
const result = findWhisper();
|
|
254
254
|
if (result) {
|
|
255
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -44,7 +44,7 @@ async function runPostRenderStepAsync(label, fn, sink = defaultErrorSink) {
|
|
|
44
44
|
function reportPostRenderStepFailure(label, err, sink) {
|
|
45
45
|
const message = err instanceof Error ? err.message : String(err);
|
|
46
46
|
sink(` [hyperframes] Post-render step '${label}' failed (render already succeeded): ${message}`);
|
|
47
|
-
sanitizeSuccessfulExitCode();
|
|
47
|
+
if (isRenderSucceeded()) sanitizeSuccessfulExitCode();
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export {
|
|
@@ -7,6 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
|
|
8
8
|
// src/tts/python.ts
|
|
9
9
|
import { execFileSync } from "child_process";
|
|
10
|
+
import { dirname, resolve } from "path";
|
|
10
11
|
function validatePythonOverride(override) {
|
|
11
12
|
try {
|
|
12
13
|
const version = execFileSync(override, ["--version"], {
|
|
@@ -23,6 +24,9 @@ function validatePythonOverride(override) {
|
|
|
23
24
|
return { ok: false, reason: error instanceof Error ? error.message : String(error) };
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
function inWorkingDirectory(candidate) {
|
|
28
|
+
return process.platform === "win32" && dirname(resolve(candidate)).toLowerCase() === resolve(process.cwd()).toLowerCase();
|
|
29
|
+
}
|
|
26
30
|
function findPython() {
|
|
27
31
|
const override = process.env.HYPERFRAMES_PYTHON;
|
|
28
32
|
if (override && validatePythonOverride(override).ok) return override;
|
|
@@ -34,7 +38,7 @@ function findPython() {
|
|
|
34
38
|
stdio: ["pipe", "pipe", "pipe"],
|
|
35
39
|
timeout: 5e3
|
|
36
40
|
});
|
|
37
|
-
const first = output.split(/\r?\n/).map((s) => s.trim()).find(
|
|
41
|
+
const first = output.split(/\r?\n/).map((s) => s.trim()).find((s) => s && !inWorkingDirectory(s));
|
|
38
42
|
if (!first) continue;
|
|
39
43
|
const version = execFileSync(first, ["--version"], {
|
|
40
44
|
encoding: "utf-8",
|
|
@@ -58,9 +62,17 @@ function withoutPythonPath() {
|
|
|
58
62
|
const { PYTHONPATH: _foreign, ...env } = process.env;
|
|
59
63
|
return env;
|
|
60
64
|
}
|
|
65
|
+
var WITHOUT_WORKING_DIRECTORY = "import sys\nif sys.path and sys.path[0] == '': del sys.path[0]\n";
|
|
66
|
+
function isolatedPythonCode(code) {
|
|
67
|
+
return WITHOUT_WORKING_DIRECTORY + code;
|
|
68
|
+
}
|
|
61
69
|
function runs(python, code, env) {
|
|
62
70
|
try {
|
|
63
|
-
execFileSync(python, ["-c", code], {
|
|
71
|
+
execFileSync(python, ["-c", isolatedPythonCode(code)], {
|
|
72
|
+
stdio: ["pipe", "pipe", "pipe"],
|
|
73
|
+
timeout: 1e4,
|
|
74
|
+
env
|
|
75
|
+
});
|
|
64
76
|
return true;
|
|
65
77
|
} catch {
|
|
66
78
|
return false;
|
|
@@ -87,6 +99,7 @@ function hasPythonModules(modules) {
|
|
|
87
99
|
export {
|
|
88
100
|
findPython,
|
|
89
101
|
describeRejectedPythonOverride,
|
|
102
|
+
isolatedPythonCode,
|
|
90
103
|
workingPythonEnv,
|
|
91
104
|
hasPythonPackage,
|
|
92
105
|
hasPythonModules
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ADYMQM7T.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YSHUIQ3I.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CNJLBAKM.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -10,16 +10,18 @@ import {
|
|
|
10
10
|
isRemoteOrInlineUrl,
|
|
11
11
|
isUnresolvedAssetPlaceholder,
|
|
12
12
|
isWithinProjectRoot,
|
|
13
|
+
localAbsoluteAssetFile,
|
|
13
14
|
maskNonScannableRanges,
|
|
14
15
|
readProjectFile,
|
|
15
16
|
readTextFile,
|
|
17
|
+
resolveCompositionSrc,
|
|
16
18
|
resolveExistingLocalAsset,
|
|
17
19
|
resolveLocalAssetCandidates,
|
|
18
20
|
resolveProjectRelativeSrc
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K2Z6OXEI.js";
|
|
20
22
|
import {
|
|
21
23
|
findFfBinary
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KRWPTZBY.js";
|
|
23
25
|
import {
|
|
24
26
|
COLOR_GRADING_SOURCE_TAGS,
|
|
25
27
|
COLOR_GROUP_TAG,
|
|
@@ -28,6 +30,7 @@ import {
|
|
|
28
30
|
checkSubCompositionUsability,
|
|
29
31
|
compositionOriginSeconds,
|
|
30
32
|
cutToHostSlots,
|
|
33
|
+
isNonRelativeUrl,
|
|
31
34
|
parseNumeric,
|
|
32
35
|
readAuthoredDurationSeconds,
|
|
33
36
|
readClipTiming,
|
|
@@ -50,7 +53,7 @@ import {
|
|
|
50
53
|
isSafeMediaUrl,
|
|
51
54
|
parseFontShorthand,
|
|
52
55
|
resolveAliasDisplayName2 as resolveAliasDisplayName
|
|
53
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-N7C7U3ZR.js";
|
|
54
57
|
import {
|
|
55
58
|
parseHTML
|
|
56
59
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -58,6 +61,7 @@ import {
|
|
|
58
61
|
Parser
|
|
59
62
|
} from "./chunk-2RY2LWAA.js";
|
|
60
63
|
import {
|
|
64
|
+
ancestor,
|
|
61
65
|
base,
|
|
62
66
|
recursive,
|
|
63
67
|
simple
|
|
@@ -3783,7 +3787,7 @@ import { existsSync as existsSync3, readdirSync } from "fs";
|
|
|
3783
3787
|
import { existsSync, readFileSync } from "fs";
|
|
3784
3788
|
import { join } from "path";
|
|
3785
3789
|
import ignore from "ignore";
|
|
3786
|
-
import { dirname as dirname2, extname, join as join4, relative as relative2, resolve } from "path";
|
|
3790
|
+
import { dirname as dirname2, extname, isAbsolute, join as join4, relative as relative2, resolve } from "path";
|
|
3787
3791
|
|
|
3788
3792
|
// ../parsers/dist/referenceResolver.js
|
|
3789
3793
|
var COMPOSITION_ATTRIBUTES2 = Object.freeze({
|
|
@@ -4907,10 +4911,10 @@ function digitIdsTargetedBySelectors(styles, scripts) {
|
|
|
4907
4911
|
return ids;
|
|
4908
4912
|
}
|
|
4909
4913
|
function resolvedRuleSelectors(rule) {
|
|
4910
|
-
let
|
|
4911
|
-
while (
|
|
4912
|
-
if (!
|
|
4913
|
-
const parentSelectors = resolvedRuleSelectors(
|
|
4914
|
+
let ancestor2 = rule.parent;
|
|
4915
|
+
while (ancestor2 && ancestor2.type !== "rule") ancestor2 = ancestor2.parent;
|
|
4916
|
+
if (!ancestor2 || ancestor2.type !== "rule") return rule.selectors;
|
|
4917
|
+
const parentSelectors = resolvedRuleSelectors(ancestor2);
|
|
4914
4918
|
return parentSelectors.flatMap(
|
|
4915
4919
|
(parentSelector) => rule.selectors.map((childSelector) => {
|
|
4916
4920
|
const nestingToken = /(^|[\s>+~,(])&/g;
|
|
@@ -5301,6 +5305,7 @@ var coreRules = [
|
|
|
5301
5305
|
return [];
|
|
5302
5306
|
}
|
|
5303
5307
|
if (/(?:^|\s)data-no-timeline(?=[\s=/]|$)/i.test(rootTag?.attrs || "")) return [];
|
|
5308
|
+
if (options.scriptsOutsideProjectUnread?.length) return [];
|
|
5304
5309
|
const findings = [];
|
|
5305
5310
|
const registered = [source, ...(options.externalScripts ?? []).map((script) => script.content)];
|
|
5306
5311
|
if (!registered.some(
|
|
@@ -6716,6 +6721,38 @@ function gsapCallOffset(script, method) {
|
|
|
6716
6721
|
({ callee }) => callee.type === "MemberExpression" && !callee.computed && callee.object.type === "Identifier" && callee.object.name === "gsap" && callee.property.type === "Identifier" && callee.property.name === method
|
|
6717
6722
|
)?.start;
|
|
6718
6723
|
}
|
|
6724
|
+
var GSAP_ENTRY = /* @__PURE__ */ new Set(["to", "from", "fromTo", "timeline", "set", "registerPlugin"]);
|
|
6725
|
+
var FUNCTION_TYPES = /* @__PURE__ */ new Set([
|
|
6726
|
+
"FunctionDeclaration",
|
|
6727
|
+
"FunctionExpression",
|
|
6728
|
+
"ArrowFunctionExpression"
|
|
6729
|
+
]);
|
|
6730
|
+
function gsapRunsWhenScriptRuns(script) {
|
|
6731
|
+
let ast;
|
|
6732
|
+
try {
|
|
6733
|
+
ast = parse3(script.content, {
|
|
6734
|
+
ecmaVersion: "latest",
|
|
6735
|
+
sourceType: "script",
|
|
6736
|
+
allowReturnOutsideFunction: true
|
|
6737
|
+
});
|
|
6738
|
+
} catch {
|
|
6739
|
+
return false;
|
|
6740
|
+
}
|
|
6741
|
+
let early = false;
|
|
6742
|
+
ancestor(ast, {
|
|
6743
|
+
CallExpression: (node, _state, ancestors) => {
|
|
6744
|
+
const { callee } = node;
|
|
6745
|
+
if (early || callee.type !== "MemberExpression" || callee.computed || callee.object.type !== "Identifier" || callee.object.name !== "gsap" || callee.property.type !== "Identifier" || !GSAP_ENTRY.has(callee.property.name))
|
|
6746
|
+
return;
|
|
6747
|
+
early = ancestors.every((a, i) => {
|
|
6748
|
+
if (!FUNCTION_TYPES.has(a.type)) return true;
|
|
6749
|
+
const parent = ancestors[i - 1];
|
|
6750
|
+
return parent?.type === "CallExpression" && parent.callee === a;
|
|
6751
|
+
});
|
|
6752
|
+
}
|
|
6753
|
+
});
|
|
6754
|
+
return early;
|
|
6755
|
+
}
|
|
6719
6756
|
function containingCallOffset(script, tokenOffset) {
|
|
6720
6757
|
let start;
|
|
6721
6758
|
for (const call of callsFor(script)) {
|
|
@@ -6813,7 +6850,7 @@ function climbsAboveRoot(fileDepth, path) {
|
|
|
6813
6850
|
function extractCssSelectors(css) {
|
|
6814
6851
|
const out = [];
|
|
6815
6852
|
const noComments = css.replace(/\/\*[\s\S]*?\*\//g, "");
|
|
6816
|
-
const ruleHeader = /([^{}]+)\{/g;
|
|
6853
|
+
const ruleHeader = /(?<![^{}])([^{}]+)\{/g;
|
|
6817
6854
|
let m;
|
|
6818
6855
|
while ((m = ruleHeader.exec(noComments)) !== null) {
|
|
6819
6856
|
const header = (m[1] ?? "").trim();
|
|
@@ -6838,7 +6875,7 @@ function collectHeavyOverlayHooks(styles) {
|
|
|
6838
6875
|
const ids = /* @__PURE__ */ new Set();
|
|
6839
6876
|
for (const style of styles) {
|
|
6840
6877
|
const noComments = style.content.replace(/\/\*[\s\S]*?\*\//g, "");
|
|
6841
|
-
const ruleWithBody = /([^{}]+)\{([^{}]*)\}/g;
|
|
6878
|
+
const ruleWithBody = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
|
|
6842
6879
|
let m;
|
|
6843
6880
|
while ((m = ruleWithBody.exec(noComments)) !== null) {
|
|
6844
6881
|
const header = (m[1] ?? "").trim();
|
|
@@ -7072,7 +7109,7 @@ function canvasZoomInRule(header, body, matchesCanvas) {
|
|
|
7072
7109
|
function stylesheetCanvasZoomHits(styles, matchesCanvas) {
|
|
7073
7110
|
const hits = [];
|
|
7074
7111
|
for (const style of styles) {
|
|
7075
|
-
const ruleWithBody = /([^{}]+)\{([^{}]*)\}/g;
|
|
7112
|
+
const ruleWithBody = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
|
|
7076
7113
|
const content = stripCssComments(style.content);
|
|
7077
7114
|
const allowNewHits = style.attrs.trim() === "" && !content.includes("@");
|
|
7078
7115
|
let match;
|
|
@@ -7239,7 +7276,7 @@ function stackingContextSelectors(styles) {
|
|
|
7239
7276
|
const selectors = /* @__PURE__ */ new Set();
|
|
7240
7277
|
for (const style of styles) {
|
|
7241
7278
|
const content = stripCssComments(style.content);
|
|
7242
|
-
const rule = /([^{}]+)\{([^{}]*)\}/g;
|
|
7279
|
+
const rule = /(?<![^{}])([^{}]+)\{([^{}]*)\}/g;
|
|
7243
7280
|
let match;
|
|
7244
7281
|
while ((match = rule.exec(content)) !== null) {
|
|
7245
7282
|
if (!STACKING_CONTEXT_DECLARATION.test(match[2] ?? "")) continue;
|
|
@@ -8404,10 +8441,31 @@ function styleLooksFullFrameOverlay(style) {
|
|
|
8404
8441
|
const coversFrame = cssZero(readStyleProperty(style, "inset")) || cssZero(readStyleProperty(style, "top")) && cssZero(readStyleProperty(style, "right")) && cssZero(readStyleProperty(style, "bottom")) && cssZero(readStyleProperty(style, "left"));
|
|
8405
8442
|
return coversFrame && styleHasOpaqueBackground(style);
|
|
8406
8443
|
}
|
|
8444
|
+
function styleRuleBodies(css) {
|
|
8445
|
+
const out = [];
|
|
8446
|
+
let start = 0;
|
|
8447
|
+
let close = 0;
|
|
8448
|
+
while (start < css.length) {
|
|
8449
|
+
let brace = start;
|
|
8450
|
+
while (brace < css.length && css[brace] !== "{" && css[brace] !== "}") brace++;
|
|
8451
|
+
if (brace === css.length) break;
|
|
8452
|
+
if (css[brace] === "{" && brace > start) {
|
|
8453
|
+
if (close !== -1 && close <= brace) close = css.indexOf("}", brace + 1);
|
|
8454
|
+
if (close === -1) break;
|
|
8455
|
+
if (close > brace + 1) {
|
|
8456
|
+
out.push([css.slice(start, brace), css.slice(brace + 1, close)]);
|
|
8457
|
+
start = close + 1;
|
|
8458
|
+
continue;
|
|
8459
|
+
}
|
|
8460
|
+
}
|
|
8461
|
+
start = brace + 1;
|
|
8462
|
+
}
|
|
8463
|
+
return out;
|
|
8464
|
+
}
|
|
8407
8465
|
function collectSimpleStyleRules(styles) {
|
|
8408
8466
|
const rules = /* @__PURE__ */ new Map();
|
|
8409
8467
|
for (const style of styles) {
|
|
8410
|
-
for (const [
|
|
8468
|
+
for (const [selectorList, body] of styleRuleBodies(style.content)) {
|
|
8411
8469
|
if (!selectorList || !body) continue;
|
|
8412
8470
|
for (const selector of selectorList.split(",")) {
|
|
8413
8471
|
const token = selector.trim();
|
|
@@ -8728,6 +8786,21 @@ function expressionReachesMeasurement(expression, measuring) {
|
|
|
8728
8786
|
}
|
|
8729
8787
|
return false;
|
|
8730
8788
|
}
|
|
8789
|
+
var LINE_TERMINATOR = /[\n\r\u2028\u2029]/;
|
|
8790
|
+
function matchesTemplateParts(id, parts) {
|
|
8791
|
+
const first = parts[0] ?? "";
|
|
8792
|
+
const last = parts[parts.length - 1] ?? "";
|
|
8793
|
+
if (parts.length === 1) return id === first;
|
|
8794
|
+
if (!id.startsWith(first)) return false;
|
|
8795
|
+
let at = first.length;
|
|
8796
|
+
for (const part of parts.slice(1, -1)) {
|
|
8797
|
+
const found = id.indexOf(part, at);
|
|
8798
|
+
if (found === -1 || LINE_TERMINATOR.test(id.slice(at, found))) return false;
|
|
8799
|
+
at = found + part.length;
|
|
8800
|
+
}
|
|
8801
|
+
const end = id.length - last.length;
|
|
8802
|
+
return end >= at && id.endsWith(last) && !LINE_TERMINATOR.test(id.slice(at, end));
|
|
8803
|
+
}
|
|
8731
8804
|
function resolveScriptElementTokens(source, tags) {
|
|
8732
8805
|
const documentIds = tags.map((tag) => readAttr(tag.raw, "id")).filter((id) => id !== null);
|
|
8733
8806
|
const tokensByVar = /* @__PURE__ */ new Map();
|
|
@@ -8747,9 +8820,8 @@ function resolveScriptElementTokens(source, tags) {
|
|
|
8747
8820
|
const template = match[2] ?? "";
|
|
8748
8821
|
const staticParts = template.split(/\$\{[^}]*\}/);
|
|
8749
8822
|
if (staticParts.every((part) => part === "")) continue;
|
|
8750
|
-
const idPattern = new RegExp(`^${staticParts.map(escapeRegExp2).join(".*")}$`);
|
|
8751
8823
|
for (const id of documentIds) {
|
|
8752
|
-
if (
|
|
8824
|
+
if (matchesTemplateParts(id, staticParts)) add(match[1] ?? "", `#${id}`);
|
|
8753
8825
|
}
|
|
8754
8826
|
}
|
|
8755
8827
|
for (const match of source.matchAll(
|
|
@@ -9137,6 +9209,28 @@ ${right.raw}`)
|
|
|
9137
9209
|
(m) => isGsapCoreSrc(m[1] ?? "")
|
|
9138
9210
|
) || /\/\*!\s*\*\s*GSAP\s+\d/.test(t) || /Missing plugin\? gsap\.registerPlugin\(\)/.test(t) || /\b_gsScope\b/.test(t)
|
|
9139
9211
|
);
|
|
9212
|
+
if (usesGsap && hasGsapScript && !hasInlineGsap && !canInheritGsapFromHost) {
|
|
9213
|
+
const classic = (s) => {
|
|
9214
|
+
const tag = `<script ${s.attrs}>`;
|
|
9215
|
+
return (readDecodedAttr(tag, "type") ?? "").toLowerCase() !== "module" && readDecodedAttr(tag, "defer") === null && readDecodedAttr(tag, "async") === null;
|
|
9216
|
+
};
|
|
9217
|
+
const firstUse = scripts.find(
|
|
9218
|
+
(s) => !/\bsrc\s*=/.test(s.attrs) && (readDecodedAttr(`<script ${s.attrs}>`, "type") ?? "").toLowerCase() !== "module" && gsapRunsWhenScriptRuns(s)
|
|
9219
|
+
);
|
|
9220
|
+
const firstGsap = scripts.find(
|
|
9221
|
+
(s) => classic(s) && isGsapCoreSrc(readAttr(`<script ${s.attrs}>`, "src") || "")
|
|
9222
|
+
);
|
|
9223
|
+
if (firstUse && (!firstGsap || firstGsap.index > firstUse.index)) {
|
|
9224
|
+
return [
|
|
9225
|
+
{
|
|
9226
|
+
code: "gsap_loaded_after_use",
|
|
9227
|
+
severity: "error",
|
|
9228
|
+
message: "A script calls gsap before the GSAP script has run, so gsap is not there yet and its timeline never registers.",
|
|
9229
|
+
fixHint: "Move the GSAP <script src> above the first script that uses gsap, without defer or async; the <head> is safest."
|
|
9230
|
+
}
|
|
9231
|
+
];
|
|
9232
|
+
}
|
|
9233
|
+
}
|
|
9140
9234
|
if (!usesGsap || hasGsapScript || hasInlineGsap || canInheritGsapFromHost) return [];
|
|
9141
9235
|
return [
|
|
9142
9236
|
{
|
|
@@ -9768,7 +9862,7 @@ ${other.raw}`)
|
|
|
9768
9862
|
const tagsByToken = indexTagsByToken(tags);
|
|
9769
9863
|
const multiDashTokens = /* @__PURE__ */ new Set();
|
|
9770
9864
|
for (const style of styles) {
|
|
9771
|
-
for (const [
|
|
9865
|
+
for (const [selectorList, body] of styleRuleBodies(style.content)) {
|
|
9772
9866
|
if (!selectorList || !body) continue;
|
|
9773
9867
|
const value = readStyleProperty(body, "stroke-dasharray");
|
|
9774
9868
|
if (!value || !isMultiComponentDasharray(value)) continue;
|
|
@@ -11436,11 +11530,15 @@ var MAX_EXTERNAL_SCRIPT_BYTES = 1e6;
|
|
|
11436
11530
|
function linkedSources(projectDir, html, compSrcPath) {
|
|
11437
11531
|
return {
|
|
11438
11532
|
externalStyles: collectExternalStyles(projectDir, html, compSrcPath),
|
|
11439
|
-
|
|
11533
|
+
...collectExternalScripts(projectDir, html, compSrcPath)
|
|
11440
11534
|
};
|
|
11441
11535
|
}
|
|
11536
|
+
function leavesProject(projectDir, path) {
|
|
11537
|
+
return !isNonRelativeUrl(path) && !isWithinProjectRoot(projectDir, resolve(projectDir, path));
|
|
11538
|
+
}
|
|
11442
11539
|
function collectExternalScripts(projectDir, html, compSrcPath) {
|
|
11443
11540
|
const scripts = [];
|
|
11541
|
+
const scriptsOutsideProjectUnread = [];
|
|
11444
11542
|
const { document } = parseHTML(html);
|
|
11445
11543
|
for (const element of querySelectorAllIncludingTemplates(document, "script[src]")) {
|
|
11446
11544
|
const src = element.getAttribute("src") ?? "";
|
|
@@ -11448,7 +11546,12 @@ function collectExternalScripts(projectDir, html, compSrcPath) {
|
|
|
11448
11546
|
const path = src.split(/[?#]/)[0] ?? src;
|
|
11449
11547
|
const besideFile = compSrcPath ? join4(dirname2(compSrcPath), path) : path;
|
|
11450
11548
|
const script = resolveExistingLocalAsset(projectDir, besideFile) ?? (compSrcPath && staysInsideProjectRoot(path) ? resolveExistingLocalAsset(projectDir, path) : null);
|
|
11451
|
-
if (!script)
|
|
11549
|
+
if (!script) {
|
|
11550
|
+
if (leavesProject(projectDir, isAbsolute(path) ? path : besideFile)) {
|
|
11551
|
+
scriptsOutsideProjectUnread.push(src);
|
|
11552
|
+
}
|
|
11553
|
+
continue;
|
|
11554
|
+
}
|
|
11452
11555
|
const read = readProjectFile(script.resolved);
|
|
11453
11556
|
if (read.kind !== "file" || read.text.length > MAX_EXTERNAL_SCRIPT_BYTES) continue;
|
|
11454
11557
|
const attrs = Array.from(element.attributes).map(({ name, value }) => `${name}="${value.replace(/&/g, "&").replace(/"/g, """)}"`).join(" ");
|
|
@@ -11460,7 +11563,7 @@ function collectExternalScripts(projectDir, html, compSrcPath) {
|
|
|
11460
11563
|
rootRelativePath: script.rootRelativePath
|
|
11461
11564
|
});
|
|
11462
11565
|
}
|
|
11463
|
-
return scripts;
|
|
11566
|
+
return { externalScripts: scripts, scriptsOutsideProjectUnread };
|
|
11464
11567
|
}
|
|
11465
11568
|
function collectCssSources(projectDir, html, compSrcPath) {
|
|
11466
11569
|
const sources = [];
|
|
@@ -11752,7 +11855,7 @@ function lintMissingLocalAsset(projectDir, htmlSources) {
|
|
|
11752
11855
|
if (isRemoteOrInlineUrl(src)) continue;
|
|
11753
11856
|
const rootRelative = compSrcPath ? rewriteAssetPath(compSrcPath, src, (path) => existsSync3(join4(projectDir, path))) : src;
|
|
11754
11857
|
const resolvedAsset = resolveExistingLocalAsset(projectDir, rootRelative);
|
|
11755
|
-
if (resolvedAsset) continue;
|
|
11858
|
+
if (resolvedAsset || localAbsoluteAssetFile(projectDir, rootRelative)) continue;
|
|
11756
11859
|
const rawRoot = rawSrc.trim();
|
|
11757
11860
|
const safe = urlSafeSrcOf(
|
|
11758
11861
|
projectDir,
|
|
@@ -11812,6 +11915,8 @@ function lintTextureMaskAssetNotFound(projectDir, htmlSources) {
|
|
|
11812
11915
|
cssSource.rootRelativePath
|
|
11813
11916
|
);
|
|
11814
11917
|
if (candidates.some(existsSync3)) continue;
|
|
11918
|
+
const inPageCss = !cssSource.rootRelativePath;
|
|
11919
|
+
if (inPageCss && localAbsoluteAssetFile(projectDir, url)) continue;
|
|
11815
11920
|
missingByFile.set(file, (missingByFile.get(file) ?? /* @__PURE__ */ new Set()).add(url));
|
|
11816
11921
|
}
|
|
11817
11922
|
}
|
|
@@ -11933,7 +12038,7 @@ function collectMainTimelineAudio(projectDir, rootHtml) {
|
|
|
11933
12038
|
const inner = { ...at, ...scope };
|
|
11934
12039
|
const src = el.getAttribute("data-composition-src")?.trim();
|
|
11935
12040
|
const file = src && !isUnresolvedAssetPlaceholder(src) && !isRemoteOrInlineUrl(src);
|
|
11936
|
-
const filePath = file ?
|
|
12041
|
+
const filePath = file ? resolveCompositionSrc(projectDir, src) : null;
|
|
11937
12042
|
if (filePath && !at.mounting.includes(filePath)) {
|
|
11938
12043
|
const read = readProjectFile(filePath);
|
|
11939
12044
|
if (read.kind === "file")
|
|
@@ -12000,7 +12105,13 @@ function lintMissingOrEmptySubComposition(projectDir, rootHtml) {
|
|
|
12000
12105
|
const visited = /* @__PURE__ */ new Set();
|
|
12001
12106
|
const walk = (html) => {
|
|
12002
12107
|
for (const srcPath of collectSubCompositionSrcs(html)) {
|
|
12003
|
-
const filePath =
|
|
12108
|
+
const filePath = resolveCompositionSrc(projectDir, srcPath);
|
|
12109
|
+
if (filePath === null) {
|
|
12110
|
+
if (!checked.has(srcPath)) {
|
|
12111
|
+
checked.set(srcPath, { srcPath, problem: "it is outside the project folder" });
|
|
12112
|
+
}
|
|
12113
|
+
continue;
|
|
12114
|
+
}
|
|
12004
12115
|
if (visited.has(filePath)) continue;
|
|
12005
12116
|
visited.add(filePath);
|
|
12006
12117
|
const read = readProjectFile(filePath);
|