@jsenv/navi 0.26.28 → 0.26.29

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.
@@ -5323,7 +5323,7 @@ const stateSignal = (defaultValue, options = {}) => {
5323
5323
  persists = false,
5324
5324
  debug,
5325
5325
  default: staticFallback,
5326
- ignoreArrayOrder = true,
5326
+ ignoreArrayOrder,
5327
5327
  } = options;
5328
5328
 
5329
5329
  // Check if defaultValue is a signal (dynamic default) or static value
@@ -5457,15 +5457,16 @@ const stateSignal = (defaultValue, options = {}) => {
5457
5457
  const hasAutoFix = Boolean(validity.validSuggestion);
5458
5458
  if (hasAutoFix) {
5459
5459
  if (debug) {
5460
- console.debug(
5461
- `[stateSignal:${signalIdString}] validation failed: `,
5460
+ console.debug(`[stateSignal:${signalIdString}] validation failed: `, {
5461
+ value,
5462
+ validValue: validity.validSuggestion.value,
5462
5463
  validity,
5463
- );
5464
+ });
5464
5465
  }
5465
5466
  } else {
5466
5467
  console.warn(
5467
5468
  `[stateSignal:${signalIdString}] validation failed with no valid suggestion: `,
5468
- validity,
5469
+ { value, validity },
5469
5470
  );
5470
5471
  }
5471
5472
  if (validity.validSuggestion) {