@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/build.js CHANGED
@@ -49381,9 +49381,19 @@ var toSafeFileName5 = (specifier) => specifier.replace(/\//g, "_").replace(/@/g,
49381
49381
  }
49382
49382
  return paths;
49383
49383
  }, computeDepVendorPaths = async (directories) => {
49384
- const specifiers = await scanBareImports(directories);
49384
+ const initialSpecs = await scanBareImports(directories);
49385
+ const allSpecs = new Set(initialSpecs);
49386
+ let frontier = allSpecs;
49387
+ for (let pass = 0;pass < MAX_VENDOR_DISCOVERY_PASSES; pass++) {
49388
+ const additional = await collectTransitiveImports(frontier, allSpecs);
49389
+ if (additional.size === 0)
49390
+ break;
49391
+ for (const spec of additional)
49392
+ allSpecs.add(spec);
49393
+ frontier = additional;
49394
+ }
49385
49395
  const paths = {};
49386
- for (const specifier of specifiers) {
49396
+ for (const specifier of allSpecs) {
49387
49397
  paths[specifier] = `/vendor/${toSafeFileName5(specifier)}.js`;
49388
49398
  }
49389
49399
  return paths;
@@ -49753,5 +49763,5 @@ export {
49753
49763
  build
49754
49764
  };
49755
49765
 
49756
- //# debugId=3B3195FA2C1847A964756E2164756E21
49766
+ //# debugId=9E5578DF152AD2CB64756E2164756E21
49757
49767
  //# sourceMappingURL=build.js.map