@tanstack/react-router 0.0.1-beta.82 → 0.0.1-beta.83
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/stats-html.html
CHANGED
|
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
|
|
|
4024
4024
|
</script>
|
|
4025
4025
|
<script>
|
|
4026
4026
|
/*<!--*/
|
|
4027
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"
|
|
4027
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"3f93-145","name":"\u0000rollupPluginBabelHelpers.js"},{"name":"node_modules/.pnpm","children":[{"name":"tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","uid":"3f93-147"},{"name":"tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","uid":"3f93-149"}]},{"name":"packages","children":[{"name":"store/build/esm/index.js","uid":"3f93-151"},{"name":"router/build/esm/index.js","uid":"3f93-153"},{"name":"react-store/build/esm/index.js","uid":"3f93-155"},{"name":"react-router/src/index.tsx","uid":"3f93-157"}]}]}],"isRoot":true},"nodeParts":{"3f93-145":{"renderedLength":429,"gzipLength":238,"brotliLength":0,"mainUid":"3f93-144"},"3f93-147":{"renderedLength":181,"gzipLength":129,"brotliLength":0,"mainUid":"3f93-146"},"3f93-149":{"renderedLength":44,"gzipLength":62,"brotliLength":0,"mainUid":"3f93-148"},"3f93-151":{"renderedLength":2382,"gzipLength":809,"brotliLength":0,"mainUid":"3f93-150"},"3f93-153":{"renderedLength":51236,"gzipLength":11955,"brotliLength":0,"mainUid":"3f93-152"},"3f93-155":{"renderedLength":477,"gzipLength":284,"brotliLength":0,"mainUid":"3f93-154"},"3f93-157":{"renderedLength":12276,"gzipLength":3105,"brotliLength":0,"mainUid":"3f93-156"}},"nodeMetas":{"3f93-144":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"3f93-145"},"imported":[],"importedBy":[{"uid":"3f93-156"}]},"3f93-146":{"id":"/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js","moduleParts":{"index.production.js":"3f93-147"},"imported":[],"importedBy":[{"uid":"3f93-152"}]},"3f93-148":{"id":"/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js","moduleParts":{"index.production.js":"3f93-149"},"imported":[],"importedBy":[{"uid":"3f93-152"}]},"3f93-150":{"id":"/packages/store/build/esm/index.js","moduleParts":{"index.production.js":"3f93-151"},"imported":[],"importedBy":[{"uid":"3f93-152"},{"uid":"3f93-154"}]},"3f93-152":{"id":"/packages/router/build/esm/index.js","moduleParts":{"index.production.js":"3f93-153"},"imported":[{"uid":"3f93-146"},{"uid":"3f93-148"},{"uid":"3f93-150"}],"importedBy":[{"uid":"3f93-156"}]},"3f93-154":{"id":"/packages/react-store/build/esm/index.js","moduleParts":{"index.production.js":"3f93-155"},"imported":[{"uid":"3f93-150"},{"uid":"3f93-159"}],"importedBy":[{"uid":"3f93-156"}]},"3f93-156":{"id":"/packages/react-router/src/index.tsx","moduleParts":{"index.production.js":"3f93-157"},"imported":[{"uid":"3f93-144"},{"uid":"3f93-158"},{"uid":"3f93-152"},{"uid":"3f93-154"}],"importedBy":[],"isEntry":true},"3f93-158":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"3f93-156"}],"isExternal":true},"3f93-159":{"id":"use-sync-external-store/shim/with-selector","moduleParts":{},"imported":[],"importedBy":[{"uid":"3f93-154"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
4028
4028
|
|
|
4029
4029
|
const run = () => {
|
|
4030
4030
|
const width = window.innerWidth;
|
package/build/stats-react.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"name": "index.production.js",
|
|
8
8
|
"children": [
|
|
9
9
|
{
|
|
10
|
-
"uid": "
|
|
10
|
+
"uid": "3f93-161",
|
|
11
11
|
"name": "\u0000rollupPluginBabelHelpers.js"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"children": [
|
|
16
16
|
{
|
|
17
17
|
"name": "tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
|
|
18
|
-
"uid": "
|
|
18
|
+
"uid": "3f93-163"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"name": "tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
|
|
22
|
-
"uid": "
|
|
22
|
+
"uid": "3f93-165"
|
|
23
23
|
}
|
|
24
24
|
]
|
|
25
25
|
},
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"children": [
|
|
29
29
|
{
|
|
30
30
|
"name": "store/build/esm/index.js",
|
|
31
|
-
"uid": "
|
|
31
|
+
"uid": "3f93-167"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "router/build/esm/index.js",
|
|
35
|
-
"uid": "
|
|
35
|
+
"uid": "3f93-169"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "react-store/build/esm/index.js",
|
|
39
|
-
"uid": "
|
|
39
|
+
"uid": "3f93-171"
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "react-router/src/index.tsx",
|
|
43
|
-
"uid": "
|
|
43
|
+
"uid": "3f93-173"
|
|
44
44
|
}
|
|
45
45
|
]
|
|
46
46
|
}
|
|
@@ -50,182 +50,182 @@
|
|
|
50
50
|
"isRoot": true
|
|
51
51
|
},
|
|
52
52
|
"nodeParts": {
|
|
53
|
-
"
|
|
53
|
+
"3f93-161": {
|
|
54
54
|
"renderedLength": 429,
|
|
55
55
|
"gzipLength": 238,
|
|
56
56
|
"brotliLength": 0,
|
|
57
|
-
"mainUid": "
|
|
57
|
+
"mainUid": "3f93-160"
|
|
58
58
|
},
|
|
59
|
-
"
|
|
59
|
+
"3f93-163": {
|
|
60
60
|
"renderedLength": 181,
|
|
61
61
|
"gzipLength": 129,
|
|
62
62
|
"brotliLength": 0,
|
|
63
|
-
"mainUid": "
|
|
63
|
+
"mainUid": "3f93-162"
|
|
64
64
|
},
|
|
65
|
-
"
|
|
65
|
+
"3f93-165": {
|
|
66
66
|
"renderedLength": 44,
|
|
67
67
|
"gzipLength": 62,
|
|
68
68
|
"brotliLength": 0,
|
|
69
|
-
"mainUid": "
|
|
69
|
+
"mainUid": "3f93-164"
|
|
70
70
|
},
|
|
71
|
-
"
|
|
71
|
+
"3f93-167": {
|
|
72
72
|
"renderedLength": 2382,
|
|
73
73
|
"gzipLength": 809,
|
|
74
74
|
"brotliLength": 0,
|
|
75
|
-
"mainUid": "
|
|
75
|
+
"mainUid": "3f93-166"
|
|
76
76
|
},
|
|
77
|
-
"
|
|
78
|
-
"renderedLength":
|
|
79
|
-
"gzipLength":
|
|
77
|
+
"3f93-169": {
|
|
78
|
+
"renderedLength": 51236,
|
|
79
|
+
"gzipLength": 11955,
|
|
80
80
|
"brotliLength": 0,
|
|
81
|
-
"mainUid": "
|
|
81
|
+
"mainUid": "3f93-168"
|
|
82
82
|
},
|
|
83
|
-
"
|
|
83
|
+
"3f93-171": {
|
|
84
84
|
"renderedLength": 477,
|
|
85
85
|
"gzipLength": 284,
|
|
86
86
|
"brotliLength": 0,
|
|
87
|
-
"mainUid": "
|
|
87
|
+
"mainUid": "3f93-170"
|
|
88
88
|
},
|
|
89
|
-
"
|
|
89
|
+
"3f93-173": {
|
|
90
90
|
"renderedLength": 12276,
|
|
91
91
|
"gzipLength": 3105,
|
|
92
92
|
"brotliLength": 0,
|
|
93
|
-
"mainUid": "
|
|
93
|
+
"mainUid": "3f93-172"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
"nodeMetas": {
|
|
97
|
-
"
|
|
97
|
+
"3f93-160": {
|
|
98
98
|
"id": "\u0000rollupPluginBabelHelpers.js",
|
|
99
99
|
"moduleParts": {
|
|
100
|
-
"index.production.js": "
|
|
100
|
+
"index.production.js": "3f93-161"
|
|
101
101
|
},
|
|
102
102
|
"imported": [],
|
|
103
103
|
"importedBy": [
|
|
104
104
|
{
|
|
105
|
-
"uid": "
|
|
105
|
+
"uid": "3f93-172"
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
|
-
"
|
|
109
|
+
"3f93-162": {
|
|
110
110
|
"id": "/node_modules/.pnpm/tiny-invariant@1.3.1/node_modules/tiny-invariant/dist/esm/tiny-invariant.js",
|
|
111
111
|
"moduleParts": {
|
|
112
|
-
"index.production.js": "
|
|
112
|
+
"index.production.js": "3f93-163"
|
|
113
113
|
},
|
|
114
114
|
"imported": [],
|
|
115
115
|
"importedBy": [
|
|
116
116
|
{
|
|
117
|
-
"uid": "
|
|
117
|
+
"uid": "3f93-168"
|
|
118
118
|
}
|
|
119
119
|
]
|
|
120
120
|
},
|
|
121
|
-
"
|
|
121
|
+
"3f93-164": {
|
|
122
122
|
"id": "/node_modules/.pnpm/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js",
|
|
123
123
|
"moduleParts": {
|
|
124
|
-
"index.production.js": "
|
|
124
|
+
"index.production.js": "3f93-165"
|
|
125
125
|
},
|
|
126
126
|
"imported": [],
|
|
127
127
|
"importedBy": [
|
|
128
128
|
{
|
|
129
|
-
"uid": "
|
|
129
|
+
"uid": "3f93-168"
|
|
130
130
|
}
|
|
131
131
|
]
|
|
132
132
|
},
|
|
133
|
-
"
|
|
133
|
+
"3f93-166": {
|
|
134
134
|
"id": "/packages/store/build/esm/index.js",
|
|
135
135
|
"moduleParts": {
|
|
136
|
-
"index.production.js": "
|
|
136
|
+
"index.production.js": "3f93-167"
|
|
137
137
|
},
|
|
138
138
|
"imported": [],
|
|
139
139
|
"importedBy": [
|
|
140
140
|
{
|
|
141
|
-
"uid": "
|
|
141
|
+
"uid": "3f93-168"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
"uid": "
|
|
144
|
+
"uid": "3f93-170"
|
|
145
145
|
}
|
|
146
146
|
]
|
|
147
147
|
},
|
|
148
|
-
"
|
|
148
|
+
"3f93-168": {
|
|
149
149
|
"id": "/packages/router/build/esm/index.js",
|
|
150
150
|
"moduleParts": {
|
|
151
|
-
"index.production.js": "
|
|
151
|
+
"index.production.js": "3f93-169"
|
|
152
152
|
},
|
|
153
153
|
"imported": [
|
|
154
154
|
{
|
|
155
|
-
"uid": "
|
|
155
|
+
"uid": "3f93-162"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
|
-
"uid": "
|
|
158
|
+
"uid": "3f93-164"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
"uid": "
|
|
161
|
+
"uid": "3f93-166"
|
|
162
162
|
}
|
|
163
163
|
],
|
|
164
164
|
"importedBy": [
|
|
165
165
|
{
|
|
166
|
-
"uid": "
|
|
166
|
+
"uid": "3f93-172"
|
|
167
167
|
}
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
|
-
"
|
|
170
|
+
"3f93-170": {
|
|
171
171
|
"id": "/packages/react-store/build/esm/index.js",
|
|
172
172
|
"moduleParts": {
|
|
173
|
-
"index.production.js": "
|
|
173
|
+
"index.production.js": "3f93-171"
|
|
174
174
|
},
|
|
175
175
|
"imported": [
|
|
176
176
|
{
|
|
177
|
-
"uid": "
|
|
177
|
+
"uid": "3f93-166"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
"uid": "
|
|
180
|
+
"uid": "3f93-175"
|
|
181
181
|
}
|
|
182
182
|
],
|
|
183
183
|
"importedBy": [
|
|
184
184
|
{
|
|
185
|
-
"uid": "
|
|
185
|
+
"uid": "3f93-172"
|
|
186
186
|
}
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
|
-
"
|
|
189
|
+
"3f93-172": {
|
|
190
190
|
"id": "/packages/react-router/src/index.tsx",
|
|
191
191
|
"moduleParts": {
|
|
192
|
-
"index.production.js": "
|
|
192
|
+
"index.production.js": "3f93-173"
|
|
193
193
|
},
|
|
194
194
|
"imported": [
|
|
195
195
|
{
|
|
196
|
-
"uid": "
|
|
196
|
+
"uid": "3f93-160"
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
|
-
"uid": "
|
|
199
|
+
"uid": "3f93-174"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
|
-
"uid": "
|
|
202
|
+
"uid": "3f93-168"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
"uid": "
|
|
205
|
+
"uid": "3f93-170"
|
|
206
206
|
}
|
|
207
207
|
],
|
|
208
208
|
"importedBy": [],
|
|
209
209
|
"isEntry": true
|
|
210
210
|
},
|
|
211
|
-
"
|
|
211
|
+
"3f93-174": {
|
|
212
212
|
"id": "react",
|
|
213
213
|
"moduleParts": {},
|
|
214
214
|
"imported": [],
|
|
215
215
|
"importedBy": [
|
|
216
216
|
{
|
|
217
|
-
"uid": "
|
|
217
|
+
"uid": "3f93-172"
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
220
|
"isExternal": true
|
|
221
221
|
},
|
|
222
|
-
"
|
|
222
|
+
"3f93-175": {
|
|
223
223
|
"id": "use-sync-external-store/shim/with-selector",
|
|
224
224
|
"moduleParts": {},
|
|
225
225
|
"imported": [],
|
|
226
226
|
"importedBy": [
|
|
227
227
|
{
|
|
228
|
-
"uid": "
|
|
228
|
+
"uid": "3f93-170"
|
|
229
229
|
}
|
|
230
230
|
],
|
|
231
231
|
"isExternal": true
|
|
@@ -1580,7 +1580,7 @@
|
|
|
1580
1580
|
if (isSameUrl && !next.key) {
|
|
1581
1581
|
nextAction = 'replace';
|
|
1582
1582
|
}
|
|
1583
|
-
const href = `${next.pathname}${next.searchStr}${next.hash ?
|
|
1583
|
+
const href = `${next.pathname}${next.searchStr}${next.hash ? `${next.hash}` : ''}`;
|
|
1584
1584
|
this.history[nextAction === 'push' ? 'push' : 'replace'](href, {
|
|
1585
1585
|
id,
|
|
1586
1586
|
...next.state
|