@absolutejs/absolute 0.19.0-beta.826 → 0.19.0-beta.828

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-mBKUt0/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-nOe0oa/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-mBKUt0/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-nOe0oa/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-mBKUt0/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-nOe0oa/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";
@@ -209,8 +209,11 @@ var resolveAngularPackageDir = (specifier) => {
209
209
  return resolvePackageEntry(packageDir);
210
210
  return specifier;
211
211
  }, toSafeVendorName = (specifier) => specifier.replace(/^@/, "").replace(/\//g, "_"), resolveAngularRuntimePath = (specifier) => {
212
- const buildDir = process.env.ABSOLUTE_BUILD_DIR;
213
- if (buildDir) {
212
+ const buildDirs = [
213
+ process.env.ABSOLUTE_BUILD_DIR,
214
+ resolve(process.cwd(), "build")
215
+ ].filter((value) => Boolean(value));
216
+ for (const buildDir of buildDirs) {
214
217
  const vendorPath = join(buildDir, "angular", "vendor", "server", `${toSafeVendorName(specifier)}.js`);
215
218
  if (existsSync(vendorPath))
216
219
  return vendorPath;
@@ -14939,5 +14942,5 @@ export {
14939
14942
  ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
14940
14943
  };
14941
14944
 
14942
- //# debugId=00EC844F8BD5762264756E2164756E21
14945
+ //# debugId=C0D6D696ED53789664756E2164756E21
14943
14946
  //# sourceMappingURL=index.js.map