@absolutejs/absolute 0.19.0-beta.1065 → 0.19.0-beta.1066

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-8rhf8z/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-96P4Fp/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-8rhf8z/src/core/streamingSlotRegistrar.ts
4
+ // .angular-partial-tmp-96P4Fp/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-8rhf8z/src/core/streamingSlotRegistry.ts
51
+ // .angular-partial-tmp-96P4Fp/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
@@ -25611,6 +25611,11 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
25611
25611
  for (const file4 of svelteFiles) {
25612
25612
  state.fileHashes.set(resolve40(file4), computeFileHash(file4));
25613
25613
  }
25614
+ const surgicallyHandled = state.svelteSurgicallyHandled ?? new Set;
25615
+ for (const file4 of svelteFiles) {
25616
+ surgicallyHandled.add(resolve40(file4));
25617
+ }
25618
+ state.svelteSurgicallyHandled = surgicallyHandled;
25614
25619
  const serverDuration = Date.now() - startTime;
25615
25620
  await runSequentially(svelteFiles, (changedFile) => broadcastSvelteModuleUpdate(state, changedFile, svelteFiles, serverDuration));
25616
25621
  scheduleSvelteBundleRebuild(state, svelteFiles, config)();
@@ -26380,7 +26385,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
26380
26385
  if (isCssOnlyChange && svelteCssFiles.length > 0) {
26381
26386
  handleSvelteCssOnlyUpdate(state, svelteCssFiles, manifest, duration);
26382
26387
  }
26383
- pagesToUpdate.forEach((sveltePagePath) => {
26388
+ const surgicallyHandled = state.svelteSurgicallyHandled;
26389
+ pagesToUpdate.filter((sveltePagePath) => !surgicallyHandled?.has(resolve40(sveltePagePath))).forEach((sveltePagePath) => {
26384
26390
  broadcastSveltePageUpdate(state, sveltePagePath, manifest, duration);
26385
26391
  });
26386
26392
  }, handleAngularCssOnlyUpdate = (state, angularCssFiles, manifest, duration) => {
@@ -26666,6 +26672,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
26666
26672
  });
26667
26673
  return files.every((f2) => handled.has(f2));
26668
26674
  }, performFullRebuild = async (state, config, affectedFrameworks, filesToRebuild, startTime, onRebuildComplete) => {
26675
+ state.svelteSurgicallyHandled = undefined;
26669
26676
  const hasManifest = Object.keys(state.manifest).length > 0;
26670
26677
  const files = filesToRebuild ?? [];
26671
26678
  let allHandled = files.length > 0 && hasManifest;
@@ -27614,5 +27621,5 @@ export {
27614
27621
  build
27615
27622
  };
27616
27623
 
27617
- //# debugId=637A49BFB9744A5B64756E2164756E21
27624
+ //# debugId=23965E9A0F97A8FD64756E2164756E21
27618
27625
  //# sourceMappingURL=build.js.map