@absolutejs/absolute 0.19.0-beta.715 → 0.19.0-beta.716

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
@@ -49458,9 +49458,19 @@ var toSafeFileName5 = (specifier) => specifier.replace(/\//g, "_").replace(/@/g,
49458
49458
  }
49459
49459
  return paths;
49460
49460
  }, computeDepVendorPaths = async (directories) => {
49461
- const specifiers = await scanBareImports(directories);
49461
+ const initialSpecs = await scanBareImports(directories);
49462
+ const allSpecs = new Set(initialSpecs);
49463
+ let frontier = allSpecs;
49464
+ for (let pass = 0;pass < MAX_VENDOR_DISCOVERY_PASSES; pass++) {
49465
+ const additional = await collectTransitiveImports(frontier, allSpecs);
49466
+ if (additional.size === 0)
49467
+ break;
49468
+ for (const spec of additional)
49469
+ allSpecs.add(spec);
49470
+ frontier = additional;
49471
+ }
49462
49472
  const paths = {};
49463
- for (const specifier of specifiers) {
49473
+ for (const specifier of allSpecs) {
49464
49474
  paths[specifier] = `/vendor/${toSafeFileName5(specifier)}.js`;
49465
49475
  }
49466
49476
  return paths;
@@ -58213,5 +58223,5 @@ export {
58213
58223
  ANGULAR_INIT_TIMEOUT_MS
58214
58224
  };
58215
58225
 
58216
- //# debugId=C5600232735DC36764756E2164756E21
58226
+ //# debugId=D1EB308E743E02DD64756E2164756E21
58217
58227
  //# sourceMappingURL=index.js.map