Commit cf36f42
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 f9020e1 commit cf36f42
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 | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
487 | 489 | | |
488 | 490 | | |
489 | 491 | | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
490 | 498 | | |
491 | 499 | | |
492 | 500 | | |
493 | 501 | | |
494 | 502 | | |
495 | 503 | | |
496 | | - | |
497 | | - | |
| 504 | + | |
498 | 505 | | |
499 | 506 | | |
500 | 507 | | |
| |||
1223 | 1230 | | |
1224 | 1231 | | |
1225 | 1232 | | |
1226 | | - | |
1227 | | - | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1228 | 1247 | | |
1229 | 1248 | | |
1230 | | - | |
| 1249 | + | |
1231 | 1250 | | |
1232 | 1251 | | |
1233 | 1252 | | |
1234 | | - | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1235 | 1256 | | |
1236 | 1257 | | |
1237 | 1258 | | |
1238 | 1259 | | |
| 1260 | + | |
1239 | 1261 | | |
1240 | 1262 | | |
1241 | 1263 | | |
| |||
1250 | 1272 | | |
1251 | 1273 | | |
1252 | 1274 | | |
1253 | | - | |
1254 | | - | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1255 | 1280 | | |
1256 | 1281 | | |
1257 | 1282 | | |
| |||
1278 | 1303 | | |
1279 | 1304 | | |
1280 | 1305 | | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
1288 | 1309 | | |
1289 | 1310 | | |
1290 | 1311 | | |
1291 | 1312 | | |
1292 | 1313 | | |
1293 | 1314 | | |
1294 | 1315 | | |
1295 | | - | |
| 1316 | + | |
1296 | 1317 | | |
1297 | 1318 | | |
1298 | 1319 | | |
| |||
0 commit comments