@hyperframes/producer 0.4.25 → 0.4.27
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/index.js
CHANGED
|
@@ -100847,24 +100847,6 @@ var compositionRules = [
|
|
|
100847
100847
|
}
|
|
100848
100848
|
return findings;
|
|
100849
100849
|
},
|
|
100850
|
-
// root_composition_missing_data_duration
|
|
100851
|
-
({ rootTag }) => {
|
|
100852
|
-
const findings = [];
|
|
100853
|
-
if (!rootTag) return findings;
|
|
100854
|
-
const compId = readAttr(rootTag.raw, "data-composition-id");
|
|
100855
|
-
if (!compId) return findings;
|
|
100856
|
-
const hasDuration = readAttr(rootTag.raw, "data-duration") !== null;
|
|
100857
|
-
if (!hasDuration) {
|
|
100858
|
-
findings.push({
|
|
100859
|
-
code: "root_composition_missing_data_duration",
|
|
100860
|
-
severity: "warning",
|
|
100861
|
-
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.`,
|
|
100862
|
-
fixHint: 'Add data-duration="X" to the root composition element, where X is the total duration in seconds.',
|
|
100863
|
-
snippet: truncateSnippet(rootTag.raw)
|
|
100864
|
-
});
|
|
100865
|
-
}
|
|
100866
|
-
return findings;
|
|
100867
|
-
},
|
|
100868
100850
|
// standalone_composition_wrapped_in_template
|
|
100869
100851
|
({ rawSource, options }) => {
|
|
100870
100852
|
const findings = [];
|