react-server-dom-webpack 19.0.0-rc-d025ddd3-20240722 → 19.0.0-rc-f6cce072-20240723
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 +38 -38
- package/cjs/react-server-dom-webpack-client.browser.production.js +14 -14
- package/cjs/react-server-dom-webpack-client.edge.development.js +38 -38
- package/cjs/react-server-dom-webpack-client.edge.production.js +14 -14
- package/cjs/react-server-dom-webpack-client.node.development.js +42 -42
- package/cjs/react-server-dom-webpack-client.node.production.js +18 -18
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +38 -38
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +14 -14
- package/cjs/react-server-dom-webpack-plugin.js +7 -7
- package/cjs/react-server-dom-webpack-server.browser.development.js +142 -116
- package/cjs/react-server-dom-webpack-server.browser.production.js +56 -56
- package/cjs/react-server-dom-webpack-server.edge.development.js +144 -118
- package/cjs/react-server-dom-webpack-server.edge.production.js +56 -56
- package/cjs/react-server-dom-webpack-server.node.development.js +145 -119
- package/cjs/react-server-dom-webpack-server.node.production.js +56 -56
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +141 -115
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +52 -52
- package/package.json +3 -3
@@ -342,8 +342,8 @@ function preinitStyle(href, precedence, options) {
|
|
342
342
|
options
|
343
343
|
])
|
344
344
|
: "string" === typeof precedence
|
345
|
-
|
346
|
-
|
345
|
+
? emitHint(request, "S", [href, precedence])
|
346
|
+
: emitHint(request, "S", href);
|
347
347
|
}
|
348
348
|
previousDispatcher.S(href, precedence, options);
|
349
349
|
}
|
@@ -630,8 +630,8 @@ function describeValueForErrorMessage(value) {
|
|
630
630
|
return value.$$typeof === CLIENT_REFERENCE_TAG
|
631
631
|
? "client"
|
632
632
|
: (value = value.displayName || value.name)
|
633
|
-
|
634
|
-
|
633
|
+
? "function " + value
|
634
|
+
: "function";
|
635
635
|
default:
|
636
636
|
return String(value);
|
637
637
|
}
|
@@ -712,9 +712,9 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
712
712
|
return void 0 === expandedName
|
713
713
|
? str
|
714
714
|
: -1 < objKind && 0 < length
|
715
|
-
|
716
|
-
|
717
|
-
|
715
|
+
? ((objectOrArray = " ".repeat(objKind) + "^".repeat(length)),
|
716
|
+
"\n " + str + "\n " + objectOrArray)
|
717
|
+
: "\n " + str;
|
718
718
|
}
|
719
719
|
var ObjectPrototype = Object.prototype,
|
720
720
|
stringify = JSON.stringify,
|
@@ -1511,10 +1511,10 @@ function renderModelDestructive(
|
|
1511
1511
|
? "$-0"
|
1512
1512
|
: value
|
1513
1513
|
: Infinity === value
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1514
|
+
? "$Infinity"
|
1515
|
+
: -Infinity === value
|
1516
|
+
? "$-Infinity"
|
1517
|
+
: "$NaN";
|
1518
1518
|
if ("undefined" === typeof value) return "$undefined";
|
1519
1519
|
if ("function" === typeof value) {
|
1520
1520
|
if (value.$$typeof === CLIENT_REFERENCE_TAG$1)
|
@@ -1649,33 +1649,33 @@ function emitChunk(request, task, value) {
|
|
1649
1649
|
"string" === typeof value && null !== byteLengthOfChunk
|
1650
1650
|
? emitTextChunk(request, id, value)
|
1651
1651
|
: value instanceof ArrayBuffer
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1652
|
+
? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
|
1653
|
+
: value instanceof Int8Array
|
1654
|
+
? emitTypedArrayChunk(request, id, "O", value)
|
1655
|
+
: value instanceof Uint8Array
|
1656
|
+
? emitTypedArrayChunk(request, id, "o", value)
|
1657
|
+
: value instanceof Uint8ClampedArray
|
1658
|
+
? emitTypedArrayChunk(request, id, "U", value)
|
1659
|
+
: value instanceof Int16Array
|
1660
|
+
? emitTypedArrayChunk(request, id, "S", value)
|
1661
|
+
: value instanceof Uint16Array
|
1662
|
+
? emitTypedArrayChunk(request, id, "s", value)
|
1663
|
+
: value instanceof Int32Array
|
1664
|
+
? emitTypedArrayChunk(request, id, "L", value)
|
1665
|
+
: value instanceof Uint32Array
|
1666
|
+
? emitTypedArrayChunk(request, id, "l", value)
|
1667
|
+
: value instanceof Float32Array
|
1668
|
+
? emitTypedArrayChunk(request, id, "G", value)
|
1669
|
+
: value instanceof Float64Array
|
1670
|
+
? emitTypedArrayChunk(request, id, "g", value)
|
1671
|
+
: value instanceof BigInt64Array
|
1672
|
+
? emitTypedArrayChunk(request, id, "M", value)
|
1673
|
+
: value instanceof BigUint64Array
|
1674
|
+
? emitTypedArrayChunk(request, id, "m", value)
|
1675
|
+
: value instanceof DataView
|
1676
|
+
? emitTypedArrayChunk(request, id, "V", value)
|
1677
|
+
: ((value = stringify(value, task.toJSON)),
|
1678
|
+
emitModelChunk(request, task.id, value));
|
1679
1679
|
}
|
1680
1680
|
var emptyRoot = {};
|
1681
1681
|
function retryTask(request, task) {
|
@@ -1857,10 +1857,10 @@ function abort(request, reason) {
|
|
1857
1857
|
void 0 === reason
|
1858
1858
|
? Error("The render was aborted by the server without a reason.")
|
1859
1859
|
: "object" === typeof reason &&
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1860
|
+
null !== reason &&
|
1861
|
+
"function" === typeof reason.then
|
1862
|
+
? Error("The render was aborted by the server with a promise.")
|
1863
|
+
: reason,
|
1864
1864
|
digest = logRecoverableError(request, error, null);
|
1865
1865
|
emitErrorChunk(request, errorId, digest, error);
|
1866
1866
|
abortableTasks.forEach(function (task) {
|
@@ -1879,10 +1879,10 @@ function abort(request, reason) {
|
|
1879
1879
|
void 0 === reason
|
1880
1880
|
? Error("The render was aborted by the server without a reason.")
|
1881
1881
|
: "object" === typeof reason &&
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1882
|
+
null !== reason &&
|
1883
|
+
"function" === typeof reason.then
|
1884
|
+
? Error("The render was aborted by the server with a promise.")
|
1885
|
+
: reason;
|
1886
1886
|
abortListeners.forEach(function (callback) {
|
1887
1887
|
return callback(error$26);
|
1888
1888
|
});
|
@@ -1932,8 +1932,8 @@ function requireModule(metadata) {
|
|
1932
1932
|
return "*" === metadata.name
|
1933
1933
|
? moduleExports
|
1934
1934
|
: "" === metadata.name
|
1935
|
-
|
1936
|
-
|
1935
|
+
? moduleExports.default
|
1936
|
+
: moduleExports[metadata.name];
|
1937
1937
|
}
|
1938
1938
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
1939
1939
|
function Chunk(status, value, reason, response) {
|
@@ -2567,10 +2567,10 @@ function loadServerReference(bundlerConfig, id, bound) {
|
|
2567
2567
|
return fn.bind.apply(fn, [null].concat(_ref));
|
2568
2568
|
})
|
2569
2569
|
: bundlerConfig
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2570
|
+
? Promise.resolve(bundlerConfig).then(function () {
|
2571
|
+
return requireModule(serverReference);
|
2572
|
+
})
|
2573
|
+
: Promise.resolve(requireModule(serverReference));
|
2574
2574
|
}
|
2575
2575
|
function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
|
2576
2576
|
body = createResponse(serverManifest, formFieldPrefix, void 0, body);
|
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-f6cce072-20240723",
|
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-f6cce072-20240723",
|
81
|
+
"react-dom": "19.0.0-rc-f6cce072-20240723",
|
82
82
|
"webpack": "^5.59.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|