@tanstack/react-router 0.0.1-beta.69 → 0.0.1-beta.70

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.
@@ -7,31 +7,40 @@
7
7
  "name": "index.production.js",
8
8
  "children": [
9
9
  {
10
- "uid": "61e0-103",
10
+ "uid": "d36d-109",
11
11
  "name": "\u0000rollupPluginBabelHelpers.js"
12
12
  },
13
13
  {
14
- "name": "node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
15
- "uid": "61e0-105"
14
+ "name": "node_modules/.pnpm",
15
+ "children": [
16
+ {
17
+ "name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
18
+ "uid": "d36d-111"
19
+ },
20
+ {
21
+ "name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
22
+ "uid": "d36d-113"
23
+ }
24
+ ]
16
25
  },
17
26
  {
18
27
  "name": "packages",
19
28
  "children": [
20
29
  {
21
30
  "name": "store/build/esm/index.js",
22
- "uid": "61e0-107"
31
+ "uid": "d36d-115"
23
32
  },
24
33
  {
25
34
  "name": "router/build/esm/index.js",
26
- "uid": "61e0-109"
35
+ "uid": "d36d-117"
27
36
  },
28
37
  {
29
38
  "name": "react-store/build/esm/index.js",
30
- "uid": "61e0-111"
39
+ "uid": "d36d-119"
31
40
  },
32
41
  {
33
42
  "name": "react-router/src/index.tsx",
34
- "uid": "61e0-113"
43
+ "uid": "d36d-121"
35
44
  }
36
45
  ]
37
46
  }
@@ -41,155 +50,176 @@
41
50
  "isRoot": true
42
51
  },
