@hyperframes/inspector 0.9.85 → 0.9.87
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.
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* runs on the render server's main thread, and their cost grows with the page's size, so one huge
|
|
4
|
-
* page would hold up every other render in the same process.
|
|
5
|
-
*/
|
|
6
|
-
export declare const MAX_COMPOSITION_HTML_BYTES: number;
|
|
7
|
-
/**
|
|
8
|
-
* What one render may inline across every sub-composition mount. Each file is checked on its own
|
|
9
|
-
* above, but a few small files that mount each other many times assemble a page far larger.
|
|
10
|
-
*/
|
|
11
|
-
export declare const MAX_EXPANDED_COMPOSITION_BYTES: number;
|
|
1
|
+
import { MAX_COMPOSITION_HTML_BYTES, MAX_EXPANDED_COMPOSITION_BYTES } from "@hyperframes/lint";
|
|
2
|
+
export { MAX_COMPOSITION_HTML_BYTES, MAX_EXPANDED_COMPOSITION_BYTES };
|
|
12
3
|
/** About 4x the largest composition in 7 days of production renders (24,800 elements). */
|
|
13
4
|
export declare const MAX_EXPANDED_ELEMENTS = 100000;
|
|
14
5
|
export declare function isCompositionTooLargeError(error: unknown): error is Error;
|
|
15
6
|
export declare const REMOTE_SCRIPTS = "remote scripts";
|
|
16
7
|
export declare const REMOTE_STYLESHEETS = "remote stylesheets";
|
|
17
8
|
export declare const LOCAL_SCRIPTS = "local scripts";
|
|
9
|
+
export declare const LOCAL_STYLESHEETS = "local stylesheets";
|
|
18
10
|
export declare const ENTRY_PAGE = "the entry page";
|
|
19
11
|
/** Adds up every mount a render inlines, and what it generates for them, and throws past a limit. */
|
|
20
12
|
export declare class CompositionExpansionBudget {
|
|
@@ -147,6 +147,13 @@ export type RuntimeStageSizeMessage = {
|
|
|
147
147
|
type: "stage-size";
|
|
148
148
|
width: number;
|
|
149
149
|
height: number;
|
|
150
|
+
} | {
|
|
151
|
+
source: "hf-preview";
|
|
152
|
+
type: "stage-size";
|
|
153
|
+
measuredSize: {
|
|
154
|
+
width: number;
|
|
155
|
+
height: number;
|
|
156
|
+
};
|
|
150
157
|
};
|
|
151
158
|
/**
|
|
152
159
|
* Fired once per session when the runtime's attempt to play a timed media
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.87",
|
|
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.87",
|
|
47
|
+
"@hyperframes/core": "0.9.87"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|