@tanstack/router-devtools 1.1.1 → 1.1.3

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.
@@ -503,7 +503,11 @@
503
503
  const displayValue = value => {
504
504
  const name = Object.getOwnPropertyNames(Object(value));
505
505
  const newValue = typeof value === 'bigint' ? `${value.toString()}n` : value;
506
- return JSON.stringify(newValue, name);
506
+ try {
507
+ return JSON.stringify(newValue, name);
508
+ } catch (e) {
509
+ return `unable to stringify`;
510
+ }
507
511
  };
508
512
 
509
513
  /**