hyperframes 0.8.204 → 0.8.205
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-HBFVYKGU.js → add-BA4AU262.js} +11 -11
- package/dist/{animatedGifPrep-VBUKGEZ6.js → animatedGifPrep-UNUCFGLQ.js} +6 -6
- package/dist/api.js +16 -16
- package/dist/{asset-OVLMJY4S.js → asset-KCDVTNC3.js} +2 -2
- package/dist/{assetCataloger-K4INCLFU.js → assetCataloger-5FCVQ3N6.js} +6 -6
- package/dist/{audio-JHW3HLHK.js → audio-KDBPEHRS.js} +16 -13
- package/dist/{auth-RH67KQMZ.js → auth-IMPBZZXJ.js} +1 -1
- package/dist/{autoUpdate-JYR2RW5Z.js → autoUpdate-YE2RKCAG.js} +2 -2
- package/dist/{backgroundChecks-DPHRM4HJ.js → backgroundChecks-OWY2UFSR.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JFUWZR3M.js → batchRender-AN4HWKET.js} +3 -3
- package/dist/{beats-AWAFZGOT.js → beats-VTQJ4JH6.js} +8 -8
- package/dist/{benchmark-VQCCULJ2.js → benchmark-PBEWHJ5K.js} +13 -11
- package/dist/{browser-TT5L7D32.js → browser-E7ANEHNU.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-EHXEP5ZL.js → bundleWithLocalizedFonts-I3BWMRSP.js} +2 -2
- package/dist/{capture-Y7TGR3BI.js → capture-MP7R72WU.js} +2 -2
- package/dist/{capture-5CM2P6CB.js → capture-XODFC4S4.js} +10 -10
- package/dist/{captureCompositionFrame-LIT6U6C4.js → captureCompositionFrame-2OYGVDI3.js} +11 -11
- package/dist/{catalog-WZN2XB7D.js → catalog-ORVCCEQR.js} +11 -11
- package/dist/{catch-up-WZMQUW5H.js → catch-up-SYAQOXTT.js} +4 -4
- package/dist/{check-YVJCDCJS.js → check-6SQR6SSA.js} +35 -35
- package/dist/{checkBrowser-7V2DGDVD.js → checkBrowser-HOTD3CDE.js} +30 -30
- package/dist/{chunk-MSH2F7VW.js → chunk-26OI2B2X.js} +1 -1
- package/dist/{chunk-DTV3VHFE.js → chunk-2FEOM3ZT.js} +3 -3
- package/dist/{chunk-QWATUGUX.js → chunk-32R2AFZ3.js} +3 -3
- package/dist/{chunk-YLGRZSH4.js → chunk-3N4T6I3O.js} +1 -1
- package/dist/{chunk-YU53JSUZ.js → chunk-4RPCYGZG.js} +1 -1
- package/dist/{chunk-D3EZHD2D.js → chunk-4UIEQIF4.js} +2 -2
- package/dist/{chunk-34VLVDOU.js → chunk-57I5KNTL.js} +3 -3
- package/dist/{chunk-WLD4PX3P.js → chunk-5F6B6KMK.js} +2 -2
- package/dist/{chunk-CXZDIWMK.js → chunk-5PVPGWMH.js} +1 -1
- package/dist/{chunk-65VFH2UV.js → chunk-6GAYBX5C.js} +1 -1
- package/dist/{chunk-TBSYUEB7.js → chunk-6NC4KBS2.js} +1 -1
- package/dist/{chunk-TNOERLC6.js → chunk-6YYFNGCS.js} +12 -7
- package/dist/{chunk-LTGTN2TH.js → chunk-75WNFDRU.js} +1 -1
- package/dist/{chunk-TAYZSNYS.js → chunk-7V7OUKTU.js} +1 -1
- package/dist/{chunk-TCI4MUT6.js → chunk-A42PDANH.js} +1 -1
- package/dist/{chunk-IJ6RY4CH.js → chunk-AECL3B23.js} +1 -1
- package/dist/{chunk-YIN2JAZE.js → chunk-AECSY5LT.js} +16 -9
- package/dist/{chunk-KLIKCX6Q.js → chunk-AYH5ANVS.js} +7 -1
- package/dist/{chunk-RFCLI6TW.js → chunk-BA7MQJXG.js} +3 -3
- package/dist/{chunk-WMCGD4XL.js → chunk-BHOGXIBO.js} +4 -6
- package/dist/{chunk-QCQDUQVJ.js → chunk-BTYT3RT3.js} +1 -1
- package/dist/{chunk-VCBZOU7U.js → chunk-BZ727KLT.js} +1 -1
- package/dist/{chunk-7PRESGFT.js → chunk-C4LV6L4Q.js} +3 -3
- package/dist/{chunk-NJT6SZGL.js → chunk-CU76YDPX.js} +1 -1
- package/dist/{chunk-5RJSWYWL.js → chunk-CUGADCIV.js} +1 -1
- package/dist/{chunk-5UW7WCHQ.js → chunk-EXRHI43B.js} +7 -7
- package/dist/{chunk-4CR23IYU.js → chunk-FNBEYIZH.js} +5 -5
- package/dist/{chunk-XX5U64F2.js → chunk-G445Y3YG.js} +4 -3
- package/dist/{chunk-AQS3MMEQ.js → chunk-GBQCTZON.js} +10 -10
- package/dist/{chunk-54K7HW46.js → chunk-GLBEBBS2.js} +2 -2
- package/dist/{chunk-6KZY5RSV.js → chunk-GSTFETKE.js} +1 -1
- package/dist/{chunk-UKXF4IPA.js → chunk-H4MSJ2NZ.js} +5 -5
- package/dist/{chunk-WM7GOKEP.js → chunk-HADQPG7O.js} +1 -1
- package/dist/{chunk-X7XICOVM.js → chunk-HQ3CFNHL.js} +1 -1
- package/dist/{chunk-LVMJXO45.js → chunk-I7IXUCKL.js} +1 -1
- package/dist/{chunk-KOBPUFCN.js → chunk-IKYXXIMP.js} +1 -1
- package/dist/{chunk-WXAQT63P.js → chunk-J2E3VVOS.js} +4 -4
- package/dist/{chunk-7RB4I2E6.js → chunk-JFNB4CMI.js} +5 -5
- package/dist/{chunk-D5CAZ7R4.js → chunk-KAIQPYCM.js} +2 -2
- package/dist/{chunk-N3EJG2X4.js → chunk-KBZSMKKD.js} +3 -3
- package/dist/{chunk-IDASYE4U.js → chunk-KVNXEAVT.js} +4 -1
- package/dist/{chunk-54FO6TN7.js → chunk-L6N2TLXR.js} +18 -18
- package/dist/{chunk-TQH7BF7K.js → chunk-LQUMMPGK.js} +1 -1
- package/dist/{chunk-3GPDAE3D.js → chunk-LSQM3NBR.js} +1 -1
- package/dist/{chunk-EF7R5EBJ.js → chunk-MASFRPCB.js} +10 -10
- package/dist/{chunk-S35XO2ZA.js → chunk-MVXOY5RC.js} +1 -1
- package/dist/{chunk-2756LXGY.js → chunk-N7VQD4WB.js} +1 -1
- package/dist/{chunk-LN5EJMSC.js → chunk-NF6KI46X.js} +23 -15
- package/dist/{chunk-GGEA5EHR.js → chunk-OB7QARSN.js} +1 -1
- package/dist/{chunk-DRDG46KK.js → chunk-RQDVTUVD.js} +14 -14
- package/dist/{chunk-US6JSQ2L.js → chunk-RWOWD3PW.js} +2 -2
- package/dist/{chunk-Y63CT2ZC.js → chunk-T2UR3T4L.js} +28 -18
- package/dist/{chunk-VC3BMKYO.js → chunk-TGS33LDU.js} +3 -3
- package/dist/{chunk-ZBDVKLIU.js → chunk-TOEIJ4WF.js} +5 -5
- package/dist/{chunk-4HJMZI4H.js → chunk-TZ7MTRVJ.js} +13 -13
- package/dist/{chunk-HBDQGIQA.js → chunk-UEOGIZ3Q.js} +2 -2
- package/dist/{chunk-DBF6LLXB.js → chunk-UR6BAPOD.js} +1 -1
- package/dist/{chunk-OPFG563D.js → chunk-V2XXV2EH.js} +1 -1
- package/dist/{chunk-BL4U6U52.js → chunk-V4K4BSCM.js} +16 -5
- package/dist/{chunk-QB4K2EWI.js → chunk-WB55EQNJ.js} +1 -1
- package/dist/{chunk-QZ4HQQYS.js → chunk-XNAIYEKD.js} +1 -1
- package/dist/{chunk-6RLP6RDE.js → chunk-ZB6SCA4J.js} +1 -1
- package/dist/{chunk-23RPCDGE.js → chunk-ZSUWGNIT.js} +2 -2
- package/dist/{chunk-YRQPU7SV.js → chunk-ZUQZP6QD.js} +5 -2
- package/dist/{clean-3JE2KYTC.js → clean-BW7NHQS5.js} +18 -18
- package/dist/cli.js +81 -59
- package/dist/{cloud-Z54BHP6G.js → cloud-TZVXTWZO.js} +4 -4
- package/dist/{cloudrun-4CPQLU5M.js → cloudrun-KRIETALO.js} +4 -4
- package/dist/{compare-AQMLMTFD.js → compare-WYWHJ4CR.js} +27 -27
- package/dist/{compiler-LIJYMSEL.js → compiler-ANIPXLJ7.js} +7 -3
- package/dist/{component-ZH37EIYB.js → component-CY7DCX56.js} +3 -3
- package/dist/{compositions-DF2FM6YD.js → compositions-5YEB24E3.js} +10 -10
- package/dist/{delete-A3NSK2HH.js → delete-6642PDON.js} +2 -2
- package/dist/{deploy-6RC2DXPQ.js → deploy-NZP6TZLS.js} +1 -1
- package/dist/{dist-VSIT3UAX.js → dist-DGFC75NC.js} +2 -2
- package/dist/{dist-6JMYDD7F.js → dist-V2BGP46S.js} +1 -1
- package/dist/docs/examples.md +31 -7
- package/dist/{doctor-RILK4ATO.js → doctor-ZW4A2FS3.js} +12 -12
- package/dist/{events-B5EKVEPW.js → events-NJU4VFDA.js} +3 -3
- package/dist/{events-SL434XAY.js → events-XRCHY2F6.js} +2 -2
- package/dist/{feedback-S4PC6VAR.js → feedback-NQLSZMES.js} +7 -7
- package/dist/{ffmpeg-XSDPPZCU.js → ffmpeg-RYDQLG3G.js} +7 -7
- package/dist/{figma-MV2L6E2Z.js → figma-TJAMP2CI.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-ID3Y3PCN.js → get-RRZ3O26X.js} +2 -2
- package/dist/{gpuPolicy-2LRMQOAD.js → gpuPolicy-4WLHUUS3.js} +6 -6
- package/dist/{grade-compare-NV3TKIOO.js → grade-compare-P7PE3NAA.js} +29 -29
- package/dist/{help-ZPT23LZ3.js → help-6RELRVIW.js} +1 -1
- package/dist/{history-MZGDX3TR.js → history-GIIDYND3.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +1 -1
- package/dist/hyperframes-player.global.js +2 -2
- package/dist/{info-FIZ4A54H.js → info-LBUA2DXE.js} +7 -7
- package/dist/{init-WX4MNPL2.js → init-QUPXBONY.js} +30 -33
- package/dist/{inspect-R5KWWKNJ.js → inspect-CL42DJZ4.js} +28 -28
- package/dist/{installer-CTV5FKYQ.js → installer-VR7XDLR3.js} +4 -4
- package/dist/{keyframes-FAJY5RK5.js → keyframes-LELLROMA.js} +6 -6
- package/dist/{lambda-3MCC2ZH7.js → lambda-I6KFXWOO.js} +6 -6
- package/dist/{layout-3RTVYRRN.js → layout-NR6SNRZE.js} +28 -28
- package/dist/{lint-ZDCVL7K4.js → lint-DYEMSEQR.js} +7 -7
- package/dist/{lintProject-4IVYXS5J.js → lintProject-EA4NPL2X.js} +1 -1
- package/dist/{list-SBCXW2UT.js → list-RDURYO5U.js} +2 -2
- package/dist/{login-VQ2LQ2YG.js → login-VKLET5OL.js} +4 -4
- package/dist/{manager-F34TSFV6.js → manager-7TSUZKXU.js} +2 -2
- package/dist/{manager-ZRF6UXUM.js → manager-IYT3THJN.js} +8 -8
- package/dist/{media-treatment-MFIP7Q4G.js → media-treatment-I4AFEQZ3.js} +13 -13
- package/dist/{models-OU36YZCT.js → models-LLPVGC2E.js} +12 -12
- package/dist/{motionShot-SHDUG7YR.js → motionShot-6A6HH6IK.js} +15 -15
- package/dist/{normalize-audio-7RTPEV7Y.js → normalize-audio-KVQJBYLT.js} +7 -7
- package/dist/{open-HT4RG32S.js → open-J4ZT4X3C.js} +14 -13
- package/dist/{parakeetRunner-DOVPZDCH.js → parakeetRunner-FLUCIDIZ.js} +13 -13
- package/dist/{pipeline-NIVQ6E2G.js → pipeline-RRVLGALQ.js} +8 -8
- package/dist/{play-HPX5SIRQ.js → play-QGJSXUVM.js} +19 -19
- package/dist/{preflight-TNYC7EIS.js → preflight-SP2ZERBE.js} +9 -9
- package/dist/{present-QSOIMURR.js → present-UR4YBHMX.js} +15 -15
- package/dist/{preview-WDO53XKK.js → preview-6ENCRU4C.js} +19 -19
- package/dist/{producer-G27KP3IY.js → producer-OMHZRY6A.js} +1 -1
- package/dist/{projectConfig-CP722RCM.js → projectConfig-NGS7GJ47.js} +6 -6
- package/dist/{publication-LCWVBLDN.js → publication-6NYQA22Y.js} +2 -2
- package/dist/{publish-BIY6LEZ2.js → publish-E6RE5VHB.js} +9 -9
- package/dist/{remove-background-NPLZGLZ3.js → remove-background-66PQRA7R.js} +9 -9
- package/dist/{render-HHUGUKG6.js → render-IMSGS6BD.js} +32 -32
- package/dist/{render-IHNAZXA2.js → render-SBAZWXPO.js} +5 -5
- package/dist/{render-J57LAXB5.js → render-ZLRJUFMX.js} +15 -15
- package/dist/{render-batch-FK26OQ5E.js → render-batch-MO7LYZSP.js} +5 -5
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-FWJXO6DY.js → resolver-QMBVTAKT.js} +4 -4
- package/dist/{sherpa-BXFJU5EP.js → sherpa-JZRDL3OE.js} +12 -12
- package/dist/skills/hyperframes/references/types/launch.md +12 -2
- package/dist/skills/media-use/references/memory.md +4 -0
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +173 -0
- package/dist/skills/media-use/scripts/lib/prefs-store.mjs +46 -28
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +56 -0
- package/dist/{skills-7XS4HZBC.js → skills-YBTEWFYS.js} +5 -5
- package/dist/{skillsUpdateCheck-MGU5KLR4.js → skillsUpdateCheck-Z4HTDZJN.js} +3 -3
- package/dist/{snapshot-O2PMEMKH.js → snapshot-5F5UV6H5.js} +33 -33
- package/dist/{src-OQRG6BT7.js → src-UTW3F2PM.js} +5 -5
- package/dist/{src-Q4R2YPKA.js → src-WWXYV2TS.js} +8 -8
- package/dist/{staticProjectServer-6OY4VMO6.js → staticProjectServer-UHZ63C5O.js} +16 -16
- package/dist/studio/assets/{hyperframes-player-CttA4PW7.js → hyperframes-player-DzdSmJdB.js} +3 -3
- package/dist/studio/assets/{index-DpxSurnJ.js → index-C8hp9Y7c.js} +1 -1
- package/dist/studio/assets/{index-DmST2bTJ.js → index-dy6GQJn4.js} +116 -116
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YSUTKHV7.js → studio-api-BHZ3PHL2.js} +9 -9
- package/dist/{studioServer-APGEQIW5.js → studioServer-AFUXWRB5.js} +53 -52
- package/dist/{telemetry-3B6EA5IU.js → telemetry-UYKOT4OJ.js} +3 -3
- package/dist/{timeline-QWM6JS4B.js → timeline-K5NLEMH4.js} +17 -17
- package/dist/{tokens-TKLSP3OQ.js → tokens-FCOSWE2O.js} +2 -2
- package/dist/{transcribe-XOPMHJLJ.js → transcribe-K2QTXDQR.js} +17 -17
- package/dist/{transcribe-PODOCWCC.js → transcribe-SIFMTW5W.js} +11 -11
- package/dist/{updateCheck-RO6FPYMZ.js → updateCheck-JZ6TBZVE.js} +2 -2
- package/dist/{upgrade-EVNIL5TZ.js → upgrade-TUPAJXQQ.js} +2 -2
- package/dist/{urlDownloader-F5HYFRA6.js → urlDownloader-L4775QID.js} +5 -5
- package/dist/{validate-NXLFCHGG.js → validate-4HVVMEBV.js} +22 -22
- package/dist/{video-ECV2OIQN.js → video-4OGPF3IE.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +1 -1
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
EncoderInterruptedError,
|
|
17
17
|
encoderFailureError,
|
|
18
18
|
prepareAnimatedGifInputs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6YYFNGCS.js";
|
|
20
20
|
import {
|
|
21
21
|
parseEncoderOptions
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AYH5ANVS.js";
|
|
23
23
|
import {
|
|
24
24
|
RENDER_TEMP_DIR,
|
|
25
25
|
createStudioPositionSeekReapplyScript
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
verifyDiskDrawElementSamples,
|
|
163
163
|
videoAudioId,
|
|
164
164
|
writeCapturedFrame
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-T2UR3T4L.js";
|
|
166
166
|
import {
|
|
167
167
|
DISTRIBUTED_FPS,
|
|
168
168
|
HF_VFX_ATTR,
|
|
@@ -178,10 +178,11 @@ import {
|
|
|
178
178
|
parseVfxChain,
|
|
179
179
|
resolveAuthoredTimingWindow,
|
|
180
180
|
toFps
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-6GAYBX5C.js";
|
|
182
182
|
import {
|
|
183
183
|
assignBundledRuntimeCompositionIds,
|
|
184
184
|
buildVariablesByCompScript,
|
|
185
|
+
dedupeFontFaceRules,
|
|
185
186
|
emitMountedModuleScripts,
|
|
186
187
|
emitRootCompositionVariableStyles,
|
|
187
188
|
ensureExternalLinkTag,
|
|
@@ -190,7 +191,7 @@ import {
|
|
|
190
191
|
inlineSubCompositions,
|
|
191
192
|
parsesAsScript,
|
|
192
193
|
prepareFlattenedInnerRoot
|
|
193
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-BHOGXIBO.js";
|
|
194
195
|
import {
|
|
195
196
|
COMPOSITION_SOURCE_URL,
|
|
196
197
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -207,6 +208,7 @@ import {
|
|
|
207
208
|
injectScriptsIntoHtml,
|
|
208
209
|
inlineScriptRuns,
|
|
209
210
|
insertBeforeCloseTag,
|
|
211
|
+
isAlwaysAppliedStyle,
|
|
210
212
|
isJavaScriptType,
|
|
211
213
|
isRuntimeFileUrl,
|
|
212
214
|
isTemplateEntry,
|
|
@@ -222,7 +224,7 @@ import {
|
|
|
222
224
|
sourceTimeAt,
|
|
223
225
|
styleElementsFor,
|
|
224
226
|
timeAtSourceTime
|
|
225
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-ZUQZP6QD.js";
|
|
226
228
|
import {
|
|
227
229
|
CANVAS_DIMENSIONS,
|
|
228
230
|
HTML_BODY_CSS_HEIGHT_FIRST_RE,
|
|
@@ -249,7 +251,7 @@ import {
|
|
|
249
251
|
import {
|
|
250
252
|
lintHyperframeHtml,
|
|
251
253
|
resolveReferencedStart
|
|
252
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-KVNXEAVT.js";
|
|
253
255
|
import {
|
|
254
256
|
isUnresolvedAssetPlaceholder,
|
|
255
257
|
readProjectFile,
|
|
@@ -6433,6 +6435,11 @@ function coalesceHeadStylesAndBodyScripts(html) {
|
|
|
6433
6435
|
const head = document2.querySelector("head");
|
|
6434
6436
|
const body = document2.querySelector("body");
|
|
6435
6437
|
if (!head && !body) return html;
|
|
6438
|
+
const liveStyles = [...document2.querySelectorAll("style")].filter(isAlwaysAppliedStyle);
|
|
6439
|
+
const dedupedStyles = dedupeFontFaceRules(liveStyles.map((el) => el.textContent || ""));
|
|
6440
|
+
liveStyles.forEach((el, i) => {
|
|
6441
|
+
el.textContent = dedupedStyles[i] ?? "";
|
|
6442
|
+
});
|
|
6436
6443
|
const styleEls = head ? Array.from(head.querySelectorAll("style")) : [];
|
|
6437
6444
|
const importRe = /@import\s+url\([^)]*\)\s*;|@import\s+["'][^"']+["']\s*;/gi;
|
|
6438
6445
|
for (const run of styleEls.length > 1 ? headStyleRuns(styleEls) : []) {
|
|
@@ -16162,7 +16169,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
16162
16169
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
16163
16170
|
if (probeResult.probeSession) {
|
|
16164
16171
|
try {
|
|
16165
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
16172
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-UTW3F2PM.js");
|
|
16166
16173
|
await closeCaptureSession2(probeResult.probeSession);
|
|
16167
16174
|
} catch (err) {
|
|
16168
16175
|
log.warn("[plan] probe session close failed", {
|
|
@@ -17844,7 +17851,7 @@ function startServer(options = {}) {
|
|
|
17844
17851
|
});
|
|
17845
17852
|
async function shutdown(signal) {
|
|
17846
17853
|
log.info(`Received ${signal}, shutting down`);
|
|
17847
|
-
const { drainBrowserPool } = await import("./src-
|
|
17854
|
+
const { drainBrowserPool } = await import("./src-UTW3F2PM.js");
|
|
17848
17855
|
await drainBrowserPool().catch(() => {
|
|
17849
17856
|
});
|
|
17850
17857
|
const handle = await Promise.race([
|
|
@@ -5,7 +5,7 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
|
-
// ../studio-server/dist/chunk-
|
|
8
|
+
// ../studio-server/dist/chunk-2GPN2OSU.js
|
|
9
9
|
var CRF_MAX_BY_FORMAT = { mp4: 51, webm: 63 };
|
|
10
10
|
var VIDEO_BITRATE = /^\d+(\.\d+)?[kKmMgG]?$/;
|
|
11
11
|
var VIDEO_FRAME_FORMATS = ["auto", "jpg", "png"];
|
|
@@ -40,6 +40,12 @@ function parseEncoderOptions(body, format) {
|
|
|
40
40
|
const rate = parseRateControl(body, format);
|
|
41
41
|
if (!rate.ok) return rate;
|
|
42
42
|
const options = { ...rate.options };
|
|
43
|
+
if (isSet(body.gifLoop)) {
|
|
44
|
+
if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
|
|
45
|
+
return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };
|
|
46
|
+
}
|
|
47
|
+
if (format === "gif") options.gifLoop = body.gifLoop;
|
|
48
|
+
}
|
|
43
49
|
if (isSet(body.videoFrameFormat)) {
|
|
44
50
|
if (!oneOf(body.videoFrameFormat, VIDEO_FRAME_FORMATS)) {
|
|
45
51
|
return {
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-57I5KNTL.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GLBEBBS2.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6NC4KBS2.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -9,7 +9,6 @@ import {
|
|
|
9
9
|
HF_COLOR_GRADING_ATTR,
|
|
10
10
|
INLINED_FILE_ATTR,
|
|
11
11
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
12
|
-
UNCONDITIONAL_CSS_KEY,
|
|
13
12
|
assignMediaRenderIds,
|
|
14
13
|
clampDurations,
|
|
15
14
|
compileTimingAttrs,
|
|
@@ -29,6 +28,7 @@ import {
|
|
|
29
28
|
injectTagsAtHeadStart,
|
|
30
29
|
inlineScriptRuns,
|
|
31
30
|
insertRuntimeTag,
|
|
31
|
+
isAlwaysAppliedStyle,
|
|
32
32
|
isJavaScriptType,
|
|
33
33
|
isTemplateEntry,
|
|
34
34
|
parseHTMLContent,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
stripEmbeddedRuntimeScripts,
|
|
41
41
|
styleElementsFor,
|
|
42
42
|
warnUnknownEnumValues
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZUQZP6QD.js";
|
|
44
44
|
import {
|
|
45
45
|
cssVariableName
|
|
46
46
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
} from "./chunk-OFQWTKPW.js";
|
|
51
51
|
import {
|
|
52
52
|
lintHyperframeHtml
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-KVNXEAVT.js";
|
|
54
54
|
import {
|
|
55
55
|
CSS_URL_RE,
|
|
56
56
|
checkSubCompositionUsability,
|
|
@@ -2786,9 +2786,6 @@ function placeSceneStylesLikeRender(document) {
|
|
|
2786
2786
|
holder.textContent = hoisted;
|
|
2787
2787
|
first.before(holder);
|
|
2788
2788
|
}
|
|
2789
|
-
function isAlwaysAppliedStyle(el) {
|
|
2790
|
-
return cssStyleMergeKey(el) === UNCONDITIONAL_CSS_KEY && !el.closest("template, noscript, svg");
|
|
2791
|
-
}
|
|
2792
2789
|
function pushRun(runs, scene, chunk) {
|
|
2793
2790
|
const last = runs.at(-1);
|
|
2794
2791
|
if (last && last.scene === scene)
|
|
@@ -3572,6 +3569,7 @@ export {
|
|
|
3572
3569
|
FLATTENED_INNER_ROOT_STRIP_ATTRS,
|
|
3573
3570
|
extractStandaloneEntryFromIndex,
|
|
3574
3571
|
scopeCssToComposition,
|
|
3572
|
+
dedupeFontFaceRules,
|
|
3575
3573
|
wrapScopedCompositionScript,
|
|
3576
3574
|
buildVariablesByCompScript,
|
|
3577
3575
|
validateHyperframeHtmlContract,
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I7IXUCKL.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7V7OUKTU.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KVNXEAVT.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
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-KAIQPYCM.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CU76YDPX.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-UR6BAPOD.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LSQM3NBR.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UEOGIZ3Q.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LQUMMPGK.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-I7IXUCKL.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-6GAYBX5C.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
} from "./chunk-IXXVS2Z4.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XNAIYEKD.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-T2UR3T4L.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6GAYBX5C.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZUQZP6QD.js";
|
|
35
35
|
import {
|
|
36
36
|
isSubCompositionHost,
|
|
37
37
|
topLevelElements,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
resolveReferencedDuration,
|
|
42
42
|
resolveReferencedStart
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KVNXEAVT.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveAuthoredAssetFile
|
|
46
46
|
} from "./chunk-PBNWRWKA.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-2ST4WAFY.js";
|
|
13
13
|
import {
|
|
14
14
|
createProjectConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UR6BAPOD.js";
|
|
16
16
|
import {
|
|
17
17
|
isHyperframesProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6GAYBX5C.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/desktopApp.ts
|
|
21
21
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -28,7 +28,8 @@ var APP_NAMES = ["HyperFrames", "HyperFrames Canary"];
|
|
|
28
28
|
var STUDIO_PAGE = "https://hyperframes.dev/studio";
|
|
29
29
|
var DOWNLOADS = {
|
|
30
30
|
darwin: `${STUDIO_PAGE}/download`,
|
|
31
|
-
linux: `${STUDIO_PAGE}/download?os=linux
|
|
31
|
+
linux: `${STUDIO_PAGE}/download?os=linux`,
|
|
32
|
+
win32: `${STUDIO_PAGE}/download?os=windows`
|
|
32
33
|
};
|
|
33
34
|
var desktopDownloadUrl = (platform = process.platform) => DOWNLOADS[platform] ?? null;
|
|
34
35
|
var downloadHint = (url) => `Keep editing by chatting with Framey in the HyperFrames desktop app \u2192 ${url}`;
|
|
@@ -6,27 +6,27 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZB6SCA4J.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JFNB4CMI.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MASFRPCB.js";
|
|
20
20
|
import {
|
|
21
21
|
launchManagedBrowser,
|
|
22
22
|
resolveManagedGpuMode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4RPCYGZG.js";
|
|
24
24
|
import {
|
|
25
25
|
gotoWhenSent
|
|
26
26
|
} from "./chunk-MOEGCMKI.js";
|
|
27
27
|
import {
|
|
28
28
|
pageNavigationTimeoutMs
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TGS33LDU.js";
|
|
30
30
|
import {
|
|
31
31
|
defineCommand
|
|
32
32
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
printDeprecationNotice,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OB7QARSN.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
46
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -717,7 +717,7 @@ async function collectTweenBoundaries(page) {
|
|
|
717
717
|
});
|
|
718
718
|
}
|
|
719
719
|
async function bundleProjectHtml(projectDir) {
|
|
720
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
720
|
+
const { bundleToSingleHtml } = await import("./compiler-ANIPXLJ7.js");
|
|
721
721
|
return bundleToSingleHtml(projectDir);
|
|
722
722
|
}
|
|
723
723
|
async function alignViewportToComposition(page, url) {
|
|
@@ -734,15 +734,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
734
734
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
735
735
|
}
|
|
736
736
|
async function runLayoutAudit(projectDir, opts) {
|
|
737
|
-
const { ensureBrowser } = await import("./manager-
|
|
737
|
+
const { ensureBrowser } = await import("./manager-7TSUZKXU.js");
|
|
738
738
|
const puppeteer = await import("puppeteer-core");
|
|
739
|
-
const { buildChromeArgs } = await import("./src-
|
|
739
|
+
const { buildChromeArgs } = await import("./src-UTW3F2PM.js");
|
|
740
740
|
const {
|
|
741
741
|
assertWebGpuAdapterAvailable,
|
|
742
742
|
compositionRequiresWebGpu,
|
|
743
743
|
resolveLocalBrowserGpuMode,
|
|
744
744
|
resolveLocalWebGpu
|
|
745
|
-
} = await import("./gpuPolicy-
|
|
745
|
+
} = await import("./gpuPolicy-4WLHUUS3.js");
|
|
746
746
|
const html = await bundleProjectHtml(projectDir);
|
|
747
747
|
const server = await serveStaticProjectHtml(
|
|
748
748
|
projectDir,
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setHostHandlesSigint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T2UR3T4L.js";
|
|
10
10
|
import {
|
|
11
11
|
processAncestorSnapshot,
|
|
12
12
|
processIdentity,
|
|
13
13
|
processParentPid
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-75WNFDRU.js";
|
|
15
15
|
import {
|
|
16
16
|
processIsAlive
|
|
17
17
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A42PDANH.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BA7MQJXG.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-57I5KNTL.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GLBEBBS2.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6NC4KBS2.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AECL3B23.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-SVVAUJPL.js";
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4UIEQIF4.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-T2UR3T4L.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-V4K4BSCM.js";
|
|
28
28
|
|
|
29
29
|
// src/background-removal/pipeline.ts
|
|
30
30
|
import { spawn } from "child_process";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-UTW3F2PM.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NF6KI46X.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MVXOY5RC.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AECL3B23.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-UR6BAPOD.js";
|
|
28
28
|
import {
|
|
29
29
|
PREVIEW_PROXY_BOX_PARAM,
|
|
30
30
|
parsePreviewProxyBox
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6GAYBX5C.js";
|
|
32
32
|
import {
|
|
33
33
|
decodeWellFormedEscapes
|
|
34
34
|
} from "./chunk-2BGOB2QK.js";
|
|
@@ -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.205" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.205" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4UIEQIF4.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WB55EQNJ.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-V4K4BSCM.js";
|
|
22
22
|
import {
|
|
23
23
|
getFreeDiskMb
|
|
24
24
|
} from "./chunk-QSFWGZG6.js";
|
|
@@ -5356,7 +5356,8 @@ var coreRules = [
|
|
|
5356
5356
|
),
|
|
5357
5357
|
code: "css_parse_error",
|
|
5358
5358
|
severity: "error",
|
|
5359
|
-
message: `CSS parse error: ${error instanceof Error ? error.message : "unknown"}
|
|
5359
|
+
message: `CSS parse error: ${error instanceof Error ? error.message : "unknown"}`,
|
|
5360
|
+
fixHint: "Check the CSS at the reported line for an unclosed brace, quote, or comment, or a missing semicolon between declarations."
|
|
5360
5361
|
});
|
|
5361
5362
|
continue;
|
|
5362
5363
|
}
|
|
@@ -7042,6 +7043,7 @@ function variablesDeclarationFindings(tag, tags) {
|
|
|
7042
7043
|
code: "invalid_composition_variables_declaration",
|
|
7043
7044
|
severity: "error",
|
|
7044
7045
|
message: `data-composition-variables entry [${i}] must be an object with id, type, label, and default.`,
|
|
7046
|
+
fixHint: 'Replace the entry with an object such as {"id":"title","type":"string","label":"Title","default":"Hello"}.',
|
|
7045
7047
|
snippet: truncateSnippet(tag.raw)
|
|
7046
7048
|
});
|
|
7047
7049
|
continue;
|
|
@@ -7057,6 +7059,7 @@ function variablesDeclarationFindings(tag, tags) {
|
|
|
7057
7059
|
code: "invalid_composition_variables_declaration",
|
|
7058
7060
|
severity: "error",
|
|
7059
7061
|
message: `data-composition-variables entry [${i}] is missing or has invalid: ${missing.join(", ")}. Type must be one of string, number, color, boolean, enum, font, image.`,
|
|
7062
|
+
fixHint: `Give entry [${i}] a string id and label, a supported type, and a default, e.g. {"id":"title","type":"string","label":"Title","default":"Hello"}.`,
|
|
7060
7063
|
snippet: truncateSnippet(tag.raw)
|
|
7061
7064
|
});
|
|
7062
7065
|
continue;
|