@tanstack/react-router 1.46.7 → 1.46.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-router",
3
- "version": "1.46.7",
3
+ "version": "1.46.8",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/router.ts CHANGED
@@ -638,6 +638,10 @@ export class Router<
638
638
  ...options,
639
639
  stringifySearch: options.stringifySearch ?? defaultStringifySearch,
640
640
  parseSearch: options.parseSearch ?? defaultParseSearch,
641
+ transformer: options.transformer ?? {
642
+ parse: JSON.parse,
643
+ stringify: JSON.stringify,
644
+ },
641
645
  })
642
646
 
643
647
  if (typeof document !== 'undefined') {