@absolutejs/absolute 0.19.0-beta.929 → 0.19.0-beta.930

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-HViTZw/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-IXTyqR/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-HViTZw/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-IXTyqR/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-HViTZw/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-IXTyqR/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
@@ -16687,14 +16687,27 @@ var cache, importers, getTransformed = (filePath) => cache.get(filePath)?.conten
16687
16687
  }
16688
16688
  return;
16689
16689
  }, getInvalidationVersion = (filePath) => invalidationVersions.get(filePath) ?? 0, invalidate = (filePath) => {
16690
- cache.delete(filePath);
16691
- invalidationVersions.set(filePath, (invalidationVersions.get(filePath) ?? 0) + 1);
16692
- for (const parent of importers.get(filePath) ?? []) {
16693
- cache.delete(parent);
16690
+ const visited = new Set;
16691
+ const queue = [filePath];
16692
+ while (queue.length > 0) {
16693
+ const current = queue.shift();
16694
+ if (current === undefined || visited.has(current))
16695
+ continue;
16696
+ visited.add(current);
16697
+ cache.delete(current);
16698
+ invalidationVersions.set(current, (invalidationVersions.get(current) ?? 0) + 1);
16699
+ const parents = importers.get(current);
16700
+ if (!parents)
16701
+ continue;
16702
+ for (const parent of parents) {
16703
+ if (!visited.has(parent))
16704
+ queue.push(parent);
16705
+ }
16694
16706
  }
16695
16707
  }, invalidateAll = () => {
16696
16708
  cache.clear();
16697
16709
  importers.clear();
16710
+ invalidationVersions.clear();
16698
16711
  };
16699
16712
  var init_transformCache = __esm(() => {
16700
16713
  cache = globalThis.__transformCache ?? new Map;
@@ -23310,5 +23323,5 @@ export {
23310
23323
  build
23311
23324
  };
23312
23325
 
23313
- //# debugId=6984146CF45D981964756E2164756E21
23326
+ //# debugId=7507D5D9A9F4F72764756E2164756E21
23314
23327
  //# sourceMappingURL=build.js.map