react-server-dom-webpack 19.0.0-rc.1 → 19.1.0-canary-130095f7-20241212
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 +6 -4
- package/cjs/react-server-dom-webpack-client.browser.production.js +2 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +4 -2
- package/cjs/react-server-dom-webpack-client.edge.production.js +2 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +4 -2
- package/cjs/react-server-dom-webpack-client.node.production.js +2 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +4 -2
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +2 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +212 -200
- package/cjs/react-server-dom-webpack-server.browser.production.js +161 -142
- package/cjs/react-server-dom-webpack-server.edge.development.js +212 -200
- package/cjs/react-server-dom-webpack-server.edge.production.js +161 -142
- package/cjs/react-server-dom-webpack-server.node.development.js +209 -188
- package/cjs/react-server-dom-webpack-server.node.production.js +155 -134
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +209 -188
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +155 -134
- package/package.json +3 -3
- package/static.browser.js +2 -2
- package/static.edge.js +2 -2
- package/static.node.js +2 -2
- package/static.node.unbundled.js +2 -2
@@ -633,7 +633,7 @@
|
|
633
633
|
) {
|
634
634
|
if (void 0 === temporaryReferences)
|
635
635
|
throw Error(
|
636
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
636
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported." +
|
637
637
|
describeObjectForErrorMessage(this, key)
|
638
638
|
);
|
639
639
|
return "$T";
|
@@ -1943,7 +1943,8 @@
|
|
1943
1943
|
null === debugInfo.owner && null != response._debugRootOwner
|
1944
1944
|
? ((debugInfo.owner = response._debugRootOwner),
|
1945
1945
|
(debugInfo.debugStack = response._debugRootStack))
|
1946
|
-
:
|
1946
|
+
: void 0 !== debugInfo.stack &&
|
1947
|
+
initializeFakeStack(response, debugInfo);
|
1947
1948
|
response = getChunk(response, id);
|
1948
1949
|
(response._debugInfo || (response._debugInfo = [])).push(debugInfo);
|
1949
1950
|
}
|
@@ -2079,6 +2080,7 @@
|
|
2079
2080
|
case 84:
|
2080
2081
|
resolveText(response, id, row);
|
2081
2082
|
break;
|
2083
|
+
case 78:
|
2082
2084
|
case 68:
|
2083
2085
|
tag = new ReactPromise("resolved_model", row, null, response);
|
2084
2086
|
initializeModelChunk(tag);
|
@@ -2465,10 +2467,10 @@
|
|
2465
2467
|
return hook.checkDCE ? !0 : !1;
|
2466
2468
|
})({
|
2467
2469
|
bundleType: 1,
|
2468
|
-
version: "19.
|
2470
|
+
version: "19.1.0-canary-130095f7-20241212",
|
2469
2471
|
rendererPackageName: "react-server-dom-webpack",
|
2470
2472
|
currentDispatcherRef: ReactSharedInternals,
|
2471
|
-
reconcilerVersion: "19.
|
2473
|
+
reconcilerVersion: "19.1.0-canary-130095f7-20241212",
|
2472
2474
|
getCurrentComponentInfo: function () {
|
2473
2475
|
return currentOwnerInDEV;
|
2474
2476
|
}
|
@@ -419,7 +419,7 @@ function processReply(
|
|
419
419
|
) {
|
420
420
|
if (void 0 === temporaryReferences)
|
421
421
|
throw Error(
|
422
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
422
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported."
|
423
423
|
);
|
424
424
|
return "$T";
|
425
425
|
}
|
@@ -1407,6 +1407,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
|
|
1407
1407
|
? chunk.reason.enqueueValue(buffer)
|
1408
1408
|
: tag.set(id, new ReactPromise("fulfilled", buffer, null, response));
|
1409
1409
|
break;
|
1410
|
+
case 78:
|
1410
1411
|
case 68:
|
1411
1412
|
case 87:
|
1412
1413
|
throw Error(
|
@@ -654,7 +654,7 @@
|
|
654
654
|
) {
|
655
655
|
if (void 0 === temporaryReferences)
|
656
656
|
throw Error(
|
657
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
657
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported." +
|
658
658
|
describeObjectForErrorMessage(this, key)
|
659
659
|
);
|
660
660
|
return "$T";
|
@@ -2152,7 +2152,8 @@
|
|
2152
2152
|
null === debugInfo.owner && null != response._debugRootOwner
|
2153
2153
|
? ((debugInfo.owner = response._debugRootOwner),
|
2154
2154
|
(debugInfo.debugStack = response._debugRootStack))
|
2155
|
-
:
|
2155
|
+
: void 0 !== debugInfo.stack &&
|
2156
|
+
initializeFakeStack(response, debugInfo);
|
2156
2157
|
response = getChunk(response, id);
|
2157
2158
|
(response._debugInfo || (response._debugInfo = [])).push(debugInfo);
|
2158
2159
|
}
|
@@ -2288,6 +2289,7 @@
|
|
2288
2289
|
case 84:
|
2289
2290
|
resolveText(response, id, row);
|
2290
2291
|
break;
|
2292
|
+
case 78:
|
2291
2293
|
case 68:
|
2292
2294
|
tag = new ReactPromise("resolved_model", row, null, response);
|
2293
2295
|
initializeModelChunk(tag);
|
@@ -431,7 +431,7 @@ function processReply(
|
|
431
431
|
) {
|
432
432
|
if (void 0 === temporaryReferences)
|
433
433
|
throw Error(
|
434
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
434
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported."
|
435
435
|
);
|
436
436
|
return "$T";
|
437
437
|
}
|
@@ -1570,6 +1570,7 @@ function processFullBinaryRow(response, id, tag, buffer, chunk) {
|
|
1570
1570
|
? chunk.reason.enqueueValue(buffer)
|
1571
1571
|
: tag.set(id, new ReactPromise("fulfilled", buffer, null, response));
|
1572
1572
|
break;
|
1573
|
+
case 78:
|
1573
1574
|
case 68:
|
1574
1575
|
case 87:
|
1575
1576
|
throw Error(
|
@@ -654,7 +654,7 @@
|
|
654
654
|
) {
|
655
655
|
if (void 0 === temporaryReferences)
|
656
656
|
throw Error(
|
657
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
657
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported." +
|
658
658
|
describeObjectForErrorMessage(this, key)
|
659
659
|
);
|
660
660
|
return "$T";
|
@@ -2152,7 +2152,8 @@
|
|
2152
2152
|
null === debugInfo.owner && null != response._debugRootOwner
|
2153
2153
|
? ((debugInfo.owner = response._debugRootOwner),
|
2154
2154
|
(debugInfo.debugStack = response._debugRootStack))
|
2155
|
-
:
|
2155
|
+
: void 0 !== debugInfo.stack &&
|
2156
|
+
initializeFakeStack(response, debugInfo);
|
2156
2157
|
response = getChunk(response, id);
|
2157
2158
|
(response._debugInfo || (response._debugInfo = [])).push(debugInfo);
|
2158
2159
|
}
|
@@ -2288,6 +2289,7 @@
|
|
2288
2289
|
case 84:
|
2289
2290
|
resolveText(response, id, row);
|
2290
2291
|
break;
|
2292
|
+
case 78:
|
2291
2293
|
case 68:
|
2292
2294
|
tag = new ReactPromise("resolved_model", row, null, response);
|
2293
2295
|
initializeModelChunk(tag);
|
@@ -432,7 +432,7 @@ function processReply(
|
|
432
432
|
) {
|
433
433
|
if (void 0 === temporaryReferences)
|
434
434
|
throw Error(
|
435
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
435
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported."
|
436
436
|
);
|
437
437
|
return "$T";
|
438
438
|
}
|
@@ -1573,6 +1573,7 @@ function processFullStringRow(response, id, tag, row) {
|
|
1573
1573
|
? chunk.reason.enqueueValue(row)
|
1574
1574
|
: tag.set(id, new ReactPromise("fulfilled", row, null, response));
|
1575
1575
|
break;
|
1576
|
+
case 78:
|
1576
1577
|
case 68:
|
1577
1578
|
case 87:
|
1578
1579
|
throw Error(
|
@@ -616,7 +616,7 @@
|
|
616
616
|
) {
|
617
617
|
if (void 0 === temporaryReferences)
|
618
618
|
throw Error(
|
619
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
619
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported." +
|
620
620
|
describeObjectForErrorMessage(this, key)
|
621
621
|
);
|
622
622
|
return "$T";
|
@@ -2114,7 +2114,8 @@
|
|
2114
2114
|
null === debugInfo.owner && null != response._debugRootOwner
|
2115
2115
|
? ((debugInfo.owner = response._debugRootOwner),
|
2116
2116
|
(debugInfo.debugStack = response._debugRootStack))
|
2117
|
-
:
|
2117
|
+
: void 0 !== debugInfo.stack &&
|
2118
|
+
initializeFakeStack(response, debugInfo);
|
2118
2119
|
response = getChunk(response, id);
|
2119
2120
|
(response._debugInfo || (response._debugInfo = [])).push(debugInfo);
|
2120
2121
|
}
|
@@ -2250,6 +2251,7 @@
|
|
2250
2251
|
case 84:
|
2251
2252
|
resolveText(response, id, row);
|
2252
2253
|
break;
|
2254
|
+
case 78:
|
2253
2255
|
case 68:
|
2254
2256
|
tag = new ReactPromise("resolved_model", row, null, response);
|
2255
2257
|
initializeModelChunk(tag);
|
@@ -397,7 +397,7 @@ function processReply(
|
|
397
397
|
) {
|
398
398
|
if (void 0 === temporaryReferences)
|
399
399
|
throw Error(
|
400
|
-
"Only plain objects, and a few built-ins, can be passed to Server
|
400
|
+
"Only plain objects, and a few built-ins, can be passed to Server Functions. Classes or null prototypes are not supported."
|
401
401
|
);
|
402
402
|
return "$T";
|
403
403
|
}
|
@@ -1538,6 +1538,7 @@ function processFullStringRow(response, id, tag, row) {
|
|
1538
1538
|
? chunk.reason.enqueueValue(row)
|
1539
1539
|
: tag.set(id, new ReactPromise("fulfilled", row, null, response));
|
1540
1540
|
break;
|
1541
|
+
case 78:
|
1541
1542
|
case 68:
|
1542
1543
|
case 87:
|
1543
1544
|
throw Error(
|