@jsenv/navi 0.29.310 → 0.29.311

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.
@@ -26292,6 +26292,22 @@ This prevents cross-test pollution and ensures clean state.`,
26292
26292
  // URL is the source of truth for explicit parameters
26293
26293
  const value = paramSignal.peek();
26294
26294
  if (urlParamValue === undefined) {
26295
+ // An address silent about a persisted search param leaves it
26296
+ // alone: the state already holds what is stored (it starts from
26297
+ // storage and every write goes back to it), and a reset here
26298
+ // would empty the storage as well. Reading the storage back is
26299
+ // not an option either: the write that removes the param from
26300
+ // the address is the one emptying its storage, and this sync can
26301
+ // run before that removal has happened.
26302
+ // A path segment or a pushed param names a place, and an address
26303
+ // without it is the place without it: those follow the address.
26304
+ if (
26305
+ connection.persists &&
26306
+ connection.paramType === "query" &&
26307
+ connection.history !== "push"
26308
+ ) {
26309
+ continue;
26310
+ }
26295
26311
  // No URL parameter - reset signal to its current default value
26296
26312
  // (handles both static fallback and dynamic default cases)
26297
26313
  const defaultValue = connection.getDefaultValue();