@hyperframes/inspector 0.9.65 → 0.9.66
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/live.js +1 -1
- package/dist/service.js +190 -71
- package/dist/types/core/src/canary.d.ts +153 -0
- package/dist/types/core/src/compiler/htmlBundler.d.ts +5 -1
- package/dist/types/core/src/compiler/inlineSubCompositions.d.ts +2 -0
- package/dist/types/core/src/compiler/selectorIdTokens.d.ts +2 -0
- package/dist/types/core/src/compiler/svgIdNamespacing.d.ts +4 -2
- package/package.json +3 -3
package/dist/live.js
CHANGED
|
@@ -1487,7 +1487,7 @@ function prepareLiveInspection(projectDir, html, provenance, sourceVersion, read
|
|
|
1487
1487
|
if (fingerprint2(project) !== sourceVersion) throw new Error("source_changed_during_load");
|
|
1488
1488
|
if (!/<head\b[^>]*>/i.test(html)) throw new Error("preview_head_missing");
|
|
1489
1489
|
const generation = randomUUID();
|
|
1490
|
-
const stamp = `window.__hfLiveInspection=${JSON.stringify({ generation
|
|
1490
|
+
const stamp = `window.__hfLiveInspection=${JSON.stringify({ generation })};`;
|
|
1491
1491
|
const script = `${stamp}
|
|
1492
1492
|
${runtime()}`.replace(/<\/script/gi, "<\\/script");
|
|
1493
1493
|
const prepared = html.replace(/<head\b[^>]*>/i, (head) => `${head}<script>${script}</script>`);
|