@tanstack/router-devtools 1.1.2 → 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.
- package/build/cjs/utils.js +5 -1
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.js +5 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +180 -180
- package/build/umd/index.development.js +5 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -2
- package/src/utils.ts +5 -2
|
@@ -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
|
-
|
|
506
|
+
try {
|
|
507
|
+
return JSON.stringify(newValue, name);
|
|
508
|
+
} catch (e) {
|
|
509
|
+
return `unable to stringify`;
|
|
510
|
+
}
|
|
507
511
|
};
|
|
508
512
|
|
|
509
513
|
/**
|