@jsenv/navi 0.26.25 → 0.26.26

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.
@@ -5437,6 +5437,9 @@ const stateSignal = (defaultValue, options = {}) => {
5437
5437
  oneOf,
5438
5438
  });
5439
5439
  const processValue = (value) => {
5440
+ if (value === undefined) {
5441
+ return undefined;
5442
+ }
5440
5443
  const wasValid = validity.valid;
5441
5444
  updateValidity(value);
5442
5445
  if (validity.valid) {
@@ -5455,12 +5458,14 @@ const stateSignal = (defaultValue, options = {}) => {
5455
5458
  if (hasAutoFix) {
5456
5459
  if (debug) {
5457
5460
  console.debug(
5458
- `[stateSignal:${signalIdString}] validation failed: ${validity.message}`,
5461
+ `[stateSignal:${signalIdString}] validation failed: `,
5462
+ validity,
5459
5463
  );
5460
5464
  }
5461
5465
  } else {
5462
5466
  console.warn(
5463
- `[stateSignal:${signalIdString}] validation failed with no valid suggestion: ${validity.message}`,
5467
+ `[stateSignal:${signalIdString}] validation failed with no valid suggestion: `,
5468
+ validity,
5464
5469
  );
5465
5470
  }
5466
5471
  if (validity.validSuggestion) {