43
52
  "nodeParts": {
44
- "61e0-103": {
53
+ "d36d-109": {
45
54
  "renderedLength": 429,
46
55
  "gzipLength": 238,
47
56
  "brotliLength": 0,
48
- "mainUid": "61e0-102"
57
+ "mainUid": "d36d-108"
49
58
  },
50
- "61e0-105": {
59
+ "d36d-111": {
51
60
  "renderedLength": 181,
52
61
  "gzipLength": 129,
53
62
  "brotliLength": 0,
54
- "mainUid": "61e0-104"
63
+ "mainUid": "d36d-110"
64
+ },
65
+ "d36d-113": {
66
+ "renderedLength": 44,
67
+ "gzipLength": 62,
68
+ "brotliLength": 0,
69
+ "mainUid": "d36d-112"
55
70
  },
56
- "61e0-107": {
71
+ "d36d-115": {
57
72
  "renderedLength": 1288,
58
73
  "gzipLength": 497,
59
74
  "brotliLength": 0,
60
- "mainUid": "61e0-106"
75
+ "mainUid": "d36d-114"
61
76
  },
62
- "61e0-109": {
63
- "renderedLength": 45882,
64
- "gzipLength": 10946,
77
+ "d36d-117": {
78
+ "renderedLength": 46138,
79
+ "gzipLength": 10996,
65
80
  "brotliLength": 0,
66
- "mainUid": "61e0-108"
81
+ "mainUid": "d36d-116"
67
82
  },
68
- "61e0-111": {
83
+ "d36d-119": {
69
84
  "renderedLength": 1571,
70
85
  "gzipLength": 594,
71
86
  "brotliLength": 0,
72
- "mainUid": "61e0-110"
87
+ "mainUid": "d36d-118"
73
88
  },
74
- "61e0-113": {
75
- "renderedLength": 12398,
76
- "gzipLength": 3201,
89
+ "d36d-121": {
90
+ "renderedLength": 12488,
91
+ "gzipLength": 3230,
77
92
  "brotliLength": 0,
78
- "mainUid": "61e0-112"
93
+ "mainUid": "d36d-120"
79
94
  }
80
95
  },
81
96
  "nodeMetas": {
82
- "61e0-102": {
97
+ "d36d-108": {
83
98
  "id": "\u0000rollupPluginBabelHelpers.js",
84
99
  "moduleParts": {
85
- "index.production.js": "61e0-103"
100
+ "index.production.js": "d36d-109"
86
101
  },
87
102
  "imported": [],
88
103
  "importedBy": [
89
104
  {
90
- "uid": "61e0-112"
105
+ "uid": "d36d-120"
91
106
  }
92
107
  ]
93
108
  },
94
- "61e0-104": {
109
+ "d36d-110": {
95
110
  "id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
96
111
  "moduleParts": {
97
- "index.production.js": "61e0-105"
112
+ "index.production.js": "d36d-111"
113
+ },
114
+ "imported": [],
115
+ "importedBy": [
116
+ {
117
+ "uid": "d36d-116"
118
+ }
119
+ ]
120
+ },
121
+ "d36d-112": {
122
+ "id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
123
+ "moduleParts": {
124
+ "index.production.js": "d36d-113"
98
125
  },
99
126
  "imported": [],
100
127
  "importedBy": [
101
128
  {
102
- "uid": "61e0-108"
129
+ "uid": "d36d-116"
103
130
  }
104
131
  ]
105
132
  },
106
- "61e0-106": {
133
+ "d36d-114": {
107
134
  "id": "/packages/store/build/esm/index.js",
108
135
  "moduleParts": {
109
- "index.production.js": "61e0-107"
136
+ "index.production.js": "d36d-115"
110
137
  },
111
138
  "imported": [],
112
139
  "importedBy": [
113
140
  {
114
- "uid": "61e0-108"
141
+ "uid": "d36d-116"
115
142
  }
116
143
  ]
117
144
  },
118
- "61e0-108": {
145
+ "d36d-116": {
119
146
  "id": "/packages/router/build/esm/index.js",
120
147
  "moduleParts": {
121
- "index.production.js": "61e0-109"
148
+ "index.production.js": "d36d-117"
122
149
  },
123
150
  "imported": [
124
151
  {
125
- "uid": "61e0-104"
152
+ "uid": "d36d-110"
153
+ },
154
+ {
155
+ "uid": "d36d-112"
126
156
  },
127
157
  {
128
- "uid": "61e0-106"
158
+ "uid": "d36d-114"
129
159
  }
130
160
  ],
131
161
  "importedBy": [
132
162
  {
133
- "uid": "61e0-112"
163
+ "uid": "d36d-120"
134
164
  }
135
165
  ]
136
166
  },
137
- "61e0-110": {
167
+ "d36d-118": {
138
168
  "id": "/packages/react-store/build/esm/index.js",
139
169
  "moduleParts": {
140
- "index.production.js": "61e0-111"
170
+ "index.production.js": "d36d-119"
141
171
  },
142
172
  "imported": [
143
173
  {
144
- "uid": "61e0-115"
174
+ "uid": "d36d-123"
145
175
  }
146
176
  ],
147
177
  "importedBy": [
148
178
  {
149
- "uid": "61e0-112"
179
+ "uid": "d36d-120"
150
180
  }
151
181
  ]
152
182
  },
153
- "61e0-112": {
183
+ "d36d-120": {
154
184
  "id": "/packages/react-router/src/index.tsx",
155
185
  "moduleParts": {
156
- "index.production.js": "61e0-113"
186
+ "index.production.js": "d36d-121"
157
187
  },
158
188
  "imported": [
159
189
  {
160
- "uid": "61e0-102"
190
+ "uid": "d36d-108"
161
191
  },
162
192
  {
163
- "uid": "61e0-114"
193
+ "uid": "d36d-122"
164
194
  },
165
195
  {
166
- "uid": "61e0-108"
196
+ "uid": "d36d-116"
167
197
  },
168
198
  {
169
- "uid": "61e0-110"
199
+ "uid": "d36d-118"
170
200
  }
171
201
  ],
172
202
  "importedBy": [],
173
203
  "isEntry": true
174
204
  },
175
- "61e0-114": {
205
+ "d36d-122": {
176
206
  "id": "react",
177
207
  "moduleParts": {},
178
208
  "imported": [],
179
209
  "importedBy": [
180
210
  {
181
- "uid": "61e0-112"
211
+ "uid": "d36d-120"
182
212
  }
183
213
  ],
184
214
  "isExternal": true
185
215
  },
186
- "61e0-115": {
216
+ "d36d-123": {
187
217
  "id": "use-sync-external-store/shim/with-selector",
188
218
  "moduleParts": {},
189
219
  "imported": [],
190
220
  "importedBy": [
191
221
  {
192
- "uid": "61e0-110"
222
+ "uid": "d36d-118"
193
223
  }
194
224
  ],
195
225
  "isExternal": true
@@ -39,7 +39,7 @@ declare module '@tanstack/router' {
39
39
  interface FrameworkGenerics {
40
40
  Component: RouteComponent;
41
41
  ErrorComponent: RouteComponent<{
42
- error: unknown;
42
+ error: Error;
43
43
  info: {
44
44
  componentStack: string;
45
45
  };
@@ -103,8 +103,8 @@ declare function useNavigate<TDefaultFrom extends keyof RegisteredRoutesInfo['ro
103
103
  declare function useMatchRoute(): <TFrom extends ValidFromPath<AnyRoutesInfo> = "/", TTo extends string = "">(opts: MakeUseMatchRouteOptions<TFrom, TTo>) => false | {};
104
104
  declare function MatchRoute<TFrom extends ValidFromPath<RegisteredRoutesInfo> = '/', TTo extends string = ''>(props: MakeMatchRouteOptions<TFrom, TTo>): any;
105
105
  declare function Outlet(): JSX.Element | null;
106
- declare function DefaultErrorBoundary({ error }: {
106
+ declare function ErrorComponent({ error }: {
107
107
  error: any;
108
108
  }): JSX.Element;
109
109
 
110
- export { DefaultErrorBoundary, Link, LinkFn, LinkPropsOptions, MakeLinkOptions, MakeLinkPropsOptions, MakeMatchRouteOptions, MakeUseMatchRouteOptions, MatchRoute, MatchesProviderProps, Navigate, Outlet, PromptProps, ReactRouter, RouteComponent, RouterProps, RouterProvider, SyncRouteComponent, lazy, matchesContext, routerContext, useLinkProps, useMatch, useMatchRoute, useMatches, useNavigate, useParams, useRoute, useRouter, useRouterContext, useSearch };
110
+ export { ErrorComponent, Link, LinkFn, LinkPropsOptions, MakeLinkOptions, MakeLinkPropsOptions, MakeMatchRouteOptions, MakeUseMatchRouteOptions, MatchRoute, MatchesProviderProps, Navigate, Outlet, PromptProps, ReactRouter, RouteComponent, RouterProps, RouterProvider, SyncRouteComponent, lazy, matchesContext, routerContext, useLinkProps, useMatch, useMatchRoute, useMatches, useNavigate, useParams, useRoute, useRouter, useRouterContext, useSearch };