Commit ff92b4b
committed
Accept bundle and symbolication requests in JSC-safe format (
Summary:
The first part of implementing react-native-community/discussions-and-proposals#646 to address facebook/react-native#36794.
This allows Metro to respond to bundle and symbolication requests that use URLs with `//&` in place of `?` as a query delimiter.
```
**[Feature]**: Support URLs for both bundling and symbolication requests using `//&` instead of `?` as a query string delimiter
```
(Note: This does *not* add support for registering HMR entry points in the JSC-safe format - that's not necessary at this point, if at all, and I'm keen to minimise the footprint of this stack for easier backporting.)
Reviewed By: huntie
Differential Revision: D45983877
fbshipit-source-id: e799f76cd26c2ca8026b4d1bf70a582814ae1790//& in place of ?)1 parent f9aaca6 commit ff92b4b
File tree
6 files changed
+290
-240
lines changed- docs
- packages/metro
- src
- Server/__tests__
- lib
6 files changed
+290
-240
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
474 | 476 | | |
475 | 477 | | |
476 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
477 | 485 | | |
478 | 486 | | |
479 | 487 | | |
480 | 488 | | |
481 | 489 | | |
482 | 490 | | |
483 | | - | |
484 | | - | |
| 491 | + | |
485 | 492 | | |
486 | 493 | | |
487 | 494 | | |
| |||
1145 | 1152 | | |
1146 | 1153 | | |
1147 | 1154 | | |
1148 | | - | |
1149 | | - | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1150 | 1169 | | |
1151 | 1170 | | |
1152 | | - | |
| 1171 | + | |
1153 | 1172 | | |
1154 | 1173 | | |
1155 | 1174 | | |
1156 | | - | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
1157 | 1178 | | |
1158 | 1179 | | |
1159 | 1180 | | |
1160 | 1181 | | |
| 1182 | + | |
1161 | 1183 | | |
1162 | 1184 | | |
1163 | 1185 | | |
| |||
1172 | 1194 | | |
1173 | 1195 | | |
1174 | 1196 | | |
1175 | | - | |
1176 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1177 | 1202 | | |
1178 | 1203 | | |
1179 | 1204 | | |
| |||
1200 | 1225 | | |
1201 | 1226 | | |
1202 | 1227 | | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1210 | 1231 | | |
1211 | 1232 | | |
1212 | 1233 | | |
1213 | 1234 | | |
1214 | 1235 | | |
1215 | 1236 | | |
1216 | 1237 | | |
1217 | | - | |
| 1238 | + | |
1218 | 1239 | | |
1219 | 1240 | | |
1220 | 1241 | | |
| |||
0 commit comments