@hyperframes/inspector 0.9.73 → 0.9.75
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.
|
@@ -14,6 +14,7 @@ export declare const MAX_EXPANDED_ELEMENTS = 100000;
|
|
|
14
14
|
export declare function isCompositionTooLargeError(error: unknown): error is Error;
|
|
15
15
|
export declare const REMOTE_SCRIPTS = "remote scripts";
|
|
16
16
|
export declare const REMOTE_STYLESHEETS = "remote stylesheets";
|
|
17
|
+
export declare const ENTRY_PAGE = "the entry page";
|
|
17
18
|
/** Adds up every mount a render inlines, and what it generates for them, and throws past a limit. */
|
|
18
19
|
export declare class CompositionExpansionBudget {
|
|
19
20
|
private bytes;
|
|
@@ -16,7 +16,7 @@ type Namespaces = ReadonlyMap<string, string | null>;
|
|
|
16
16
|
* With `namespaces` (a live sheet's bindings) only prefixed attribute selectors are
|
|
17
17
|
* rewritten; without it they stay as authored and everything else is rewritten.
|
|
18
18
|
*/
|
|
19
|
-
export declare function rewriteSvgSelectors(selector: string, ids: readonly IdSelectorAlias[], references: readonly SvgReferenceAlias[], namespaces?: Namespaces, charge?: (bytes: number) => void): string;
|
|
19
|
+
export declare function rewriteSvgSelectors(selector: string, ids: readonly IdSelectorAlias[], references: readonly SvgReferenceAlias[], namespaces?: Namespaces, charge?: (bytes: number) => void, chargeScan?: (chars: number) => void): string;
|
|
20
20
|
export declare function dropAuthoredSvgReferenceAliases(root: ParentNode): boolean;
|
|
21
21
|
/** Metadata records actual writes; selectors still match current native attribute values. */
|
|
22
22
|
export declare function readSvgReferenceAliases(root: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.75",
|
|
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/
|
|
47
|
-
"@hyperframes/
|
|
46
|
+
"@hyperframes/core": "0.9.75",
|
|
47
|
+
"@hyperframes/parsers": "0.9.75"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|