@absolutejs/absolute 0.19.0-beta.383 → 0.19.0-beta.384
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/build.js +2 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +2 -3
- package/dist/index.js.map +3 -3
- package/dist/svelte/index.js +2 -3
- package/dist/svelte/index.js.map +3 -3
- package/dist/svelte/server.js +2 -3
- package/dist/svelte/server.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -172329,8 +172329,7 @@ var SVELTE_PAGE_ROOT_ID = "__absolute_svelte_root__", renderToReadableStream = a
|
|
|
172329
172329
|
try {
|
|
172330
172330
|
const { render } = await import("svelte/server");
|
|
172331
172331
|
const rendered = typeof props === "undefined" ? await render(component) : await render(component, { props });
|
|
172332
|
-
const { head
|
|
172333
|
-
const head = rawHead.replace(/(<!--[a-z0-9]+-->)([\s\S]*?)(<!---->)\s*(<title>[\s\S]*?<\/title>)/, "$1$4$2$3");
|
|
172332
|
+
const { head, body } = rendered;
|
|
172334
172333
|
const nonceAttr = nonce ? ` nonce="${nonce}"` : "";
|
|
172335
172334
|
const scripts = (bootstrapScriptContent ? `<script${nonceAttr}>${escapeScriptContent(bootstrapScriptContent)}</script>` : "") + bootstrapScripts.map((src) => `<script${nonceAttr} src="${src}"></script>`).join("") + bootstrapModules.map((src) => `<script${nonceAttr} type="module" src="${src}"></script>`).join("");
|
|
172336
172335
|
const encoder = new TextEncoder;
|
|
@@ -187484,5 +187483,5 @@ export {
|
|
|
187484
187483
|
ANGULAR_INIT_TIMEOUT_MS
|
|
187485
187484
|
};
|
|
187486
187485
|
|
|
187487
|
-
//# debugId=
|
|
187486
|
+
//# debugId=2BD141DC017365F364756E2164756E21
|
|
187488
187487
|
//# sourceMappingURL=index.js.map
|