@hyperframes/lint 0.9.1 → 0.9.3
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/browser.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -5318,6 +5318,7 @@ ${right.raw}`)
|
|
|
5318
5318
|
const findings = [];
|
|
5319
5319
|
const canInheritFromHost = options.isSubComposition || rawSource.trimStart().toLowerCase().startsWith("<template");
|
|
5320
5320
|
for (const script of scripts) {
|
|
5321
|
+
if (script.index === -1) continue;
|
|
5321
5322
|
const content = script.content;
|
|
5322
5323
|
if (!/gsap\.timeline/.test(content)) continue;
|
|
5323
5324
|
const hasRegistration = WINDOW_TIMELINE_ASSIGN_PATTERN.test(content) || TIMELINE_REGISTRY_OBJECT_LITERAL_PATTERN.test(content);
|
package/dist/index.js
CHANGED
|
@@ -5324,6 +5324,7 @@ ${right.raw}`)
|
|
|
5324
5324
|
const findings = [];
|
|
5325
5325
|
const canInheritFromHost = options.isSubComposition || rawSource.trimStart().toLowerCase().startsWith("<template");
|
|
5326
5326
|
for (const script of scripts) {
|
|
5327
|
+
if (script.index === -1) continue;
|
|
5327
5328
|
const content = script.content;
|
|
5328
5329
|
if (!/gsap\.timeline/.test(content)) continue;
|
|
5329
5330
|
const hasRegistration = WINDOW_TIMELINE_ASSIGN_PATTERN.test(content) || TIMELINE_REGISTRY_OBJECT_LITERAL_PATTERN.test(content);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/lint",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"linkedom": "^0.18.12",
|
|
36
36
|
"postcss": "^8.5.8",
|
|
37
37
|
"postcss-selector-parser": "^7.1.4",
|
|
38
|
-
"@hyperframes/parsers": "0.9.
|
|
38
|
+
"@hyperframes/parsers": "0.9.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^25.0.10",
|