hyperframes 0.8.208 → 0.8.209
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-XMWRBMBR.js → add-VZKUIZEH.js} +14 -13
- package/dist/{animatedGifPrep-6XURJIPV.js → animatedGifPrep-PN4G4YPJ.js} +8 -6
- package/dist/api.js +19 -16
- package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
- package/dist/{asset-I5GGEOB2.js → asset-I4PHGE57.js} +2 -2
- package/dist/{assetCataloger-YBPXUNUP.js → assetCataloger-LRAUXQ46.js} +8 -6
- package/dist/{audio-GFJCHH5W.js → audio-T7SAVYED.js} +27 -18
- package/dist/{auth-QOA55RYR.js → auth-GP6HTQT3.js} +1 -1
- package/dist/{autoUpdate-SPS4QPJU.js → autoUpdate-Z6GFPZAG.js} +2 -2
- package/dist/{backgroundChecks-HRJO7YK7.js → backgroundChecks-ZJ7JV52S.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FBP3RKUF.js → batchRender-J3ETE23Y.js} +3 -3
- package/dist/{beats-VNGJ7F6W.js → beats-WF4FJCM5.js} +13 -10
- package/dist/{benchmark-NZ3N3MIV.js → benchmark-B7UPP4PQ.js} +8 -8
- package/dist/{browser-BD5BKRJ5.js → browser-SIUYD43U.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WXVNPAWD.js → bundleWithLocalizedFonts-RRGFY3XV.js} +2 -2
- package/dist/{capture-LMJ4TQRL.js → capture-J3GLHUKI.js} +2 -2
- package/dist/{capture-CXWXKWS5.js → capture-VYS4PCCJ.js} +13 -12
- package/dist/{captureCompositionFrame-ZKVCRYYU.js → captureCompositionFrame-SVLMPQYC.js} +13 -12
- package/dist/{catalog-WRXQSCAU.js → catalog-DVBNR422.js} +14 -13
- package/dist/{catch-up-MDSPABFC.js → catch-up-OBPMV7KG.js} +7 -6
- package/dist/{check-SIBBK5HA.js → check-MEALXNZK.js} +42 -40
- package/dist/{checkAudio-QQBR4HR7.js → checkAudio-RZ7WQYVN.js} +21 -12
- package/dist/{checkBrowser-4EBJLLIH.js → checkBrowser-2LEQ2LSX.js} +35 -33
- package/dist/{chunk-P7WGVXR7.js → chunk-3A4SB326.js} +6 -6
- package/dist/{chunk-FFDYRJBE.js → chunk-3PTZ2TD4.js} +1 -1
- package/dist/{chunk-4HT2L6W2.js → chunk-3PUXUIWB.js} +1 -1
- package/dist/chunk-3RATCY3W.js +205 -0
- package/dist/{chunk-X6MCIK7L.js → chunk-4BXEPVSA.js} +17 -11
- package/dist/{chunk-XOFBXLMG.js → chunk-5T4DP25D.js} +5 -3
- package/dist/{chunk-ULL3U6PV.js → chunk-66PNSZ7K.js} +1 -1
- package/dist/chunk-7VZEOCUY.js +98 -0
- package/dist/{chunk-TNTGGDSD.js → chunk-A7GDBL6D.js} +1 -1
- package/dist/{chunk-6WRN4WC6.js → chunk-AQTODJWP.js} +1 -1
- package/dist/{chunk-K4PHB3YQ.js → chunk-BYPDKF36.js} +1 -1
- package/dist/{chunk-MBGM26P5.js → chunk-CA3PXWN4.js} +1 -1
- package/dist/{chunk-SI7QCT2J.js → chunk-CBM4ZUVN.js} +5 -5
- package/dist/{chunk-IL2TMC6F.js → chunk-CIDCNE2D.js} +21 -5
- package/dist/chunk-D3MUHMFG.js +16 -0
- package/dist/{chunk-6N7D2GUV.js → chunk-D6T5BNSK.js} +17 -16
- package/dist/{chunk-XG3IZV62.js → chunk-DR47DSOY.js} +5 -5
- package/dist/{chunk-B5MPMIKQ.js → chunk-DVIX7UPH.js} +2 -2
- package/dist/{chunk-PSOAGSNO.js → chunk-EA5FUMJN.js} +1 -1
- package/dist/{chunk-VR3JLTZD.js → chunk-EVYDKSML.js} +3 -3
- package/dist/{chunk-XUQYC5DD.js → chunk-F4O4G4ZW.js} +5 -5
- package/dist/{chunk-VS4SK7BN.js → chunk-FB5BXGGF.js} +7 -7
- package/dist/{chunk-IIJVSCSH.js → chunk-GQZHLF5P.js} +13 -13
- package/dist/{chunk-J67FSI3Q.js → chunk-H7B526GH.js} +19 -16
- package/dist/{chunk-CSWCZA6V.js → chunk-I3ICHLHV.js} +2 -2
- package/dist/{chunk-EYEEZXLI.js → chunk-IJPFVMIE.js} +9 -9
- package/dist/{chunk-MPO25DQW.js → chunk-IQNS7O4W.js} +117 -135
- package/dist/{chunk-3O2E4Q66.js → chunk-J7A73K2B.js} +35 -22
- package/dist/{chunk-GHSO62LK.js → chunk-JC6BAQOG.js} +4 -10
- package/dist/{chunk-PKVA6MPV.js → chunk-JJRMN2RV.js} +63 -200
- package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
- package/dist/{chunk-CP225S5H.js → chunk-KGBFHYHX.js} +4 -4
- package/dist/{chunk-QP2MJYTJ.js → chunk-L5XVBFUM.js} +1 -1
- package/dist/{chunk-DHQSDCWD.js → chunk-L7MGVFR4.js} +2 -1
- package/dist/{chunk-WNMVC3IT.js → chunk-LJ7H2A2C.js} +1 -1
- package/dist/{chunk-NZ6G5YWZ.js → chunk-LV4NWCJS.js} +1 -1
- package/dist/{chunk-QWBVPWUI.js → chunk-MI4V4HPE.js} +1 -1
- package/dist/{chunk-7CPI2DWL.js → chunk-MKALOCDV.js} +1 -1
- package/dist/{chunk-ENRFKCI6.js → chunk-MVNTJGDX.js} +3 -3
- package/dist/{chunk-GEO6THL3.js → chunk-NJZRXELC.js} +28 -25
- package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
- package/dist/{chunk-BLCKQPBE.js → chunk-NXNDHV26.js} +1 -1
- package/dist/{chunk-WABB4LZS.js → chunk-OK3QLJSF.js} +1 -1
- package/dist/{chunk-4KG3ESVO.js → chunk-OML6HQQN.js} +1 -1
- package/dist/{chunk-OTXXDONS.js → chunk-P2FSCR5B.js} +2 -2
- package/dist/{chunk-FC4WT5FX.js → chunk-P327BIJR.js} +1 -14
- package/dist/{chunk-43MW4SY7.js → chunk-P3OKYRGA.js} +3 -3
- package/dist/{chunk-S4KHJERB.js → chunk-PYVYF64E.js} +1 -1
- package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
- package/dist/{chunk-DXACKQ3F.js → chunk-QIKZ2HZJ.js} +3 -3
- package/dist/{chunk-EGOXYG3M.js → chunk-R52YM6ZK.js} +1 -1
- package/dist/{chunk-MW2NQQ6Z.js → chunk-RAONLDN5.js} +2 -2
- package/dist/{chunk-MYO77JWR.js → chunk-RJO4X3AA.js} +1 -1
- package/dist/{chunk-LSMFOZ4F.js → chunk-RVG2JNDU.js} +1 -1
- package/dist/{chunk-7PAK7LZ5.js → chunk-SE6S4SGZ.js} +11 -13
- package/dist/{chunk-G2A6RC5R.js → chunk-SNLXWCET.js} +64 -48
- package/dist/{chunk-4F5NRJ6M.js → chunk-SOXQXX2M.js} +2 -2
- package/dist/{chunk-U6KN6OIP.js → chunk-SPMKVI6H.js} +1 -1
- package/dist/{chunk-6CWKORZO.js → chunk-SWHCYFEF.js} +27 -5
- package/dist/{chunk-PWEOSJ3E.js → chunk-TF7YE7J5.js} +3 -3
- package/dist/{chunk-Z5TGBEPJ.js → chunk-TSM67ADU.js} +1 -1
- package/dist/{chunk-BKDQFOKK.js → chunk-U5IZUWBW.js} +3 -3
- package/dist/{chunk-6JNSYFOH.js → chunk-V4VXWOIF.js} +3 -3
- package/dist/{chunk-ORFRUZPB.js → chunk-W32DVMX3.js} +2 -2
- package/dist/{chunk-4LTBQEPD.js → chunk-WLVHSGVL.js} +2 -2
- package/dist/chunk-XCIHCPJK.js +106 -0
- package/dist/{chunk-HUKQW4YE.js → chunk-Y2EVJBR6.js} +1 -1
- package/dist/{chunk-HZN7ICAF.js → chunk-YCGLT5B4.js} +1 -1
- package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
- package/dist/{chunk-6DSYBW7Z.js → chunk-YRO3PXWU.js} +1 -85
- package/dist/{chunk-5HB4JM7H.js → chunk-Z67J3TTU.js} +5 -3
- package/dist/{chunk-SKKQMW5X.js → chunk-ZMIRSWN6.js} +1 -1
- package/dist/{chunk-S2OLTAEL.js → chunk-ZPILPVYU.js} +2 -2
- package/dist/chunk-ZXTSUXSL.js +4870 -0
- package/dist/{clean-6GX7WAEC.js → clean-VWCYLOVI.js} +20 -17
- package/dist/cli.js +55 -55
- package/dist/{cloud-6PFJKLNL.js → cloud-HU3RXCVE.js} +4 -4
- package/dist/{cloudrun-UGG3ZFH7.js → cloudrun-OST6QBYD.js} +4 -4
- package/dist/commands/layout-audit.browser.js +1 -0
- package/dist/{compare-P4EBOP4B.js → compare-U2MJWZAH.js} +32 -30
- package/dist/{compiler-PG4RKX6K.js → compiler-DSP4MVEC.js} +5 -3
- package/dist/{component-SQPMI3W7.js → component-EC5XU6KR.js} +3 -3
- package/dist/{compositions-KRIHY3IY.js → compositions-AKYCTF4G.js} +12 -10
- package/dist/{delete-T5TO4SV6.js → delete-Z5MOEZM2.js} +5 -4
- package/dist/{deploy-AO6LQR5G.js → deploy-Y4LFVYXT.js} +1 -1
- package/dist/{dist-6IMEDVMC.js → dist-73YTUT3W.js} +1 -1
- package/dist/{dist-23AAB5X2.js → dist-JJL4QUDL.js} +2 -2
- package/dist/{doctor-QBUJQ655.js → doctor-7234U557.js} +12 -10
- package/dist/{events-J7CESLKQ.js → events-RUIZNTG3.js} +2 -2
- package/dist/{events-SIZO7YHI.js → events-SII53QYO.js} +3 -3
- package/dist/{feedback-74WOJ5PN.js → feedback-6CCDDQ36.js} +7 -7
- package/dist/{ffmpeg-AKUP6U2S.js → ffmpeg-C4VWK4M2.js} +8 -6
- package/dist/{figma-GGMYRR4Q.js → figma-GAN63U5U.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -9
- package/dist/{get-PLKAI6JM.js → get-RZGUHZB4.js} +5 -4
- package/dist/{gpuPolicy-EYDAAPJF.js → gpuPolicy-BGJRCLP4.js} +8 -6
- package/dist/{grade-compare-UADJP4AV.js → grade-compare-XOBN52WV.js} +33 -31
- package/dist/{heifImagePrep-KDF3OPOK.js → heifImagePrep-DCHSYGW7.js} +9 -7
- package/dist/{help-WSQQ555Q.js → help-O2IV6PUC.js} +1 -1
- package/dist/{history-VSQ2DQ3V.js → history-GPTEM4UX.js} +9 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-MOQ4LRC3.js → info-7Y3JPN7C.js} +7 -7
- package/dist/{init-EONQSZJG.js → init-L6W5WG5K.js} +34 -29
- package/dist/{inspect-OLCVLHOU.js → inspect-MQZANGQY.js} +33 -31
- package/dist/{installer-GHISA75B.js → installer-DCIMLYB6.js} +4 -4
- package/dist/{keyframes-DGQYCY24.js → keyframes-WNJIKL4G.js} +6 -6
- package/dist/{lambda-AMMWF2YH.js → lambda-FEA4SSFK.js} +12 -10
- package/dist/{layout-R6CAPGRO.js → layout-AUQAYDJU.js} +33 -31
- package/dist/{lint-QZJEYPHD.js → lint-A33IHYID.js} +7 -7
- package/dist/{lintProject-W3YVHAGP.js → lintProject-KCN7MRBN.js} +1 -1
- package/dist/{list-KCJID4SP.js → list-56JHCET6.js} +5 -4
- package/dist/{login-7HKBEPJS.js → login-HUOM4GNP.js} +4 -4
- package/dist/{manager-6YSKJMVD.js → manager-SDRJOMPR.js} +9 -7
- package/dist/{media-treatment-E3DL6LEZ.js → media-treatment-5TGZOD67.js} +14 -12
- package/dist/{models-URWI7YEG.js → models-ABDX6TXI.js} +12 -10
- package/dist/{motionShot-27IXMDJK.js → motionShot-AV2WRH2C.js} +16 -15
- package/dist/{normalize-audio-WGRLPR3P.js → normalize-audio-M7T25DST.js} +10 -7
- package/dist/{open-LQ35PLEN.js → open-IRNZY5XN.js} +15 -14
- package/dist/{parakeetRunner-XASVIDTI.js → parakeetRunner-2EJUIMOJ.js} +16 -13
- package/dist/{pipeline-GA7QVCHS.js → pipeline-QGKOJKXS.js} +9 -7
- package/dist/{play-RYZP77CI.js → play-2SQLHM5B.js} +24 -21
- package/dist/{preflight-HJFSJXXF.js → preflight-ZHXMG2SM.js} +9 -7
- package/dist/{present-YBMLOWZV.js → present-RERVL6R7.js} +19 -16
- package/dist/{preview-QIRKJCRV.js → preview-S6RQOMHE.js} +22 -20
- package/dist/{producer-524FDOLX.js → producer-DBRGH2FI.js} +1 -1
- package/dist/{projectConfig-IDQN5ZRW.js → projectConfig-TUMDULTL.js} +9 -8
- package/dist/{publication-3X3IGSDO.js → publication-7VGXIFVZ.js} +2 -2
- package/dist/{publish-2BF7K6HX.js → publish-KJB2AGHL.js} +14 -11
- package/dist/{remove-background-EZBCEFT6.js → remove-background-EFWXPLS4.js} +10 -8
- package/dist/{render-TEEBI2UT.js → render-5O5ARP6C.js} +49 -50
- package/dist/{render-JFMTAXHD.js → render-7S6UBLOE.js} +36 -36
- package/dist/{render-EFUA2A6A.js → render-HV6AA22W.js} +5 -5
- package/dist/{render-batch-XTYNXVSW.js → render-batch-7UEOULJJ.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-FZS6TN6B.js → resolver-HFTEER5V.js} +4 -4
- package/dist/{sherpa-TQIAIKTH.js → sherpa-HSSM76FL.js} +15 -12
- package/dist/{skills-S6ZG5KKH.js → skills-RQO5K6WL.js} +5 -5
- package/dist/{skillsUpdateCheck-XC7JQL3F.js → skillsUpdateCheck-S5WL2YLZ.js} +3 -3
- package/dist/{snapshot-ERYZIM32.js → snapshot-4RGI235E.js} +86 -52
- package/dist/{src-6XOMREMS.js → src-ALOV4D57.js} +24 -9
- package/dist/{src-OL6RHPE4.js → src-D75YYW2M.js} +10 -8
- package/dist/{staticProjectServer-JYDDGPAH.js → staticProjectServer-DIHWPJ6B.js} +21 -18
- package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-CMH8OeX2.js} +1 -1
- package/dist/studio/assets/{index-Bu3mJUU2.js → index-DQam8zzE.js} +4 -4
- package/dist/studio/assets/{index-ZqyQ91pm.js → index-DjHzuJGR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GRU4SHKD.js → studio-api-A2VSWTVF.js} +13 -10
- package/dist/{studioServer-OYPBEI5B.js → studioServer-PECYWZHS.js} +53 -51
- package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
- package/dist/{telemetry-CPYINR63.js → telemetry-YDGXGOLH.js} +3 -3
- package/dist/{timeline-RGK5BMPD.js → timeline-5WUEEKZ3.js} +21 -18
- package/dist/{tokens-EX4BOWRW.js → tokens-XVFZPIUZ.js} +2 -2
- package/dist/{transcribe-RI52JMVW.js → transcribe-QWDUIJWK.js} +20 -17
- package/dist/{transcribe-MK367I6A.js → transcribe-TTJ6CDQT.js} +12 -9
- package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
- package/dist/{updateCheck-BIEJKQI4.js → updateCheck-P7STSJ6Q.js} +2 -2
- package/dist/{upgrade-ES3UUI7O.js → upgrade-NEIZ3KVL.js} +2 -2
- package/dist/{urlDownloader-XAGYSTAG.js → urlDownloader-ZZFNGZNG.js} +7 -5
- package/dist/{validate-A6GZHNEI.js → validate-T2SLBOXG.js} +26 -24
- package/dist/{video-OEMGR3MN.js → video-7OHSBSRT.js} +8 -6
- package/dist/warmCheck.js +42 -40
- package/package.json +1 -1
- package/dist/chunk-BQMAPNDA.js +0 -4830
- package/dist/chunk-DKPNNYBZ.js +0 -44
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L5XVBFUM.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IQNS7O4W.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MI4V4HPE.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -10,24 +10,24 @@ import {
|
|
|
10
10
|
readToolContext,
|
|
11
11
|
reportArtifacts,
|
|
12
12
|
withProjectLock
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3PTZ2TD4.js";
|
|
14
14
|
import {
|
|
15
15
|
beginCheckSnapshots,
|
|
16
16
|
checkSnapshotDirectory,
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-D6T5BNSK.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DVIX7UPH.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZPILPVYU.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EVYDKSML.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IJPFVMIE.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,26 +57,26 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-TSM67ADU.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-J7A73K2B.js";
|
|
64
64
|
import {
|
|
65
65
|
BrowserCleanupError,
|
|
66
66
|
closeManagedBrowser,
|
|
67
67
|
onStopSignal,
|
|
68
68
|
registerBrowserSessionCleanup
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-4BXEPVSA.js";
|
|
70
70
|
import {
|
|
71
71
|
withRemainingBudget
|
|
72
72
|
} from "./chunk-EHSBBBR2.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WLVHSGVL.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-L7MGVFR4.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-GDZA4ALG.js";
|
|
@@ -96,14 +96,14 @@ import {
|
|
|
96
96
|
import {
|
|
97
97
|
extractMediaMetadata,
|
|
98
98
|
findHdrAutoPromotion
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-IQNS7O4W.js";
|
|
100
100
|
import {
|
|
101
101
|
lintProject,
|
|
102
102
|
shouldBlockRender
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-P327BIJR.js";
|
|
104
104
|
import {
|
|
105
105
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-SPMKVI6H.js";
|
|
107
107
|
import {
|
|
108
108
|
normalizeErrorMessage
|
|
109
109
|
} from "./chunk-EU7MVORF.js";
|
|
@@ -797,7 +797,7 @@ var DEFAULT_CHECK_OPTIONS = {
|
|
|
797
797
|
maxIssues: 80,
|
|
798
798
|
collapseStatic: true,
|
|
799
799
|
tolerance: 2,
|
|
800
|
-
timeout:
|
|
800
|
+
timeout: 1e4,
|
|
801
801
|
contrast: true,
|
|
802
802
|
strict: false,
|
|
803
803
|
snapshots: false,
|
|
@@ -1837,7 +1837,8 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1837
1837
|
craftMs: collected.craftMs,
|
|
1838
1838
|
overlapMs: collected.overlapMs
|
|
1839
1839
|
},
|
|
1840
|
-
skipped: false
|
|
1840
|
+
skipped: false,
|
|
1841
|
+
renderReadyTimedOut: false
|
|
1841
1842
|
};
|
|
1842
1843
|
}
|
|
1843
1844
|
async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDENCIES) {
|
|
@@ -2174,6 +2175,7 @@ function buildReport(options, lint, browser, motion, extraMotionFindings, snapsh
|
|
|
2174
2175
|
contrastWarnings: contrastSection.warningCount,
|
|
2175
2176
|
craftWarnings: craftSection.warningCount,
|
|
2176
2177
|
launchSettleMs: browser.timings.launchSettleMs,
|
|
2178
|
+
renderReadyTimedOut: browser.renderReadyTimedOut,
|
|
2177
2179
|
seekLoopMs: browser.timings.seekLoopMs,
|
|
2178
2180
|
contrastMs: browser.timings.contrastMs,
|
|
2179
2181
|
gridMs: browser.timings.gridMs,
|
|
@@ -2295,7 +2297,8 @@ function emptyBrowserResult() {
|
|
|
2295
2297
|
craftMs: 0,
|
|
2296
2298
|
overlapMs: 0
|
|
2297
2299
|
},
|
|
2298
|
-
skipped: true
|
|
2300
|
+
skipped: true,
|
|
2301
|
+
renderReadyTimedOut: false
|
|
2299
2302
|
};
|
|
2300
2303
|
}
|
|
2301
2304
|
function runtimeFailure(error, code = "check_runtime_failure") {
|
|
@@ -2331,7 +2334,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2331
2334
|
};
|
|
2332
2335
|
}
|
|
2333
2336
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2334
|
-
const module = await import("./checkBrowser-
|
|
2337
|
+
const module = await import("./checkBrowser-2LEQ2LSX.js");
|
|
2335
2338
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2336
2339
|
}
|
|
2337
2340
|
var adoptedBrowser;
|
|
@@ -2345,7 +2348,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2345
2348
|
if (adopted) return adopted;
|
|
2346
2349
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2347
2350
|
if (html === void 0) return void 0;
|
|
2348
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2351
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-SVLMPQYC.js");
|
|
2349
2352
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2350
2353
|
}
|
|
2351
2354
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2357,11 +2360,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2357
2360
|
return relative(projectDir, path);
|
|
2358
2361
|
}
|
|
2359
2362
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2360
|
-
const module = await import("./checkBrowser-
|
|
2363
|
+
const module = await import("./checkBrowser-2LEQ2LSX.js");
|
|
2361
2364
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2362
2365
|
}
|
|
2363
2366
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2364
|
-
const module = await import("./checkBrowser-
|
|
2367
|
+
const module = await import("./checkBrowser-2LEQ2LSX.js");
|
|
2365
2368
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2366
2369
|
}
|
|
2367
2370
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2383,7 +2386,7 @@ function collectMedia(project) {
|
|
|
2383
2386
|
return collectProjectMedia(project.dir);
|
|
2384
2387
|
}
|
|
2385
2388
|
async function inspectAudio(project, media) {
|
|
2386
|
-
const module = await import("./checkAudio-
|
|
2389
|
+
const module = await import("./checkAudio-RZ7WQYVN.js");
|
|
2387
2390
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2388
2391
|
}
|
|
2389
2392
|
function audioCheckFailure(project, error) {
|
|
@@ -2435,7 +2438,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2435
2438
|
}
|
|
2436
2439
|
},
|
|
2437
2440
|
async prepareMedia(project, options) {
|
|
2438
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2441
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RRGFY3XV.js");
|
|
2439
2442
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2440
2443
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2441
2444
|
},
|
|
@@ -2551,8 +2554,8 @@ var CHECK_COMMAND_ARGS = {
|
|
|
2551
2554
|
},
|
|
2552
2555
|
timeout: {
|
|
2553
2556
|
type: "string",
|
|
2554
|
-
description: "Initial render-ready timeout in ms, or with a unit (45s, 2m); also sets the navigation minimum (10s floor, default:
|
|
2555
|
-
default: "
|
|
2557
|
+
description: "Initial render-ready timeout in ms, or with a unit (45s, 2m); also sets the navigation minimum (10s floor, default: 10000)",
|
|
2558
|
+
default: "10000"
|
|
2556
2559
|
},
|
|
2557
2560
|
contrast: {
|
|
2558
2561
|
type: "boolean",
|
|
@@ -4,17 +4,18 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
renameWithRetry
|
|
9
|
+
} from "./chunk-XCIHCPJK.js";
|
|
7
10
|
import {
|
|
8
11
|
realpath
|
|
9
12
|
} from "./chunk-OFQWTKPW.js";
|
|
10
13
|
|
|
11
14
|
// ../core/dist/atomicFile.js
|
|
12
15
|
import * as fs from "fs";
|
|
13
|
-
import { randomBytes } from "crypto";
|
|
16
|
+
import { createHash, randomBytes } from "crypto";
|
|
14
17
|
import { basename, dirname, isAbsolute, join, resolve, sep } from "path";
|
|
15
18
|
var NO_HARD_LINKS = /* @__PURE__ */ new Set(["EPERM", "ENOTSUP", "EOPNOTSUPP", "EXDEV", "EISDIR"]);
|
|
16
|
-
var BUSY_RENAME = /* @__PURE__ */ new Set(["EPERM", "EBUSY", "EACCES"]);
|
|
17
|
-
var RENAME_RETRY_DELAYS_MS = [10, 20, 30, 40];
|
|
18
19
|
var MAX_LINK_HOPS = 40;
|
|
19
20
|
var TEMP_NAME_TRIES = 3;
|
|
20
21
|
var TEMP_SUFFIX = /\.hf[0-9a-f]{6}\.tmp$/;
|
|
@@ -24,8 +25,20 @@ function atomicTempPath(filePath) {
|
|
|
24
25
|
function isAtomicTempPath(path) {
|
|
25
26
|
return TEMP_SUFFIX.test(path);
|
|
26
27
|
}
|
|
28
|
+
function traceWrite(filePath, content) {
|
|
29
|
+
const out = process.env.HF_WRITE_TRACE;
|
|
30
|
+
if (!out || !filePath.endsWith(".html"))
|
|
31
|
+
return;
|
|
32
|
+
const text = typeof content === "string" ? content : Buffer.from(content).toString("utf8");
|
|
33
|
+
const hash = createHash("sha256").update(text).digest("hex").slice(0, 8);
|
|
34
|
+
const stack = (new Error().stack ?? "").split("\n").slice(2, 7).map((line) => line.trim());
|
|
35
|
+
const file = basename(filePath);
|
|
36
|
+
fs.appendFileSync(out, `${JSON.stringify({ t: Date.now(), kind: "write", file, hash, size: text.length, stack })}
|
|
37
|
+
`);
|
|
38
|
+
}
|
|
27
39
|
function replaceFileAtomically(filePath, content, mode, operations = fs) {
|
|
28
|
-
|
|
40
|
+
traceWrite(filePath, content);
|
|
41
|
+
publishSibling(filePath, content, mode, operations, (tempPath) => renameWithRetry(tempPath, filePath, { rename: operations.renameSync }));
|
|
29
42
|
}
|
|
30
43
|
function createFileAtomically(filePath, content, operations = fs) {
|
|
31
44
|
publishSibling(filePath, content, void 0, operations, (tempPath) => {
|
|
@@ -117,19 +130,6 @@ function writeTempSibling(filePath, content, mode, operations) {
|
|
|
117
130
|
}
|
|
118
131
|
}
|
|
119
132
|
}
|
|
120
|
-
function renameWithRetry(operations, from, to) {
|
|
121
|
-
for (let attempt = 0; ; attempt++) {
|
|
122
|
-
try {
|
|
123
|
-
operations.renameSync(from, to);
|
|
124
|
-
return;
|
|
125
|
-
} catch (error) {
|
|
126
|
-
const delay = RENAME_RETRY_DELAYS_MS[attempt];
|
|
127
|
-
if (delay === void 0 || !BUSY_RENAME.has(errorCode(error)))
|
|
128
|
-
throw error;
|
|
129
|
-
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, delay);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
133
|
function errorCode(error) {
|
|
134
134
|
return String(error?.code);
|
|
135
135
|
}
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y2EVJBR6.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-MI4V4HPE.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -10704,8 +10704,6 @@ var shaderRules = [
|
|
|
10704
10704
|
}));
|
|
10705
10705
|
})
|
|
10706
10706
|
];
|
|
10707
|
-
var URL_ATTRS = ["src", "href", "poster", "xlink:href"];
|
|
10708
|
-
var ROOT_PATH = /^\/(?!\/)/;
|
|
10709
10707
|
var CSS_ROOT_URL = /\burl\(\s*["']?(\/(?!\/)[^"')\s]*)/g;
|
|
10710
10708
|
var SCRIPT_ROOT_URL = /\b(?:fetch|new\s+URL)\(\s*(["'`])(\/(?!\/)[^"'`$]*)\1/g;
|
|
10711
10709
|
function relativeForm(path, cssFile) {
|
|
@@ -10726,16 +10724,6 @@ function cssRootPaths(css, cssFile) {
|
|
|
10726
10724
|
(match) => rootPathFinding(match[1] ?? "", cssFile, match[0])
|
|
10727
10725
|
);
|
|
10728
10726
|
}
|
|
10729
|
-
function tagRootPaths(tag) {
|
|
10730
|
-
if (tag.name === "a" || tag.name === "base") return [];
|
|
10731
|
-
const paths = URL_ATTRS.map((attr) => readAttr(tag.raw, attr)?.trim() ?? "").filter(
|
|
10732
|
-
(value) => ROOT_PATH.test(value)
|
|
10733
|
-
);
|
|
10734
|
-
return [
|
|
10735
|
-
...paths.map((path) => rootPathFinding(path, void 0, tag.raw)),
|
|
10736
|
-
...cssRootPaths(readAttr(tag.raw, "style") ?? "")
|
|
10737
|
-
];
|
|
10738
|
-
}
|
|
10739
10727
|
var scriptRootPaths = (script) => [...script.matchAll(SCRIPT_ROOT_URL)].map(
|
|
10740
10728
|
(match) => rootPathFinding(match[2] ?? "", void 0, match[0])
|
|
10741
10729
|
);
|
|
@@ -10758,8 +10746,7 @@ function invalidImportMap(script) {
|
|
|
10758
10746
|
}
|
|
10759
10747
|
var rootPathRules = [
|
|
10760
10748
|
(ctx) => [
|
|
10761
|
-
...ctx.
|
|
10762
|
-
...ctx.styles.flatMap((style) => cssRootPaths(style.content, style.rootRelativePath)),
|
|
10749
|
+
...ctx.styles.filter((style) => style.rootRelativePath).flatMap((style) => cssRootPaths(style.content, style.rootRelativePath)),
|
|
10763
10750
|
...ctx.scripts.flatMap((script) => scriptRootPaths(script.content)),
|
|
10764
10751
|
...ctx.scripts.flatMap(invalidImportMap)
|
|
10765
10752
|
]
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
readSeen,
|
|
11
11
|
seenPath,
|
|
12
12
|
writeRecord
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YIFEK3UD.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W32DVMX3.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MI4V4HPE.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/desktopApp.ts
|
|
22
22
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveWritePath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NQ2INEHX.js";
|
|
10
10
|
|
|
11
11
|
// src/cloud/download.ts
|
|
12
12
|
import { chmodSync, mkdirSync, mkdtempSync, renameSync, rmSync, statSync } from "fs";
|
|
@@ -6,13 +6,13 @@ 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-SNLXWCET.js";
|
|
10
10
|
import {
|
|
11
11
|
stripSdrPngColourTags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JC6BAQOG.js";
|
|
13
13
|
import {
|
|
14
14
|
injectTagsAtHeadStart
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZXTSUXSL.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/compositionServer.ts
|
|
18
18
|
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.209" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.209" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-SII53QYO.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -8,31 +8,29 @@ import {
|
|
|
8
8
|
launchManagedBrowser,
|
|
9
9
|
resolveManagedGpuMode,
|
|
10
10
|
rethrowAfterBrowserCleanup
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4BXEPVSA.js";
|
|
12
12
|
import {
|
|
13
13
|
gotoWhenSent
|
|
14
14
|
} from "./chunk-MOEGCMKI.js";
|
|
15
15
|
import {
|
|
16
16
|
pageNavigationTimeoutMs,
|
|
17
17
|
windowsChromeCrashRemediation
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
oneProcessOverPipe
|
|
21
|
-
} from "./chunk-DKPNNYBZ.js";
|
|
18
|
+
} from "./chunk-MVNTJGDX.js";
|
|
22
19
|
import {
|
|
23
20
|
resolveCompositionViewportFromHtml
|
|
24
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-66PNSZ7K.js";
|
|
25
22
|
import {
|
|
26
23
|
resolveLocalBrowserGpuMode,
|
|
27
24
|
resolveLocalWebGpu
|
|
28
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WLVHSGVL.js";
|
|
29
26
|
import {
|
|
30
27
|
c
|
|
31
28
|
} from "./chunk-ZTZA4UWZ.js";
|
|
32
29
|
import {
|
|
33
30
|
assertWebGpuAdapterAvailable,
|
|
34
|
-
compositionRequiresWebGpu
|
|
35
|
-
|
|
31
|
+
compositionRequiresWebGpu,
|
|
32
|
+
oneProcessOverPipe
|
|
33
|
+
} from "./chunk-IQNS7O4W.js";
|
|
36
34
|
import {
|
|
37
35
|
normalizeErrorMessage
|
|
38
36
|
} from "./chunk-EU7MVORF.js";
|
|
@@ -140,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
140
138
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
141
139
|
});
|
|
142
140
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
143
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
141
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-ALOV4D57.js");
|
|
144
142
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
145
143
|
await waitForImagesReady(
|
|
146
144
|
page,
|
|
@@ -189,7 +187,7 @@ async function installPageFunctionGuard(page) {
|
|
|
189
187
|
async function openSettledCompositionPage(html, url, options) {
|
|
190
188
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
191
189
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
192
|
-
const answer = (await import("./staticProjectServer-
|
|
190
|
+
const answer = (await import("./staticProjectServer-DIHWPJ6B.js")).inProcessAnswer(url);
|
|
193
191
|
const noListen = answer !== void 0;
|
|
194
192
|
let chromeBrowser;
|
|
195
193
|
try {
|
|
@@ -200,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
200
198
|
options.onBrowserReady?.();
|
|
201
199
|
const page = await chromeBrowser.newPage();
|
|
202
200
|
await installPageFunctionGuard(page);
|
|
203
|
-
const { installMediaRenderIdBridge } = await import("./src-
|
|
201
|
+
const { installMediaRenderIdBridge } = await import("./src-ALOV4D57.js");
|
|
204
202
|
await installMediaRenderIdBridge(page);
|
|
205
203
|
await page.setViewport(viewport);
|
|
206
204
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
@@ -219,7 +217,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
219
217
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-Z7W4GQGF.js");
|
|
220
218
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
221
219
|
const puppeteer = await import("puppeteer-core");
|
|
222
|
-
const { buildChromeArgs } = await import("./src-
|
|
220
|
+
const { buildChromeArgs } = await import("./src-ALOV4D57.js");
|
|
223
221
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
224
222
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
225
223
|
let softwareWebGpu = false;
|