@absolutejs/absolute 0.19.0-beta.864 → 0.19.0-beta.865

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-AKY4B5/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-SZ98Gx/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-AKY4B5/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-SZ98Gx/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-AKY4B5/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-SZ98Gx/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/build.js CHANGED
@@ -9587,14 +9587,20 @@ var ENTITY_DECORATOR_RE, buildHmrTail = (className, encodedIdLiteral) => `
9587
9587
  ]);
9588
9588
  if (!u || typeof u.default !== 'function') return;
9589
9589
  if (${className}.\u0275cmp && typeof core.\u0275\u0275replaceMetadata === 'function') {
9590
- core.\u0275\u0275replaceMetadata(
9591
- ${className},
9592
- u.default,
9593
- [core],
9594
- [],
9595
- import.meta,
9596
- __ng_hmr_id
9597
- );
9590
+ console.log('[abs-hmr] \u0275\u0275replaceMetadata for ${className}, def before:', !!${className}.\u0275cmp);
9591
+ try {
9592
+ core.\u0275\u0275replaceMetadata(
9593
+ ${className},
9594
+ u.default,
9595
+ [core],
9596
+ [],
9597
+ import.meta,
9598
+ __ng_hmr_id
9599
+ );
9600
+ console.log('[abs-hmr] \u0275\u0275replaceMetadata returned for ${className}');
9601
+ } catch (err) {
9602
+ console.error('[abs-hmr] \u0275\u0275replaceMetadata threw for ${className}:', err);
9603
+ }
9598
9604
  } else {
9599
9605
  // Non-component entity (pipe / directive / service) \u2014 no
9600
9606
  // LView tree to walk, just apply the prototype patch.
@@ -21605,5 +21611,5 @@ export {
21605
21611
  build
21606
21612
  };
21607
21613
 
21608
- //# debugId=2B77934E6DE30AB864756E2164756E21
21614
+ //# debugId=DA6D9EBDC288D26464756E2164756E21
21609
21615
  //# sourceMappingURL=build.js.map