@hyperframes/producer 0.5.0-alpha.2 → 0.5.0-alpha.4
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/index.js +0 -18
- package/dist/index.js.map +2 -2
- package/dist/public-server.js +0 -18
- package/dist/public-server.js.map +2 -2
- package/package.json +3 -3
package/dist/public-server.js
CHANGED
|
@@ -103636,24 +103636,6 @@ var compositionRules = [
|
|
|
103636
103636
|
}
|
|
103637
103637
|
return findings;
|
|
103638
103638
|
},
|
|
103639
|
-
// root_composition_missing_data_duration
|
|
103640
|
-
({ rootTag }) => {
|
|
103641
|
-
const findings = [];
|
|
103642
|
-
if (!rootTag) return findings;
|
|
103643
|
-
const compId = readAttr(rootTag.raw, "data-composition-id");
|
|
103644
|
-
if (!compId) return findings;
|
|
103645
|
-
const hasDuration = readAttr(rootTag.raw, "data-duration") !== null;
|
|
103646
|
-
if (!hasDuration) {
|
|
103647
|
-
findings.push({
|
|
103648
|
-
code: "root_composition_missing_data_duration",
|
|
103649
|
-
severity: "warning",
|
|
103650
|
-
message: `Root composition "${compId}" is missing data-duration. Without an explicit duration, the runtime may infer Infinity for compositions with repeating animations, causing playback issues.`,
|
|
103651
|
-
fixHint: 'Add data-duration="X" to the root composition element, where X is the total duration in seconds.',
|
|
103652
|
-
snippet: truncateSnippet(rootTag.raw)
|
|
103653
|
-
});
|
|
103654
|
-
}
|
|
103655
|
-
return findings;
|
|
103656
|
-
},
|
|
103657
103639
|
// standalone_composition_wrapped_in_template
|
|
103658
103640
|
({ rawSource, options }) => {
|
|
103659
103641
|
const findings = [];
|