@absolutejs/absolute 0.19.0-beta.1127 → 0.19.0-beta.1128

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,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-RuFaBI/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-lzK7Ox/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
- // .angular-partial-tmp-RuFaBI/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-lzK7Ox/src/core/streamingSlotRegistrar.ts
5
5
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
6
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
7
  var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
48
48
  getWarningController()?.maybeWarn(primitiveName);
49
49
  };
50
50
 
51
- // .angular-partial-tmp-RuFaBI/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-lzK7Ox/src/core/streamingSlotRegistry.ts
52
52
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
53
53
  var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
54
54
  var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
package/dist/index.js CHANGED
@@ -35504,7 +35504,7 @@ var resolveRequestPathname = (request) => {
35504
35504
  installSimpleDomGlobals();
35505
35505
  const bundle = await import(buildRuntimeModuleSpecifier(pagePath));
35506
35506
  if (typeof bundle.renderToHTML !== "function") {
35507
- throw new Error(`Ember page bundle at ${pagePath} does not export renderToHTML(). Was it compiled by compileEmber()?`);
35507
+ throw new Error(`Ember page bundle at ${pagePath} does not export renderToHTML(). `);
35508
35508
  }
35509
35509
  const innerHtml = bundle.renderToHTML(props ?? {});
35510
35510
  const html = buildHtmlShell(resolvedHeadTag, innerHtml.replace(/^<div>|<\/div>$/g, ""), indexPath, props);
@@ -41559,10 +41559,7 @@ var defineRenderNotFoundPage = (renderNotFoundPage) => renderNotFoundPage;
41559
41559
  var jsonLd2 = (schema) => `<script type="application/ld+json">${serializeJsonLd(schema)}</script>`;
41560
41560
  var serializeJsonLd = (schema) => {
41561
41561
  const schemaOrgContext = "https://schema.org";
41562
- const data = Array.isArray(schema) ? schema.map((s2) => ({
41563
- "@context": schemaOrgContext,
41564
- ...s2
41565
- })) : { "@context": schemaOrgContext, ...schema };
41562
+ const data = Array.isArray(schema) ? { "@context": schemaOrgContext, "@graph": schema } : { "@context": schemaOrgContext, ...schema };
41566
41563
  return JSON.stringify(data);
41567
41564
  };
41568
41565
 
@@ -48043,5 +48040,5 @@ export {
48043
48040
  ANGULAR_INIT_TIMEOUT_MS
48044
48041
  };
48045
48042
 
48046
- //# debugId=C88B0B763C496EAA64756E2164756E21
48043
+ //# debugId=067430D5F168FA8C64756E2164756E21
48047
48044
  //# sourceMappingURL=index.js.map