react-server-dom-webpack 19.0.0-rc-d3ce0d3ea9-20240520 → 19.0.0-rc-81c5ff2e04-20240521
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 +20 -6
- package/cjs/react-server-dom-webpack-client.browser.production.js +21 -13
- package/cjs/react-server-dom-webpack-client.edge.development.js +20 -6
- package/cjs/react-server-dom-webpack-client.edge.production.js +21 -13
- package/cjs/react-server-dom-webpack-client.node.development.js +20 -6
- package/cjs/react-server-dom-webpack-client.node.production.js +21 -13
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +20 -6
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +21 -13
- package/cjs/react-server-dom-webpack-server.browser.development.js +18 -4
- package/cjs/react-server-dom-webpack-server.browser.production.js +15 -11
- package/cjs/react-server-dom-webpack-server.edge.development.js +18 -4
- package/cjs/react-server-dom-webpack-server.edge.production.js +15 -11
- package/cjs/react-server-dom-webpack-server.node.development.js +18 -4
- package/cjs/react-server-dom-webpack-server.node.production.js +18 -14
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +18 -4
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +18 -14
- package/package.json +3 -3
@@ -1733,8 +1733,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
1733
1733
|
case PENDING:
|
1734
1734
|
case BLOCKED:
|
1735
1735
|
case CYCLIC:
|
1736
|
-
chunk.value
|
1737
|
-
|
1736
|
+
if (chunk.value) {
|
1737
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
1738
|
+
chunk.value.push(resolveListeners[i]);
|
1739
|
+
}
|
1740
|
+
} else {
|
1741
|
+
chunk.value = resolveListeners;
|
1742
|
+
}
|
1743
|
+
|
1744
|
+
if (chunk.reason) {
|
1745
|
+
if (rejectListeners) {
|
1746
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
1747
|
+
chunk.reason.push(rejectListeners[_i]);
|
1748
|
+
}
|
1749
|
+
}
|
1750
|
+
} else {
|
1751
|
+
chunk.reason = rejectListeners;
|
1752
|
+
}
|
1753
|
+
|
1738
1754
|
break;
|
1739
1755
|
|
1740
1756
|
case ERRORED:
|
@@ -1891,8 +1907,6 @@ function initializeModelChunk(chunk) {
|
|
1891
1907
|
|
1892
1908
|
var blockedChunk = chunk;
|
1893
1909
|
blockedChunk.status = BLOCKED;
|
1894
|
-
blockedChunk.value = null;
|
1895
|
-
blockedChunk.reason = null;
|
1896
1910
|
} else {
|
1897
1911
|
var resolveListeners = cyclicChunk.value;
|
1898
1912
|
var initializedChunk = chunk;
|
@@ -2800,8 +2814,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
2800
2814
|
var result = new Uint8Array(byteLength);
|
2801
2815
|
var offset = 0; // Copy all the buffers into it.
|
2802
2816
|
|
2803
|
-
for (var
|
2804
|
-
var chunk = buffer[
|
2817
|
+
for (var _i2 = 0; _i2 < l; _i2++) {
|
2818
|
+
var chunk = buffer[_i2];
|
2805
2819
|
result.set(chunk, offset);
|
2806
2820
|
offset += chunk.byteLength;
|
2807
2821
|
}
|
@@ -531,8 +531,19 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
531
531
|
case "pending":
|
532
532
|
case "blocked":
|
533
533
|
case "cyclic":
|
534
|
-
chunk.value
|
535
|
-
|
534
|
+
if (chunk.value)
|
535
|
+
for (var i = 0; i < resolveListeners.length; i++)
|
536
|
+
chunk.value.push(resolveListeners[i]);
|
537
|
+
else chunk.value = resolveListeners;
|
538
|
+
if (chunk.reason) {
|
539
|
+
if (rejectListeners)
|
540
|
+
for (
|
541
|
+
resolveListeners = 0;
|
542
|
+
resolveListeners < rejectListeners.length;
|
543
|
+
resolveListeners++
|
544
|
+
)
|
545
|
+
chunk.reason.push(rejectListeners[resolveListeners]);
|
546
|
+
} else chunk.reason = rejectListeners;
|
536
547
|
break;
|
537
548
|
case "rejected":
|
538
549
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -602,10 +613,7 @@ function initializeModelChunk(chunk) {
|
|
602
613
|
null !== initializingChunkBlockedModel &&
|
603
614
|
0 < initializingChunkBlockedModel.deps
|
604
615
|
)
|
605
|
-
(initializingChunkBlockedModel.value = value),
|
606
|
-
(chunk.status = "blocked"),
|
607
|
-
(chunk.value = null),
|
608
|
-
(chunk.reason = null);
|
616
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
609
617
|
else {
|
610
618
|
var resolveListeners = chunk.value;
|
611
619
|
chunk.status = "fulfilled";
|
@@ -931,8 +939,8 @@ function startReadableStream(response, id, type) {
|
|
931
939
|
(previousBlockedChunk = chunk));
|
932
940
|
} else {
|
933
941
|
chunk = previousBlockedChunk;
|
934
|
-
var chunk$
|
935
|
-
chunk$
|
942
|
+
var chunk$51 = createPendingChunk(response);
|
943
|
+
chunk$51.then(
|
936
944
|
function (v) {
|
937
945
|
return controller.enqueue(v);
|
938
946
|
},
|
@@ -940,10 +948,10 @@ function startReadableStream(response, id, type) {
|
|
940
948
|
return controller.error(e);
|
941
949
|
}
|
942
950
|
);
|
943
|
-
previousBlockedChunk = chunk$
|
951
|
+
previousBlockedChunk = chunk$51;
|
944
952
|
chunk.then(function () {
|
945
|
-
previousBlockedChunk === chunk$
|
946
|
-
resolveModelChunk(chunk$
|
953
|
+
previousBlockedChunk === chunk$51 && (previousBlockedChunk = null);
|
954
|
+
resolveModelChunk(chunk$51, json);
|
947
955
|
});
|
948
956
|
}
|
949
957
|
},
|
@@ -1071,8 +1079,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
1071
1079
|
for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)
|
1072
1080
|
byteLength += buffer[i].byteLength;
|
1073
1081
|
byteLength = new Uint8Array(byteLength);
|
1074
|
-
for (var i$
|
1075
|
-
var chunk = buffer[i$
|
1082
|
+
for (var i$52 = (i = 0); i$52 < l; i$52++) {
|
1083
|
+
var chunk = buffer[i$52];
|
1076
1084
|
byteLength.set(chunk, i);
|
1077
1085
|
i += chunk.byteLength;
|
1078
1086
|
}
|
@@ -1986,8 +1986,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
1986
1986
|
case PENDING:
|
1987
1987
|
case BLOCKED:
|
1988
1988
|
case CYCLIC:
|
1989
|
-
chunk.value
|
1990
|
-
|
1989
|
+
if (chunk.value) {
|
1990
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
1991
|
+
chunk.value.push(resolveListeners[i]);
|
1992
|
+
}
|
1993
|
+
} else {
|
1994
|
+
chunk.value = resolveListeners;
|
1995
|
+
}
|
1996
|
+
|
1997
|
+
if (chunk.reason) {
|
1998
|
+
if (rejectListeners) {
|
1999
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
2000
|
+
chunk.reason.push(rejectListeners[_i]);
|
2001
|
+
}
|
2002
|
+
}
|
2003
|
+
} else {
|
2004
|
+
chunk.reason = rejectListeners;
|
2005
|
+
}
|
2006
|
+
|
1991
2007
|
break;
|
1992
2008
|
|
1993
2009
|
case ERRORED:
|
@@ -2144,8 +2160,6 @@ function initializeModelChunk(chunk) {
|
|
2144
2160
|
|
2145
2161
|
var blockedChunk = chunk;
|
2146
2162
|
blockedChunk.status = BLOCKED;
|
2147
|
-
blockedChunk.value = null;
|
2148
|
-
blockedChunk.reason = null;
|
2149
2163
|
} else {
|
2150
2164
|
var resolveListeners = cyclicChunk.value;
|
2151
2165
|
var initializedChunk = chunk;
|
@@ -3054,8 +3068,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
3054
3068
|
var result = new Uint8Array(byteLength);
|
3055
3069
|
var offset = 0; // Copy all the buffers into it.
|
3056
3070
|
|
3057
|
-
for (var
|
3058
|
-
var chunk = buffer[
|
3071
|
+
for (var _i2 = 0; _i2 < l; _i2++) {
|
3072
|
+
var chunk = buffer[_i2];
|
3059
3073
|
result.set(chunk, offset);
|
3060
3074
|
offset += chunk.byteLength;
|
3061
3075
|
}
|
@@ -685,8 +685,19 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
685
685
|
case "pending":
|
686
686
|
case "blocked":
|
687
687
|
case "cyclic":
|
688
|
-
chunk.value
|
689
|
-
|
688
|
+
if (chunk.value)
|
689
|
+
for (var i = 0; i < resolveListeners.length; i++)
|
690
|
+
chunk.value.push(resolveListeners[i]);
|
691
|
+
else chunk.value = resolveListeners;
|
692
|
+
if (chunk.reason) {
|
693
|
+
if (rejectListeners)
|
694
|
+
for (
|
695
|
+
resolveListeners = 0;
|
696
|
+
resolveListeners < rejectListeners.length;
|
697
|
+
resolveListeners++
|
698
|
+
)
|
699
|
+
chunk.reason.push(rejectListeners[resolveListeners]);
|
700
|
+
} else chunk.reason = rejectListeners;
|
690
701
|
break;
|
691
702
|
case "rejected":
|
692
703
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -756,10 +767,7 @@ function initializeModelChunk(chunk) {
|
|
756
767
|
null !== initializingChunkBlockedModel &&
|
757
768
|
0 < initializingChunkBlockedModel.deps
|
758
769
|
)
|
759
|
-
(initializingChunkBlockedModel.value = value),
|
760
|
-
(chunk.status = "blocked"),
|
761
|
-
(chunk.value = null),
|
762
|
-
(chunk.reason = null);
|
770
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
763
771
|
else {
|
764
772
|
var resolveListeners = chunk.value;
|
765
773
|
chunk.status = "fulfilled";
|
@@ -1090,8 +1098,8 @@ function startReadableStream(response, id, type) {
|
|
1090
1098
|
(previousBlockedChunk = chunk));
|
1091
1099
|
} else {
|
1092
1100
|
chunk = previousBlockedChunk;
|
1093
|
-
var chunk$
|
1094
|
-
chunk$
|
1101
|
+
var chunk$51 = createPendingChunk(response);
|
1102
|
+
chunk$51.then(
|
1095
1103
|
function (v) {
|
1096
1104
|
return controller.enqueue(v);
|
1097
1105
|
},
|
@@ -1099,10 +1107,10 @@ function startReadableStream(response, id, type) {
|
|
1099
1107
|
return controller.error(e);
|
1100
1108
|
}
|
1101
1109
|
);
|
1102
|
-
previousBlockedChunk = chunk$
|
1110
|
+
previousBlockedChunk = chunk$51;
|
1103
1111
|
chunk.then(function () {
|
1104
|
-
previousBlockedChunk === chunk$
|
1105
|
-
resolveModelChunk(chunk$
|
1112
|
+
previousBlockedChunk === chunk$51 && (previousBlockedChunk = null);
|
1113
|
+
resolveModelChunk(chunk$51, json);
|
1106
1114
|
});
|
1107
1115
|
}
|
1108
1116
|
},
|
@@ -1230,8 +1238,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
1230
1238
|
for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)
|
1231
1239
|
byteLength += buffer[i].byteLength;
|
1232
1240
|
byteLength = new Uint8Array(byteLength);
|
1233
|
-
for (var i$
|
1234
|
-
var chunk = buffer[i$
|
1241
|
+
for (var i$52 = (i = 0); i$52 < l; i$52++) {
|
1242
|
+
var chunk = buffer[i$52];
|
1235
1243
|
byteLength.set(chunk, i);
|
1236
1244
|
i += chunk.byteLength;
|
1237
1245
|
}
|
@@ -1984,8 +1984,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
1984
1984
|
case PENDING:
|
1985
1985
|
case BLOCKED:
|
1986
1986
|
case CYCLIC:
|
1987
|
-
chunk.value
|
1988
|
-
|
1987
|
+
if (chunk.value) {
|
1988
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
1989
|
+
chunk.value.push(resolveListeners[i]);
|
1990
|
+
}
|
1991
|
+
} else {
|
1992
|
+
chunk.value = resolveListeners;
|
1993
|
+
}
|
1994
|
+
|
1995
|
+
if (chunk.reason) {
|
1996
|
+
if (rejectListeners) {
|
1997
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
1998
|
+
chunk.reason.push(rejectListeners[_i]);
|
1999
|
+
}
|
2000
|
+
}
|
2001
|
+
} else {
|
2002
|
+
chunk.reason = rejectListeners;
|
2003
|
+
}
|
2004
|
+
|
1989
2005
|
break;
|
1990
2006
|
|
1991
2007
|
case ERRORED:
|
@@ -2142,8 +2158,6 @@ function initializeModelChunk(chunk) {
|
|
2142
2158
|
|
2143
2159
|
var blockedChunk = chunk;
|
2144
2160
|
blockedChunk.status = BLOCKED;
|
2145
|
-
blockedChunk.value = null;
|
2146
|
-
blockedChunk.reason = null;
|
2147
2161
|
} else {
|
2148
2162
|
var resolveListeners = cyclicChunk.value;
|
2149
2163
|
var initializedChunk = chunk;
|
@@ -3052,8 +3066,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
3052
3066
|
var result = new Uint8Array(byteLength);
|
3053
3067
|
var offset = 0; // Copy all the buffers into it.
|
3054
3068
|
|
3055
|
-
for (var
|
3056
|
-
var chunk = buffer[
|
3069
|
+
for (var _i2 = 0; _i2 < l; _i2++) {
|
3070
|
+
var chunk = buffer[_i2];
|
3057
3071
|
result.set(chunk, offset);
|
3058
3072
|
offset += chunk.byteLength;
|
3059
3073
|
}
|
@@ -686,8 +686,19 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
686
686
|
case "pending":
|
687
687
|
case "blocked":
|
688
688
|
case "cyclic":
|
689
|
-
chunk.value
|
690
|
-
|
689
|
+
if (chunk.value)
|
690
|
+
for (var i = 0; i < resolveListeners.length; i++)
|
691
|
+
chunk.value.push(resolveListeners[i]);
|
692
|
+
else chunk.value = resolveListeners;
|
693
|
+
if (chunk.reason) {
|
694
|
+
if (rejectListeners)
|
695
|
+
for (
|
696
|
+
resolveListeners = 0;
|
697
|
+
resolveListeners < rejectListeners.length;
|
698
|
+
resolveListeners++
|
699
|
+
)
|
700
|
+
chunk.reason.push(rejectListeners[resolveListeners]);
|
701
|
+
} else chunk.reason = rejectListeners;
|
691
702
|
break;
|
692
703
|
case "rejected":
|
693
704
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -757,10 +768,7 @@ function initializeModelChunk(chunk) {
|
|
757
768
|
null !== initializingChunkBlockedModel &&
|
758
769
|
0 < initializingChunkBlockedModel.deps
|
759
770
|
)
|
760
|
-
(initializingChunkBlockedModel.value = value),
|
761
|
-
(chunk.status = "blocked"),
|
762
|
-
(chunk.value = null),
|
763
|
-
(chunk.reason = null);
|
771
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
764
772
|
else {
|
765
773
|
var resolveListeners = chunk.value;
|
766
774
|
chunk.status = "fulfilled";
|
@@ -1119,8 +1127,8 @@ function startReadableStream(response, id, type) {
|
|
1119
1127
|
(previousBlockedChunk = chunk));
|
1120
1128
|
} else {
|
1121
1129
|
chunk = previousBlockedChunk;
|
1122
|
-
var chunk$
|
1123
|
-
chunk$
|
1130
|
+
var chunk$51 = createPendingChunk(response);
|
1131
|
+
chunk$51.then(
|
1124
1132
|
function (v) {
|
1125
1133
|
return controller.enqueue(v);
|
1126
1134
|
},
|
@@ -1128,10 +1136,10 @@ function startReadableStream(response, id, type) {
|
|
1128
1136
|
return controller.error(e);
|
1129
1137
|
}
|
1130
1138
|
);
|
1131
|
-
previousBlockedChunk = chunk$
|
1139
|
+
previousBlockedChunk = chunk$51;
|
1132
1140
|
chunk.then(function () {
|
1133
|
-
previousBlockedChunk === chunk$
|
1134
|
-
resolveModelChunk(chunk$
|
1141
|
+
previousBlockedChunk === chunk$51 && (previousBlockedChunk = null);
|
1142
|
+
resolveModelChunk(chunk$51, json);
|
1135
1143
|
});
|
1136
1144
|
}
|
1137
1145
|
},
|
@@ -1259,8 +1267,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
1259
1267
|
for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)
|
1260
1268
|
byteLength += buffer[i].byteLength;
|
1261
1269
|
byteLength = new Uint8Array(byteLength);
|
1262
|
-
for (var i$
|
1263
|
-
var chunk = buffer[i$
|
1270
|
+
for (var i$52 = (i = 0); i$52 < l; i$52++) {
|
1271
|
+
var chunk = buffer[i$52];
|
1264
1272
|
byteLength.set(chunk, i);
|
1265
1273
|
i += chunk.byteLength;
|
1266
1274
|
}
|
@@ -1937,8 +1937,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
1937
1937
|
case PENDING:
|
1938
1938
|
case BLOCKED:
|
1939
1939
|
case CYCLIC:
|
1940
|
-
chunk.value
|
1941
|
-
|
1940
|
+
if (chunk.value) {
|
1941
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
1942
|
+
chunk.value.push(resolveListeners[i]);
|
1943
|
+
}
|
1944
|
+
} else {
|
1945
|
+
chunk.value = resolveListeners;
|
1946
|
+
}
|
1947
|
+
|
1948
|
+
if (chunk.reason) {
|
1949
|
+
if (rejectListeners) {
|
1950
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
1951
|
+
chunk.reason.push(rejectListeners[_i]);
|
1952
|
+
}
|
1953
|
+
}
|
1954
|
+
} else {
|
1955
|
+
chunk.reason = rejectListeners;
|
1956
|
+
}
|
1957
|
+
|
1942
1958
|
break;
|
1943
1959
|
|
1944
1960
|
case ERRORED:
|
@@ -2095,8 +2111,6 @@ function initializeModelChunk(chunk) {
|
|
2095
2111
|
|
2096
2112
|
var blockedChunk = chunk;
|
2097
2113
|
blockedChunk.status = BLOCKED;
|
2098
|
-
blockedChunk.value = null;
|
2099
|
-
blockedChunk.reason = null;
|
2100
2114
|
} else {
|
2101
2115
|
var resolveListeners = cyclicChunk.value;
|
2102
2116
|
var initializedChunk = chunk;
|
@@ -3005,8 +3019,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
3005
3019
|
var result = new Uint8Array(byteLength);
|
3006
3020
|
var offset = 0; // Copy all the buffers into it.
|
3007
3021
|
|
3008
|
-
for (var
|
3009
|
-
var chunk = buffer[
|
3022
|
+
for (var _i2 = 0; _i2 < l; _i2++) {
|
3023
|
+
var chunk = buffer[_i2];
|
3010
3024
|
result.set(chunk, offset);
|
3011
3025
|
offset += chunk.byteLength;
|
3012
3026
|
}
|
@@ -669,8 +669,19 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
669
669
|
case "pending":
|
670
670
|
case "blocked":
|
671
671
|
case "cyclic":
|
672
|
-
chunk.value
|
673
|
-
|
672
|
+
if (chunk.value)
|
673
|
+
for (var i = 0; i < resolveListeners.length; i++)
|
674
|
+
chunk.value.push(resolveListeners[i]);
|
675
|
+
else chunk.value = resolveListeners;
|
676
|
+
if (chunk.reason) {
|
677
|
+
if (rejectListeners)
|
678
|
+
for (
|
679
|
+
resolveListeners = 0;
|
680
|
+
resolveListeners < rejectListeners.length;
|
681
|
+
resolveListeners++
|
682
|
+
)
|
683
|
+
chunk.reason.push(rejectListeners[resolveListeners]);
|
684
|
+
} else chunk.reason = rejectListeners;
|
674
685
|
break;
|
675
686
|
case "rejected":
|
676
687
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -740,10 +751,7 @@ function initializeModelChunk(chunk) {
|
|
740
751
|
null !== initializingChunkBlockedModel &&
|
741
752
|
0 < initializingChunkBlockedModel.deps
|
742
753
|
)
|
743
|
-
(initializingChunkBlockedModel.value = value),
|
744
|
-
(chunk.status = "blocked"),
|
745
|
-
(chunk.value = null),
|
746
|
-
(chunk.reason = null);
|
754
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
747
755
|
else {
|
748
756
|
var resolveListeners = chunk.value;
|
749
757
|
chunk.status = "fulfilled";
|
@@ -1098,8 +1106,8 @@ function startReadableStream(response, id, type) {
|
|
1098
1106
|
(previousBlockedChunk = chunk));
|
1099
1107
|
} else {
|
1100
1108
|
chunk = previousBlockedChunk;
|
1101
|
-
var chunk$
|
1102
|
-
chunk$
|
1109
|
+
var chunk$51 = createPendingChunk(response);
|
1110
|
+
chunk$51.then(
|
1103
1111
|
function (v) {
|
1104
1112
|
return controller.enqueue(v);
|
1105
1113
|
},
|
@@ -1107,10 +1115,10 @@ function startReadableStream(response, id, type) {
|
|
1107
1115
|
return controller.error(e);
|
1108
1116
|
}
|
1109
1117
|
);
|
1110
|
-
previousBlockedChunk = chunk$
|
1118
|
+
previousBlockedChunk = chunk$51;
|
1111
1119
|
chunk.then(function () {
|
1112
|
-
previousBlockedChunk === chunk$
|
1113
|
-
resolveModelChunk(chunk$
|
1120
|
+
previousBlockedChunk === chunk$51 && (previousBlockedChunk = null);
|
1121
|
+
resolveModelChunk(chunk$51, json);
|
1114
1122
|
});
|
1115
1123
|
}
|
1116
1124
|
},
|
@@ -1238,8 +1246,8 @@ function mergeBuffer(buffer, lastChunk) {
|
|
1238
1246
|
for (var l = buffer.length, byteLength = lastChunk.length, i = 0; i < l; i++)
|
1239
1247
|
byteLength += buffer[i].byteLength;
|
1240
1248
|
byteLength = new Uint8Array(byteLength);
|
1241
|
-
for (var i$
|
1242
|
-
var chunk = buffer[i$
|
1249
|
+
for (var i$52 = (i = 0); i$52 < l; i$52++) {
|
1250
|
+
var chunk = buffer[i$52];
|
1243
1251
|
byteLength.set(chunk, i);
|
1244
1252
|
i += chunk.byteLength;
|
1245
1253
|
}
|
@@ -4256,8 +4256,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
4256
4256
|
case PENDING:
|
4257
4257
|
case BLOCKED:
|
4258
4258
|
case CYCLIC:
|
4259
|
-
chunk.value
|
4260
|
-
|
4259
|
+
if (chunk.value) {
|
4260
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
4261
|
+
chunk.value.push(resolveListeners[i]);
|
4262
|
+
}
|
4263
|
+
} else {
|
4264
|
+
chunk.value = resolveListeners;
|
4265
|
+
}
|
4266
|
+
|
4267
|
+
if (chunk.reason) {
|
4268
|
+
if (rejectListeners) {
|
4269
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
4270
|
+
chunk.reason.push(rejectListeners[_i]);
|
4271
|
+
}
|
4272
|
+
}
|
4273
|
+
} else {
|
4274
|
+
chunk.reason = rejectListeners;
|
4275
|
+
}
|
4276
|
+
|
4261
4277
|
break;
|
4262
4278
|
|
4263
4279
|
case ERRORED:
|
@@ -4456,8 +4472,6 @@ function initializeModelChunk(chunk) {
|
|
4456
4472
|
|
4457
4473
|
var blockedChunk = chunk;
|
4458
4474
|
blockedChunk.status = BLOCKED;
|
4459
|
-
blockedChunk.value = null;
|
4460
|
-
blockedChunk.reason = null;
|
4461
4475
|
} else {
|
4462
4476
|
var resolveListeners = cyclicChunk.value;
|
4463
4477
|
var initializedChunk = chunk;
|
@@ -1898,8 +1898,15 @@ function resolveModelChunk(chunk, value, id) {
|
|
1898
1898
|
case "pending":
|
1899
1899
|
case "blocked":
|
1900
1900
|
case "cyclic":
|
1901
|
-
chunk.value
|
1902
|
-
|
1901
|
+
if (chunk.value)
|
1902
|
+
for (value = 0; value < resolveListeners.length; value++)
|
1903
|
+
chunk.value.push(resolveListeners[value]);
|
1904
|
+
else chunk.value = resolveListeners;
|
1905
|
+
if (chunk.reason) {
|
1906
|
+
if (rejectListeners)
|
1907
|
+
for (value = 0; value < rejectListeners.length; value++)
|
1908
|
+
chunk.reason.push(rejectListeners[value]);
|
1909
|
+
} else chunk.reason = rejectListeners;
|
1903
1910
|
break;
|
1904
1911
|
case "rejected":
|
1905
1912
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -2010,10 +2017,7 @@ function initializeModelChunk(chunk) {
|
|
2010
2017
|
null !== initializingChunkBlockedModel &&
|
2011
2018
|
0 < initializingChunkBlockedModel.deps
|
2012
2019
|
)
|
2013
|
-
(initializingChunkBlockedModel.value = value),
|
2014
|
-
(chunk.status = "blocked"),
|
2015
|
-
(chunk.value = null),
|
2016
|
-
(chunk.reason = null);
|
2020
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
2017
2021
|
else {
|
2018
2022
|
var resolveListeners = chunk.value;
|
2019
2023
|
chunk.status = "fulfilled";
|
@@ -2196,8 +2200,8 @@ function parseReadableStream(response, reference, type) {
|
|
2196
2200
|
(previousBlockedChunk = chunk));
|
2197
2201
|
} else {
|
2198
2202
|
chunk = previousBlockedChunk;
|
2199
|
-
var chunk$
|
2200
|
-
chunk$
|
2203
|
+
var chunk$26 = createPendingChunk(response);
|
2204
|
+
chunk$26.then(
|
2201
2205
|
function (v) {
|
2202
2206
|
return controller.enqueue(v);
|
2203
2207
|
},
|
@@ -2205,10 +2209,10 @@ function parseReadableStream(response, reference, type) {
|
|
2205
2209
|
return controller.error(e);
|
2206
2210
|
}
|
2207
2211
|
);
|
2208
|
-
previousBlockedChunk = chunk$
|
2212
|
+
previousBlockedChunk = chunk$26;
|
2209
2213
|
chunk.then(function () {
|
2210
|
-
previousBlockedChunk === chunk$
|
2211
|
-
resolveModelChunk(chunk$
|
2214
|
+
previousBlockedChunk === chunk$26 && (previousBlockedChunk = null);
|
2215
|
+
resolveModelChunk(chunk$26, json, -1);
|
2212
2216
|
});
|
2213
2217
|
}
|
2214
2218
|
},
|
@@ -4268,8 +4268,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
4268
4268
|
case PENDING:
|
4269
4269
|
case BLOCKED:
|
4270
4270
|
case CYCLIC:
|
4271
|
-
chunk.value
|
4272
|
-
|
4271
|
+
if (chunk.value) {
|
4272
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
4273
|
+
chunk.value.push(resolveListeners[i]);
|
4274
|
+
}
|
4275
|
+
} else {
|
4276
|
+
chunk.value = resolveListeners;
|
4277
|
+
}
|
4278
|
+
|
4279
|
+
if (chunk.reason) {
|
4280
|
+
if (rejectListeners) {
|
4281
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
4282
|
+
chunk.reason.push(rejectListeners[_i]);
|
4283
|
+
}
|
4284
|
+
}
|
4285
|
+
} else {
|
4286
|
+
chunk.reason = rejectListeners;
|
4287
|
+
}
|
4288
|
+
|
4273
4289
|
break;
|
4274
4290
|
|
4275
4291
|
case ERRORED:
|
@@ -4468,8 +4484,6 @@ function initializeModelChunk(chunk) {
|
|
4468
4484
|
|
4469
4485
|
var blockedChunk = chunk;
|
4470
4486
|
blockedChunk.status = BLOCKED;
|
4471
|
-
blockedChunk.value = null;
|
4472
|
-
blockedChunk.reason = null;
|
4473
4487
|
} else {
|
4474
4488
|
var resolveListeners = cyclicChunk.value;
|
4475
4489
|
var initializedChunk = chunk;
|
@@ -1920,8 +1920,15 @@ function resolveModelChunk(chunk, value, id) {
|
|
1920
1920
|
case "pending":
|
1921
1921
|
case "blocked":
|
1922
1922
|
case "cyclic":
|
1923
|
-
chunk.value
|
1924
|
-
|
1923
|
+
if (chunk.value)
|
1924
|
+
for (value = 0; value < resolveListeners.length; value++)
|
1925
|
+
chunk.value.push(resolveListeners[value]);
|
1926
|
+
else chunk.value = resolveListeners;
|
1927
|
+
if (chunk.reason) {
|
1928
|
+
if (rejectListeners)
|
1929
|
+
for (value = 0; value < rejectListeners.length; value++)
|
1930
|
+
chunk.reason.push(rejectListeners[value]);
|
1931
|
+
} else chunk.reason = rejectListeners;
|
1925
1932
|
break;
|
1926
1933
|
case "rejected":
|
1927
1934
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -2032,10 +2039,7 @@ function initializeModelChunk(chunk) {
|
|
2032
2039
|
null !== initializingChunkBlockedModel &&
|
2033
2040
|
0 < initializingChunkBlockedModel.deps
|
2034
2041
|
)
|
2035
|
-
(initializingChunkBlockedModel.value = value),
|
2036
|
-
(chunk.status = "blocked"),
|
2037
|
-
(chunk.value = null),
|
2038
|
-
(chunk.reason = null);
|
2042
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
2039
2043
|
else {
|
2040
2044
|
var resolveListeners = chunk.value;
|
2041
2045
|
chunk.status = "fulfilled";
|
@@ -2218,8 +2222,8 @@ function parseReadableStream(response, reference, type) {
|
|
2218
2222
|
(previousBlockedChunk = chunk));
|
2219
2223
|
} else {
|
2220
2224
|
chunk = previousBlockedChunk;
|
2221
|
-
var chunk$
|
2222
|
-
chunk$
|
2225
|
+
var chunk$26 = createPendingChunk(response);
|
2226
|
+
chunk$26.then(
|
2223
2227
|
function (v) {
|
2224
2228
|
return controller.enqueue(v);
|
2225
2229
|
},
|
@@ -2227,10 +2231,10 @@ function parseReadableStream(response, reference, type) {
|
|
2227
2231
|
return controller.error(e);
|
2228
2232
|
}
|
2229
2233
|
);
|
2230
|
-
previousBlockedChunk = chunk$
|
2234
|
+
previousBlockedChunk = chunk$26;
|
2231
2235
|
chunk.then(function () {
|
2232
|
-
previousBlockedChunk === chunk$
|
2233
|
-
resolveModelChunk(chunk$
|
2236
|
+
previousBlockedChunk === chunk$26 && (previousBlockedChunk = null);
|
2237
|
+
resolveModelChunk(chunk$26, json, -1);
|
2234
2238
|
});
|
2235
2239
|
}
|
2236
2240
|
},
|
@@ -4313,8 +4313,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
4313
4313
|
case PENDING:
|
4314
4314
|
case BLOCKED:
|
4315
4315
|
case CYCLIC:
|
4316
|
-
chunk.value
|
4317
|
-
|
4316
|
+
if (chunk.value) {
|
4317
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
4318
|
+
chunk.value.push(resolveListeners[i]);
|
4319
|
+
}
|
4320
|
+
} else {
|
4321
|
+
chunk.value = resolveListeners;
|
4322
|
+
}
|
4323
|
+
|
4324
|
+
if (chunk.reason) {
|
4325
|
+
if (rejectListeners) {
|
4326
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
4327
|
+
chunk.reason.push(rejectListeners[_i]);
|
4328
|
+
}
|
4329
|
+
}
|
4330
|
+
} else {
|
4331
|
+
chunk.reason = rejectListeners;
|
4332
|
+
}
|
4333
|
+
|
4318
4334
|
break;
|
4319
4335
|
|
4320
4336
|
case ERRORED:
|
@@ -4513,8 +4529,6 @@ function initializeModelChunk(chunk) {
|
|
4513
4529
|
|
4514
4530
|
var blockedChunk = chunk;
|
4515
4531
|
blockedChunk.status = BLOCKED;
|
4516
|
-
blockedChunk.value = null;
|
4517
|
-
blockedChunk.reason = null;
|
4518
4532
|
} else {
|
4519
4533
|
var resolveListeners = cyclicChunk.value;
|
4520
4534
|
var initializedChunk = chunk;
|
@@ -1968,8 +1968,15 @@ function resolveModelChunk(chunk, value, id) {
|
|
1968
1968
|
case "pending":
|
1969
1969
|
case "blocked":
|
1970
1970
|
case "cyclic":
|
1971
|
-
chunk.value
|
1972
|
-
|
1971
|
+
if (chunk.value)
|
1972
|
+
for (value = 0; value < resolveListeners.length; value++)
|
1973
|
+
chunk.value.push(resolveListeners[value]);
|
1974
|
+
else chunk.value = resolveListeners;
|
1975
|
+
if (chunk.reason) {
|
1976
|
+
if (rejectListeners)
|
1977
|
+
for (value = 0; value < rejectListeners.length; value++)
|
1978
|
+
chunk.reason.push(rejectListeners[value]);
|
1979
|
+
} else chunk.reason = rejectListeners;
|
1973
1980
|
break;
|
1974
1981
|
case "rejected":
|
1975
1982
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -2080,10 +2087,7 @@ function initializeModelChunk(chunk) {
|
|
2080
2087
|
null !== initializingChunkBlockedModel &&
|
2081
2088
|
0 < initializingChunkBlockedModel.deps
|
2082
2089
|
)
|
2083
|
-
(initializingChunkBlockedModel.value = value),
|
2084
|
-
(chunk.status = "blocked"),
|
2085
|
-
(chunk.value = null),
|
2086
|
-
(chunk.reason = null);
|
2090
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
2087
2091
|
else {
|
2088
2092
|
var resolveListeners = chunk.value;
|
2089
2093
|
chunk.status = "fulfilled";
|
@@ -2266,8 +2270,8 @@ function parseReadableStream(response, reference, type) {
|
|
2266
2270
|
(previousBlockedChunk = chunk));
|
2267
2271
|
} else {
|
2268
2272
|
chunk = previousBlockedChunk;
|
2269
|
-
var chunk$
|
2270
|
-
chunk$
|
2273
|
+
var chunk$26 = createPendingChunk(response);
|
2274
|
+
chunk$26.then(
|
2271
2275
|
function (v) {
|
2272
2276
|
return controller.enqueue(v);
|
2273
2277
|
},
|
@@ -2275,10 +2279,10 @@ function parseReadableStream(response, reference, type) {
|
|
2275
2279
|
return controller.error(e);
|
2276
2280
|
}
|
2277
2281
|
);
|
2278
|
-
previousBlockedChunk = chunk$
|
2282
|
+
previousBlockedChunk = chunk$26;
|
2279
2283
|
chunk.then(function () {
|
2280
|
-
previousBlockedChunk === chunk$
|
2281
|
-
resolveModelChunk(chunk$
|
2284
|
+
previousBlockedChunk === chunk$26 && (previousBlockedChunk = null);
|
2285
|
+
resolveModelChunk(chunk$26, json, -1);
|
2282
2286
|
});
|
2283
2287
|
}
|
2284
2288
|
},
|
@@ -2632,12 +2636,12 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap) {
|
|
2632
2636
|
"React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."
|
2633
2637
|
);
|
2634
2638
|
pendingFiles++;
|
2635
|
-
var
|
2639
|
+
var JSCompiler_object_inline_chunks_216 = [];
|
2636
2640
|
value.on("data", function (chunk) {
|
2637
|
-
|
2641
|
+
JSCompiler_object_inline_chunks_216.push(chunk);
|
2638
2642
|
});
|
2639
2643
|
value.on("end", function () {
|
2640
|
-
var blob = new Blob(
|
2644
|
+
var blob = new Blob(JSCompiler_object_inline_chunks_216, {
|
2641
2645
|
type: mimeType
|
2642
2646
|
});
|
2643
2647
|
response._formData.append(name, blob, filename);
|
@@ -4240,8 +4240,24 @@ function wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners) {
|
|
4240
4240
|
case PENDING:
|
4241
4241
|
case BLOCKED:
|
4242
4242
|
case CYCLIC:
|
4243
|
-
chunk.value
|
4244
|
-
|
4243
|
+
if (chunk.value) {
|
4244
|
+
for (var i = 0; i < resolveListeners.length; i++) {
|
4245
|
+
chunk.value.push(resolveListeners[i]);
|
4246
|
+
}
|
4247
|
+
} else {
|
4248
|
+
chunk.value = resolveListeners;
|
4249
|
+
}
|
4250
|
+
|
4251
|
+
if (chunk.reason) {
|
4252
|
+
if (rejectListeners) {
|
4253
|
+
for (var _i = 0; _i < rejectListeners.length; _i++) {
|
4254
|
+
chunk.reason.push(rejectListeners[_i]);
|
4255
|
+
}
|
4256
|
+
}
|
4257
|
+
} else {
|
4258
|
+
chunk.reason = rejectListeners;
|
4259
|
+
}
|
4260
|
+
|
4245
4261
|
break;
|
4246
4262
|
|
4247
4263
|
case ERRORED:
|
@@ -4440,8 +4456,6 @@ function initializeModelChunk(chunk) {
|
|
4440
4456
|
|
4441
4457
|
var blockedChunk = chunk;
|
4442
4458
|
blockedChunk.status = BLOCKED;
|
4443
|
-
blockedChunk.value = null;
|
4444
|
-
blockedChunk.reason = null;
|
4445
4459
|
} else {
|
4446
4460
|
var resolveListeners = cyclicChunk.value;
|
4447
4461
|
var initializedChunk = chunk;
|
@@ -1936,8 +1936,15 @@ function resolveModelChunk(chunk, value, id) {
|
|
1936
1936
|
case "pending":
|
1937
1937
|
case "blocked":
|
1938
1938
|
case "cyclic":
|
1939
|
-
chunk.value
|
1940
|
-
|
1939
|
+
if (chunk.value)
|
1940
|
+
for (value = 0; value < resolveListeners.length; value++)
|
1941
|
+
chunk.value.push(resolveListeners[value]);
|
1942
|
+
else chunk.value = resolveListeners;
|
1943
|
+
if (chunk.reason) {
|
1944
|
+
if (rejectListeners)
|
1945
|
+
for (value = 0; value < rejectListeners.length; value++)
|
1946
|
+
chunk.reason.push(rejectListeners[value]);
|
1947
|
+
} else chunk.reason = rejectListeners;
|
1941
1948
|
break;
|
1942
1949
|
case "rejected":
|
1943
1950
|
rejectListeners && wakeChunk(rejectListeners, chunk.reason);
|
@@ -2048,10 +2055,7 @@ function initializeModelChunk(chunk) {
|
|
2048
2055
|
null !== initializingChunkBlockedModel &&
|
2049
2056
|
0 < initializingChunkBlockedModel.deps
|
2050
2057
|
)
|
2051
|
-
(initializingChunkBlockedModel.value = value),
|
2052
|
-
(chunk.status = "blocked"),
|
2053
|
-
(chunk.value = null),
|
2054
|
-
(chunk.reason = null);
|
2058
|
+
(initializingChunkBlockedModel.value = value), (chunk.status = "blocked");
|
2055
2059
|
else {
|
2056
2060
|
var resolveListeners = chunk.value;
|
2057
2061
|
chunk.status = "fulfilled";
|
@@ -2234,8 +2238,8 @@ function parseReadableStream(response, reference, type) {
|
|
2234
2238
|
(previousBlockedChunk = chunk));
|
2235
2239
|
} else {
|
2236
2240
|
chunk = previousBlockedChunk;
|
2237
|
-
var chunk$
|
2238
|
-
chunk$
|
2241
|
+
var chunk$26 = createPendingChunk(response);
|
2242
|
+
chunk$26.then(
|
2239
2243
|
function (v) {
|
2240
2244
|
return controller.enqueue(v);
|
2241
2245
|
},
|
@@ -2243,10 +2247,10 @@ function parseReadableStream(response, reference, type) {
|
|
2243
2247
|
return controller.error(e);
|
2244
2248
|
}
|
2245
2249
|
);
|
2246
|
-
previousBlockedChunk = chunk$
|
2250
|
+
previousBlockedChunk = chunk$26;
|
2247
2251
|
chunk.then(function () {
|
2248
|
-
previousBlockedChunk === chunk$
|
2249
|
-
resolveModelChunk(chunk$
|
2252
|
+
previousBlockedChunk === chunk$26 && (previousBlockedChunk = null);
|
2253
|
+
resolveModelChunk(chunk$26, json, -1);
|
2250
2254
|
});
|
2251
2255
|
}
|
2252
2256
|
},
|
@@ -2600,12 +2604,12 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap) {
|
|
2600
2604
|
"React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."
|
2601
2605
|
);
|
2602
2606
|
pendingFiles++;
|
2603
|
-
var
|
2607
|
+
var JSCompiler_object_inline_chunks_216 = [];
|
2604
2608
|
value.on("data", function (chunk) {
|
2605
|
-
|
2609
|
+
JSCompiler_object_inline_chunks_216.push(chunk);
|
2606
2610
|
});
|
2607
2611
|
value.on("end", function () {
|
2608
|
-
var blob = new Blob(
|
2612
|
+
var blob = new Blob(JSCompiler_object_inline_chunks_216, {
|
2609
2613
|
type: mimeType
|
2610
2614
|
});
|
2611
2615
|
response._formData.append(name, blob, filename);
|
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-81c5ff2e04-20240521",
|
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-81c5ff2e04-20240521",
|
81
|
+
"react-dom": "19.0.0-rc-81c5ff2e04-20240521",
|
82
82
|
"webpack": "^5.59.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|