react-server-dom-webpack 19.0.0-rc-34d0c5e357-20240607 → 19.0.0-rc-a26e3f403e-20240611
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 +1796 -3248
- package/cjs/react-server-dom-webpack-client.browser.production.js +30 -22
- package/cjs/react-server-dom-webpack-client.edge.development.js +1983 -3524
- package/cjs/react-server-dom-webpack-client.edge.production.js +30 -25
- package/cjs/react-server-dom-webpack-client.node.development.js +1943 -3485
- package/cjs/react-server-dom-webpack-client.node.production.js +14 -20
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +1896 -3416
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +14 -20
- package/cjs/react-server-dom-webpack-server.browser.development.js +3271 -5184
- package/cjs/react-server-dom-webpack-server.browser.production.js +188 -110
- package/cjs/react-server-dom-webpack-server.edge.development.js +3272 -5188
- package/cjs/react-server-dom-webpack-server.edge.production.js +170 -111
- package/cjs/react-server-dom-webpack-server.node.development.js +3350 -5337
- package/cjs/react-server-dom-webpack-server.node.production.js +165 -117
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +3315 -5264
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +165 -117
- package/package.json +3 -3
@@ -14,6 +14,7 @@ require("crypto");
|
|
14
14
|
var async_hooks = require("async_hooks"),
|
15
15
|
ReactDOM = require("react-dom"),
|
16
16
|
React = require("react"),
|
17
|
+
scheduleMicrotask = queueMicrotask,
|
17
18
|
currentView = null,
|
18
19
|
writtenBytes = 0,
|
19
20
|
destinationHasCapacity = !0;
|
@@ -707,12 +708,13 @@ if (!ReactSharedInternalsServer)
|
|
707
708
|
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
708
709
|
);
|
709
710
|
var ObjectPrototype = Object.prototype,
|
710
|
-
stringify = JSON.stringify
|
711
|
+
stringify = JSON.stringify,
|
712
|
+
AbortSigil = {};
|
711
713
|
function defaultErrorHandler(error) {
|
712
714
|
console.error(error);
|
713
715
|
}
|
714
716
|
function defaultPostponeHandler() {}
|
715
|
-
function
|
717
|
+
function RequestInstance(
|
716
718
|
model,
|
717
719
|
bundlerConfig,
|
718
720
|
onError,
|
@@ -730,37 +732,32 @@ function createRequest(
|
|
730
732
|
var abortSet = new Set();
|
731
733
|
environmentName = [];
|
732
734
|
var hints = new Set();
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
onError: void 0 === onError ? defaultErrorHandler : onError,
|
759
|
-
onPostpone: void 0 === onPostpone ? defaultPostponeHandler : onPostpone
|
760
|
-
};
|
761
|
-
model = createTask(bundlerConfig, model, null, !1, abortSet);
|
735
|
+
this.status = 0;
|
736
|
+
this.flushScheduled = !1;
|
737
|
+
this.destination = this.fatalError = null;
|
738
|
+
this.bundlerConfig = bundlerConfig;
|
739
|
+
this.cache = new Map();
|
740
|
+
this.pendingChunks = this.nextChunkId = 0;
|
741
|
+
this.hints = hints;
|
742
|
+
this.abortListeners = new Set();
|
743
|
+
this.abortableTasks = abortSet;
|
744
|
+
this.pingedTasks = environmentName;
|
745
|
+
this.completedImportChunks = [];
|
746
|
+
this.completedHintChunks = [];
|
747
|
+
this.completedRegularChunks = [];
|
748
|
+
this.completedErrorChunks = [];
|
749
|
+
this.writtenSymbols = new Map();
|
750
|
+
this.writtenClientReferences = new Map();
|
751
|
+
this.writtenServerReferences = new Map();
|
752
|
+
this.writtenObjects = new WeakMap();
|
753
|
+
this.temporaryReferences = temporaryReferences;
|
754
|
+
this.identifierPrefix = identifierPrefix || "";
|
755
|
+
this.identifierCount = 1;
|
756
|
+
this.taintCleanupQueue = [];
|
757
|
+
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
758
|
+
this.onPostpone = void 0 === onPostpone ? defaultPostponeHandler : onPostpone;
|
759
|
+
model = createTask(this, model, null, !1, abortSet);
|
762
760
|
environmentName.push(model);
|
763
|
-
return bundlerConfig;
|
764
761
|
}
|
765
762
|
var currentRequest = null;
|
766
763
|
function resolveRequest() {
|
@@ -788,6 +785,14 @@ function serializeThenable(request, task, thenable) {
|
|
788
785
|
newTask.id
|
789
786
|
);
|
790
787
|
default:
|
788
|
+
if (1 === request.status)
|
789
|
+
return (
|
790
|
+
(newTask.status = 3),
|
791
|
+
(task = stringify(serializeByValueID(request.fatalError))),
|
792
|
+
emitModelChunk(request, newTask.id, task),
|
793
|
+
request.abortableTasks.delete(newTask),
|
794
|
+
newTask.id
|
795
|
+
);
|
791
796
|
"string" !== typeof thenable.status &&
|
792
797
|
((thenable.status = "pending"),
|
793
798
|
thenable.then(
|
@@ -973,7 +978,12 @@ function renderFunctionComponent(request, task, key, Component, props) {
|
|
973
978
|
thenableIndexCounter = 0;
|
974
979
|
thenableState = prevThenableState;
|
975
980
|
Component = Component(props, void 0);
|
976
|
-
if (
|
981
|
+
if (1 === request.status) throw AbortSigil;
|
982
|
+
if (
|
983
|
+
"object" === typeof Component &&
|
984
|
+
null !== Component &&
|
985
|
+
Component.$$typeof !== CLIENT_REFERENCE_TAG$1
|
986
|
+
) {
|
977
987
|
if ("function" === typeof Component.then) {
|
978
988
|
props = Component;
|
979
989
|
if ("fulfilled" === props.status) return props.value;
|
@@ -1066,6 +1076,7 @@ function renderElement(request, task, type, key, ref, props) {
|
|
1066
1076
|
case REACT_LAZY_TYPE:
|
1067
1077
|
var init = type._init;
|
1068
1078
|
type = init(type._payload);
|
1079
|
+
if (1 === request.status) throw AbortSigil;
|
1069
1080
|
return renderElement(request, task, type, key, ref, props);
|
1070
1081
|
case REACT_FORWARD_REF_TYPE:
|
1071
1082
|
return renderFunctionComponent(request, task, key, type.render, props);
|
@@ -1082,7 +1093,7 @@ function pingTask(request, task) {
|
|
1082
1093
|
pingedTasks.push(task);
|
1083
1094
|
1 === pingedTasks.length &&
|
1084
1095
|
((request.flushScheduled = null !== request.destination),
|
1085
|
-
|
1096
|
+
scheduleMicrotask(function () {
|
1086
1097
|
return performWork(request);
|
1087
1098
|
}));
|
1088
1099
|
}
|
@@ -1116,50 +1127,61 @@ function createTask(request, model, keyPath, implicitSlot, abortSet) {
|
|
1116
1127
|
);
|
1117
1128
|
} catch (thrownValue) {
|
1118
1129
|
if (
|
1119
|
-
((parentPropertyName =
|
1130
|
+
((parentPropertyName = task.model),
|
1131
|
+
(parentPropertyName =
|
1132
|
+
"object" === typeof parentPropertyName &&
|
1133
|
+
null !== parentPropertyName &&
|
1134
|
+
(parentPropertyName.$$typeof === REACT_ELEMENT_TYPE ||
|
1135
|
+
parentPropertyName.$$typeof === REACT_LAZY_TYPE)),
|
1136
|
+
(value =
|
1120
1137
|
thrownValue === SuspenseException
|
1121
1138
|
? getSuspendedThenable()
|
1122
1139
|
: thrownValue),
|
1123
|
-
|
1124
|
-
(value =
|
1125
|
-
"object" === typeof value &&
|
1140
|
+
"object" === typeof value &&
|
1126
1141
|
null !== value &&
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1142
|
+
"function" === typeof value.then)
|
1143
|
+
)
|
1144
|
+
if (1 === request.status)
|
1145
|
+
(task.status = 3),
|
1146
|
+
(prevKeyPath = request.fatalError),
|
1147
|
+
(JSCompiler_inline_result = parentPropertyName
|
1148
|
+
? "$L" + prevKeyPath.toString(16)
|
1149
|
+
: serializeByValueID(prevKeyPath));
|
1150
|
+
else {
|
1151
|
+
JSCompiler_inline_result = createTask(
|
1152
|
+
request,
|
1153
|
+
task.model,
|
1154
|
+
task.keyPath,
|
1155
|
+
task.implicitSlot,
|
1156
|
+
request.abortableTasks
|
1157
|
+
);
|
1158
|
+
var ping = JSCompiler_inline_result.ping;
|
1159
|
+
value.then(ping, ping);
|
1160
|
+
JSCompiler_inline_result.thenableState =
|
1161
|
+
getThenableStateAfterSuspending();
|
1162
|
+
task.keyPath = prevKeyPath;
|
1163
|
+
task.implicitSlot = prevImplicitSlot;
|
1164
|
+
JSCompiler_inline_result = parentPropertyName
|
1165
|
+
? "$L" + JSCompiler_inline_result.id.toString(16)
|
1166
|
+
: serializeByValueID(JSCompiler_inline_result.id);
|
1167
|
+
}
|
1168
|
+
else if (thrownValue === AbortSigil)
|
1169
|
+
(task.status = 3),
|
1170
|
+
(prevKeyPath = request.fatalError),
|
1171
|
+
(JSCompiler_inline_result = parentPropertyName
|
1172
|
+
? "$L" + prevKeyPath.toString(16)
|
1173
|
+
: serializeByValueID(prevKeyPath));
|
1174
|
+
else if (
|
1150
1175
|
((task.keyPath = prevKeyPath),
|
1151
1176
|
(task.implicitSlot = prevImplicitSlot),
|
1152
|
-
|
1177
|
+
parentPropertyName)
|
1153
1178
|
)
|
1154
1179
|
request.pendingChunks++,
|
1155
1180
|
(prevKeyPath = request.nextChunkId++),
|
1156
|
-
(prevImplicitSlot = logRecoverableError(
|
1157
|
-
request,
|
1158
|
-
parentPropertyName
|
1159
|
-
)),
|
1181
|
+
(prevImplicitSlot = logRecoverableError(request, value)),
|
1160
1182
|
emitErrorChunk(request, prevKeyPath, prevImplicitSlot),
|
1161
1183
|
(JSCompiler_inline_result = "$L" + prevKeyPath.toString(16));
|
1162
|
-
else throw
|
1184
|
+
else throw value;
|
1163
1185
|
}
|
1164
1186
|
return JSCompiler_inline_result;
|
1165
1187
|
},
|
@@ -1310,12 +1332,11 @@ function renderModelDestructive(
|
|
1310
1332
|
parentPropertyName
|
1311
1333
|
);
|
1312
1334
|
case REACT_LAZY_TYPE:
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
);
|
1335
|
+
task.thenableState = null;
|
1336
|
+
parentPropertyName = value._init;
|
1337
|
+
value = parentPropertyName(value._payload);
|
1338
|
+
if (1 === request.status) throw AbortSigil;
|
1339
|
+
return renderModelDestructive(request, task, emptyRoot, "", value);
|
1319
1340
|
case REACT_LEGACY_ELEMENT_TYPE:
|
1320
1341
|
throw Error(
|
1321
1342
|
'A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.'
|
@@ -1575,14 +1596,18 @@ function logRecoverableError(request, error) {
|
|
1575
1596
|
}
|
1576
1597
|
function fatalError(request, error) {
|
1577
1598
|
null !== request.destination
|
1578
|
-
? ((request.status =
|
1579
|
-
: ((request.status =
|
1599
|
+
? ((request.status = 3), request.destination.destroy(error))
|
1600
|
+
: ((request.status = 2), (request.fatalError = error));
|
1580
1601
|
}
|
1581
1602
|
function emitErrorChunk(request, id, digest) {
|
1582
1603
|
digest = { digest: digest };
|
1583
1604
|
id = id.toString(16) + ":E" + stringify(digest) + "\n";
|
1584
1605
|
request.completedErrorChunks.push(id);
|
1585
1606
|
}
|
1607
|
+
function emitModelChunk(request, id, json) {
|
1608
|
+
id = id.toString(16) + ":" + json + "\n";
|
1609
|
+
request.completedRegularChunks.push(id);
|
1610
|
+
}
|
1586
1611
|
function emitTypedArrayChunk(request, id, tag, typedArray) {
|
1587
1612
|
request.pendingChunks++;
|
1588
1613
|
typedArray = new Uint8Array(
|
@@ -1634,12 +1659,12 @@ function emitChunk(request, task, value) {
|
|
1634
1659
|
: value instanceof DataView
|
1635
1660
|
? emitTypedArrayChunk(request, id, "V", value)
|
1636
1661
|
: ((value = stringify(value, task.toJSON)),
|
1637
|
-
(
|
1638
|
-
request.completedRegularChunks.push(task));
|
1662
|
+
emitModelChunk(request, task.id, value));
|
1639
1663
|
}
|
1640
1664
|
var emptyRoot = {};
|
1641
1665
|
function retryTask(request, task) {
|
1642
|
-
if (0 === task.status)
|
1666
|
+
if (0 === task.status) {
|
1667
|
+
task.status = 5;
|
1643
1668
|
try {
|
1644
1669
|
modelRoot = task.model;
|
1645
1670
|
var resolvedModel = renderModelDestructive(
|
@@ -1656,9 +1681,8 @@ function retryTask(request, task) {
|
|
1656
1681
|
request.writtenObjects.set(resolvedModel, serializeByValueID(task.id)),
|
1657
1682
|
emitChunk(request, task, resolvedModel);
|
1658
1683
|
else {
|
1659
|
-
var json = stringify(resolvedModel)
|
1660
|
-
|
1661
|
-
request.completedRegularChunks.push(processedChunk);
|
1684
|
+
var json = stringify(resolvedModel);
|
1685
|
+
emitModelChunk(request, task.id, json);
|
1662
1686
|
}
|
1663
1687
|
request.abortableTasks.delete(task);
|
1664
1688
|
task.status = 1;
|
@@ -1667,10 +1691,23 @@ function retryTask(request, task) {
|
|
1667
1691
|
thrownValue === SuspenseException
|
1668
1692
|
? getSuspendedThenable()
|
1669
1693
|
: thrownValue;
|
1670
|
-
if ("object" === typeof x && null !== x && "function" === typeof x.then)
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1694
|
+
if ("object" === typeof x && null !== x && "function" === typeof x.then)
|
1695
|
+
if (1 === request.status) {
|
1696
|
+
request.abortableTasks.delete(task);
|
1697
|
+
task.status = 3;
|
1698
|
+
var model = stringify(serializeByValueID(request.fatalError));
|
1699
|
+
emitModelChunk(request, task.id, model);
|
1700
|
+
} else {
|
1701
|
+
task.status = 0;
|
1702
|
+
task.thenableState = getThenableStateAfterSuspending();
|
1703
|
+
var ping = task.ping;
|
1704
|
+
x.then(ping, ping);
|
1705
|
+
}
|
1706
|
+
else if (x === AbortSigil) {
|
1707
|
+
request.abortableTasks.delete(task);
|
1708
|
+
task.status = 3;
|
1709
|
+
var model$19 = stringify(serializeByValueID(request.fatalError));
|
1710
|
+
emitModelChunk(request, task.id, model$19);
|
1674
1711
|
} else {
|
1675
1712
|
request.abortableTasks.delete(task);
|
1676
1713
|
task.status = 4;
|
@@ -1679,6 +1716,7 @@ function retryTask(request, task) {
|
|
1679
1716
|
}
|
1680
1717
|
} finally {
|
1681
1718
|
}
|
1719
|
+
}
|
1682
1720
|
}
|
1683
1721
|
function performWork(request) {
|
1684
1722
|
var prevDispatcher = ReactSharedInternalsServer.H;
|
@@ -1760,7 +1798,7 @@ function flushCompletedChunks(request, destination) {
|
|
1760
1798
|
}
|
1761
1799
|
"function" === typeof destination.flush && destination.flush();
|
1762
1800
|
0 === request.pendingChunks &&
|
1763
|
-
(destination.end(), (request.destination = null));
|
1801
|
+
((request.status = 3), destination.end(), (request.destination = null));
|
1764
1802
|
}
|
1765
1803
|
function startWork(request) {
|
1766
1804
|
request.flushScheduled = null !== request.destination;
|
@@ -1769,22 +1807,20 @@ function startWork(request) {
|
|
1769
1807
|
});
|
1770
1808
|
}
|
1771
1809
|
function enqueueFlush(request) {
|
1772
|
-
|
1773
|
-
!1 === request.flushScheduled &&
|
1810
|
+
!1 === request.flushScheduled &&
|
1774
1811
|
0 === request.pingedTasks.length &&
|
1775
|
-
null !== request.destination
|
1776
|
-
|
1777
|
-
var destination = request.destination;
|
1778
|
-
request.flushScheduled = !0;
|
1812
|
+
null !== request.destination &&
|
1813
|
+
((request.flushScheduled = !0),
|
1779
1814
|
setImmediate(function () {
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1815
|
+
request.flushScheduled = !1;
|
1816
|
+
var destination = request.destination;
|
1817
|
+
destination && flushCompletedChunks(request, destination);
|
1818
|
+
}));
|
1783
1819
|
}
|
1784
1820
|
function startFlowing(request, destination) {
|
1785
|
-
if (
|
1786
|
-
(request.status =
|
1787
|
-
else if (
|
1821
|
+
if (2 === request.status)
|
1822
|
+
(request.status = 3), destination.destroy(request.fatalError);
|
1823
|
+
else if (3 !== request.status && null === request.destination) {
|
1788
1824
|
request.destination = destination;
|
1789
1825
|
try {
|
1790
1826
|
flushCompletedChunks(request, destination);
|
@@ -1795,39 +1831,51 @@ function startFlowing(request, destination) {
|
|
1795
1831
|
}
|
1796
1832
|
function abort(request, reason) {
|
1797
1833
|
try {
|
1834
|
+
request.status = 1;
|
1798
1835
|
var abortableTasks = request.abortableTasks;
|
1799
1836
|
if (0 < abortableTasks.size) {
|
1800
1837
|
request.pendingChunks++;
|
1801
|
-
var errorId = request.nextChunkId
|
1802
|
-
|
1838
|
+
var errorId = request.nextChunkId++;
|
1839
|
+
request.fatalError = errorId;
|
1840
|
+
var error =
|
1803
1841
|
void 0 === reason
|
1804
1842
|
? Error("The render was aborted by the server without a reason.")
|
1843
|
+
: "object" === typeof reason &&
|
1844
|
+
null !== reason &&
|
1845
|
+
"function" === typeof reason.then
|
1846
|
+
? Error("The render was aborted by the server with a promise.")
|
1805
1847
|
: reason,
|
1806
1848
|
digest = logRecoverableError(request, error);
|
1807
1849
|
emitErrorChunk(request, errorId, digest, error);
|
1808
1850
|
abortableTasks.forEach(function (task) {
|
1809
|
-
task.status
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1851
|
+
if (5 !== task.status) {
|
1852
|
+
task.status = 3;
|
1853
|
+
var ref = serializeByValueID(errorId);
|
1854
|
+
task = encodeReferenceChunk(request, task.id, ref);
|
1855
|
+
request.completedErrorChunks.push(task);
|
1856
|
+
}
|
1813
1857
|
});
|
1814
1858
|
abortableTasks.clear();
|
1815
1859
|
}
|
1816
1860
|
var abortListeners = request.abortListeners;
|
1817
1861
|
if (0 < abortListeners.size) {
|
1818
|
-
var error$
|
1862
|
+
var error$26 =
|
1819
1863
|
void 0 === reason
|
1820
1864
|
? Error("The render was aborted by the server without a reason.")
|
1865
|
+
: "object" === typeof reason &&
|
1866
|
+
null !== reason &&
|
1867
|
+
"function" === typeof reason.then
|
1868
|
+
? Error("The render was aborted by the server with a promise.")
|
1821
1869
|
: reason;
|
1822
1870
|
abortListeners.forEach(function (callback) {
|
1823
|
-
return callback(error$
|
1871
|
+
return callback(error$26);
|
1824
1872
|
});
|
1825
1873
|
abortListeners.clear();
|
1826
1874
|
}
|
1827
1875
|
null !== request.destination &&
|
1828
1876
|
flushCompletedChunks(request, request.destination);
|
1829
|
-
} catch (error$
|
1830
|
-
logRecoverableError(request, error$
|
1877
|
+
} catch (error$27) {
|
1878
|
+
logRecoverableError(request, error$27), fatalError(request, error$27);
|
1831
1879
|
}
|
1832
1880
|
}
|
1833
1881
|
function resolveServerReference(bundlerConfig, id) {
|
@@ -2238,8 +2286,8 @@ function parseReadableStream(response, reference, type) {
|
|
2238
2286
|
(previousBlockedChunk = chunk));
|
2239
2287
|
} else {
|
2240
2288
|
chunk = previousBlockedChunk;
|
2241
|
-
var chunk$
|
2242
|
-
chunk$
|
2289
|
+
var chunk$30 = createPendingChunk(response);
|
2290
|
+
chunk$30.then(
|
2243
2291
|
function (v) {
|
2244
2292
|
return controller.enqueue(v);
|
2245
2293
|
},
|
@@ -2247,10 +2295,10 @@ function parseReadableStream(response, reference, type) {
|
|
2247
2295
|
return controller.error(e);
|
2248
2296
|
}
|
2249
2297
|
);
|
2250
|
-
previousBlockedChunk = chunk$
|
2298
|
+
previousBlockedChunk = chunk$30;
|
2251
2299
|
chunk.then(function () {
|
2252
|
-
previousBlockedChunk === chunk$
|
2253
|
-
resolveModelChunk(chunk$
|
2300
|
+
previousBlockedChunk === chunk$30 && (previousBlockedChunk = null);
|
2301
|
+
resolveModelChunk(chunk$30, json, -1);
|
2254
2302
|
});
|
2255
2303
|
}
|
2256
2304
|
},
|
@@ -2608,12 +2656,12 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
2608
2656
|
"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."
|
2609
2657
|
);
|
2610
2658
|
pendingFiles++;
|
2611
|
-
var
|
2659
|
+
var JSCompiler_object_inline_chunks_201 = [];
|
2612
2660
|
value.on("data", function (chunk) {
|
2613
|
-
|
2661
|
+
JSCompiler_object_inline_chunks_201.push(chunk);
|
2614
2662
|
});
|
2615
2663
|
value.on("end", function () {
|
2616
|
-
var blob = new Blob(
|
2664
|
+
var blob = new Blob(JSCompiler_object_inline_chunks_201, {
|
2617
2665
|
type: mimeType
|
2618
2666
|
});
|
2619
2667
|
response._formData.append(name, blob, filename);
|
@@ -2656,7 +2704,7 @@ exports.registerServerReference = function (reference, id, exportName) {
|
|
2656
2704
|
});
|
2657
2705
|
};
|
2658
2706
|
exports.renderToPipeableStream = function (model, webpackMap, options) {
|
2659
|
-
var request =
|
2707
|
+
var request = new RequestInstance(
|
2660
2708
|
model,
|
2661
2709
|
webpackMap,
|
2662
2710
|
options ? options.onError : void 0,
|
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-a26e3f403e-20240611",
|
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-a26e3f403e-20240611",
|
81
|
+
"react-dom": "19.0.0-rc-a26e3f403e-20240611",
|
82
82
|
"webpack": "^5.59.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|