@absolutejs/absolute 0.19.0-beta.812 → 0.19.0-beta.813

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-U2IMYb/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-lNot39/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-U2IMYb/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-lNot39/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-U2IMYb/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-lNot39/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
@@ -13876,8 +13876,8 @@ ${content.slice(firstUseIdx)}`;
13876
13876
  extractBuildError(reactClientLogs, "react-client", "React client", frameworkNames, isIncremental, throwOnError);
13877
13877
  }
13878
13878
  const reactClientOutputPaths = reactClientOutputs.map((artifact) => artifact.path);
13879
- if (vendorPaths && reactClientOutputPaths.length > 0) {
13880
- await tracePhase("postprocess/react-imports", () => rewriteReactImports(reactClientOutputPaths, vendorPaths));
13879
+ if (Object.keys(reactExternalPaths).length > 0 && reactClientOutputPaths.length > 0) {
13880
+ await tracePhase("postprocess/react-imports", () => rewriteReactImports(reactClientOutputPaths, reactExternalPaths));
13881
13881
  }
13882
13882
  if (hmr && reactClientOutputPaths.length > 0) {
13883
13883
  await tracePhase("postprocess/react-refresh-globals", () => patchRefreshGlobals(reactClientOutputPaths));
@@ -13888,14 +13888,14 @@ ${content.slice(firstUseIdx)}`;
13888
13888
  const islandClientLogs = islandClientResult?.logs ?? [];
13889
13889
  const islandClientOutputs = islandClientResult?.outputs ?? [];
13890
13890
  const islandClientOutputPaths = islandClientOutputs.map((artifact) => artifact.path);
13891
- if (vendorPaths && nonReactClientOutputPaths.length > 0) {
13892
- await tracePhase("postprocess/non-react-react-imports", () => rewriteReactImports(nonReactClientOutputPaths, vendorPaths));
13891
+ if (Object.keys(nonReactExternalPaths).length > 0 && nonReactClientOutputPaths.length > 0) {
13892
+ await tracePhase("postprocess/non-react-react-imports", () => rewriteReactImports(nonReactClientOutputPaths, nonReactExternalPaths));
13893
13893
  }
13894
13894
  if (hmr && nonReactClientOutputPaths.length > 0) {
13895
13895
  await tracePhase("postprocess/non-react-refresh-globals", () => patchRefreshGlobals(nonReactClientOutputPaths));
13896
13896
  }
13897
- if (vendorPaths && islandClientOutputPaths.length > 0) {
13898
- await tracePhase("postprocess/island-react-imports", () => rewriteReactImports(islandClientOutputPaths, vendorPaths));
13897
+ if (Object.keys(nonReactExternalPaths).length > 0 && islandClientOutputPaths.length > 0) {
13898
+ await tracePhase("postprocess/island-react-imports", () => rewriteReactImports(islandClientOutputPaths, nonReactExternalPaths));
13899
13899
  }
13900
13900
  if (hmr && islandClientOutputPaths.length > 0) {
13901
13901
  await tracePhase("postprocess/island-refresh-globals", () => patchRefreshGlobals(islandClientOutputPaths));
@@ -18194,5 +18194,5 @@ export {
18194
18194
  build
18195
18195
  };
18196
18196
 
18197
- //# debugId=C3B3BFEF1E7A757364756E2164756E21
18197
+ //# debugId=0D948A8955A280DA64756E2164756E21
18198
18198
  //# sourceMappingURL=build.js.map