@hyperframes/inspector 0.9.27 → 0.9.28-alpha.0
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/service.js +2 -11
- package/package.json +3 -3
package/dist/service.js
CHANGED
|
@@ -38898,7 +38898,6 @@ function findTimelineVar(ast, scope) {
|
|
|
38898
38898
|
let ref = null;
|
|
38899
38899
|
let timelineCount = 0;
|
|
38900
38900
|
let defaults;
|
|
38901
|
-
let declaration;
|
|
38902
38901
|
const emptyScope = scope ?? /* @__PURE__ */ new Map();
|
|
38903
38902
|
simple(ast, {
|
|
38904
38903
|
VariableDeclarator(node) {
|
|
@@ -38908,7 +38907,6 @@ function findTimelineVar(ast, scope) {
|
|
|
38908
38907
|
timelineVar = node.id.name;
|
|
38909
38908
|
ref = { kind: "identifier", name: node.id.name };
|
|
38910
38909
|
defaults = extractTimelineDefaults(node.init, emptyScope);
|
|
38911
|
-
declaration = { start: node.start, end: node.end };
|
|
38912
38910
|
}
|
|
38913
38911
|
}
|
|
38914
38912
|
},
|
|
@@ -38925,12 +38923,11 @@ function findTimelineVar(ast, scope) {
|
|
|
38925
38923
|
ref = { kind: "member", node: left };
|
|
38926
38924
|
defaults = extractTimelineDefaults(node.right, emptyScope);
|
|
38927
38925
|
}
|
|
38928
|
-
if (ref) declaration = { start: node.start, end: node.end };
|
|
38929
38926
|
}
|
|
38930
38927
|
}
|
|
38931
38928
|
}
|
|
38932
38929
|
});
|
|
38933
|
-
return { timelineVar, ref, timelineCount, defaults
|
|
38930
|
+
return { timelineVar, ref, timelineCount, defaults };
|
|
38934
38931
|
}
|
|
38935
38932
|
function isTimelineRootedCall(callNode, ref) {
|
|
38936
38933
|
let obj = callNode.callee?.object;
|
|
@@ -39631,13 +39628,7 @@ function parseGsapScriptAcornForWrite(script) {
|
|
|
39631
39628
|
call,
|
|
39632
39629
|
animation: animations[i]
|
|
39633
39630
|
}));
|
|
39634
|
-
return {
|
|
39635
|
-
ast,
|
|
39636
|
-
timelineVar,
|
|
39637
|
-
hasTimeline: detection.ref !== null,
|
|
39638
|
-
timelineDeclaration: detection.declaration,
|
|
39639
|
-
located: located2
|
|
39640
|
-
};
|
|
39631
|
+
return { ast, timelineVar, hasTimeline: detection.ref !== null, located: located2 };
|
|
39641
39632
|
} catch {
|
|
39642
39633
|
return null;
|
|
39643
39634
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.28-alpha.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"htmlparser2": "^10.1.0",
|
|
44
44
|
"postcss": "^8.5.8",
|
|
45
45
|
"puppeteer-core": "^25.8.0",
|
|
46
|
-
"@hyperframes/parsers": "0.9.
|
|
47
|
-
"@hyperframes/core": "0.9.
|
|
46
|
+
"@hyperframes/parsers": "0.9.28-alpha.0",
|
|
47
|
+
"@hyperframes/core": "0.9.28-alpha.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|