hyperframes 0.4.26 → 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/cli.js +1 -19
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -54,7 +54,7 @@ var VERSION;
|
|
|
54
54
|
var init_version = __esm({
|
|
55
55
|
"src/version.ts"() {
|
|
56
56
|
"use strict";
|
|
57
|
-
VERSION = true ? "0.4.
|
|
57
|
+
VERSION = true ? "0.4.27" : "0.0.0-dev";
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -5723,24 +5723,6 @@ var init_composition = __esm({
|
|
|
5723
5723
|
}
|
|
5724
5724
|
return findings;
|
|
5725
5725
|
},
|
|
5726
|
-
// root_composition_missing_data_duration
|
|
5727
|
-
({ rootTag }) => {
|
|
5728
|
-
const findings = [];
|
|
5729
|
-
if (!rootTag) return findings;
|
|
5730
|
-
const compId = readAttr(rootTag.raw, "data-composition-id");
|
|
5731
|
-
if (!compId) return findings;
|
|
5732
|
-
const hasDuration = readAttr(rootTag.raw, "data-duration") !== null;
|
|
5733
|
-
if (!hasDuration) {
|
|
5734
|
-
findings.push({
|
|
5735
|
-
code: "root_composition_missing_data_duration",
|
|
5736
|
-
severity: "warning",
|
|
5737
|
-
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.`,
|
|
5738
|
-
fixHint: 'Add data-duration="X" to the root composition element, where X is the total duration in seconds.',
|
|
5739
|
-
snippet: truncateSnippet(rootTag.raw)
|
|
5740
|
-
});
|
|
5741
|
-
}
|
|
5742
|
-
return findings;
|
|
5743
|
-
},
|
|
5744
5726
|
// standalone_composition_wrapped_in_template
|
|
5745
5727
|
({ rawSource, options }) => {
|
|
5746
5728
|
const findings = [];
|