Commit 8a4b6cb
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 3c31ed5 commit 8a4b6cb
File tree
6 files changed
+287
-246
lines changed- docs
- packages/metro
- src
- Server/__tests__
- lib
6 files changed
+287
-246
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
| 362 | + | |
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
444 | 446 | | |
445 | 447 | | |
446 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
447 | 455 | | |
448 | 456 | | |
449 | 457 | | |
450 | 458 | | |
451 | 459 | | |
452 | 460 | | |
453 | | - | |
454 | | - | |
| 461 | + | |
455 | 462 | | |
456 | 463 | | |
457 | 464 | | |
| |||
1051 | 1058 | | |
1052 | 1059 | | |
1053 | 1060 | | |
1054 | | - | |
1055 | | - | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
1056 | 1075 | | |
1057 | 1076 | | |
1058 | | - | |
| 1077 | + | |
1059 | 1078 | | |
1060 | 1079 | | |
1061 | 1080 | | |
1062 | | - | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1063 | 1084 | | |
1064 | 1085 | | |
1065 | 1086 | | |
1066 | 1087 | | |
| 1088 | + | |
1067 | 1089 | | |
1068 | 1090 | | |
1069 | 1091 | | |
| |||
1078 | 1100 | | |
1079 | 1101 | | |
1080 | 1102 | | |
1081 | | - | |
1082 | | - | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
1083 | 1108 | | |
1084 | 1109 | | |
1085 | 1110 | | |
| |||
1106 | 1131 | | |
1107 | 1132 | | |
1108 | 1133 | | |
1109 | | - | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1116 | 1137 | | |
1117 | 1138 | | |
1118 | 1139 | | |
1119 | 1140 | | |
1120 | 1141 | | |
1121 | 1142 | | |
1122 | | - | |
| 1143 | + | |
1123 | 1144 | | |
1124 | 1145 | | |
1125 | 1146 | | |
| |||
0 commit comments