react-server-dom-webpack 0.0.0-experimental-df783f9ea1-20240708 → 0.0.0-experimental-c3cdbec0a7-20240708
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 +2 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +2 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +2 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +2 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +2 -1
- package/cjs/react-server-dom-webpack-server.browser.production.js +7 -6
- package/cjs/react-server-dom-webpack-server.edge.development.js +2 -1
- package/cjs/react-server-dom-webpack-server.edge.production.js +7 -6
- package/cjs/react-server-dom-webpack-server.node.development.js +2 -1
- package/cjs/react-server-dom-webpack-server.node.production.js +7 -6
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +2 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +7 -6
- package/package.json +3 -3
|
@@ -666,7 +666,8 @@
|
|
|
666
666
|
) {
|
|
667
667
|
if (void 0 === temporaryReferences)
|
|
668
668
|
throw Error(
|
|
669
|
-
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported."
|
|
669
|
+
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported." +
|
|
670
|
+
describeObjectForErrorMessage(this, key)
|
|
670
671
|
);
|
|
671
672
|
return "$T";
|
|
672
673
|
}
|
|
@@ -687,7 +687,8 @@
|
|
|
687
687
|
) {
|
|
688
688
|
if (void 0 === temporaryReferences)
|
|
689
689
|
throw Error(
|
|
690
|
-
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported."
|
|
690
|
+
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported." +
|
|
691
|
+
describeObjectForErrorMessage(this, key)
|
|
691
692
|
);
|
|
692
693
|
return "$T";
|
|
693
694
|
}
|
|
@@ -687,7 +687,8 @@
|
|
|
687
687
|
) {
|
|
688
688
|
if (void 0 === temporaryReferences)
|
|
689
689
|
throw Error(
|
|
690
|
-
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported."
|
|
690
|
+
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported." +
|
|
691
|
+
describeObjectForErrorMessage(this, key)
|
|
691
692
|
);
|
|
692
693
|
return "$T";
|
|
693
694
|
}
|
|
@@ -666,7 +666,8 @@
|
|
|
666
666
|
) {
|
|
667
667
|
if (void 0 === temporaryReferences)
|
|
668
668
|
throw Error(
|
|
669
|
-
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported."
|
|
669
|
+
"Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported." +
|
|
670
|
+
describeObjectForErrorMessage(this, key)
|
|
670
671
|
);
|
|
671
672
|
return "$T";
|
|
672
673
|
}
|
|
@@ -1822,7 +1822,8 @@
|
|
|
1822
1822
|
(null === request || null !== getPrototypeOf(request))
|
|
1823
1823
|
)
|
|
1824
1824
|
throw Error(
|
|
1825
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1825
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1826
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1826
1827
|
);
|
|
1827
1828
|
if (
|
|
1828
1829
|
"object" === typeof value.task &&
|
|
@@ -1486,9 +1486,9 @@ function renderModelDestructive(
|
|
|
1486
1486
|
return serializeTypedArray(request, "V", value);
|
|
1487
1487
|
if ("function" === typeof Blob && value instanceof Blob)
|
|
1488
1488
|
return serializeBlob(request, value);
|
|
1489
|
-
if ((
|
|
1489
|
+
if ((elementReference = getIteratorFn(value)))
|
|
1490
1490
|
return (
|
|
1491
|
-
(parentPropertyName =
|
|
1491
|
+
(parentPropertyName = elementReference.call(value)),
|
|
1492
1492
|
parentPropertyName === value
|
|
1493
1493
|
? "$i" +
|
|
1494
1494
|
outlineModel(request, Array.from(parentPropertyName)).toString(16)
|
|
@@ -1496,8 +1496,8 @@ function renderModelDestructive(
|
|
|
1496
1496
|
);
|
|
1497
1497
|
if ("function" === typeof ReadableStream && value instanceof ReadableStream)
|
|
1498
1498
|
return serializeReadableStream(request, task, value);
|
|
1499
|
-
|
|
1500
|
-
if ("function" === typeof
|
|
1499
|
+
elementReference = value[ASYNC_ITERATOR];
|
|
1500
|
+
if ("function" === typeof elementReference)
|
|
1501
1501
|
return (
|
|
1502
1502
|
null !== task.keyPath
|
|
1503
1503
|
? ((value = [
|
|
@@ -1507,7 +1507,7 @@ function renderModelDestructive(
|
|
|
1507
1507
|
{ children: value }
|
|
1508
1508
|
]),
|
|
1509
1509
|
(value = task.implicitSlot ? [value] : value))
|
|
1510
|
-
: ((parentPropertyName =
|
|
1510
|
+
: ((parentPropertyName = elementReference.call(value)),
|
|
1511
1511
|
(value = serializeAsyncIterable(
|
|
1512
1512
|
request,
|
|
1513
1513
|
task,
|
|
@@ -1522,7 +1522,8 @@ function renderModelDestructive(
|
|
|
1522
1522
|
(null === request || null !== getPrototypeOf(request))
|
|
1523
1523
|
)
|
|
1524
1524
|
throw Error(
|
|
1525
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1525
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1526
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1526
1527
|
);
|
|
1527
1528
|
return value;
|
|
1528
1529
|
}
|
|
@@ -1843,7 +1843,8 @@
|
|
|
1843
1843
|
(null === request || null !== getPrototypeOf(request))
|
|
1844
1844
|
)
|
|
1845
1845
|
throw Error(
|
|
1846
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1846
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1847
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1847
1848
|
);
|
|
1848
1849
|
if (
|
|
1849
1850
|
"object" === typeof value.task &&
|
|
@@ -1491,9 +1491,9 @@ function renderModelDestructive(
|
|
|
1491
1491
|
return serializeTypedArray(request, "V", value);
|
|
1492
1492
|
if ("function" === typeof Blob && value instanceof Blob)
|
|
1493
1493
|
return serializeBlob(request, value);
|
|
1494
|
-
if ((
|
|
1494
|
+
if ((elementReference = getIteratorFn(value)))
|
|
1495
1495
|
return (
|
|
1496
|
-
(parentPropertyName =
|
|
1496
|
+
(parentPropertyName = elementReference.call(value)),
|
|
1497
1497
|
parentPropertyName === value
|
|
1498
1498
|
? "$i" +
|
|
1499
1499
|
outlineModel(request, Array.from(parentPropertyName)).toString(16)
|
|
@@ -1501,8 +1501,8 @@ function renderModelDestructive(
|
|
|
1501
1501
|
);
|
|
1502
1502
|
if ("function" === typeof ReadableStream && value instanceof ReadableStream)
|
|
1503
1503
|
return serializeReadableStream(request, task, value);
|
|
1504
|
-
|
|
1505
|
-
if ("function" === typeof
|
|
1504
|
+
elementReference = value[ASYNC_ITERATOR];
|
|
1505
|
+
if ("function" === typeof elementReference)
|
|
1506
1506
|
return (
|
|
1507
1507
|
null !== task.keyPath
|
|
1508
1508
|
? ((value = [
|
|
@@ -1512,7 +1512,7 @@ function renderModelDestructive(
|
|
|
1512
1512
|
{ children: value }
|
|
1513
1513
|
]),
|
|
1514
1514
|
(value = task.implicitSlot ? [value] : value))
|
|
1515
|
-
: ((parentPropertyName =
|
|
1515
|
+
: ((parentPropertyName = elementReference.call(value)),
|
|
1516
1516
|
(value = serializeAsyncIterable(
|
|
1517
1517
|
request,
|
|
1518
1518
|
task,
|
|
@@ -1527,7 +1527,8 @@ function renderModelDestructive(
|
|
|
1527
1527
|
(null === request || null !== getPrototypeOf(request))
|
|
1528
1528
|
)
|
|
1529
1529
|
throw Error(
|
|
1530
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1530
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1531
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1531
1532
|
);
|
|
1532
1533
|
return value;
|
|
1533
1534
|
}
|
|
@@ -1857,7 +1857,8 @@
|
|
|
1857
1857
|
(null === request || null !== getPrototypeOf(request))
|
|
1858
1858
|
)
|
|
1859
1859
|
throw Error(
|
|
1860
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1860
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1861
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1861
1862
|
);
|
|
1862
1863
|
if (
|
|
1863
1864
|
"object" === typeof value.task &&
|
|
@@ -1504,9 +1504,9 @@ function renderModelDestructive(
|
|
|
1504
1504
|
return serializeTypedArray(request, "V", value);
|
|
1505
1505
|
if ("function" === typeof Blob && value instanceof Blob)
|
|
1506
1506
|
return serializeBlob(request, value);
|
|
1507
|
-
if ((
|
|
1507
|
+
if ((elementReference = getIteratorFn(value)))
|
|
1508
1508
|
return (
|
|
1509
|
-
(parentPropertyName =
|
|
1509
|
+
(parentPropertyName = elementReference.call(value)),
|
|
1510
1510
|
parentPropertyName === value
|
|
1511
1511
|
? "$i" +
|
|
1512
1512
|
outlineModel(request, Array.from(parentPropertyName)).toString(16)
|
|
@@ -1514,8 +1514,8 @@ function renderModelDestructive(
|
|
|
1514
1514
|
);
|
|
1515
1515
|
if ("function" === typeof ReadableStream && value instanceof ReadableStream)
|
|
1516
1516
|
return serializeReadableStream(request, task, value);
|
|
1517
|
-
|
|
1518
|
-
if ("function" === typeof
|
|
1517
|
+
elementReference = value[ASYNC_ITERATOR];
|
|
1518
|
+
if ("function" === typeof elementReference)
|
|
1519
1519
|
return (
|
|
1520
1520
|
null !== task.keyPath
|
|
1521
1521
|
? ((value = [
|
|
@@ -1525,7 +1525,7 @@ function renderModelDestructive(
|
|
|
1525
1525
|
{ children: value }
|
|
1526
1526
|
]),
|
|
1527
1527
|
(value = task.implicitSlot ? [value] : value))
|
|
1528
|
-
: ((parentPropertyName =
|
|
1528
|
+
: ((parentPropertyName = elementReference.call(value)),
|
|
1529
1529
|
(value = serializeAsyncIterable(
|
|
1530
1530
|
request,
|
|
1531
1531
|
task,
|
|
@@ -1540,7 +1540,8 @@ function renderModelDestructive(
|
|
|
1540
1540
|
(null === request || null !== getPrototypeOf(request))
|
|
1541
1541
|
)
|
|
1542
1542
|
throw Error(
|
|
1543
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1543
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1544
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1544
1545
|
);
|
|
1545
1546
|
return value;
|
|
1546
1547
|
}
|
|
@@ -1857,7 +1857,8 @@
|
|
|
1857
1857
|
(null === request || null !== getPrototypeOf(request))
|
|
1858
1858
|
)
|
|
1859
1859
|
throw Error(
|
|
1860
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1860
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1861
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1861
1862
|
);
|
|
1862
1863
|
if (
|
|
1863
1864
|
"object" === typeof value.task &&
|
|
@@ -1504,9 +1504,9 @@ function renderModelDestructive(
|
|
|
1504
1504
|
return serializeTypedArray(request, "V", value);
|
|
1505
1505
|
if ("function" === typeof Blob && value instanceof Blob)
|
|
1506
1506
|
return serializeBlob(request, value);
|
|
1507
|
-
if ((
|
|
1507
|
+
if ((elementReference = getIteratorFn(value)))
|
|
1508
1508
|
return (
|
|
1509
|
-
(parentPropertyName =
|
|
1509
|
+
(parentPropertyName = elementReference.call(value)),
|
|
1510
1510
|
parentPropertyName === value
|
|
1511
1511
|
? "$i" +
|
|
1512
1512
|
outlineModel(request, Array.from(parentPropertyName)).toString(16)
|
|
@@ -1514,8 +1514,8 @@ function renderModelDestructive(
|
|
|
1514
1514
|
);
|
|
1515
1515
|
if ("function" === typeof ReadableStream && value instanceof ReadableStream)
|
|
1516
1516
|
return serializeReadableStream(request, task, value);
|
|
1517
|
-
|
|
1518
|
-
if ("function" === typeof
|
|
1517
|
+
elementReference = value[ASYNC_ITERATOR];
|
|
1518
|
+
if ("function" === typeof elementReference)
|
|
1519
1519
|
return (
|
|
1520
1520
|
null !== task.keyPath
|
|
1521
1521
|
? ((value = [
|
|
@@ -1525,7 +1525,7 @@ function renderModelDestructive(
|
|
|
1525
1525
|
{ children: value }
|
|
1526
1526
|
]),
|
|
1527
1527
|
(value = task.implicitSlot ? [value] : value))
|
|
1528
|
-
: ((parentPropertyName =
|
|
1528
|
+
: ((parentPropertyName = elementReference.call(value)),
|
|
1529
1529
|
(value = serializeAsyncIterable(
|
|
1530
1530
|
request,
|
|
1531
1531
|
task,
|
|
@@ -1540,7 +1540,8 @@ function renderModelDestructive(
|
|
|
1540
1540
|
(null === request || null !== getPrototypeOf(request))
|
|
1541
1541
|
)
|
|
1542
1542
|
throw Error(
|
|
1543
|
-
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported."
|
|
1543
|
+
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
|
1544
|
+
describeObjectForErrorMessage(parent, parentPropertyName)
|
|
1544
1545
|
);
|
|
1545
1546
|
return value;
|
|
1546
1547
|
}
|
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": "0.0.0-experimental-
|
|
4
|
+
"version": "0.0.0-experimental-c3cdbec0a7-20240708",
|
|
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": "0.0.0-experimental-
|
|
81
|
-
"react-dom": "0.0.0-experimental-
|
|
80
|
+
"react": "0.0.0-experimental-c3cdbec0a7-20240708",
|
|
81
|
+
"react-dom": "0.0.0-experimental-c3cdbec0a7-20240708",
|
|
82
82
|
"webpack": "^5.59.0"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|