hyperframes 0.9.28 → 0.9.29
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-XQCABYNY.js → add-BRXFSBYO.js} +5 -5
- package/dist/{agentPromptGenerator-S2SYZY3A.js → agentPromptGenerator-NJL6ZJQA.js} +2 -2
- package/dist/{animatedGifPrep-SACSOT4A.js → animatedGifPrep-AVZAMI2D.js} +2 -2
- package/dist/api.js +19 -19
- package/dist/{asset-JPI3LFG4.js → asset-FEAC2U74.js} +2 -2
- package/dist/{assetCataloger-TJQ5OLMV.js → assetCataloger-WGNEAI5A.js} +3 -3
- package/dist/{audio-RG6NXOMI.js → audio-PBKCPYW2.js} +7 -7
- package/dist/{auth-7G2OCS7L.js → auth-IPHKPGNV.js} +2 -2
- package/dist/{autoUpdate-7RS75ENY.js → autoUpdate-4HUTYRYX.js} +2 -2
- package/dist/{avatars-KWPVXWXC.js → avatars-U2XLC3OS.js} +6 -6
- package/dist/{backgroundChecks-5HHWQH5H.js → backgroundChecks-4Q4R56DT.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-XHKWF5KT.js → beats-VS4P6KKZ.js} +4 -4
- package/dist/{benchmark-57RNYMON.js → benchmark-MGDPACXB.js} +6 -6
- package/dist/{billing-FXAMQKDS.js → billing-JLASHFQM.js} +4 -4
- package/dist/{browser-TV2VPWQJ.js → browser-FU4TZSMT.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-YGHFRVJW.js → bundleWithLocalizedFonts-B2XFORNZ.js} +1 -1
- package/dist/{capture-GPT5V4ND.js → capture-CFESIHJR.js} +8 -8
- package/dist/{capture-LHPSRQ4R.js → capture-LL7WE2S7.js} +3 -3
- package/dist/{captureCompositionFrame-TLV2WC4Q.js → captureCompositionFrame-DABFEOQO.js} +5 -5
- package/dist/{catalog-7A3MMFTN.js → catalog-U6CHLXTI.js} +5 -5
- package/dist/{catch-up-SEGXPPOX.js → catch-up-DMREF334.js} +4 -4
- package/dist/{check-OP5AR33W.js → check-ILJC6WYD.js} +23 -23
- package/dist/{checkAudio-QDAUXX7W.js → checkAudio-MWSP2436.js} +4 -4
- package/dist/{checkBrowser-OGE3A52R.js → checkBrowser-HC3LYH6H.js} +17 -17
- package/dist/{chunk-MMCMEW7K.js → chunk-2YZ6GA4E.js} +1 -1
- package/dist/{chunk-VOVC3QCN.js → chunk-42MHKDVP.js} +1 -1
- package/dist/{chunk-YU2KLER7.js → chunk-47JZ2UQC.js} +1 -1
- package/dist/{chunk-7M26J4R3.js → chunk-4TCEF2I7.js} +1 -1
- package/dist/{chunk-UAEL2JEL.js → chunk-4TPTB6PY.js} +2 -2
- package/dist/{chunk-EOJ2PMOV.js → chunk-5QGDLMU3.js} +2 -2
- package/dist/{chunk-257XUBNU.js → chunk-5RLMHG3E.js} +1 -1
- package/dist/{chunk-AA2DNXEJ.js → chunk-6JAB5BHX.js} +7 -7
- package/dist/{chunk-LPB7T67S.js → chunk-72LMHSPL.js} +2 -2
- package/dist/{chunk-W7TS3CZA.js → chunk-74PW4UVC.js} +1 -1
- package/dist/{chunk-RFLV3WR5.js → chunk-76MHB2H6.js} +1 -1
- package/dist/{chunk-PL5C5FKM.js → chunk-77B6C7CU.js} +2 -2
- package/dist/{chunk-QT766HQV.js → chunk-7GJKUOPX.js} +14 -17
- package/dist/{chunk-VCMPKZFN.js → chunk-7TION72L.js} +11 -11
- package/dist/{chunk-SDYZOTB7.js → chunk-AOPNJEQC.js} +2 -2
- package/dist/{chunk-TTKJF3LI.js → chunk-BX2BIU6Z.js} +1 -1
- package/dist/{chunk-K77GTFH3.js → chunk-BYJEUZNT.js} +1 -1
- package/dist/{chunk-SJOA2RCP.js → chunk-C25RSEQN.js} +8 -8
- package/dist/{chunk-D5HNV6G6.js → chunk-DYKBB5HB.js} +1 -1
- package/dist/{chunk-W4EAYORI.js → chunk-EIVSIGS2.js} +3 -3
- package/dist/{chunk-PEJQV2RL.js → chunk-FJPHKCWU.js} +9 -9
- package/dist/{chunk-SQRI67KR.js → chunk-FNC3JNO7.js} +1 -1
- package/dist/{chunk-BF6RWOUF.js → chunk-FXPDWYD7.js} +100 -50
- package/dist/{chunk-L5KXLXFY.js → chunk-GISQ7VOP.js} +8 -8
- package/dist/{chunk-55ZEUSPW.js → chunk-GQNV4DG6.js} +1 -1
- package/dist/{chunk-5E6Y7CW3.js → chunk-GTUTZIRR.js} +1 -1
- package/dist/{chunk-MPKBIC4Z.js → chunk-H5BHEZ4B.js} +2 -2
- package/dist/{chunk-UVF4HXPW.js → chunk-HCC7XLD7.js} +2 -2
- package/dist/{chunk-ZWJ7PWTY.js → chunk-HLRYLZFX.js} +2 -2
- package/dist/{chunk-LXAJQXHM.js → chunk-ITWIFUDS.js} +1 -1
- package/dist/{chunk-E54N6IPY.js → chunk-IXMO4RXK.js} +2 -2
- package/dist/{chunk-GUHCMOE2.js → chunk-J7PDBGQM.js} +1 -1
- package/dist/{chunk-CSCK6RGC.js → chunk-JVAD6LD7.js} +31 -14
- package/dist/{chunk-V4M7PKBM.js → chunk-L6OXEDJQ.js} +2 -2
- package/dist/{chunk-CINCDA5M.js → chunk-LDTJCZZ2.js} +2 -2
- package/dist/{chunk-7FYGCIHK.js → chunk-MKZ34726.js} +2 -2
- package/dist/{chunk-O5P75JID.js → chunk-MTJ46TG7.js} +2 -2
- package/dist/{chunk-NXVDTRXA.js → chunk-NSQLSL42.js} +1 -1
- package/dist/{chunk-FBLCK3YJ.js → chunk-NXFUEPWT.js} +31 -17
- package/dist/{chunk-WMZDESYF.js → chunk-NZUUKNNZ.js} +1 -1
- package/dist/{chunk-EENM7GX3.js → chunk-OY4YSQBK.js} +1 -1
- package/dist/{chunk-IX22RYJO.js → chunk-PGZSYDLZ.js} +1 -1
- package/dist/{chunk-XPGH4KBU.js → chunk-PVRJKEU5.js} +1 -1
- package/dist/{chunk-P2A6MYSQ.js → chunk-Q7FX7HOX.js} +1 -1
- package/dist/{chunk-E3UFWFZZ.js → chunk-QBRBXVCE.js} +1 -1
- package/dist/{chunk-P5USY2GC.js → chunk-RYFVUPXH.js} +1 -1
- package/dist/{chunk-6UMISKCG.js → chunk-RZK5ZGVX.js} +4 -4
- package/dist/{chunk-XLERIR2V.js → chunk-S3S3IHCR.js} +1 -1
- package/dist/{chunk-UZGRZRD6.js → chunk-SBYFFP7R.js} +1 -1
- package/dist/{chunk-6WCOY6MS.js → chunk-SCUKEERJ.js} +4 -4
- package/dist/{chunk-AVXIDAFJ.js → chunk-SS7OEJGR.js} +28 -9
- package/dist/{chunk-J237HI2F.js → chunk-TIWO5QKS.js} +26 -24
- package/dist/{chunk-E53UDY74.js → chunk-TM5H5ZY3.js} +2 -2
- package/dist/{chunk-5RUGBDAC.js → chunk-UCCD6SY7.js} +1 -1
- package/dist/{chunk-PF23WT5C.js → chunk-UKAZEO7A.js} +5 -5
- package/dist/{chunk-TMYY4DV4.js → chunk-USOP5XTT.js} +1 -1
- package/dist/{chunk-G4D7EBDQ.js → chunk-V4ZFL2E2.js} +2 -2
- package/dist/{chunk-NUUN7XB4.js → chunk-VWEELCAJ.js} +2 -2
- package/dist/{chunk-SWEC6N6N.js → chunk-XGGEOBH2.js} +2 -2
- package/dist/{chunk-X2YNB244.js → chunk-XKSHWUIF.js} +3 -3
- package/dist/{chunk-A7HPQVS5.js → chunk-XVDXYUQJ.js} +1 -1
- package/dist/{chunk-LAI7UTBM.js → chunk-YXNRWPF5.js} +19 -19
- package/dist/{chunk-JMPTLXJQ.js → chunk-ZCRATF6D.js} +2 -2
- package/dist/{chunk-DKSCZYFP.js → chunk-ZGQZTSP2.js} +1 -1
- package/dist/{chunk-Z677PTBA.js → chunk-ZQXK4L4G.js} +2 -2
- package/dist/{chunk-YSAK7PJZ.js → chunk-ZY3N64NC.js} +1 -1
- package/dist/{clean-UGV3DTVQ.js → clean-YU7AM7DC.js} +9 -9
- package/dist/cli.js +59 -59
- package/dist/{cloud-SDC56AHY.js → cloud-U7RRT2TA.js} +4 -4
- package/dist/{compare-LG42JVYH.js → compare-USGR7PZL.js} +13 -13
- package/dist/{component-OPAFYBPO.js → component-RIFXLYK3.js} +3 -3
- package/dist/{compositions-JP655NT3.js → compositions-QHRNVZ2K.js} +6 -6
- package/dist/{curve-RN7HDXOS.js → curve-BX46Q4OW.js} +6 -6
- package/dist/{cuts-ET7N7IBU.js → cuts-JRLHBLOX.js} +7 -7
- package/dist/{delete-5552CGT5.js → delete-SE7ABVTH.js} +2 -2
- package/dist/{deploy-NMFEPGRQ.js → deploy-AQUEV6ND.js} +1 -1
- package/dist/{describeProject-CWLV5OAT.js → describeProject-XBT7PHZD.js} +2 -2
- package/dist/{diff-HZX2TISC.js → diff-6TZLA6KU.js} +19 -19
- package/dist/{dist-O45G7NET.js → dist-ALNMJZ7K.js} +2 -2
- package/dist/{doctor-IYEYULPD.js → doctor-DDKKCJMO.js} +6 -6
- package/dist/{energy-YXEPVRKW.js → energy-HC7BNZ5E.js} +7 -7
- package/dist/{events-JAY5YNEU.js → events-EETQNKK2.js} +8 -8
- package/dist/{events-KYCNM6C3.js → events-KNH677YB.js} +2 -2
- package/dist/{events-GA24CH3D.js → events-ZRVQOB4Y.js} +3 -3
- package/dist/{extract-TFEVGLLS.js → extract-I3J3ZK55.js} +7 -7
- package/dist/{face-NP7JGAE7.js → face-HJUZ2OXQ.js} +7 -7
- package/dist/{feedback-UPYWXKHN.js → feedback-M6I5AVZ5.js} +4 -4
- package/dist/{ffmpeg-RYNM3JM2.js → ffmpeg-OAKTUK5S.js} +2 -2
- package/dist/{figma-PL4YF6AD.js → figma-RFAPGGBF.js} +3 -3
- package/dist/fontLocalizeCli.js +5 -5
- package/dist/{frames-7CHO3XUP.js → frames-FOAWRBW4.js} +8 -8
- package/dist/{generate-I3UK6VFX.js → generate-FLG6B7RX.js} +12 -12
- package/dist/{get-DRFSJ333.js → get-I5JCIGPW.js} +2 -2
- package/dist/{gpuPolicy-OAUKEMJC.js → gpuPolicy-SLVPAQK2.js} +2 -2
- package/dist/{grade-compare-PYDF6Y6J.js → grade-compare-R3UOE4WI.js} +14 -14
- package/dist/{heifImagePrep-23E67GBA.js → heifImagePrep-BOIWW7FW.js} +3 -3
- package/dist/{help-N2SPZK4D.js → help-NVQZEN6A.js} +1 -1
- package/dist/{history-LXYOTFY7.js → history-AGNMVDRQ.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-ENAE5IAD.js → info-EXAJSKZP.js} +8 -8
- package/dist/{init-DMKB6PK6.js → init-Z7FZ7U5J.js} +18 -18
- package/dist/{ink-ANDD7W6Y.js → ink-QYCQXNUY.js} +7 -7
- package/dist/{inspect-2XZYCFMK.js → inspect-ZJNHBIJI.js} +15 -15
- package/dist/{keyframes-UKUFE6ZF.js → keyframes-QYRES5IL.js} +6 -6
- package/dist/{lambda-T4WMAZZV.js → lambda-3I4IV63E.js} +3 -3
- package/dist/{layout-FX2Q65LB.js → layout-J33Y6DD7.js} +15 -15
- package/dist/{lint-AHORS3BL.js → lint-JT74BZWJ.js} +6 -6
- package/dist/{list-H7F3WXD4.js → list-NOWT754O.js} +2 -2
- package/dist/{localPage-UUSOCL7L.js → localPage-66UVNGQR.js} +2 -2
- package/dist/{login-6ORXT7JS.js → login-3JR3HXS6.js} +4 -4
- package/dist/{look-XFA3GQDV.js → look-NKCQENM7.js} +7 -7
- package/dist/{manager-ZGVNWYBK.js → manager-ML4OLLSM.js} +3 -3
- package/dist/{measure-WIARVYP6.js → measure-VSZBVJJZ.js} +11 -11
- package/dist/{media-treatment-L2OD4GAB.js → media-treatment-733EANTU.js} +7 -7
- package/dist/{media-use-SYSDJH23.js → media-use-IUN5ATZQ.js} +3 -3
- package/dist/{models-YOGYUKBX.js → models-A6FBCVFA.js} +6 -6
- package/dist/{motionShot-II6JZGTO.js → motionShot-PVWZLEMB.js} +7 -7
- package/dist/{normalize-audio-L6V6T2XW.js → normalize-audio-XD4QE5NE.js} +4 -4
- package/dist/{open-BPGKTYYV.js → open-TWEEOMZA.js} +4 -4
- package/dist/{parakeetRunner-BWX3UQH4.js → parakeetRunner-GP47AAVT.js} +7 -7
- package/dist/{pipeline-O3VKDLBZ.js → pipeline-5HUQFOCY.js} +5 -5
- package/dist/{play-NLZ4D4VN.js → play-ZOZRB5OG.js} +8 -8
- package/dist/{preflight-HEAPQ7N7.js → preflight-NTJMXUS2.js} +3 -3
- package/dist/{present-XPLUCZ5Z.js → present-IMQS3KJ7.js} +8 -8
- package/dist/{preview-JAWCYDZP.js → preview-JSK5IKSR.js} +8 -8
- package/dist/{probe-3AL2MBSY.js → probe-ZLRD2TRZ.js} +7 -7
- package/dist/{producer-OQETVMJH.js → producer-ZZROH3WZ.js} +1 -1
- package/dist/{remove-background-2SNU7KAA.js → remove-background-VDTWA7BL.js} +6 -6
- package/dist/{render-IKHZUOCM.js → render-P27DEH4H.js} +11 -11
- package/dist/{render-FFA55SPM.js → render-UF5XKGO5.js} +20 -20
- package/dist/{reverse-74KYO2KF.js → reverse-J4CLVRPY.js} +1 -1
- package/dist/{screenshotCapture-HBOH5VXI.js → screenshotCapture-ZZE3GMOF.js} +2 -2
- package/dist/{sherpa-DBCTQWM3.js → sherpa-7ISRANWA.js} +6 -6
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/references/heygen.md +2 -2
- package/dist/{skills-YYOPM674.js → skills-AAETAWZH.js} +6 -6
- package/dist/{skillsUpdateCheck-2G4HUWXT.js → skillsUpdateCheck-KCP2EYKX.js} +3 -3
- package/dist/{snapshot-FSN6MIFT.js → snapshot-5PMHOVPR.js} +21 -21
- package/dist/{src-PZKWEQB3.js → src-CHPZUZZ3.js} +4 -4
- package/dist/{src-W2OMGCC2.js → src-NIMSUB4P.js} +1 -1
- package/dist/{start-BC3LQ6XM.js → start-6D25MEIJ.js} +10 -10
- package/dist/{staticProjectServer-NOC42RG6.js → staticProjectServer-LM3YLJ6K.js} +5 -5
- package/dist/{status-GAMGQR6J.js → status-22TRM6DI.js} +4 -4
- package/dist/studio/assets/{codec-DqZyhFXM.js → codec-D84nARi6.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-aBBb_UoJ.js → hyperframes-player-C2-hh0bR.js} +1 -1
- package/dist/studio/assets/{index-CceqlOsz.js → index-B0rj7KmJ.js} +1 -1
- package/dist/studio/assets/{index-nztwvLTw.js → index-D3lR9-ik.js} +5 -5
- package/dist/studio/assets/{pausedVideoDecoder-CwC0h32O.js → pausedVideoDecoder-D8vnt-Wd.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-2I44WB4P.js → studio-api-LSWAJEK4.js} +2 -2
- package/dist/{studioServer-YOES7J26.js → studioServer-MC57HJAV.js} +25 -25
- package/dist/{sync-SAFSREBK.js → sync-SEN3M7GA.js} +7 -7
- package/dist/{telemetry-JKUAFRWX.js → telemetry-NP2FXZQL.js} +3 -3
- package/dist/{templates-T63OMFEN.js → templates-QN7ZUHHZ.js} +4 -4
- package/dist/{timeline-4WIGTZRE.js → timeline-V43AACFE.js} +9 -9
- package/dist/{tokens-JK3XREP4.js → tokens-NOFZVX4P.js} +2 -2
- package/dist/{transcribe-APCPBJXE.js → transcribe-FGVGCTEU.js} +5 -5
- package/dist/{transcribe-DWCOZPAN.js → transcribe-IVZ4OASF.js} +14 -14
- package/dist/{update-I3DN6NUV.js → update-LML5YVLT.js} +7 -7
- package/dist/{updateCheck-5C2PHZ24.js → updateCheck-FFHCGLRU.js} +2 -2
- package/dist/{upgrade-KBMPHPSY.js → upgrade-UWT2FB5Y.js} +3 -3
- package/dist/{urlDownloader-T5UKNPTJ.js → urlDownloader-4RWM3UH2.js} +1 -1
- package/dist/{validate-YNITWYCF.js → validate-ZNK2THUV.js} +13 -13
- package/dist/{video-JRQOXAZ2.js → video-QXVXG7PW.js} +3 -3
- package/dist/{voices-7QS4D5EP.js → voices-JI7QOSLT.js} +10 -10
- package/dist/warmCheck.js +23 -23
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolveProjectSignature,
|
|
48
48
|
serveWhileOpen,
|
|
49
49
|
settledFileTag
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-FXPDWYD7.js";
|
|
51
51
|
import {
|
|
52
52
|
PROXY_PARAMS_VERSION,
|
|
53
53
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
isPrivateProjectPath,
|
|
85
85
|
pinWithinProject,
|
|
86
86
|
realFilePath,
|
|
87
|
-
resolveWithinProject,
|
|
87
|
+
resolveWithinProject as resolveWithinProject2,
|
|
88
88
|
walkDir
|
|
89
89
|
} from "./chunk-ALVXFXUG.js";
|
|
90
90
|
import {
|
|
@@ -158,7 +158,8 @@ import {
|
|
|
158
158
|
isProjectRootMissing,
|
|
159
159
|
isSafePath,
|
|
160
160
|
mkdirWithinProject,
|
|
161
|
-
realpath
|
|
161
|
+
realpath,
|
|
162
|
+
resolveWithinProject
|
|
162
163
|
} from "./chunk-OFQWTKPW.js";
|
|
163
164
|
import {
|
|
164
165
|
isWithinProjectRoot,
|
|
@@ -4000,8 +4001,8 @@ function rootHeadContent(rootHtml) {
|
|
|
4000
4001
|
return rootHtml.match(/<head[^>]*>([\s\S]*?)<\/head>/i)?.[1] ?? "";
|
|
4001
4002
|
}
|
|
4002
4003
|
function buildSubCompositionHtml(projectDir, compPath, runtimeUrl, baseHref, rawOverride, gsapBaseUrl) {
|
|
4003
|
-
const compFile =
|
|
4004
|
-
if (!existsSync(compFile)) return null;
|
|
4004
|
+
const compFile = resolveWithinProject(projectDir, compPath);
|
|
4005
|
+
if (!compFile || !existsSync(compFile)) return null;
|
|
4005
4006
|
const rawComp = rawOverride ?? readFileSync3(compFile, "utf-8");
|
|
4006
4007
|
let compHeadContent = "";
|
|
4007
4008
|
let rewrittenContent;
|
|
@@ -4037,9 +4038,10 @@ function buildSubCompositionHtml(projectDir, compPath, runtimeUrl, baseHref, raw
|
|
|
4037
4038
|
deferScriptsUntilFonts(scriptsDoc);
|
|
4038
4039
|
rewrittenContent = scriptsDoc.body.innerHTML;
|
|
4039
4040
|
rewrittenContent = tagRootCompositionFile(rewrittenContent, compPath);
|
|
4040
|
-
const indexPath =
|
|
4041
|
+
const indexPath = resolveWithinProject(projectDir, "index.html");
|
|
4041
4042
|
let headContent = "";
|
|
4042
|
-
if (
|
|
4043
|
+
if (indexPath && existsSync(indexPath))
|
|
4044
|
+
headContent = rootHeadContent(readFileSync3(indexPath, "utf-8"));
|
|
4043
4045
|
if (baseHref && !hasBaseElement(headContent)) {
|
|
4044
4046
|
headContent = `<base href="${baseHref}">
|
|
4045
4047
|
${headContent}`;
|
|
@@ -4132,13 +4134,13 @@ function validateSourcePath(sourcePath) {
|
|
|
4132
4134
|
}
|
|
4133
4135
|
function canonicalProjectFile(projectDir, sourcePath) {
|
|
4134
4136
|
validateSourcePath(sourcePath);
|
|
4135
|
-
return canonicalProjectPath(projectDir,
|
|
4137
|
+
return canonicalProjectPath(projectDir, resolveWithinProject2(projectDir, sourcePath));
|
|
4136
4138
|
}
|
|
4137
4139
|
function canonicalDependency(projectDir, ownerAbs, sourcePath) {
|
|
4138
4140
|
validateSourcePath(sourcePath);
|
|
4139
4141
|
return canonicalProjectPath(
|
|
4140
4142
|
projectDir,
|
|
4141
|
-
|
|
4143
|
+
resolveWithinProject2(projectDir, relative(projectDir, resolve3(dirname2(ownerAbs), sourcePath)))
|
|
4142
4144
|
);
|
|
4143
4145
|
}
|
|
4144
4146
|
function validateDependencyGraph(projectDir, targetAbs, sourceAbs) {
|
|
@@ -4274,7 +4276,7 @@ function projectReader(projectDir) {
|
|
|
4274
4276
|
const sources = /* @__PURE__ */ new Map();
|
|
4275
4277
|
return (compPath) => {
|
|
4276
4278
|
if (!sources.has(compPath)) {
|
|
4277
|
-
const file =
|
|
4279
|
+
const file = resolveWithinProject2(projectDir, compPath);
|
|
4278
4280
|
let source = null;
|
|
4279
4281
|
try {
|
|
4280
4282
|
source = file ? readFileSync2(file, "utf-8") : null;
|
|
@@ -4805,7 +4807,7 @@ async function resolveProjectPath(c, adapter, route, opts) {
|
|
|
4805
4807
|
if (filePath.includes("\0")) {
|
|
4806
4808
|
return { error: c.json({ error: "forbidden", why: "nul" }, 403) };
|
|
4807
4809
|
}
|
|
4808
|
-
const absPath = (opts?.pin ? pinWithinProject :
|
|
4810
|
+
const absPath = (opts?.pin ? pinWithinProject : resolveWithinProject2)(project.dir, filePath);
|
|
4809
4811
|
if (!absPath) {
|
|
4810
4812
|
if (isDanglingSymlinkInProject(project.dir, resolve2(project.dir, filePath))) {
|
|
4811
4813
|
return { error: c.json({ error: "not found", why: "dangling_symlink" }, 404) };
|
|
@@ -7228,7 +7230,7 @@ function registerFileRoutes(api, adapter) {
|
|
|
7228
7230
|
if (typeof newPath !== "string" || !newPath || newPath.includes("\0") || /[\uD800-\uDFFF]/u.test(newPath)) {
|
|
7229
7231
|
return c.json({ error: "newPath required" }, 400);
|
|
7230
7232
|
}
|
|
7231
|
-
const newAbs =
|
|
7233
|
+
const newAbs = resolveWithinProject2(res.project.dir, newPath);
|
|
7232
7234
|
if (!newAbs) {
|
|
7233
7235
|
return c.json({ error: "forbidden" }, 403);
|
|
7234
7236
|
}
|
|
@@ -7248,12 +7250,12 @@ function registerFileRoutes(api, adapter) {
|
|
|
7248
7250
|
if (!body.path || body.path.includes("\0")) {
|
|
7249
7251
|
return c.json({ error: "path required" }, 400);
|
|
7250
7252
|
}
|
|
7251
|
-
const srcAbs =
|
|
7253
|
+
const srcAbs = resolveWithinProject2(project.dir, body.path);
|
|
7252
7254
|
if (!srcAbs || !existsSync4(srcAbs)) {
|
|
7253
7255
|
return c.json({ error: "not found" }, 404);
|
|
7254
7256
|
}
|
|
7255
7257
|
const copyPath = generateCopyPath(project.dir, body.path);
|
|
7256
|
-
const destAbs =
|
|
7258
|
+
const destAbs = resolveWithinProject2(project.dir, copyPath);
|
|
7257
7259
|
if (!destAbs) {
|
|
7258
7260
|
return c.json({ error: "forbidden" }, 403);
|
|
7259
7261
|
}
|
|
@@ -7279,7 +7281,7 @@ function registerFileRoutes(api, adapter) {
|
|
|
7279
7281
|
if (!project) return c.json({ error: "not found" }, 404);
|
|
7280
7282
|
if (folderGone(project.dir)) return projectDirMissing(c);
|
|
7281
7283
|
const subDir = c.req.query("dir") ?? "";
|
|
7282
|
-
const targetDir = subDir ?
|
|
7284
|
+
const targetDir = subDir ? resolveWithinProject2(project.dir, subDir) : project.dir;
|
|
7283
7285
|
if (!targetDir) return c.json({ error: "forbidden" }, 403);
|
|
7284
7286
|
const formData = await c.req.formData();
|
|
7285
7287
|
mkdirWithinProject(project.dir, targetDir);
|
|
@@ -7949,7 +7951,7 @@ ${etag}`;
|
|
|
7949
7951
|
if (vars.error !== void 0) return c.json({ error: vars.error }, 400);
|
|
7950
7952
|
const previewVariables = vars.values;
|
|
7951
7953
|
const compPath = requestSubPath(c.req.url, "projects/:id/preview/comp");
|
|
7952
|
-
const compFile =
|
|
7954
|
+
const compFile = resolveWithinProject2(project.dir, compPath);
|
|
7953
7955
|
if (compFile) recordPreviewRead(project.dir, compFile);
|
|
7954
7956
|
recordPreviewRead(project.dir, "index.html");
|
|
7955
7957
|
if (!compFile || !existsSync5(compFile) || !statSync4(compFile).isFile()) {
|
|
@@ -8199,7 +8201,7 @@ var RENDER_ARTIFACT_EXTENSIONS = [...RENDER_EXTENSIONS, ".meta.json"];
|
|
|
8199
8201
|
function resolveRenderArtifacts(directories, jobId) {
|
|
8200
8202
|
const artifacts = [...new Set(directories)].filter(existsSync6).flatMap(
|
|
8201
8203
|
(directory) => RENDER_ARTIFACT_EXTENSIONS.map(
|
|
8202
|
-
(extension) =>
|
|
8204
|
+
(extension) => resolveWithinProject2(directory, `${jobId}${extension}`)
|
|
8203
8205
|
)
|
|
8204
8206
|
);
|
|
8205
8207
|
return artifacts.every((path) => path !== null) ? artifacts : null;
|
|
@@ -8260,7 +8262,7 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8260
8262
|
const outputResolution = VALID_RESOLUTIONS.has(body.resolution ?? "") ? body.resolution : void 0;
|
|
8261
8263
|
let composition;
|
|
8262
8264
|
if (typeof body.composition === "string" && body.composition.length > 0) {
|
|
8263
|
-
if (!
|
|
8265
|
+
if (!resolveWithinProject2(project.dir, body.composition)) {
|
|
8264
8266
|
if (folderGone(project.dir)) return projectDirMissing(c);
|
|
8265
8267
|
return c.json({ error: "composition path must be within the project directory" }, 400);
|
|
8266
8268
|
}
|
|
@@ -8414,7 +8416,7 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8414
8416
|
const filename = c.req.path.split("/renders/file/")[1];
|
|
8415
8417
|
if (!filename) return c.json({ error: "missing filename" }, 400);
|
|
8416
8418
|
const rendersDir = adapter.rendersDir(project);
|
|
8417
|
-
const fp =
|
|
8419
|
+
const fp = resolveWithinProject2(rendersDir, filename);
|
|
8418
8420
|
if (!fp || isPrivateProjectFile(project.dir, fp)) return c.json({ error: "forbidden" }, 403);
|
|
8419
8421
|
if (!existsSync6(fp)) return c.json({ error: "not found" }, 404);
|
|
8420
8422
|
return renderFileResponse(fp, "inline", filename, c.req.method);
|
|
@@ -8425,7 +8427,7 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8425
8427
|
const rendersDir = adapter.rendersDir(project);
|
|
8426
8428
|
if (!existsSync6(rendersDir)) return c.json({ renders: [] });
|
|
8427
8429
|
const files = readdirSync3(rendersDir).filter((f) => RENDER_EXTENSIONS.some((extension) => f.endsWith(extension))).flatMap((f) => {
|
|
8428
|
-
const fp =
|
|
8430
|
+
const fp = resolveWithinProject2(rendersDir, f);
|
|
8429
8431
|
return fp && !isPrivateProjectFile(project.dir, fp) ? [{ f, fp }] : [];
|
|
8430
8432
|
}).map(({ f, fp }) => {
|
|
8431
8433
|
const stat2 = statSync5(fp);
|
|
@@ -8751,7 +8753,7 @@ function registerThumbnailRoutes(api, adapter) {
|
|
|
8751
8753
|
const { project, signature: projectSignature } = resolved;
|
|
8752
8754
|
let compPath = requestSubPath(c.req.url, "projects/:id/thumbnail");
|
|
8753
8755
|
if (compPath && !compPath.includes(".")) compPath += ".html";
|
|
8754
|
-
const htmlFile =
|
|
8756
|
+
const htmlFile = resolveWithinProject2(project.dir, compPath);
|
|
8755
8757
|
const source = htmlFile ? readFileOnce(htmlFile) : "not-a-file";
|
|
8756
8758
|
if (source === "not-a-file") return c.json({ error: "not found" }, 404);
|
|
8757
8759
|
const inputSignature = await compositionInputSignature(project.dir, compPath, projectSignature);
|
|
@@ -9735,7 +9737,7 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
9735
9737
|
if (/^(?:https?:|data:|blob:)/i.test(assetPath)) {
|
|
9736
9738
|
return c.json({ error: "media metadata requires a project-local asset" }, 400);
|
|
9737
9739
|
}
|
|
9738
|
-
const filePath =
|
|
9740
|
+
const filePath = resolveWithinProject2(project.dir, assetPath);
|
|
9739
9741
|
if (!filePath) return c.json({ error: "forbidden" }, 403);
|
|
9740
9742
|
if (!existsSync10(filePath)) return c.json({ error: "media not found" }, 404);
|
|
9741
9743
|
return c.json({ path: assetPath, metadata: await readMediaMetadata(filePath) });
|
|
@@ -9757,7 +9759,7 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
9757
9759
|
if (/^(?:https?:|data:|blob:)/i.test(inputAssetPath)) {
|
|
9758
9760
|
return c.json({ error: "background removal requires a project-local media asset" }, 400);
|
|
9759
9761
|
}
|
|
9760
|
-
const inputPath =
|
|
9762
|
+
const inputPath = resolveWithinProject2(project.dir, inputAssetPath);
|
|
9761
9763
|
if (!inputPath) return c.json({ error: "forbidden" }, 403);
|
|
9762
9764
|
if (!existsSync10(inputPath)) return c.json({ error: "input media not found" }, 404);
|
|
9763
9765
|
const inputIsVideo = isVideoPath(inputAssetPath);
|
|
@@ -9769,7 +9771,7 @@ function registerMediaRoutes(api, adapter, options = {}) {
|
|
|
9769
9771
|
if (requestedOutput && containsNullByte(requestedOutput)) {
|
|
9770
9772
|
return c.json({ error: "forbidden" }, 403);
|
|
9771
9773
|
}
|
|
9772
|
-
if (requestedOutput && !
|
|
9774
|
+
if (requestedOutput && !resolveWithinProject2(project.dir, requestedOutput)) {
|
|
9773
9775
|
return c.json({ error: "forbidden" }, 403);
|
|
9774
9776
|
}
|
|
9775
9777
|
const taken = outputsInFlight(mediaJobs);
|
|
@@ -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.9.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.9.
|
|
9
|
+
var VERSION = true ? "0.9.29" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.9.29" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TM5H5ZY3.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DYKBB5HB.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VU4EPKFI.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-7GJKUOPX.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-BX2BIU6Z.js";
|
|
48
48
|
import {
|
|
49
49
|
CONFIG_PATH,
|
|
50
50
|
withFileLock
|
|
51
51
|
} from "./chunk-F5QBIIFT.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-TM5H5ZY3.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-ML4OLLSM.js");
|
|
253
253
|
const result = findWhisper();
|
|
254
254
|
if (result) {
|
|
255
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5RLMHG3E.js";
|
|
10
10
|
import {
|
|
11
11
|
extractAudioMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7GJKUOPX.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProjectRelativeSrc
|
|
15
15
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H5BHEZ4B.js";
|
|
12
12
|
import {
|
|
13
13
|
makeOutputFolder
|
|
14
14
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
probeVideo,
|
|
19
19
|
round,
|
|
20
20
|
runFfmpeg
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2YZ6GA4E.js";
|
|
22
22
|
import {
|
|
23
23
|
defineCommand
|
|
24
24
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ITWIFUDS.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-NP2FXZQL.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S3S3IHCR.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XVDXYUQJ.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Q7FX7HOX.js";
|
|
28
28
|
import {
|
|
29
29
|
parseWhisperJson
|
|
30
30
|
} from "./chunk-CDNVZEGQ.js";
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
idleWindow,
|
|
21
21
|
preResolveHostileMediaProxies,
|
|
22
22
|
rectToBbox
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7TION72L.js";
|
|
24
24
|
import {
|
|
25
25
|
collectProjectMedia,
|
|
26
26
|
mediaPath
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-V4ZFL2E2.js";
|
|
28
28
|
import {
|
|
29
29
|
captureArtifactRevision
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-72LMHSPL.js";
|
|
31
31
|
import {
|
|
32
32
|
trackLintRun
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZCRATF6D.js";
|
|
34
34
|
import {
|
|
35
35
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
36
36
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
mergeSampleTimes,
|
|
52
52
|
parseAt,
|
|
53
53
|
readMotionSpec
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-C25RSEQN.js";
|
|
55
55
|
import {
|
|
56
56
|
findingAtRoot,
|
|
57
57
|
findingElementKey,
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
} from "./chunk-GGDJLN5I.js";
|
|
66
66
|
import {
|
|
67
67
|
resolveProject
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-47JZ2UQC.js";
|
|
69
69
|
import {
|
|
70
70
|
recordArtifacts
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-FXPDWYD7.js";
|
|
72
72
|
import {
|
|
73
73
|
CACHE_DIR_NAME
|
|
74
74
|
} from "./chunk-V4Z37HFN.js";
|
|
@@ -76,14 +76,14 @@ import {
|
|
|
76
76
|
BrowserCleanupError,
|
|
77
77
|
onStopSignal,
|
|
78
78
|
registerBrowserSessionCleanup
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-AOPNJEQC.js";
|
|
80
80
|
import {
|
|
81
81
|
resolveLocalBrowserGpuMode
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-LDTJCZZ2.js";
|
|
83
83
|
import {
|
|
84
84
|
trackCheckReport,
|
|
85
85
|
trackCommandFailure
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-GTUTZIRR.js";
|
|
87
87
|
import {
|
|
88
88
|
swallowedFlagUsageError
|
|
89
89
|
} from "./chunk-UPR5TMLG.js";
|
|
@@ -104,14 +104,14 @@ import {
|
|
|
104
104
|
extractMediaMetadata,
|
|
105
105
|
findHdrAutoPromotion,
|
|
106
106
|
gradingKeepsSdr
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-7GJKUOPX.js";
|
|
108
108
|
import {
|
|
109
109
|
lintProject,
|
|
110
110
|
unmountedNotice
|
|
111
111
|
} from "./chunk-DJVSNDF3.js";
|
|
112
112
|
import {
|
|
113
113
|
withMeta
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-BX2BIU6Z.js";
|
|
115
115
|
import {
|
|
116
116
|
recordLastCheck
|
|
117
117
|
} from "./chunk-F5QBIIFT.js";
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
} from "./chunk-66W5IWLO.js";
|
|
127
127
|
import {
|
|
128
128
|
VERSION
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-TM5H5ZY3.js";
|
|
130
130
|
import {
|
|
131
131
|
normalizeErrorMessage
|
|
132
132
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -2294,7 +2294,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2294
2294
|
};
|
|
2295
2295
|
}
|
|
2296
2296
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2297
|
-
const module = await import("./checkBrowser-
|
|
2297
|
+
const module = await import("./checkBrowser-HC3LYH6H.js");
|
|
2298
2298
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2299
2299
|
}
|
|
2300
2300
|
var adoptedBrowser;
|
|
@@ -2308,7 +2308,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2308
2308
|
if (adopted) return adopted;
|
|
2309
2309
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2310
2310
|
if (html === void 0) return void 0;
|
|
2311
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2311
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-DABFEOQO.js");
|
|
2312
2312
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2313
2313
|
}
|
|
2314
2314
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2320,11 +2320,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2320
2320
|
return relative(projectDir, path);
|
|
2321
2321
|
}
|
|
2322
2322
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2323
|
-
const module = await import("./checkBrowser-
|
|
2323
|
+
const module = await import("./checkBrowser-HC3LYH6H.js");
|
|
2324
2324
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2325
2325
|
}
|
|
2326
2326
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2327
|
-
const module = await import("./checkBrowser-
|
|
2327
|
+
const module = await import("./checkBrowser-HC3LYH6H.js");
|
|
2328
2328
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2329
2329
|
}
|
|
2330
2330
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2346,7 +2346,7 @@ function collectMedia(project) {
|
|
|
2346
2346
|
return collectProjectMedia(project.dir);
|
|
2347
2347
|
}
|
|
2348
2348
|
async function inspectAudio(project, media) {
|
|
2349
|
-
const module = await import("./checkAudio-
|
|
2349
|
+
const module = await import("./checkAudio-MWSP2436.js");
|
|
2350
2350
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2351
2351
|
}
|
|
2352
2352
|
function audioCheckFailure(project, error) {
|
|
@@ -2531,7 +2531,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2531
2531
|
}
|
|
2532
2532
|
},
|
|
2533
2533
|
async prepareMedia(project, options) {
|
|
2534
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2534
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-B2XFORNZ.js");
|
|
2535
2535
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2536
2536
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2537
2537
|
},
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GTUTZIRR.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OY4YSQBK.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isTransientBrowserError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7GJKUOPX.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/screenshotOnceMore.ts
|
|
12
12
|
async function screenshotOnceMore(shoot) {
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BX2BIU6Z.js";
|
|
31
31
|
import {
|
|
32
32
|
setCommandExitCode
|
|
33
33
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-PQYICV7O.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TM5H5ZY3.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|
|
@@ -19,7 +19,7 @@ async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWith
|
|
|
19
19
|
}
|
|
20
20
|
async function loadFontInjector() {
|
|
21
21
|
try {
|
|
22
|
-
const { loadProducer } = await import("./producer-
|
|
22
|
+
const { loadProducer } = await import("./producer-ZZROH3WZ.js");
|
|
23
23
|
const mod = await loadProducer();
|
|
24
24
|
return mod.injectDeterministicFontFaces ?? null;
|
|
25
25
|
} catch {
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UKAZEO7A.js";
|
|
10
10
|
import "./chunk-SHOE3UR6.js";
|
|
11
11
|
import "./chunk-J3OVTOVC.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-DYKBB5HB.js";
|
|
13
13
|
import "./chunk-NL4RCLQF.js";
|
|
14
14
|
import "./chunk-6BEFEWFB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-Q7FX7HOX.js";
|
|
16
16
|
import {
|
|
17
17
|
loadProducer
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-5RLMHG3E.js";
|
|
19
|
+
import "./chunk-TIWO5QKS.js";
|
|
20
20
|
import "./chunk-IX3K55NA.js";
|
|
21
21
|
import "./chunk-LMCFILEY.js";
|
|
22
22
|
import "./chunk-DONVZZLV.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
listProjectHistories,
|
|
26
26
|
pruneGoneProjectHistories,
|
|
27
27
|
reclaimUncopiedBlobs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FXPDWYD7.js";
|
|
29
29
|
import {
|
|
30
30
|
CACHE_DIR_NAME,
|
|
31
31
|
cleanupProxyCache
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
directorySizeBytes,
|
|
52
52
|
gcExtractionCache,
|
|
53
53
|
resolveExtractCacheDir
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-7GJKUOPX.js";
|
|
55
55
|
import "./chunk-Z5J67X44.js";
|
|
56
56
|
import "./chunk-5S7W3TUO.js";
|
|
57
57
|
import "./chunk-D3MUHMFG.js";
|
|
@@ -85,7 +85,7 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
85
85
|
import "./chunk-JOQR4AP6.js";
|
|
86
86
|
import {
|
|
87
87
|
withMeta
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-BX2BIU6Z.js";
|
|
89
89
|
import "./chunk-BR2JQQC5.js";
|
|
90
90
|
import "./chunk-F5QBIIFT.js";
|
|
91
91
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
} from "./chunk-66W5IWLO.js";
|
|
97
97
|
import "./chunk-PQYICV7O.js";
|
|
98
98
|
import "./chunk-QBXDU24O.js";
|
|
99
|
-
import "./chunk-
|
|
99
|
+
import "./chunk-TM5H5ZY3.js";
|
|
100
100
|
import "./chunk-E63BDV4Z.js";
|
|
101
101
|
import "./chunk-LW33P24U.js";
|
|
102
102
|
import "./chunk-XT6MXC7A.js";
|