react-server-dom-webpack 19.0.0-rc-f6cce072-20240723 → 19.0.0-rc-76002254-20240724
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/cjs/react-server-dom-webpack-client.browser.development.js +18 -5
- package/cjs/react-server-dom-webpack-client.browser.production.js +17 -4
- package/cjs/react-server-dom-webpack-client.edge.development.js +18 -5
- package/cjs/react-server-dom-webpack-client.edge.production.js +17 -4
- package/cjs/react-server-dom-webpack-client.node.development.js +18 -5
- package/cjs/react-server-dom-webpack-client.node.production.js +17 -4
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +18 -5
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +17 -4
- package/cjs/react-server-dom-webpack-server.browser.development.js +2 -7
- package/cjs/react-server-dom-webpack-server.edge.development.js +11 -15
- package/cjs/react-server-dom-webpack-server.node.development.js +6 -10
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +6 -10
- package/package.json +3 -3
@@ -1043,10 +1043,23 @@
|
|
1043
1043
|
}
|
1044
1044
|
switch (id.status) {
|
1045
1045
|
case "fulfilled":
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1046
|
+
for (var value = id.value, i = 1; i < reference.length; i++)
|
1047
|
+
if (
|
1048
|
+
((value = value[reference[i]]),
|
1049
|
+
value.$$typeof === REACT_LAZY_TYPE)
|
1050
|
+
)
|
1051
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
1052
|
+
value = value.value;
|
1053
|
+
else
|
1054
|
+
return waitForReference(
|
1055
|
+
value,
|
1056
|
+
parentObject,
|
1057
|
+
key,
|
1058
|
+
response,
|
1059
|
+
map,
|
1060
|
+
reference.slice(i)
|
1061
|
+
);
|
1062
|
+
response = map(response, value);
|
1050
1063
|
id._debugInfo &&
|
1051
1064
|
("object" !== typeof response ||
|
1052
1065
|
null === response ||
|
@@ -1485,7 +1498,7 @@
|
|
1485
1498
|
);
|
1486
1499
|
}
|
1487
1500
|
function createFakeFunction(name, filename, sourceMap, line, col) {
|
1488
|
-
name || (name = "
|
1501
|
+
name || (name = "<anonymous>");
|
1489
1502
|
var encodedName = JSON.stringify(name);
|
1490
1503
|
1 >= line
|
1491
1504
|
? ((line = encodedName.length + 7),
|
@@ -746,10 +746,23 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
746
746
|
}
|
747
747
|
switch (id.status) {
|
748
748
|
case "fulfilled":
|
749
|
-
|
750
|
-
for (
|
751
|
-
|
752
|
-
|
749
|
+
var value = id.value;
|
750
|
+
for (id = 1; id < reference.length; id++)
|
751
|
+
if (
|
752
|
+
((value = value[reference[id]]), value.$$typeof === REACT_LAZY_TYPE)
|
753
|
+
)
|
754
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
755
|
+
value = value.value;
|
756
|
+
else
|
757
|
+
return waitForReference(
|
758
|
+
value,
|
759
|
+
parentObject,
|
760
|
+
key,
|
761
|
+
response,
|
762
|
+
map,
|
763
|
+
reference.slice(id)
|
764
|
+
);
|
765
|
+
return map(response, value);
|
753
766
|
case "pending":
|
754
767
|
case "blocked":
|
755
768
|
return waitForReference(id, parentObject, key, response, map, reference);
|
@@ -1214,10 +1214,23 @@
|
|
1214
1214
|
}
|
1215
1215
|
switch (id.status) {
|
1216
1216
|
case "fulfilled":
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1217
|
+
for (var value = id.value, i = 1; i < reference.length; i++)
|
1218
|
+
if (
|
1219
|
+
((value = value[reference[i]]),
|
1220
|
+
value.$$typeof === REACT_LAZY_TYPE)
|
1221
|
+
)
|
1222
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
1223
|
+
value = value.value;
|
1224
|
+
else
|
1225
|
+
return waitForReference(
|
1226
|
+
value,
|
1227
|
+
parentObject,
|
1228
|
+
key,
|
1229
|
+
response,
|
1230
|
+
map,
|
1231
|
+
reference.slice(i)
|
1232
|
+
);
|
1233
|
+
response = map(response, value);
|
1221
1234
|
id._debugInfo &&
|
1222
1235
|
("object" !== typeof response ||
|
1223
1236
|
null === response ||
|
@@ -1661,7 +1674,7 @@
|
|
1661
1674
|
);
|
1662
1675
|
}
|
1663
1676
|
function createFakeFunction(name, filename, sourceMap, line, col) {
|
1664
|
-
name || (name = "
|
1677
|
+
name || (name = "<anonymous>");
|
1665
1678
|
var encodedName = JSON.stringify(name);
|
1666
1679
|
1 >= line
|
1667
1680
|
? ((line = encodedName.length + 7),
|
@@ -900,10 +900,23 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
900
900
|
}
|
901
901
|
switch (id.status) {
|
902
902
|
case "fulfilled":
|
903
|
-
|
904
|
-
for (
|
905
|
-
|
906
|
-
|
903
|
+
var value = id.value;
|
904
|
+
for (id = 1; id < reference.length; id++)
|
905
|
+
if (
|
906
|
+
((value = value[reference[id]]), value.$$typeof === REACT_LAZY_TYPE)
|
907
|
+
)
|
908
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
909
|
+
value = value.value;
|
910
|
+
else
|
911
|
+
return waitForReference(
|
912
|
+
value,
|
913
|
+
parentObject,
|
914
|
+
key,
|
915
|
+
response,
|
916
|
+
map,
|
917
|
+
reference.slice(id)
|
918
|
+
);
|
919
|
+
return map(response, value);
|
907
920
|
case "pending":
|
908
921
|
case "blocked":
|
909
922
|
return waitForReference(id, parentObject, key, response, map, reference);
|
@@ -1214,10 +1214,23 @@
|
|
1214
1214
|
}
|
1215
1215
|
switch (id.status) {
|
1216
1216
|
case "fulfilled":
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1217
|
+
for (var value = id.value, i = 1; i < reference.length; i++)
|
1218
|
+
if (
|
1219
|
+
((value = value[reference[i]]),
|
1220
|
+
value.$$typeof === REACT_LAZY_TYPE)
|
1221
|
+
)
|
1222
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
1223
|
+
value = value.value;
|
1224
|
+
else
|
1225
|
+
return waitForReference(
|
1226
|
+
value,
|
1227
|
+
parentObject,
|
1228
|
+
key,
|
1229
|
+
response,
|
1230
|
+
map,
|
1231
|
+
reference.slice(i)
|
1232
|
+
);
|
1233
|
+
response = map(response, value);
|
1221
1234
|
id._debugInfo &&
|
1222
1235
|
("object" !== typeof response ||
|
1223
1236
|
null === response ||
|
@@ -1661,7 +1674,7 @@
|
|
1661
1674
|
);
|
1662
1675
|
}
|
1663
1676
|
function createFakeFunction(name, filename, sourceMap, line, col) {
|
1664
|
-
name || (name = "
|
1677
|
+
name || (name = "<anonymous>");
|
1665
1678
|
var encodedName = JSON.stringify(name);
|
1666
1679
|
1 >= line
|
1667
1680
|
? ((line = encodedName.length + 7),
|
@@ -901,10 +901,23 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
901
901
|
}
|
902
902
|
switch (id.status) {
|
903
903
|
case "fulfilled":
|
904
|
-
|
905
|
-
for (
|
906
|
-
|
907
|
-
|
904
|
+
var value = id.value;
|
905
|
+
for (id = 1; id < reference.length; id++)
|
906
|
+
if (
|
907
|
+
((value = value[reference[id]]), value.$$typeof === REACT_LAZY_TYPE)
|
908
|
+
)
|
909
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
910
|
+
value = value.value;
|
911
|
+
else
|
912
|
+
return waitForReference(
|
913
|
+
value,
|
914
|
+
parentObject,
|
915
|
+
key,
|
916
|
+
response,
|
917
|
+
map,
|
918
|
+
reference.slice(id)
|
919
|
+
);
|
920
|
+
return map(response, value);
|
908
921
|
case "pending":
|
909
922
|
case "blocked":
|
910
923
|
return waitForReference(id, parentObject, key, response, map, reference);
|
@@ -1189,10 +1189,23 @@
|
|
1189
1189
|
}
|
1190
1190
|
switch (id.status) {
|
1191
1191
|
case "fulfilled":
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1192
|
+
for (var value = id.value, i = 1; i < reference.length; i++)
|
1193
|
+
if (
|
1194
|
+
((value = value[reference[i]]),
|
1195
|
+
value.$$typeof === REACT_LAZY_TYPE)
|
1196
|
+
)
|
1197
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
1198
|
+
value = value.value;
|
1199
|
+
else
|
1200
|
+
return waitForReference(
|
1201
|
+
value,
|
1202
|
+
parentObject,
|
1203
|
+
key,
|
1204
|
+
response,
|
1205
|
+
map,
|
1206
|
+
reference.slice(i)
|
1207
|
+
);
|
1208
|
+
response = map(response, value);
|
1196
1209
|
id._debugInfo &&
|
1197
1210
|
("object" !== typeof response ||
|
1198
1211
|
null === response ||
|
@@ -1636,7 +1649,7 @@
|
|
1636
1649
|
);
|
1637
1650
|
}
|
1638
1651
|
function createFakeFunction(name, filename, sourceMap, line, col) {
|
1639
|
-
name || (name = "
|
1652
|
+
name || (name = "<anonymous>");
|
1640
1653
|
var encodedName = JSON.stringify(name);
|
1641
1654
|
1 >= line
|
1642
1655
|
? ((line = encodedName.length + 7),
|
@@ -880,10 +880,23 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
880
880
|
}
|
881
881
|
switch (id.status) {
|
882
882
|
case "fulfilled":
|
883
|
-
|
884
|
-
for (
|
885
|
-
|
886
|
-
|
883
|
+
var value = id.value;
|
884
|
+
for (id = 1; id < reference.length; id++)
|
885
|
+
if (
|
886
|
+
((value = value[reference[id]]), value.$$typeof === REACT_LAZY_TYPE)
|
887
|
+
)
|
888
|
+
if (((value = value._payload), "fulfilled" === value.status))
|
889
|
+
value = value.value;
|
890
|
+
else
|
891
|
+
return waitForReference(
|
892
|
+
value,
|
893
|
+
parentObject,
|
894
|
+
key,
|
895
|
+
response,
|
896
|
+
map,
|
897
|
+
reference.slice(id)
|
898
|
+
);
|
899
|
+
return map(response, value);
|
887
900
|
case "pending":
|
888
901
|
case "blocked":
|
889
902
|
return waitForReference(id, parentObject, key, response, map, reference);
|
@@ -794,12 +794,7 @@
|
|
794
794
|
task.environmentName = componentEnv;
|
795
795
|
}
|
796
796
|
prepareToUseHooksForComponent(prevThenableState, componentDebugInfo);
|
797
|
-
props = callComponentInDEV(
|
798
|
-
Component,
|
799
|
-
props,
|
800
|
-
componentDebugInfo,
|
801
|
-
task.debugTask
|
802
|
-
);
|
797
|
+
props = callComponentInDEV(Component, props, componentDebugInfo);
|
803
798
|
if (1 === request.status) throw AbortSigil;
|
804
799
|
if (
|
805
800
|
"object" === typeof props &&
|
@@ -3124,7 +3119,7 @@
|
|
3124
3119
|
}
|
3125
3120
|
};
|
3126
3121
|
var frameRegExp =
|
3127
|
-
/^ {3} at (?:(.+) \((
|
3122
|
+
/^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
|
3128
3123
|
TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
3129
3124
|
proxyHandlers = {
|
3130
3125
|
get: function (target, name) {
|
@@ -798,12 +798,15 @@
|
|
798
798
|
task.environmentName = componentEnv;
|
799
799
|
}
|
800
800
|
prepareToUseHooksForComponent(prevThenableState, componentDebugInfo);
|
801
|
-
props =
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
801
|
+
props = supportsComponentStorage
|
802
|
+
? componentStorage.run(
|
803
|
+
componentDebugInfo,
|
804
|
+
callComponentInDEV,
|
805
|
+
Component,
|
806
|
+
props,
|
807
|
+
componentDebugInfo
|
808
|
+
)
|
809
|
+
: callComponentInDEV(Component, props, componentDebugInfo);
|
807
810
|
if (1 === request.status) throw AbortSigil;
|
808
811
|
if (
|
809
812
|
"object" === typeof props &&
|
@@ -3132,7 +3135,7 @@
|
|
3132
3135
|
}
|
3133
3136
|
};
|
3134
3137
|
var frameRegExp =
|
3135
|
-
/^ {3} at (?:(.+) \((
|
3138
|
+
/^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
|
3136
3139
|
supportsRequestStorage = "function" === typeof AsyncLocalStorage,
|
3137
3140
|
requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null,
|
3138
3141
|
supportsComponentStorage = supportsRequestStorage,
|
@@ -3302,14 +3305,7 @@
|
|
3302
3305
|
) {
|
3303
3306
|
currentOwner = componentDebugInfo;
|
3304
3307
|
try {
|
3305
|
-
return
|
3306
|
-
? componentStorage.run(
|
3307
|
-
componentDebugInfo,
|
3308
|
-
Component,
|
3309
|
-
props,
|
3310
|
-
void 0
|
3311
|
-
)
|
3312
|
-
: Component(props, void 0);
|
3308
|
+
return Component(props, void 0);
|
3313
3309
|
} finally {
|
3314
3310
|
currentOwner = null;
|
3315
3311
|
}
|
@@ -821,11 +821,12 @@
|
|
821
821
|
task.environmentName = componentEnv;
|
822
822
|
}
|
823
823
|
prepareToUseHooksForComponent(prevThenableState, componentDebugInfo);
|
824
|
-
props =
|
824
|
+
props = componentStorage.run(
|
825
|
+
componentDebugInfo,
|
826
|
+
callComponentInDEV,
|
825
827
|
Component,
|
826
828
|
props,
|
827
|
-
componentDebugInfo
|
828
|
-
task.debugTask
|
829
|
+
componentDebugInfo
|
829
830
|
);
|
830
831
|
if (1 === request.status) throw AbortSigil;
|
831
832
|
if (
|
@@ -3164,7 +3165,7 @@
|
|
3164
3165
|
}
|
3165
3166
|
};
|
3166
3167
|
var frameRegExp =
|
3167
|
-
/^ {3} at (?:(.+) \((
|
3168
|
+
/^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
|
3168
3169
|
requestStorage = new async_hooks.AsyncLocalStorage(),
|
3169
3170
|
componentStorage = new async_hooks.AsyncLocalStorage(),
|
3170
3171
|
TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
@@ -3321,12 +3322,7 @@
|
|
3321
3322
|
) {
|
3322
3323
|
currentOwner = componentDebugInfo;
|
3323
3324
|
try {
|
3324
|
-
return
|
3325
|
-
componentDebugInfo,
|
3326
|
-
Component,
|
3327
|
-
props,
|
3328
|
-
void 0
|
3329
|
-
);
|
3325
|
+
return Component(props, void 0);
|
3330
3326
|
} finally {
|
3331
3327
|
currentOwner = null;
|
3332
3328
|
}
|
@@ -821,11 +821,12 @@
|
|
821
821
|
task.environmentName = componentEnv;
|
822
822
|
}
|
823
823
|
prepareToUseHooksForComponent(prevThenableState, componentDebugInfo);
|
824
|
-
props =
|
824
|
+
props = componentStorage.run(
|
825
|
+
componentDebugInfo,
|
826
|
+
callComponentInDEV,
|
825
827
|
Component,
|
826
828
|
props,
|
827
|
-
componentDebugInfo
|
828
|
-
task.debugTask
|
829
|
+
componentDebugInfo
|
829
830
|
);
|
830
831
|
if (1 === request.status) throw AbortSigil;
|
831
832
|
if (
|
@@ -3129,7 +3130,7 @@
|
|
3129
3130
|
}
|
3130
3131
|
};
|
3131
3132
|
var frameRegExp =
|
3132
|
-
/^ {3} at (?:(.+) \((
|
3133
|
+
/^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
|
3133
3134
|
requestStorage = new async_hooks.AsyncLocalStorage(),
|
3134
3135
|
componentStorage = new async_hooks.AsyncLocalStorage(),
|
3135
3136
|
TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
|
@@ -3286,12 +3287,7 @@
|
|
3286
3287
|
) {
|
3287
3288
|
currentOwner = componentDebugInfo;
|
3288
3289
|
try {
|
3289
|
-
return
|
3290
|
-
componentDebugInfo,
|
3291
|
-
Component,
|
3292
|
-
props,
|
3293
|
-
void 0
|
3294
|
-
);
|
3290
|
+
return Component(props, void 0);
|
3295
3291
|
} finally {
|
3296
3292
|
currentOwner = null;
|
3297
3293
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "19.0.0-rc-
|
4
|
+
"version": "19.0.0-rc-76002254-20240724",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -77,8 +77,8 @@
|
|
77
77
|
"node": ">=0.10.0"
|
78
78
|
},
|
79
79
|
"peerDependencies": {
|
80
|
-
"react": "19.0.0-rc-
|
81
|
-
"react-dom": "19.0.0-rc-
|
80
|
+
"react": "19.0.0-rc-76002254-20240724",
|
81
|
+
"react-dom": "19.0.0-rc-76002254-20240724",
|
82
82
|
"webpack": "^5.59.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|