hyperframes 0.8.151 → 0.8.153
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-QKZZG7A2.js → add-D7GZM6ZS.js} +14 -14
- package/dist/{animatedGifPrep-YQDPYGOD.js → animatedGifPrep-IBLDIJXC.js} +9 -9
- package/dist/api.js +15 -15
- package/dist/{asset-3Q737Y4H.js → asset-ACZRQU2Z.js} +2 -2
- package/dist/{assetCataloger-BTHEBJJB.js → assetCataloger-Y3OELLLW.js} +4 -4
- package/dist/{auth-XL7EU3SO.js → auth-LFWML3XJ.js} +1 -1
- package/dist/{autoUpdate-PJFLTQ3U.js → autoUpdate-7IUGQXOV.js} +2 -2
- package/dist/{backgroundChecks-T5TIR5WK.js → backgroundChecks-XI364BNX.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-NFLVIDB4.js → batchRender-6TD4XSIP.js} +5 -5
- package/dist/{beats-JU4GZ26R.js → beats-FZGQ3HLR.js} +14 -14
- package/dist/{benchmark-7U2YWLTW.js → benchmark-3YEKSYMP.js} +10 -10
- package/dist/{browser-D57UPYDA.js → browser-R5PKLYZD.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-26MXQOZG.js → bundleWithLocalizedFonts-QX5HV7LC.js} +2 -2
- package/dist/{capture-LT252COQ.js → capture-MTHXUEC2.js} +19 -19
- package/dist/{capture-47BV25G3.js → capture-R7QSBEPW.js} +2 -2
- package/dist/{catalog-BEZXOV4O.js → catalog-K2TRGCXO.js} +14 -14
- package/dist/{catch-up-KVV5X6BF.js → catch-up-WCSN4K4A.js} +4 -4
- package/dist/{check-6KQ433E6.js → check-N4EFKWC3.js} +294 -66
- package/dist/{checkBrowser-PRDR6XBY.js → checkBrowser-73SOMDG3.js} +75 -45
- package/dist/{chunk-IZPN423R.js → chunk-2F6LWCSF.js} +11 -6
- package/dist/{chunk-TCWMDCBX.js → chunk-2X3UJ4Q3.js} +2 -2
- package/dist/{chunk-YZTVHRJ2.js → chunk-2XEBNYG5.js} +1 -1
- package/dist/chunk-3DMR7RF6.js +24 -0
- package/dist/{chunk-APDLWWFG.js → chunk-3VGU2SH7.js} +1 -1
- package/dist/{chunk-OZ4K46OV.js → chunk-4IRCZWND.js} +2 -2
- package/dist/{chunk-4PKQEKAI.js → chunk-4OVLWS2K.js} +2 -2
- package/dist/{chunk-DHPFXAUF.js → chunk-57GN6KWT.js} +17 -3
- package/dist/{chunk-374QQGBQ.js → chunk-5CS4T6C6.js} +63 -12
- package/dist/{chunk-FLVI7FHU.js → chunk-5DD45SJZ.js} +1 -1
- package/dist/{chunk-BRF3O35X.js → chunk-5FS4HCHN.js} +109 -31
- package/dist/{chunk-DIOBKUBV.js → chunk-5OKZRXLT.js} +2 -2
- package/dist/{chunk-POEEDPJI.js → chunk-5ZGSN5YK.js} +1 -1
- package/dist/{chunk-FJWEYVEM.js → chunk-7FYFEXD2.js} +658 -198
- package/dist/{chunk-L3N7RJHS.js → chunk-7NKLNOHW.js} +3 -3
- package/dist/{chunk-O3DUX6P2.js → chunk-AA67UBB2.js} +4 -4
- package/dist/{chunk-IZ7L6V76.js → chunk-AUK5QCRH.js} +1 -1
- package/dist/{chunk-YEBKEWKB.js → chunk-BD3XH4A7.js} +1 -1
- package/dist/{chunk-XXPYZBZ3.js → chunk-C6TPGUWD.js} +2 -2
- package/dist/{chunk-ZD3RDNZI.js → chunk-CBMZYOWC.js} +1 -1
- package/dist/{chunk-ZGCRVM5M.js → chunk-DAKXCEE3.js} +4 -4
- package/dist/{chunk-AIJS74LG.js → chunk-FFDC5OWV.js} +8 -2
- package/dist/{chunk-DMKI64EZ.js → chunk-FSZAFCU7.js} +1 -1
- package/dist/{chunk-OSAH7S5M.js → chunk-FZC4UM4G.js} +1 -1
- package/dist/{chunk-QBYHNRHU.js → chunk-GV7I3ZSQ.js} +2 -2
- package/dist/{chunk-N3I6RAOR.js → chunk-GXPD7J53.js} +11 -11
- package/dist/{chunk-N4IXP3MY.js → chunk-HGAOO43L.js} +3 -3
- package/dist/{chunk-QF7AE3DB.js → chunk-J5LEAKUA.js} +1 -1
- package/dist/{chunk-PUIELIFA.js → chunk-JBUIS5DN.js} +1 -1
- package/dist/{chunk-KXX6NLOT.js → chunk-JQ57FAYN.js} +1 -1
- package/dist/{chunk-RRBKEHST.js → chunk-KFBEMIMD.js} +54 -6
- package/dist/{chunk-RYL6ZIJP.js → chunk-OIONMNWN.js} +18 -11
- package/dist/{chunk-KQGWP4KH.js → chunk-OSASJLU4.js} +1 -1
- package/dist/{chunk-3ZPFRDEJ.js → chunk-PVGDU7SE.js} +4 -4
- package/dist/{chunk-XGLNQDLN.js → chunk-PXOFFSO3.js} +1 -1
- package/dist/{chunk-IP73NMQT.js → chunk-QBFHVMOI.js} +10 -10
- package/dist/{chunk-IPDS2SWI.js → chunk-R6WCSVCE.js} +1 -1
- package/dist/{chunk-XYHBVSWD.js → chunk-RCWSM7IQ.js} +2 -2
- package/dist/{chunk-4YZYYP7V.js → chunk-SUVIGBHS.js} +3 -3
- package/dist/{chunk-L6RIMCMG.js → chunk-T2Y2WC5I.js} +3 -3
- package/dist/{chunk-QLGBNGXC.js → chunk-TCJM3KF2.js} +2 -2
- package/dist/{chunk-XKKBIFE5.js → chunk-TQUTAWUR.js} +7 -7
- package/dist/{chunk-HVXRYMGQ.js → chunk-TXWPPBIW.js} +1 -1
- package/dist/{chunk-2PSPARWP.js → chunk-TYXH3EKP.js} +4 -0
- package/dist/{chunk-FMNVTKX2.js → chunk-U3BCDVZO.js} +1 -1
- package/dist/{chunk-RJRGR5KF.js → chunk-UNOALNYO.js} +9 -9
- package/dist/{chunk-3SVC7SW4.js → chunk-V6UUZGP6.js} +7 -3
- package/dist/{chunk-LFNQDTSH.js → chunk-VYKPBRCB.js} +63 -12
- package/dist/{chunk-S22FKF6G.js → chunk-WNCGJFTZ.js} +2 -2
- package/dist/{chunk-XNDXENJQ.js → chunk-WQMTHPTK.js} +3 -3
- package/dist/{chunk-4LE27ST4.js → chunk-XQYLUY2F.js} +2 -2
- package/dist/chunk-XSEGMQYA.js +30 -0
- package/dist/{chunk-35PWWBGZ.js → chunk-YI6OBVWQ.js} +1 -1
- package/dist/{chunk-GNTVYF7E.js → chunk-YOEGUBBY.js} +5 -5
- package/dist/{chunk-FAIYEIZ4.js → chunk-YYMJEQ4D.js} +1 -1
- package/dist/{chunk-LKQS72D5.js → chunk-Z6CSYA7U.js} +1 -1
- package/dist/{chunk-XQKVEQNY.js → chunk-ZDEEHQ2Y.js} +2 -2
- package/dist/chunk-ZQMYD22O.js +215 -0
- package/dist/{clean-RLTHFTQA.js → clean-TLMZ6GVY.js} +52 -31
- package/dist/cli.js +53 -53
- package/dist/{cloud-Q5TGBTW3.js → cloud-XFIRM6YE.js} +4 -4
- package/dist/{cloudrun-4UZF74MV.js → cloudrun-OUGI5NN4.js} +6 -6
- package/dist/{compare-Q5UNR2V4.js → compare-OKSXYO3L.js} +30 -30
- package/dist/{compiler-ZXT27Z62.js → compiler-WHUQZITN.js} +6 -6
- package/dist/{component-H734P32V.js → component-3II4YXAD.js} +3 -3
- package/dist/{compositions-YEHDSTDR.js → compositions-RL75WQS6.js} +13 -13
- package/dist/{delete-LDBMPWRT.js → delete-4FM24SJ2.js} +2 -2
- package/dist/{deterministicFonts-C5JQLCTS.js → deterministicFonts-EOMDR6ZF.js} +3 -3
- package/dist/{dist-RGE4QASU.js → dist-2YYJYYPY.js} +3 -3
- package/dist/{dist-7JXLFD6U.js → dist-NUSNSGME.js} +4 -4
- package/dist/{doctor-XNJFIWJ7.js → doctor-Q5WYRIVP.js} +11 -11
- package/dist/{events-G6UFLNXR.js → events-CPZTSXAX.js} +2 -2
- package/dist/{events-UKCPUWMH.js → events-J5VJAKGT.js} +3 -3
- package/dist/{feedback-CK3KZ7DE.js → feedback-U64DIKAF.js} +8 -8
- package/dist/{figma-3D5C737B.js → figma-GUHWRHJO.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -12
- package/dist/{get-QGTQUWFT.js → get-XDQJPF7G.js} +2 -2
- package/dist/{gpuPolicy-G5QAQDYF.js → gpuPolicy-7SIPG5BM.js} +9 -9
- package/dist/{grade-compare-XIHOM62P.js → grade-compare-WWW2F3NY.js} +30 -30
- package/dist/{gsapParserAcorn-VXZ3ZIF2.js → gsapParserAcorn-7NCK2LVT.js} +2 -2
- package/dist/{help-U5UBXT52.js → help-3UJYI7LC.js} +1 -1
- package/dist/{history-5J73QZSA.js → history-VQSM5L6N.js} +77 -205
- package/dist/hyperframe-runtime.js +4 -0
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +4 -0
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-RJHQQQUP.js → info-NMDUH7N5.js} +9 -9
- package/dist/{init-M6UQOYYC.js → init-D753VPPZ.js} +24 -24
- package/dist/{inspect-PRQWDBTP.js → inspect-KEE27DQN.js} +31 -31
- package/dist/{installer-ZL7UKYK5.js → installer-QCHUXV6E.js} +7 -7
- package/dist/{keyframes-VMUJYTCQ.js → keyframes-EP44YDZW.js} +227 -82
- package/dist/{lambda-ON42DRQD.js → lambda-Q5FTNY4J.js} +7 -7
- package/dist/{layout-QKBFVDVY.js → layout-LATG5CZV.js} +31 -31
- package/dist/{lint-ZQHHL2SV.js → lint-TQDQFJKW.js} +9 -9
- package/dist/{lintProject-3Z6OJCSO.js → lintProject-XQWXJYSC.js} +3 -3
- package/dist/{list-YBRKIWGF.js → list-O44ENRGS.js} +2 -2
- package/dist/{login-4B2YXGLB.js → login-EKFN5PZP.js} +4 -4
- package/dist/{media-treatment-5C5EJAAP.js → media-treatment-LPT4GYAE.js} +12 -12
- package/dist/{models-R7ZDWBJ6.js → models-CRYHY4KH.js} +12 -12
- package/dist/{motionShot-ZHESZNUL.js → motionShot-BS3DB666.js} +28 -15
- package/dist/{normalize-audio-EVWZVTBM.js → normalize-audio-7X445LLJ.js} +6 -6
- package/dist/{open-TV6HT4UT.js → open-JA7FN5F5.js} +4 -4
- package/dist/{parakeetRunner-YVVF4CG6.js → parakeetRunner-AFUTDANA.js} +12 -12
- package/dist/{pipeline-ETR5SEBS.js → pipeline-3TQHAQOJ.js} +9 -9
- package/dist/{play-C6WONRZV.js → play-UUJAXFCJ.js} +24 -24
- package/dist/{present-RANXTVPA.js → present-EBP6YMCJ.js} +20 -20
- package/dist/{preview-KF6UMBT2.js → preview-PVJDLZDU.js} +19 -19
- package/dist/{producer-CY2GXBWN.js → producer-HE23BPEU.js} +1 -1
- package/dist/{projectConfig-KPXCNMBM.js → projectConfig-EX35BZLA.js} +9 -9
- package/dist/{publication-Y36N4A7E.js → publication-OUGS3P7W.js} +4 -4
- package/dist/{publish-RCQJO35C.js → publish-UUFZR6QT.js} +12 -12
- package/dist/{remove-background-3ZMXVWLB.js → remove-background-P5M42CA5.js} +10 -10
- package/dist/{render-WUSTRMUD.js → render-AWFQGD4T.js} +5 -5
- package/dist/{render-PTNEFO5U.js → render-BJMONGDL.js} +10 -10
- package/dist/{render-FKVRCDT2.js → render-YSD2SRBL.js} +57 -22
- package/dist/{render-batch-AQHU2JWZ.js → render-batch-6UN3HT5A.js} +5 -5
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-L5BDZJKU.js → resolver-O6ZENVYP.js} +6 -6
- package/dist/{sherpa-3S3ISG7G.js → sherpa-RWHRDO53.js} +11 -11
- package/dist/skills/hyperframes-cli/SKILL.md +3 -0
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +5 -1
- package/dist/{skills-X4WQEKNF.js → skills-KC6IGXDU.js} +5 -5
- package/dist/{skillsUpdateCheck-UYCVHDZ6.js → skillsUpdateCheck-7C4TD7EL.js} +3 -3
- package/dist/{snapshot-YEYHQEZQ.js → snapshot-SNZL5GPC.js} +118 -41
- package/dist/{src-OLBDPEG6.js → src-KKS6QEHB.js} +11 -11
- package/dist/{src-2NN2WB6X.js → src-YMUDUVXQ.js} +8 -8
- package/dist/{staticProjectServer-7H35NMWB.js → staticProjectServer-XOCIQ3FV.js} +20 -20
- package/dist/studio/assets/{hyperframes-player-DJt8E7k4.js → hyperframes-player-Cn6V2ZaK.js} +1 -1
- package/dist/studio/assets/{index-DgbLblGR.js → index-CEGNvZnK.js} +1 -1
- package/dist/studio/assets/{index-DWIHrAY2.js → index-CaaXbGyk.js} +1 -1
- package/dist/studio/assets/{index-BGks9KLI.js → index-Cwpnr4DV.js} +132 -132
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-HGM2A5I3.js → studio-api-NUNUZQ5I.js} +30 -16
- package/dist/{studioServer-M6XFL7N6.js → studioServer-FBY3YWZH.js} +43 -43
- package/dist/{synthesize-22B7L5GX.js → synthesize-W2M7QGDV.js} +6 -5
- package/dist/{telemetry-KVCZKVTE.js → telemetry-KNSTX3E2.js} +3 -3
- package/dist/{timeline-VYYKZR4V.js → timeline-6I5LGPP6.js} +20 -20
- package/dist/{tokens-B5NFFL55.js → tokens-MY4GOQ53.js} +2 -2
- package/dist/{transcribe-SBETOIWI.js → transcribe-56WECC4Y.js} +10 -10
- package/dist/{transcribe-WNFRYZAC.js → transcribe-ISCPZLQZ.js} +16 -16
- package/dist/{tts-QSAQZVEZ.js → tts-RE227GFP.js} +1 -1
- package/dist/{updateCheck-5MM2DFUC.js → updateCheck-FAG4T4AV.js} +2 -2
- package/dist/{upgrade-LWID54R3.js → upgrade-5QCPW55B.js} +2 -2
- package/dist/{urlDownloader-CVLNXFDG.js → urlDownloader-FGSJGUM7.js} +8 -8
- package/dist/{validate-V4CGQ6OF.js → validate-WC3FUSUF.js} +25 -25
- package/dist/{video-VJB2KRSS.js → video-DOFSWSSR.js} +9 -9
- package/package.json +1 -1
- package/dist/chunk-WBLXWOYK.js +0 -15
- package/dist/{screenshotCapture-TEUIWXWN.js → screenshotCapture-3JXXUZND.js} +3 -3
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
iterateFontFamilyDeclarations,
|
|
12
12
|
normalizeSystemFontPrimaryFamilies,
|
|
13
13
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-U3BCDVZO.js";
|
|
15
15
|
import {
|
|
16
16
|
EncoderInterruptedError,
|
|
17
17
|
encoderFailureError,
|
|
18
18
|
prepareAnimatedGifInputs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RCWSM7IQ.js";
|
|
20
20
|
import {
|
|
21
21
|
createStudioPositionSeekReapplyScript
|
|
22
22
|
} from "./chunk-EOOEC32M.js";
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
validateEngineConfigSnapshot,
|
|
148
148
|
verifyDiskDrawElementSamples,
|
|
149
149
|
writeCapturedFrame
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-2F6LWCSF.js";
|
|
151
151
|
import {
|
|
152
152
|
assignBundledRuntimeCompositionIds,
|
|
153
153
|
buildVariablesByCompScript,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
isTemplateEntry,
|
|
161
161
|
parsesAsScript,
|
|
162
162
|
prepareFlattenedInnerRoot
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-V6UUZGP6.js";
|
|
164
164
|
import {
|
|
165
165
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
166
166
|
getCgroupMemoryLimitMb,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
resolveAbsoluteMediaStartSeconds,
|
|
185
185
|
resolveAuthoredTimingWindow,
|
|
186
186
|
toFps
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-ZDEEHQ2Y.js";
|
|
188
188
|
import {
|
|
189
189
|
COMPOSITION_SOURCE_URL,
|
|
190
190
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
shouldClampResolvedMediaDuration,
|
|
213
213
|
sourceTimeAt,
|
|
214
214
|
styleElementsFor
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-GV7I3ZSQ.js";
|
|
216
216
|
import {
|
|
217
217
|
MAX_AUDIO_GAIN
|
|
218
218
|
} from "./chunk-UJKQWGFF.js";
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
isAspectAgnosticResolutionAlias,
|
|
227
227
|
normalizeResolutionFlag,
|
|
228
228
|
suggestMatchingPreset
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-VYKPBRCB.js";
|
|
230
230
|
import {
|
|
231
231
|
redactKnownPaths,
|
|
232
232
|
redactTelemetryString
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
} from "./chunk-TWWSYAKJ.js";
|
|
237
237
|
import {
|
|
238
238
|
lintHyperframeHtml
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-YOEGUBBY.js";
|
|
240
240
|
import {
|
|
241
241
|
isUnresolvedAssetPlaceholder,
|
|
242
242
|
readProjectFile,
|
|
@@ -6563,7 +6563,7 @@ async function readLocalFont(absPath) {
|
|
|
6563
6563
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
6564
6564
|
}
|
|
6565
6565
|
async function embedLocalFontFaces(html, projectDir) {
|
|
6566
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
6566
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-EOMDR6ZF.js");
|
|
6567
6567
|
const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
|
|
6568
6568
|
const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
|
|
6569
6569
|
let result = html;
|
|
@@ -14401,7 +14401,7 @@ function startServer(options = {}) {
|
|
|
14401
14401
|
});
|
|
14402
14402
|
async function shutdown(signal) {
|
|
14403
14403
|
log.info(`Received ${signal}, shutting down`);
|
|
14404
|
-
const { drainBrowserPool } = await import("./src-
|
|
14404
|
+
const { drainBrowserPool } = await import("./src-YMUDUVXQ.js");
|
|
14405
14405
|
await drainBrowserPool().catch(() => {
|
|
14406
14406
|
});
|
|
14407
14407
|
const handle = await Promise.race([
|
|
@@ -15587,7 +15587,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15587
15587
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15588
15588
|
if (probeResult.probeSession) {
|
|
15589
15589
|
try {
|
|
15590
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15590
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-YMUDUVXQ.js");
|
|
15591
15591
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15592
15592
|
} catch (err) {
|
|
15593
15593
|
log.warn("[plan] probe session close failed", {
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2XEBNYG5.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-ZDEEHQ2Y.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-3VGU2SH7.js";
|
|
25
25
|
|
|
26
26
|
// src/registry/installer.ts
|
|
27
27
|
import { createHash } from "crypto";
|
|
@@ -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-2X3UJ4Q3.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -6,13 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DAKXCEE3.js";
|
|
10
10
|
import {
|
|
11
11
|
requestCliExit
|
|
12
12
|
} from "./chunk-PBN6GBJE.js";
|
|
13
|
+
import {
|
|
14
|
+
normalizeErrorMessage
|
|
15
|
+
} from "./chunk-KNU5COPB.js";
|
|
13
16
|
|
|
14
17
|
// src/browser/launch.ts
|
|
18
|
+
var BrowserCleanupError = class extends AggregateError {
|
|
19
|
+
};
|
|
15
20
|
var browsers = /* @__PURE__ */ new Set();
|
|
21
|
+
var closing = /* @__PURE__ */ new WeakMap();
|
|
16
22
|
var pending = /* @__PURE__ */ new Map();
|
|
17
23
|
var CLOSE_GRACE_MS = 1e3;
|
|
18
24
|
var listening = false;
|
|
@@ -34,9 +40,21 @@ function ownSignals() {
|
|
|
34
40
|
process.on("SIGINT", () => stopForSignal("SIGINT"));
|
|
35
41
|
process.on("SIGTERM", () => stopForSignal("SIGTERM"));
|
|
36
42
|
}
|
|
37
|
-
async function resolveManagedGpuMode(requestedMode, chromePath) {
|
|
43
|
+
async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
|
|
38
44
|
ownSignals();
|
|
39
|
-
return resolveCaptureBrowserGpuMode(requestedMode, chromePath
|
|
45
|
+
return resolveCaptureBrowserGpuMode(requestedMode, chromePath, {
|
|
46
|
+
launch: async (puppeteer, options) => {
|
|
47
|
+
context.signal?.throwIfAborted();
|
|
48
|
+
const browser = await launchManagedBrowser(puppeteer, { ...options, signal: context.signal });
|
|
49
|
+
try {
|
|
50
|
+
context.onBrowser?.(browser);
|
|
51
|
+
} catch (error) {
|
|
52
|
+
return rethrowAfterBrowserCleanup(browser, error);
|
|
53
|
+
}
|
|
54
|
+
return browser;
|
|
55
|
+
},
|
|
56
|
+
close: closeManagedBrowser
|
|
57
|
+
});
|
|
40
58
|
}
|
|
41
59
|
async function launchManagedBrowser(puppeteer, options) {
|
|
42
60
|
if (shutdown) throw new Error("The CLI is stopping; no browser can start.");
|
|
@@ -64,7 +82,27 @@ async function launchManagedBrowser(puppeteer, options) {
|
|
|
64
82
|
async function closeManagedBrowsers() {
|
|
65
83
|
for (const abort of pending.values()) abort.abort();
|
|
66
84
|
await Promise.allSettled(pending.keys());
|
|
67
|
-
await Promise.all([...browsers].map(
|
|
85
|
+
await Promise.all([...browsers].map(closeManagedBrowser));
|
|
86
|
+
}
|
|
87
|
+
function closeManagedBrowser(browser) {
|
|
88
|
+
const existing = closing.get(browser);
|
|
89
|
+
if (existing) return existing;
|
|
90
|
+
const close = closeBrowser(browser);
|
|
91
|
+
closing.set(browser, close);
|
|
92
|
+
return close;
|
|
93
|
+
}
|
|
94
|
+
async function rethrowAfterBrowserCleanup(browser, error) {
|
|
95
|
+
if (browser) {
|
|
96
|
+
try {
|
|
97
|
+
await closeManagedBrowser(browser);
|
|
98
|
+
} catch (cleanupError) {
|
|
99
|
+
throw new BrowserCleanupError(
|
|
100
|
+
[error, cleanupError],
|
|
101
|
+
`${normalizeErrorMessage(error)}; browser cleanup failed: ${normalizeErrorMessage(cleanupError)}`
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
throw error;
|
|
68
106
|
}
|
|
69
107
|
async function closeBrowser(browser) {
|
|
70
108
|
const child = browser.process();
|
|
@@ -81,13 +119,23 @@ async function closeBrowser(browser) {
|
|
|
81
119
|
grace
|
|
82
120
|
]);
|
|
83
121
|
if (child.exitCode === null && child.signalCode === null) child.kill("SIGKILL");
|
|
84
|
-
|
|
122
|
+
clearTimeout(timer);
|
|
123
|
+
const exitLimit = new Promise((_, reject) => {
|
|
124
|
+
timer = setTimeout(
|
|
125
|
+
() => reject(new Error("Browser process did not exit after forced shutdown.")),
|
|
126
|
+
CLOSE_GRACE_MS
|
|
127
|
+
);
|
|
128
|
+
});
|
|
129
|
+
await Promise.race([exited, exitLimit]);
|
|
85
130
|
} finally {
|
|
86
131
|
clearTimeout(timer);
|
|
87
132
|
}
|
|
88
133
|
}
|
|
89
134
|
|
|
90
135
|
export {
|
|
136
|
+
BrowserCleanupError,
|
|
91
137
|
resolveManagedGpuMode,
|
|
92
|
-
launchManagedBrowser
|
|
138
|
+
launchManagedBrowser,
|
|
139
|
+
closeManagedBrowser,
|
|
140
|
+
rethrowAfterBrowserCleanup
|
|
93
141
|
};
|
|
@@ -9,23 +9,24 @@ import {
|
|
|
9
9
|
} from "./chunk-FH7WODJH.js";
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser,
|
|
12
|
-
resolveManagedGpuMode
|
|
13
|
-
|
|
12
|
+
resolveManagedGpuMode,
|
|
13
|
+
rethrowAfterBrowserCleanup
|
|
14
|
+
} from "./chunk-KFBEMIMD.js";
|
|
14
15
|
import {
|
|
15
16
|
resolveDiagnosticNavigationTimeoutMs,
|
|
16
17
|
windowsChromeCrashRemediation
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TXWPPBIW.js";
|
|
18
19
|
import {
|
|
19
20
|
resolveLocalBrowserGpuMode,
|
|
20
21
|
resolveLocalWebGpu
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DAKXCEE3.js";
|
|
22
23
|
import {
|
|
23
24
|
c
|
|
24
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
25
26
|
import {
|
|
26
27
|
assertWebGpuAdapterAvailable,
|
|
27
28
|
compositionRequiresWebGpu
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2F6LWCSF.js";
|
|
29
30
|
import {
|
|
30
31
|
normalizeErrorMessage
|
|
31
32
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -105,18 +106,24 @@ async function installPageFunctionGuard(page) {
|
|
|
105
106
|
async function openSettledCompositionPage(html, url, options) {
|
|
106
107
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
107
108
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-ZLJD3EAY.js");
|
|
108
|
-
const browser = await ensureBrowser();
|
|
109
|
+
const browser = await ensureBrowser({ signal: options.signal });
|
|
109
110
|
const puppeteer = await import("puppeteer-core");
|
|
110
|
-
const { buildChromeArgs } = await import("./src-
|
|
111
|
+
const { buildChromeArgs } = await import("./src-YMUDUVXQ.js");
|
|
111
112
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
112
113
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
113
114
|
let softwareWebGpu = false;
|
|
114
115
|
const launch = async (executablePath) => {
|
|
115
|
-
|
|
116
|
+
options.signal?.throwIfAborted();
|
|
117
|
+
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, executablePath, {
|
|
118
|
+
signal: options.signal,
|
|
119
|
+
onBrowser: options.onBrowser
|
|
120
|
+
});
|
|
121
|
+
options.signal?.throwIfAborted();
|
|
116
122
|
const webGpu = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
117
123
|
softwareWebGpu = webGpu.softwareWebGpu;
|
|
118
124
|
return launchManagedBrowser(puppeteer.default, {
|
|
119
125
|
headless: true,
|
|
126
|
+
signal: options.signal,
|
|
120
127
|
executablePath,
|
|
121
128
|
args: buildChromeArgs(
|
|
122
129
|
{ ...viewport, captureMode: "screenshot", requiresWebGpu },
|
|
@@ -152,6 +159,8 @@ ${remediation}`,
|
|
|
152
159
|
);
|
|
153
160
|
}
|
|
154
161
|
}
|
|
162
|
+
options.onBrowser?.(chromeBrowser);
|
|
163
|
+
options.onBrowserReady?.();
|
|
155
164
|
const page = await chromeBrowser.newPage();
|
|
156
165
|
await installPageFunctionGuard(page);
|
|
157
166
|
await page.setViewport(viewport);
|
|
@@ -164,9 +173,7 @@ ${remediation}`,
|
|
|
164
173
|
const renderReadyTimedOut = !await waitForCompositionSettle(page, options);
|
|
165
174
|
return { browser: chromeBrowser, page, renderReadyTimedOut };
|
|
166
175
|
} catch (err) {
|
|
167
|
-
|
|
168
|
-
});
|
|
169
|
-
throw err;
|
|
176
|
+
return rethrowAfterBrowserCleanup(chromeBrowser, err);
|
|
170
177
|
}
|
|
171
178
|
}
|
|
172
179
|
async function seekCompositionTimeline(page, timeSeconds, options = {}) {
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
formatPreviewProxyBox,
|
|
10
10
|
hdrToSdrToneMapFilter,
|
|
11
11
|
parseFirstFrameColour
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZDEEHQ2Y.js";
|
|
13
13
|
import {
|
|
14
14
|
decodeAuthoredAttribute,
|
|
15
15
|
scanHtmlOpeningTags
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VYKPBRCB.js";
|
|
17
17
|
import {
|
|
18
18
|
mkdirWithinProject,
|
|
19
19
|
realProjectRoot,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
rewriteAssetPath
|
|
33
33
|
} from "./chunk-BSQ7XANM.js";
|
|
34
34
|
|
|
35
|
-
// ../studio-server/dist/chunk-
|
|
35
|
+
// ../studio-server/dist/chunk-FKJBNFWA.js
|
|
36
36
|
import { statSync } from "fs";
|
|
37
37
|
import { sep } from "path";
|
|
38
38
|
import { execFile } from "child_process";
|
|
@@ -336,7 +336,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
|
|
|
336
336
|
return map;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
// ../studio-server/dist/chunk-
|
|
339
|
+
// ../studio-server/dist/chunk-JTPV2T3F.js
|
|
340
340
|
import { spawn } from "child_process";
|
|
341
341
|
import { createHash, randomUUID } from "crypto";
|
|
342
342
|
import { existsSync as existsSync2, renameSync, statSync as statSync2, unlinkSync as unlinkSync2, utimesSync } from "fs";
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OIONMNWN.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-FH7WODJH.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KFBEMIMD.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveProject
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JQ57FAYN.js";
|
|
23
23
|
import {
|
|
24
24
|
defineCommand
|
|
25
25
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
printDeprecationNotice,
|
|
35
35
|
withMeta
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YI6OBVWQ.js";
|
|
37
37
|
import {
|
|
38
38
|
decodeWellFormedEscapes
|
|
39
39
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -228,7 +228,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
228
228
|
async function localizeRemoteAssets(html) {
|
|
229
229
|
let dir;
|
|
230
230
|
try {
|
|
231
|
-
const { loadProducer } = await import("./producer-
|
|
231
|
+
const { loadProducer } = await import("./producer-HE23BPEU.js");
|
|
232
232
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
233
233
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
234
234
|
const assetDir = dir;
|
|
@@ -249,10 +249,10 @@ async function localizeRemoteAssets(html) {
|
|
|
249
249
|
}
|
|
250
250
|
async function validateInBrowser(project, opts) {
|
|
251
251
|
const projectDir = project.dir;
|
|
252
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
252
|
+
const { bundleToSingleHtml } = await import("./compiler-WHUQZITN.js");
|
|
253
253
|
const { ensureBrowser } = await import("./manager-ZLJD3EAY.js");
|
|
254
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
255
|
-
const { lintProject } = await import("./lintProject-
|
|
254
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-XOCIQ3FV.js");
|
|
255
|
+
const { lintProject } = await import("./lintProject-XQWXJYSC.js");
|
|
256
256
|
const lintResult = await lintProject(projectDir);
|
|
257
257
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
258
258
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -273,9 +273,9 @@ async function validateInBrowser(project, opts) {
|
|
|
273
273
|
try {
|
|
274
274
|
const browser = await ensureBrowser();
|
|
275
275
|
const puppeteer = await import("puppeteer-core");
|
|
276
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
276
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-YMUDUVXQ.js");
|
|
277
277
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
278
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
278
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-7SIPG5BM.js");
|
|
279
279
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
280
280
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
281
281
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2F6LWCSF.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZDEEHQ2Y.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
getUpdateMeta,
|
|
34
34
|
withMeta
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-YI6OBVWQ.js";
|
|
36
36
|
import {
|
|
37
37
|
CONFIG_PATH,
|
|
38
38
|
withFileLock
|
|
39
39
|
} from "./chunk-XUXGIA7H.js";
|
|
40
40
|
import {
|
|
41
41
|
VERSION
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2X3UJ4Q3.js";
|
|
43
43
|
import {
|
|
44
44
|
OPTIONAL_PACKAGES,
|
|
45
45
|
installedOptionalPackageVersion
|
|
46
46
|
} from "./chunk-3DKN5WKL.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveExtractCacheDir
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2F6LWCSF.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeErrorMessage
|
|
52
52
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CBMZYOWC.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AUK5QCRH.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YOEGUBBY.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -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-5FS4HCHN.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GV7I3ZSQ.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JBUIS5DN.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YYMJEQ4D.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PXOFFSO3.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HGAOO43L.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2XEBNYG5.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CBMZYOWC.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZDEEHQ2Y.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -5691,6 +5691,9 @@ Parser.acorn = {
|
|
|
5691
5691
|
function parse3(input, options) {
|
|
5692
5692
|
return Parser.parse(input, options);
|
|
5693
5693
|
}
|
|
5694
|
+
function parseExpressionAt2(input, pos, options) {
|
|
5695
|
+
return Parser.parseExpressionAt(input, pos, options);
|
|
5696
|
+
}
|
|
5694
5697
|
|
|
5695
5698
|
// ../../node_modules/.bun/acorn-walk@8.3.5/node_modules/acorn-walk/dist/walk.mjs
|
|
5696
5699
|
function simple(node, visitors, baseVisitor, state, override) {
|
|
@@ -6052,6 +6055,7 @@ base.MethodDefinition = base.PropertyDefinition = base.Property = function(node,
|
|
|
6052
6055
|
|
|
6053
6056
|
export {
|
|
6054
6057
|
parse3 as parse,
|
|
6058
|
+
parseExpressionAt2 as parseExpressionAt,
|
|
6055
6059
|
simple,
|
|
6056
6060
|
ancestor,
|
|
6057
6061
|
full
|
|
@@ -6,24 +6,24 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
serveStaticProjectHtml
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7NKLNOHW.js";
|
|
10
10
|
import {
|
|
11
11
|
AUDIT_SEEK_OPTIONS,
|
|
12
12
|
installPageFunctionGuard,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForCompositionFonts,
|
|
15
15
|
waitForRuntimeReady
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OIONMNWN.js";
|
|
17
17
|
import {
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KFBEMIMD.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveDiagnosticNavigationTimeoutMs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TXWPPBIW.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveProject
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JQ57FAYN.js";
|
|
27
27
|
import {
|
|
28
28
|
defineCommand
|
|
29
29
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
printDeprecationNotice,
|
|
39
39
|
withMeta
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YI6OBVWQ.js";
|
|
41
41
|
import {
|
|
42
42
|
normalizeErrorMessage
|
|
43
43
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -707,7 +707,7 @@ async function collectTweenBoundaries(page) {
|
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
async function bundleProjectHtml(projectDir) {
|
|
710
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
710
|
+
const { bundleToSingleHtml } = await import("./compiler-WHUQZITN.js");
|
|
711
711
|
return bundleToSingleHtml(projectDir);
|
|
712
712
|
}
|
|
713
713
|
async function alignViewportToComposition(page, url) {
|
|
@@ -729,13 +729,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
729
729
|
async function runLayoutAudit(projectDir, opts) {
|
|
730
730
|
const { ensureBrowser } = await import("./manager-ZLJD3EAY.js");
|
|
731
731
|
const puppeteer = await import("puppeteer-core");
|
|
732
|
-
const { buildChromeArgs } = await import("./src-
|
|
732
|
+
const { buildChromeArgs } = await import("./src-YMUDUVXQ.js");
|
|
733
733
|
const {
|
|
734
734
|
assertWebGpuAdapterAvailable,
|
|
735
735
|
compositionRequiresWebGpu,
|
|
736
736
|
resolveLocalBrowserGpuMode,
|
|
737
737
|
resolveLocalWebGpu
|
|
738
|
-
} = await import("./gpuPolicy-
|
|
738
|
+
} = await import("./gpuPolicy-7SIPG5BM.js");
|
|
739
739
|
const html = await bundleProjectHtml(projectDir);
|
|
740
740
|
const server = await serveStaticProjectHtml(
|
|
741
741
|
projectDir,
|