Commit bd357c8
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 905d773 commit bd357c8
File tree
6 files changed
+312
-262
lines changed- docs
- packages/metro
- src
- Server/__tests__
- lib
6 files changed
+312
-262
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
| 618 | + | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
492 | 500 | | |
493 | 501 | | |
494 | 502 | | |
495 | 503 | | |
496 | 504 | | |
497 | 505 | | |
498 | | - | |
499 | | - | |
| 506 | + | |
500 | 507 | | |
501 | 508 | | |
502 | 509 | | |
| |||
1112 | 1119 | | |
1113 | 1120 | | |
1114 | 1121 | | |
1115 | | - | |
1116 | | - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1117 | 1135 | | |
1118 | 1136 | | |
1119 | | - | |
| 1137 | + | |
1120 | 1138 | | |
1121 | 1139 | | |
1122 | 1140 | | |
1123 | | - | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1124 | 1144 | | |
1125 | 1145 | | |
1126 | 1146 | | |
1127 | 1147 | | |
| 1148 | + | |
1128 | 1149 | | |
1129 | 1150 | | |
1130 | 1151 | | |
| |||
1139 | 1160 | | |
1140 | 1161 | | |
1141 | 1162 | | |
1142 | | - | |
1143 | | - | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
1144 | 1168 | | |
1145 | 1169 | | |
1146 | 1170 | | |
| |||
1168 | 1192 | | |
1169 | 1193 | | |
1170 | 1194 | | |
1171 | | - | |
1172 | | - | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | | - | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
1177 | 1198 | | |
1178 | 1199 | | |
1179 | 1200 | | |
1180 | 1201 | | |
1181 | 1202 | | |
1182 | 1203 | | |
1183 | 1204 | | |
1184 | | - | |
| 1205 | + | |
1185 | 1206 | | |
1186 | 1207 | | |
1187 | 1208 | | |
| |||
0 commit comments