@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.
package/dist/index.js CHANGED
@@ -16805,14 +16805,27 @@ var cache, importers, getTransformed = (filePath) => cache.get(filePath)?.conten
16805
16805
  }
16806
16806
  return;
16807
16807
  }, getInvalidationVersion = (filePath) => invalidationVersions.get(filePath) ?? 0, invalidate = (filePath) => {
16808
- cache.delete(filePath);
16809
- invalidationVersions.set(filePath, (invalidationVersions.get(filePath) ?? 0) + 1);
16810
- for (const parent of importers.get(filePath) ?? []) {
16811
- cache.delete(parent);
16808
+ const visited = new Set;
16809
+ const queue = [filePath];
16810
+ while (queue.length > 0) {
16811
+ const current = queue.shift();
16812
+ if (current === undefined || visited.has(current))
16813
+ continue;
16814
+ visited.add(current);
16815
+ cache.delete(current);
16816
+ invalidationVersions.set(current, (invalidationVersions.get(current) ?? 0) + 1);
16817
+ const parents = importers.get(current);
16818
+ if (!parents)
16819
+ continue;
16820
+ for (const parent of parents) {
16821
+ if (!visited.has(parent))
16822
+ queue.push(parent);
16823
+ }
16812
16824
  }
16813
16825
  }, invalidateAll = () => {
16814
16826
  cache.clear();
16815
16827
  importers.clear();
16828
+ invalidationVersions.clear();
16816
16829
  };
16817
16830
  var init_transformCache = __esm(() => {
16818
16831
  cache = globalThis.__transformCache ?? new Map;
@@ -31968,5 +31981,5 @@ export {
31968
31981
  ANGULAR_INIT_TIMEOUT_MS
31969
31982
  };
31970
31983
 
31971
- //# debugId=89B8F1AE650871F764756E2164756E21
31984
+ //# debugId=A2D4D12BDB3411EB64756E2164756E21
31972
31985
  //# sourceMappingURL=index.js.map