hyperframes 0.8.191 → 0.8.193
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-S2ZQYG52.js → add-JC6DKZKC.js} +17 -17
- package/dist/{animatedGifPrep-3JA2CQ3U.js → animatedGifPrep-S6KXJGEL.js} +11 -10
- package/dist/api.js +24 -23
- package/dist/{appHistory-TH3TL6N6.js → appHistory-QVCSAOI4.js} +1 -1
- package/dist/{asset-2CNTAPOC.js → asset-XITFIFE6.js} +2 -2
- package/dist/{assetCataloger-5HXLXL7C.js → assetCataloger-K5FNKG35.js} +13 -12
- package/dist/{audio-DZTSYHXS.js → audio-364UHTY4.js} +22 -21
- package/dist/{auth-GX3M6TJ4.js → auth-5JEESRE6.js} +4 -4
- package/dist/{autoUpdate-EDIWE4Z5.js → autoUpdate-RVVYEHAA.js} +5 -5
- package/dist/{backgroundChecks-VPUPJ7UI.js → backgroundChecks-DCBIYWIQ.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-JHIIDBJR.js → batchRender-ZZ4QMBAA.js} +14 -7
- package/dist/{beats-PZRVTRYW.js → beats-YEL65M6G.js} +53 -15
- package/dist/{benchmark-22UFDW2N.js → benchmark-RBTRPA76.js} +18 -14
- package/dist/{browser-VRDWYIUM.js → browser-BVAYXT4R.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-23QDKFSN.js → bundleWithLocalizedFonts-JLB2OYMT.js} +3 -3
- package/dist/{capture-TOCLXYMJ.js → capture-GBXTMYLZ.js} +76 -68
- package/dist/{capture-NFCBXHDE.js → capture-NIFX6IRS.js} +3 -3
- package/dist/{captureCompositionFrame-BEM6MF7F.js → captureCompositionFrame-ATNNKUL5.js} +17 -16
- package/dist/{catalog-NXS35KM7.js → catalog-AGIF5SM5.js} +18 -18
- package/dist/{catch-up-6WJBUI2C.js → catch-up-SZ3ULDTI.js} +7 -7
- package/dist/{check-WVEBMWN5.js → check-YLQS3TF4.js} +43 -42
- package/dist/{checkBrowser-RT45HJ36.js → checkBrowser-QH4FMCBO.js} +38 -37
- package/dist/{chunk-JOLZ3BSL.js → chunk-2LSCYS2H.js} +2 -2
- package/dist/{chunk-B2A56S5C.js → chunk-2MCXIY4B.js} +13 -10
- package/dist/{chunk-TADJOIFW.js → chunk-2NERNYCJ.js} +4 -4
- package/dist/{chunk-KGMHMYWI.js → chunk-2SFDWMSW.js} +2 -2
- package/dist/{chunk-DCAI5DBR.js → chunk-2ST4WAFY.js} +9 -1
- package/dist/{chunk-3NRB7YXW.js → chunk-2VXY3PEF.js} +96 -67
- package/dist/{chunk-IXLUTE6N.js → chunk-3422KMTD.js} +5 -1
- package/dist/{chunk-VYQYVYQ5.js → chunk-3W4B6G7Y.js} +83 -45
- package/dist/{chunk-JYSSPQDT.js → chunk-4LXZJIVY.js} +11 -11
- package/dist/{chunk-WHAEJX26.js → chunk-4PPWAQYV.js} +17 -12
- package/dist/{chunk-COWQITWP.js → chunk-4TKJWWPL.js} +1 -1
- package/dist/{chunk-NXMYHJAL.js → chunk-4VYPICIA.js} +29 -1
- package/dist/{chunk-RE3EEBWC.js → chunk-5J6TWLFG.js} +4 -4
- package/dist/{chunk-TFMZ4RKM.js → chunk-6DLCOQR4.js} +474 -429
- package/dist/{chunk-KV72BP7O.js → chunk-6LWUPIKD.js} +11 -11
- package/dist/{chunk-HRPWRZGF.js → chunk-6N65ZMC5.js} +1 -1
- package/dist/{chunk-XUXGIA7H.js → chunk-6NLPPKBO.js} +1 -2
- package/dist/{chunk-JJJCFKMF.js → chunk-6XUJVEY2.js} +17 -6
- package/dist/{chunk-GM3WIOO6.js → chunk-7HTH5PFK.js} +2 -2
- package/dist/{chunk-LBNEH6IQ.js → chunk-7QNIXBQD.js} +1 -1
- package/dist/{chunk-OV6KHXLX.js → chunk-7YKJF5JV.js} +1 -1
- package/dist/{chunk-COETAXRN.js → chunk-7YSFE4SZ.js} +2 -2
- package/dist/{chunk-3WJT2JCX.js → chunk-AR3DQYRR.js} +52 -23
- package/dist/{chunk-HYW6HTAK.js → chunk-BJAS2JLW.js} +2 -2
- package/dist/{chunk-RWYUK7LM.js → chunk-BP4EMEGH.js} +2 -2
- package/dist/{chunk-XGHHVYC7.js → chunk-BY6OQ6XP.js} +2 -2
- package/dist/{chunk-TMBUBLZB.js → chunk-C4Y3ZREE.js} +185 -46
- package/dist/{chunk-JQYJXUJW.js → chunk-C6KE4AFW.js} +1 -1
- package/dist/{chunk-TMK4Q7JA.js → chunk-CFUCHO4T.js} +20 -5
- package/dist/{chunk-JGTRVG32.js → chunk-CGTZOY53.js} +1 -1
- package/dist/chunk-CZGHFATT.js +31 -0
- package/dist/{chunk-NJGTNWQY.js → chunk-D625D4TV.js} +6 -6
- package/dist/{chunk-CYBXXSC4.js → chunk-DIKAPMMF.js} +2 -2
- package/dist/{chunk-CXMXJEVY.js → chunk-DSQ72G5I.js} +1 -1
- package/dist/{chunk-GLG5JWLI.js → chunk-DYNHVCBF.js} +2 -2
- package/dist/{chunk-7L37AB57.js → chunk-E3P3LJG6.js} +9 -9
- package/dist/{chunk-EFCKV7MY.js → chunk-E77ALFLW.js} +1 -1
- package/dist/{chunk-WQ3X5OH4.js → chunk-EFXMETRK.js} +2 -2
- package/dist/{chunk-7KVVNF7B.js → chunk-ELP5QZWL.js} +1 -1
- package/dist/{chunk-QH3T4WI2.js → chunk-EXAX37XR.js} +8 -2
- package/dist/{chunk-7A65UCMI.js → chunk-F5LLORBP.js} +2 -2
- package/dist/{chunk-EI7FP7F3.js → chunk-FBVUAH7N.js} +12 -2
- package/dist/{chunk-XWOCXIKR.js → chunk-GKHMSSGY.js} +1 -1
- package/dist/{chunk-DOOSC34Z.js → chunk-GR5DQKDR.js} +8 -8
- package/dist/{chunk-W64L7IFS.js → chunk-IW5G323T.js} +1 -1
- package/dist/{chunk-NAUKCKCJ.js → chunk-KU3UFQN7.js} +9 -12
- package/dist/{chunk-NMDUSCCE.js → chunk-L4JB7LI4.js} +478 -129
- package/dist/{chunk-ALEF2F5N.js → chunk-L5YLA54L.js} +2 -2
- package/dist/{chunk-MSM6VRQ4.js → chunk-LFUVTS6V.js} +2 -2
- package/dist/{chunk-7ZJEQY7Q.js → chunk-LMNZLZMJ.js} +23 -3
- package/dist/{chunk-AQB5M53R.js → chunk-M3KZBDPB.js} +3 -3
- package/dist/{chunk-BFFLKQVB.js → chunk-MFUNDJEV.js} +4 -4
- package/dist/{chunk-7NKJS5KM.js → chunk-OFV3WSOE.js} +1 -1
- package/dist/{chunk-CINKQY6M.js → chunk-OFYW4J7Y.js} +3 -3
- package/dist/{chunk-5C7R55BJ.js → chunk-P2I4RLJE.js} +1 -1
- package/dist/{chunk-RUOG4VB7.js → chunk-PKZ7RK5N.js} +5 -4
- package/dist/{chunk-LLFQA7XF.js → chunk-QFPBRZJD.js} +1 -1
- package/dist/{chunk-TRZVS6TL.js → chunk-QKX7ITER.js} +3 -3
- package/dist/{chunk-46HEFGXJ.js → chunk-REUL2KH2.js} +1 -1
- package/dist/{chunk-TFGO5YMI.js → chunk-RTLPWOO6.js} +2 -2
- package/dist/{chunk-DYAPHNV6.js → chunk-RWGASWT7.js} +1 -1
- package/dist/chunk-RXATE6FZ.js +385 -0
- package/dist/{chunk-U5GTDAQL.js → chunk-SOY2FPOR.js} +7 -7
- package/dist/{chunk-KNU5COPB.js → chunk-T2EUWCJE.js} +1 -1
- package/dist/{chunk-RQBB7PYT.js → chunk-TY3LDJA3.js} +5 -12
- package/dist/{chunk-KAC2WR7P.js → chunk-TZEKVLPV.js} +3 -3
- package/dist/{chunk-TJKE4EYX.js → chunk-UB7BIDBS.js} +3 -3
- package/dist/{chunk-WY3TQ2PT.js → chunk-UIC7B5KW.js} +2 -2
- package/dist/{chunk-2WNVHZHA.js → chunk-UNATIAOT.js} +13 -13
- package/dist/chunk-USWPZXEA.js +3897 -0
- package/dist/{chunk-FBDOHH3Q.js → chunk-V7ZA2BNW.js} +29 -59
- package/dist/{chunk-7LUJE3II.js → chunk-VLLFORE2.js} +1 -1
- package/dist/{chunk-T5YF32WV.js → chunk-VPC4XIVI.js} +6 -5
- package/dist/{chunk-7FF36MAD.js → chunk-VW63MHQU.js} +9 -6
- package/dist/{chunk-ZHKUIC7X.js → chunk-WFS6S65A.js} +21 -14
- package/dist/{chunk-UNR3P7IF.js → chunk-WIVOXGEP.js} +3 -3
- package/dist/{chunk-3XI7MIZB.js → chunk-X5CECNCK.js} +1 -1
- package/dist/{chunk-KHCTBZGJ.js → chunk-XQPA4W3M.js} +4 -4
- package/dist/{chunk-XMSQRDAK.js → chunk-YS4JUGNI.js} +2 -2
- package/dist/{chunk-SMEF3TRJ.js → chunk-ZH7J2ZUL.js} +15 -15
- package/dist/{chunk-WJEVUPVD.js → chunk-ZT45TCY3.js} +1 -1
- package/dist/{chunk-JTPHFYZI.js → chunk-ZTKFRXJB.js} +68 -7
- package/dist/{chunk-W3CS2KFV.js → chunk-ZZPBXRYQ.js} +2 -2
- package/dist/{clean-3VIU2BSK.js → clean-5HGESK5A.js} +40 -27
- package/dist/cli.js +70 -68
- package/dist/{cloud-NA3J4XW2.js → cloud-746PHS32.js} +4 -4
- package/dist/{cloudrun-4MHOF7UT.js → cloudrun-DO7WFLSM.js} +9 -9
- package/dist/commands/contrast-audit.browser.js +1 -1
- package/dist/{compare-ZR7XRPPT.js → compare-66YPRNG2.js} +76 -47
- package/dist/{compiler-MA2ELZPG.js → compiler-R4UYDWXO.js} +8 -7
- package/dist/{component-ZJSOPUAM.js → component-EQ3H6RFP.js} +3 -3
- package/dist/{compositions-WA5V2SHF.js → compositions-ZZ7P5HT2.js} +19 -17
- package/dist/{contactSheet-CAGMKI3E.js → contactSheet-SZBJDOMT.js} +2 -2
- package/dist/{delete-UC427UEA.js → delete-Z5MSLJSR.js} +7 -7
- package/dist/{deploy-B5UO4UIK.js → deploy-RGSAC2K5.js} +1 -1
- package/dist/{deterministicFonts-EGAAE7QL.js → deterministicFonts-RO2TCMLZ.js} +3 -3
- package/dist/{dist-XGPSPKKP.js → dist-QQ26RUDV.js} +5 -4
- package/dist/{dist-BPK37SAB.js → dist-RKK4YLAD.js} +5 -5
- package/dist/{doctor-ZERCTKEK.js → doctor-W4ZZDRTU.js} +20 -19
- package/dist/{events-DCOZQERS.js → events-BSSL4A4W.js} +4 -4
- package/dist/{events-CNIXB2QK.js → events-UACT7PX3.js} +5 -5
- package/dist/{feedback-YBD5ITTY.js → feedback-47ILDLQG.js} +16 -16
- package/dist/{ffmpeg-V4BBFDTG.js → ffmpeg-IEHSUNUT.js} +13 -12
- package/dist/{figma-Z45ZYVGE.js → figma-PLFIIYRU.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -13
- package/dist/{get-23NXQWCD.js → get-PDWGJYNL.js} +7 -7
- package/dist/{gpuPolicy-H6ABHVEB.js → gpuPolicy-6UBXO6ME.js} +11 -10
- package/dist/{grade-compare-ZPX2G3UV.js → grade-compare-5VWLQGM7.js} +38 -37
- package/dist/{gsapParserAcorn-SKODXC2N.js → gsapParserAcorn-OOTY2MVN.js} +2 -2
- package/dist/{help-EP4CDPLO.js → help-DS3KMWYO.js} +1 -1
- package/dist/{history-E5OSXO74.js → history-OC326NVZ.js} +41 -17
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +1 -1
- package/dist/{info-2HHGSW5H.js → info-AUIFV6MX.js} +56 -22
- package/dist/{init-ENEG6RZT.js → init-MRTWWDFW.js} +38 -45
- package/dist/{inspect-PVQK4E2A.js → inspect-55NOAXI2.js} +36 -35
- package/dist/{installer-YGGLEOSF.js → installer-YSFFGBBV.js} +8 -8
- package/dist/{keyframes-UWSYS2SL.js → keyframes-OO2BX2IB.js} +13 -14
- package/dist/{lambda-L3LPXC2M.js → lambda-CXXY6QT3.js} +11 -11
- package/dist/{layout-JVL4QREC.js → layout-57GJXKDK.js} +36 -35
- package/dist/{lint-JXQ72DDB.js → lint-J4FK3Z6G.js} +23 -16
- package/dist/{lintProject-F7IC7WY4.js → lintProject-52SLJPRC.js} +5 -4
- package/dist/{list-UFMLM3VV.js → list-VDQUJ76B.js} +7 -7
- package/dist/{login-CKGMWQJN.js → login-TJSEALWW.js} +7 -7
- package/dist/{logout-DDC4QLVK.js → logout-JYFWWUGK.js} +3 -3
- package/dist/{manager-U6OP3EXB.js → manager-4PLYEEWP.js} +14 -13
- package/dist/{manager-UHWEKPXC.js → manager-MZIJY73J.js} +3 -3
- package/dist/{media-treatment-MFMEWCDY.js → media-treatment-GXP4PMJH.js} +20 -19
- package/dist/{models-QA3TJ75Y.js → models-HQQQKEEP.js} +18 -17
- package/dist/{motionShot-NV2OPJHD.js → motionShot-2BT5D7DC.js} +21 -20
- package/dist/{normalize-3AYFSN2F.js → normalize-FASIPBUM.js} +1 -1
- package/dist/{normalize-audio-JWJRUKK2.js → normalize-audio-SOLFMHNP.js} +12 -8
- package/dist/{open-PTJNDRER.js → open-KHEUODFQ.js} +18 -18
- package/dist/{parakeetRunner-B5FCWWOO.js → parakeetRunner-BHU5NCAX.js} +20 -19
- package/dist/{pipeline-N26NA6ZG.js → pipeline-WFV5HDTD.js} +15 -14
- package/dist/{play-45D6X6TV.js → play-GB34CANJ.js} +27 -26
- package/dist/{policies-MBWGLMWB.js → policies-GHVXA5PE.js} +1 -1
- package/dist/{preflight-MFOHPUOI.js → preflight-REF3VSJ7.js} +15 -14
- package/dist/{present-IFBUDI4D.js → present-SIUTA7TD.js} +24 -23
- package/dist/{preview-MQRLXQOV.js → preview-T2GE7Z4A.js} +27 -26
- package/dist/{producer-2QG7HLAW.js → producer-23KVQZAB.js} +1 -1
- package/dist/{projectConfig-I4FTZXHB.js → projectConfig-DBSNBPNP.js} +10 -10
- package/dist/{publication-3GOFXCGU.js → publication-IXPUKYWJ.js} +5 -5
- package/dist/{publish-3B2TZCFH.js → publish-3BA5VHXJ.js} +18 -17
- package/dist/{refresh-RXTOPRBB.js → refresh-USSFPJAU.js} +3 -3
- package/dist/{remove-background-RK4BJDBF.js → remove-background-RMSCJVVQ.js} +16 -15
- package/dist/{render-SJ4HFPFU.js → render-6RNE2MLU.js} +26 -25
- package/dist/{render-PW3XGS7B.js → render-XGOZMMWX.js} +42 -41
- package/dist/{render-BV6FWFX3.js → render-Y6CTQ3YW.js} +8 -8
- package/dist/{render-batch-GKX54O6N.js → render-batch-VUR6N6EY.js} +9 -9
- package/dist/renderSetupWorker.js +9 -8
- package/dist/{resolver-RQJ7CNXD.js → resolver-GJCUH57W.js} +7 -7
- package/dist/{screenshotCapture-UBY6TT75.js → screenshotCapture-I5EDCITF.js} +6 -3
- package/dist/{sherpa-XZPG7QFF.js → sherpa-VVAKRCPL.js} +19 -18
- package/dist/skills/hyperframes/references/format.md +1 -0
- package/dist/skills/hyperframes/references/skill-lifecycle.md +8 -4
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/{skills-EYLB2V6F.js → skills-ZHBURVQG.js} +13 -75
- package/dist/{skillsUpdateCheck-TE6K5ROM.js → skillsUpdateCheck-VMDAL2O2.js} +5 -5
- package/dist/{slideshow-YTWATJRT.js → slideshow-SJGK4RQS.js} +1 -1
- package/dist/{snapshot-FE4T3SCN.js → snapshot-KEOG56SL.js} +61 -53
- package/dist/{src-ZOXSEJCD.js → src-BH5NICGQ.js} +24 -9
- package/dist/{src-SEJ7LNNB.js → src-TZLGFRRX.js} +13 -12
- package/dist/{staticProjectServer-LSVIRDRO.js → staticProjectServer-BKXL5CXB.js} +22 -21
- package/dist/{status-CM7IQTU2.js → status-H5WLKQDS.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-Bv9hQ3v7.js → hyperframes-player-BMcUdmDb.js} +3 -3
- package/dist/studio/assets/{index-CBO8uz7-.css → index-CYbvOVp-.css} +1 -1
- package/dist/studio/assets/{index-D_QqfWhx.js → index-Ca-mgTnS.js} +122 -122
- package/dist/studio/assets/{index-Df14bh-L.js → index-Ci6GuloR.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-SL2Z76NU.js → studio-api-A5U6QAMC.js} +19 -14
- package/dist/{studioServer-BADWVIHU.js → studioServer-5EC5CP4W.js} +60 -59
- package/dist/{telemetry-QG5AANZ4.js → telemetry-4K6CPMNT.js} +2 -2
- package/dist/{telemetry-RN6VYEID.js → telemetry-BCKJXDSW.js} +5 -5
- package/dist/{timeline-JBTCIPLU.js → timeline-AZWAXTAY.js} +65 -43
- package/dist/{tokens-A7V7UHNK.js → tokens-X7NC3V7C.js} +2 -2
- package/dist/{transcribe-E4BOSNM4.js → transcribe-7NCY7QZ2.js} +17 -16
- package/dist/{transcribe-NTUCJGFI.js → transcribe-SH26H755.js} +26 -25
- package/dist/{tts-A2WILYGN.js → tts-5I2AJNLM.js} +1 -1
- package/dist/{updateCheck-M7UAYLUR.js → updateCheck-Y7FUWQM4.js} +4 -4
- package/dist/{upgrade-A2COSIMB.js → upgrade-ZHGEVL65.js} +4 -4
- package/dist/{urlDownloader-MBSQYART.js → urlDownloader-FPILIT7M.js} +10 -9
- package/dist/{validate-NODZYBHY.js → validate-KQOZR4F6.js} +30 -29
- package/dist/{video-LBCUUYK7.js → video-N2QAETFB.js} +12 -11
- package/dist/warmCheck.js +43 -42
- package/package.json +2 -1
- package/dist/chunk-I5JRXMCV.js +0 -6077
- package/dist/chunk-LM265QNK.js +0 -3896
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UNATIAOT.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-USWPZXEA.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.193" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.193" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-K2FLNJVB.js";
|
|
10
10
|
import {
|
|
11
11
|
trackCommandFailure
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RTLPWOO6.js";
|
|
13
13
|
import {
|
|
14
14
|
failCommand
|
|
15
15
|
} from "./chunk-JVBRJMOP.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/project.ts
|
|
18
18
|
import { existsSync, statSync } from "fs";
|
|
19
|
-
import { resolve,
|
|
19
|
+
import { basename, dirname, join, relative, resolve, sep } from "path";
|
|
20
20
|
var InvalidProjectError = class extends Error {
|
|
21
21
|
title;
|
|
22
22
|
hint;
|
|
@@ -65,8 +65,28 @@ function resolveProject(dirArg, options = {}) {
|
|
|
65
65
|
throw err;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
function projectHolding(file) {
|
|
69
|
+
for (let dir = dirname(file); ; dir = dirname(dir)) {
|
|
70
|
+
if (existsSync(join(dir, "index.html"))) return dir;
|
|
71
|
+
if (dirname(dir) === dir) return dirname(file);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
function resolveLintTarget(arg) {
|
|
75
|
+
const file = arg === void 0 ? void 0 : resolve(arg);
|
|
76
|
+
if (file === void 0 || !statSync(file, { throwIfNoEntry: false })?.isFile()) {
|
|
77
|
+
return { project: resolveProject(arg) };
|
|
78
|
+
}
|
|
79
|
+
const dir = projectHolding(file);
|
|
80
|
+
const project = resolveProject(dir, { requireIndex: false });
|
|
81
|
+
return file === project.indexPath ? { project } : { project, entryFile: file };
|
|
82
|
+
}
|
|
83
|
+
function isUnderCompositions(projectDir, file) {
|
|
84
|
+
return relative(projectDir, file).split(sep)[0] === "compositions";
|
|
85
|
+
}
|
|
68
86
|
|
|
69
87
|
export {
|
|
70
88
|
resolveProjectOrThrow,
|
|
71
|
-
resolveProject
|
|
89
|
+
resolveProject,
|
|
90
|
+
resolveLintTarget,
|
|
91
|
+
isUnderCompositions
|
|
72
92
|
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BP4EMEGH.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VLLFORE2.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DYNHVCBF.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
pinnedPackageBesideCli,
|
|
17
17
|
runNpm,
|
|
18
18
|
sweepStaleStaging
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EXAX37XR.js";
|
|
20
20
|
import {
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-M3KZBDPB.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BP4EMEGH.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VLLFORE2.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RTLPWOO6.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZZPBXRYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2VXY3PEF.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -5,11 +5,12 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
parse,
|
|
9
8
|
simple
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RXATE6FZ.js";
|
|
11
10
|
|
|
12
11
|
// ../parsers/dist/composition.js
|
|
12
|
+
import * as acorn from "acorn";
|
|
13
|
+
import * as acorn2 from "acorn";
|
|
13
14
|
var CANVAS_DIMENSIONS = {
|
|
14
15
|
landscape: { width: 1920, height: 1080 },
|
|
15
16
|
portrait: { width: 1080, height: 1920 },
|
|
@@ -198,9 +199,9 @@ var HTML_BODY_CSS_HEIGHT_FIRST_RE = /(html\s*,\s*body\s*\{[^}]*?height:\s*)(\d+)
|
|
|
198
199
|
var VIEWPORT_META_SIZE_RE = /(<meta[^>]*name=["']viewport["'][^>]*content=["']width=)(\d+)(,\s*height=)(\d+)/i;
|
|
199
200
|
function parseProgram(script) {
|
|
200
201
|
try {
|
|
201
|
-
return parse(script, { ecmaVersion: "latest", sourceType: "script" });
|
|
202
|
+
return acorn2.parse(script, { ecmaVersion: "latest", sourceType: "script" });
|
|
202
203
|
} catch {
|
|
203
|
-
return parse(script, { ecmaVersion: "latest", sourceType: "module" });
|
|
204
|
+
return acorn2.parse(script, { ecmaVersion: "latest", sourceType: "module" });
|
|
204
205
|
}
|
|
205
206
|
}
|
|
206
207
|
function literalString(node) {
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7QNIXBQD.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7HTH5PFK.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
22
22
|
import {
|
|
23
23
|
isCompositionVariable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PKZ7RK5N.js";
|
|
25
25
|
|
|
26
26
|
// src/registry/installer.ts
|
|
27
27
|
import { createHash } from "crypto";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VALID_CANVAS_RESOLUTIONS,
|
|
9
9
|
resolveResolutionFlagPair
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2MCXIY4B.js";
|
|
11
11
|
|
|
12
12
|
// src/utils/parseOutputResolution.ts
|
|
13
13
|
function parseOutputResolutionFlag(raw, options) {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZZPBXRYQ.js";
|
|
12
12
|
import {
|
|
13
13
|
CliRuntimeError
|
|
14
14
|
} from "./chunk-JVBRJMOP.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-T6AGUTZJ.js";
|
|
21
21
|
import {
|
|
22
22
|
readConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6NLPPKBO.js";
|
|
24
24
|
|
|
25
25
|
// src/utils/feedbackRating.ts
|
|
26
26
|
var FEEDBACK_RATING_SCALE = 10;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
normalizeErrorMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T2EUWCJE.js";
|
|
10
10
|
import {
|
|
11
11
|
terminateProcessTree
|
|
12
12
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// ../../node_modules/.bun/acorn-walk@8.3.5/node_modules/acorn-walk/dist/walk.mjs
|
|
9
|
+
function simple(node, visitors, baseVisitor, state, override) {
|
|
10
|
+
if (!baseVisitor) {
|
|
11
|
+
baseVisitor = base;
|
|
12
|
+
}
|
|
13
|
+
(function c(node2, st, override2) {
|
|
14
|
+
var type = override2 || node2.type;
|
|
15
|
+
visitNode(baseVisitor, type, node2, st, c);
|
|
16
|
+
if (visitors[type]) {
|
|
17
|
+
visitors[type](node2, st);
|
|
18
|
+
}
|
|
19
|
+
})(node, state, override);
|
|
20
|
+
}
|
|
21
|
+
function ancestor(node, visitors, baseVisitor, state, override) {
|
|
22
|
+
var ancestors = [];
|
|
23
|
+
if (!baseVisitor) {
|
|
24
|
+
baseVisitor = base;
|
|
25
|
+
}
|
|
26
|
+
(function c(node2, st, override2) {
|
|
27
|
+
var type = override2 || node2.type;
|
|
28
|
+
var isNew = node2 !== ancestors[ancestors.length - 1];
|
|
29
|
+
if (isNew) {
|
|
30
|
+
ancestors.push(node2);
|
|
31
|
+
}
|
|
32
|
+
visitNode(baseVisitor, type, node2, st, c);
|
|
33
|
+
if (visitors[type]) {
|
|
34
|
+
visitors[type](node2, st || ancestors, ancestors);
|
|
35
|
+
}
|
|
36
|
+
if (isNew) {
|
|
37
|
+
ancestors.pop();
|
|
38
|
+
}
|
|
39
|
+
})(node, state, override);
|
|
40
|
+
}
|
|
41
|
+
function recursive(node, state, funcs, baseVisitor, override) {
|
|
42
|
+
var visitor = funcs ? make(funcs, baseVisitor || void 0) : baseVisitor;
|
|
43
|
+
(function c(node2, st, override2) {
|
|
44
|
+
visitor[override2 || node2.type](node2, st, c);
|
|
45
|
+
})(node, state, override);
|
|
46
|
+
}
|
|
47
|
+
function full(node, callback, baseVisitor, state, override) {
|
|
48
|
+
if (!baseVisitor) {
|
|
49
|
+
baseVisitor = base;
|
|
50
|
+
}
|
|
51
|
+
var last;
|
|
52
|
+
(function c(node2, st, override2) {
|
|
53
|
+
var type = override2 || node2.type;
|
|
54
|
+
visitNode(baseVisitor, type, node2, st, c);
|
|
55
|
+
if (last !== node2) {
|
|
56
|
+
callback(node2, st, type);
|
|
57
|
+
last = node2;
|
|
58
|
+
}
|
|
59
|
+
})(node, state, override);
|
|
60
|
+
}
|
|
61
|
+
function make(funcs, baseVisitor) {
|
|
62
|
+
var visitor = Object.create(baseVisitor || base);
|
|
63
|
+
for (var type in funcs) {
|
|
64
|
+
visitor[type] = funcs[type];
|
|
65
|
+
}
|
|
66
|
+
return visitor;
|
|
67
|
+
}
|
|
68
|
+
function skipThrough(node, st, c) {
|
|
69
|
+
c(node, st);
|
|
70
|
+
}
|
|
71
|
+
function ignore(_node, _st, _c) {
|
|
72
|
+
}
|
|
73
|
+
function visitNode(baseVisitor, type, node, st, c) {
|
|
74
|
+
if (baseVisitor[type] == null) {
|
|
75
|
+
throw new Error("No walker function defined for node type " + type);
|
|
76
|
+
}
|
|
77
|
+
baseVisitor[type](node, st, c);
|
|
78
|
+
}
|
|
79
|
+
var base = {};
|
|
80
|
+
base.Program = base.BlockStatement = base.StaticBlock = function(node, st, c) {
|
|
81
|
+
for (var i = 0, list = node.body; i < list.length; i += 1) {
|
|
82
|
+
var stmt = list[i];
|
|
83
|
+
c(stmt, st, "Statement");
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
base.Statement = skipThrough;
|
|
87
|
+
base.EmptyStatement = ignore;
|
|
88
|
+
base.ExpressionStatement = base.ParenthesizedExpression = base.ChainExpression = function(node, st, c) {
|
|
89
|
+
return c(node.expression, st, "Expression");
|
|
90
|
+
};
|
|
91
|
+
base.IfStatement = function(node, st, c) {
|
|
92
|
+
c(node.test, st, "Expression");
|
|
93
|
+
c(node.consequent, st, "Statement");
|
|
94
|
+
if (node.alternate) {
|
|
95
|
+
c(node.alternate, st, "Statement");
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
base.LabeledStatement = function(node, st, c) {
|
|
99
|
+
return c(node.body, st, "Statement");
|
|
100
|
+
};
|
|
101
|
+
base.BreakStatement = base.ContinueStatement = ignore;
|
|
102
|
+
base.WithStatement = function(node, st, c) {
|
|
103
|
+
c(node.object, st, "Expression");
|
|
104
|
+
c(node.body, st, "Statement");
|
|
105
|
+
};
|
|
106
|
+
base.SwitchStatement = function(node, st, c) {
|
|
107
|
+
c(node.discriminant, st, "Expression");
|
|
108
|
+
for (var i = 0, list = node.cases; i < list.length; i += 1) {
|
|
109
|
+
var cs = list[i];
|
|
110
|
+
c(cs, st);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
base.SwitchCase = function(node, st, c) {
|
|
114
|
+
if (node.test) {
|
|
115
|
+
c(node.test, st, "Expression");
|
|
116
|
+
}
|
|
117
|
+
for (var i = 0, list = node.consequent; i < list.length; i += 1) {
|
|
118
|
+
var cons = list[i];
|
|
119
|
+
c(cons, st, "Statement");
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
base.ReturnStatement = base.YieldExpression = base.AwaitExpression = function(node, st, c) {
|
|
123
|
+
if (node.argument) {
|
|
124
|
+
c(node.argument, st, "Expression");
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
base.ThrowStatement = base.SpreadElement = function(node, st, c) {
|
|
128
|
+
return c(node.argument, st, "Expression");
|
|
129
|
+
};
|
|
130
|
+
base.TryStatement = function(node, st, c) {
|
|
131
|
+
c(node.block, st, "Statement");
|
|
132
|
+
if (node.handler) {
|
|
133
|
+
c(node.handler, st);
|
|
134
|
+
}
|
|
135
|
+
if (node.finalizer) {
|
|
136
|
+
c(node.finalizer, st, "Statement");
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
base.CatchClause = function(node, st, c) {
|
|
140
|
+
if (node.param) {
|
|
141
|
+
c(node.param, st, "Pattern");
|
|
142
|
+
}
|
|
143
|
+
c(node.body, st, "Statement");
|
|
144
|
+
};
|
|
145
|
+
base.WhileStatement = base.DoWhileStatement = function(node, st, c) {
|
|
146
|
+
c(node.test, st, "Expression");
|
|
147
|
+
c(node.body, st, "Statement");
|
|
148
|
+
};
|
|
149
|
+
base.ForStatement = function(node, st, c) {
|
|
150
|
+
if (node.init) {
|
|
151
|
+
c(node.init, st, "ForInit");
|
|
152
|
+
}
|
|
153
|
+
if (node.test) {
|
|
154
|
+
c(node.test, st, "Expression");
|
|
155
|
+
}
|
|
156
|
+
if (node.update) {
|
|
157
|
+
c(node.update, st, "Expression");
|
|
158
|
+
}
|
|
159
|
+
c(node.body, st, "Statement");
|
|
160
|
+
};
|
|
161
|
+
base.ForInStatement = base.ForOfStatement = function(node, st, c) {
|
|
162
|
+
c(node.left, st, "ForInit");
|
|
163
|
+
c(node.right, st, "Expression");
|
|
164
|
+
c(node.body, st, "Statement");
|
|
165
|
+
};
|
|
166
|
+
base.ForInit = function(node, st, c) {
|
|
167
|
+
if (node.type === "VariableDeclaration") {
|
|
168
|
+
c(node, st);
|
|
169
|
+
} else {
|
|
170
|
+
c(node, st, "Expression");
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
base.DebuggerStatement = ignore;
|
|
174
|
+
base.FunctionDeclaration = function(node, st, c) {
|
|
175
|
+
return c(node, st, "Function");
|
|
176
|
+
};
|
|
177
|
+
base.VariableDeclaration = function(node, st, c) {
|
|
178
|
+
for (var i = 0, list = node.declarations; i < list.length; i += 1) {
|
|
179
|
+
var decl = list[i];
|
|
180
|
+
c(decl, st);
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
base.VariableDeclarator = function(node, st, c) {
|
|
184
|
+
c(node.id, st, "Pattern");
|
|
185
|
+
if (node.init) {
|
|
186
|
+
c(node.init, st, "Expression");
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
base.Function = function(node, st, c) {
|
|
190
|
+
if (node.id) {
|
|
191
|
+
c(node.id, st, "Pattern");
|
|
192
|
+
}
|
|
193
|
+
for (var i = 0, list = node.params; i < list.length; i += 1) {
|
|
194
|
+
var param = list[i];
|
|
195
|
+
c(param, st, "Pattern");
|
|
196
|
+
}
|
|
197
|
+
c(node.body, st, node.expression ? "Expression" : "Statement");
|
|
198
|
+
};
|
|
199
|
+
base.Pattern = function(node, st, c) {
|
|
200
|
+
if (node.type === "Identifier") {
|
|
201
|
+
c(node, st, "VariablePattern");
|
|
202
|
+
} else if (node.type === "MemberExpression") {
|
|
203
|
+
c(node, st, "MemberPattern");
|
|
204
|
+
} else {
|
|
205
|
+
c(node, st);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
base.VariablePattern = ignore;
|
|
209
|
+
base.MemberPattern = skipThrough;
|
|
210
|
+
base.RestElement = function(node, st, c) {
|
|
211
|
+
return c(node.argument, st, "Pattern");
|
|
212
|
+
};
|
|
213
|
+
base.ArrayPattern = function(node, st, c) {
|
|
214
|
+
for (var i = 0, list = node.elements; i < list.length; i += 1) {
|
|
215
|
+
var elt = list[i];
|
|
216
|
+
if (elt) {
|
|
217
|
+
c(elt, st, "Pattern");
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
base.ObjectPattern = function(node, st, c) {
|
|
222
|
+
for (var i = 0, list = node.properties; i < list.length; i += 1) {
|
|
223
|
+
var prop = list[i];
|
|
224
|
+
if (prop.type === "Property") {
|
|
225
|
+
if (prop.computed) {
|
|
226
|
+
c(prop.key, st, "Expression");
|
|
227
|
+
}
|
|
228
|
+
c(prop.value, st, "Pattern");
|
|
229
|
+
} else if (prop.type === "RestElement") {
|
|
230
|
+
c(prop.argument, st, "Pattern");
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
base.Expression = skipThrough;
|
|
235
|
+
base.ThisExpression = base.Super = base.MetaProperty = ignore;
|
|
236
|
+
base.ArrayExpression = function(node, st, c) {
|
|
237
|
+
for (var i = 0, list = node.elements; i < list.length; i += 1) {
|
|
238
|
+
var elt = list[i];
|
|
239
|
+
if (elt) {
|
|
240
|
+
c(elt, st, "Expression");
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
base.ObjectExpression = function(node, st, c) {
|
|
245
|
+
for (var i = 0, list = node.properties; i < list.length; i += 1) {
|
|
246
|
+
var prop = list[i];
|
|
247
|
+
c(prop, st);
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
base.FunctionExpression = base.ArrowFunctionExpression = base.FunctionDeclaration;
|
|
251
|
+
base.SequenceExpression = function(node, st, c) {
|
|
252
|
+
for (var i = 0, list = node.expressions; i < list.length; i += 1) {
|
|
253
|
+
var expr = list[i];
|
|
254
|
+
c(expr, st, "Expression");
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
base.TemplateLiteral = function(node, st, c) {
|
|
258
|
+
for (var i = 0, list = node.quasis; i < list.length; i += 1) {
|
|
259
|
+
var quasi = list[i];
|
|
260
|
+
c(quasi, st);
|
|
261
|
+
}
|
|
262
|
+
for (var i$1 = 0, list$1 = node.expressions; i$1 < list$1.length; i$1 += 1) {
|
|
263
|
+
var expr = list$1[i$1];
|
|
264
|
+
c(expr, st, "Expression");
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
base.TemplateElement = ignore;
|
|
268
|
+
base.UnaryExpression = base.UpdateExpression = function(node, st, c) {
|
|
269
|
+
c(node.argument, st, "Expression");
|
|
270
|
+
};
|
|
271
|
+
base.BinaryExpression = base.LogicalExpression = function(node, st, c) {
|
|
272
|
+
c(node.left, st, "Expression");
|
|
273
|
+
c(node.right, st, "Expression");
|
|
274
|
+
};
|
|
275
|
+
base.AssignmentExpression = base.AssignmentPattern = function(node, st, c) {
|
|
276
|
+
c(node.left, st, "Pattern");
|
|
277
|
+
c(node.right, st, "Expression");
|
|
278
|
+
};
|
|
279
|
+
base.ConditionalExpression = function(node, st, c) {
|
|
280
|
+
c(node.test, st, "Expression");
|
|
281
|
+
c(node.consequent, st, "Expression");
|
|
282
|
+
c(node.alternate, st, "Expression");
|
|
283
|
+
};
|
|
284
|
+
base.NewExpression = base.CallExpression = function(node, st, c) {
|
|
285
|
+
c(node.callee, st, "Expression");
|
|
286
|
+
if (node.arguments) {
|
|
287
|
+
for (var i = 0, list = node.arguments; i < list.length; i += 1) {
|
|
288
|
+
var arg = list[i];
|
|
289
|
+
c(arg, st, "Expression");
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
base.MemberExpression = function(node, st, c) {
|
|
294
|
+
c(node.object, st, "Expression");
|
|
295
|
+
if (node.computed) {
|
|
296
|
+
c(node.property, st, "Expression");
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
base.ExportNamedDeclaration = base.ExportDefaultDeclaration = function(node, st, c) {
|
|
300
|
+
if (node.declaration) {
|
|
301
|
+
c(node.declaration, st, node.type === "ExportNamedDeclaration" || node.declaration.id ? "Statement" : "Expression");
|
|
302
|
+
}
|
|
303
|
+
if (node.source) {
|
|
304
|
+
c(node.source, st, "Expression");
|
|
305
|
+
}
|
|
306
|
+
if (node.attributes) {
|
|
307
|
+
for (var i = 0, list = node.attributes; i < list.length; i += 1) {
|
|
308
|
+
var attr = list[i];
|
|
309
|
+
c(attr, st);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
base.ExportAllDeclaration = function(node, st, c) {
|
|
314
|
+
if (node.exported) {
|
|
315
|
+
c(node.exported, st);
|
|
316
|
+
}
|
|
317
|
+
c(node.source, st, "Expression");
|
|
318
|
+
if (node.attributes) {
|
|
319
|
+
for (var i = 0, list = node.attributes; i < list.length; i += 1) {
|
|
320
|
+
var attr = list[i];
|
|
321
|
+
c(attr, st);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
base.ImportAttribute = function(node, st, c) {
|
|
326
|
+
c(node.value, st, "Expression");
|
|
327
|
+
};
|
|
328
|
+
base.ImportDeclaration = function(node, st, c) {
|
|
329
|
+
for (var i = 0, list = node.specifiers; i < list.length; i += 1) {
|
|
330
|
+
var spec = list[i];
|
|
331
|
+
c(spec, st);
|
|
332
|
+
}
|
|
333
|
+
c(node.source, st, "Expression");
|
|
334
|
+
if (node.attributes) {
|
|
335
|
+
for (var i$1 = 0, list$1 = node.attributes; i$1 < list$1.length; i$1 += 1) {
|
|
336
|
+
var attr = list$1[i$1];
|
|
337
|
+
c(attr, st);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
base.ImportExpression = function(node, st, c) {
|
|
342
|
+
c(node.source, st, "Expression");
|
|
343
|
+
if (node.options) {
|
|
344
|
+
c(node.options, st, "Expression");
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
base.ImportSpecifier = base.ImportDefaultSpecifier = base.ImportNamespaceSpecifier = base.Identifier = base.PrivateIdentifier = base.Literal = ignore;
|
|
348
|
+
base.TaggedTemplateExpression = function(node, st, c) {
|
|
349
|
+
c(node.tag, st, "Expression");
|
|
350
|
+
c(node.quasi, st, "Expression");
|
|
351
|
+
};
|
|
352
|
+
base.ClassDeclaration = base.ClassExpression = function(node, st, c) {
|
|
353
|
+
return c(node, st, "Class");
|
|
354
|
+
};
|
|
355
|
+
base.Class = function(node, st, c) {
|
|
356
|
+
if (node.id) {
|
|
357
|
+
c(node.id, st, "Pattern");
|
|
358
|
+
}
|
|
359
|
+
if (node.superClass) {
|
|
360
|
+
c(node.superClass, st, "Expression");
|
|
361
|
+
}
|
|
362
|
+
c(node.body, st);
|
|
363
|
+
};
|
|
364
|
+
base.ClassBody = function(node, st, c) {
|
|
365
|
+
for (var i = 0, list = node.body; i < list.length; i += 1) {
|
|
366
|
+
var elt = list[i];
|
|
367
|
+
c(elt, st);
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
base.MethodDefinition = base.PropertyDefinition = base.Property = function(node, st, c) {
|
|
371
|
+
if (node.computed) {
|
|
372
|
+
c(node.key, st, "Expression");
|
|
373
|
+
}
|
|
374
|
+
if (node.value) {
|
|
375
|
+
c(node.value, st, "Expression");
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export {
|
|
380
|
+
simple,
|
|
381
|
+
ancestor,
|
|
382
|
+
recursive,
|
|
383
|
+
full,
|
|
384
|
+
base
|
|
385
|
+
};
|
|
@@ -6,35 +6,35 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OFV3WSOE.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MFUNDJEV.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-M3KZBDPB.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BP4EMEGH.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VLLFORE2.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
32
32
|
loadTranscript,
|
|
33
33
|
patchCaptionHtml
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CFUCHO4T.js";
|
|
35
35
|
import {
|
|
36
36
|
normalizeErrorMessage
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-T2EUWCJE.js";
|
|
38
38
|
import {
|
|
39
39
|
PARAKEET_INSTALL_COMMAND,
|
|
40
40
|
PARAKEET_LANGUAGES,
|