@tanstack/router-core 1.111.7 → 1.112.0

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.
@@ -10,6 +10,6 @@ export type SerializerStringifyBy<T, TSerializable> = T extends TSerializable ?
10
10
  export type SerializerParseBy<T, TSerializable> = T extends TSerializable ? T : T extends React.JSX.Element ? ReadableStream : {
11
11
  [K in keyof T]: SerializerParseBy<T[K], TSerializable>;
12
12
  };
13
- export type Serializable = Date | undefined | Error | FormData | Response | bigint;
13
+ export type Serializable = Date | undefined | Error | FormData | bigint;
14
14
  export type SerializerStringify<T> = SerializerStringifyBy<T, Serializable>;
15
15
  export type SerializerParse<T> = SerializerParseBy<T, Serializable>;
@@ -10,6 +10,6 @@ export type SerializerStringifyBy<T, TSerializable> = T extends TSerializable ?
10
10
  export type SerializerParseBy<T, TSerializable> = T extends TSerializable ? T : T extends React.JSX.Element ? ReadableStream : {
11
11
  [K in keyof T]: SerializerParseBy<T[K], TSerializable>;
12
12
  };
13
- export type Serializable = Date | undefined | Error | FormData | Response | bigint;
13
+ export type Serializable = Date | undefined | Error | FormData | bigint;
14
14
  export type SerializerStringify<T> = SerializerStringifyBy<T, Serializable>;
15
15
  export type SerializerParse<T> = SerializerParseBy<T, Serializable>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/router-core",
3
- "version": "1.111.7",
3
+ "version": "1.112.0",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
package/src/serializer.ts CHANGED
@@ -17,13 +17,7 @@ export type SerializerParseBy<T, TSerializable> = T extends TSerializable
17
17
  ? ReadableStream
18
18
  : { [K in keyof T]: SerializerParseBy<T[K], TSerializable> }
19
19
 
20
- export type Serializable =
21
- | Date
22
- | undefined
23
- | Error
24
- | FormData
25
- | Response
26
- | bigint
20
+ export type Serializable = Date | undefined | Error | FormData | bigint
27
21
 
28
22
  export type SerializerStringify<T> = SerializerStringifyBy<T, Serializable>
29
23