react-server-dom-webpack 19.0.0-rc-76002254-20240724 → 19.0.0-rc-941e1b4a-20240729
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 +46 -17
- package/cjs/react-server-dom-webpack-client.edge.development.js +50 -17
- package/cjs/react-server-dom-webpack-client.node.development.js +50 -17
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +50 -17
- package/cjs/react-server-dom-webpack-server.browser.development.js +45 -27
- package/cjs/react-server-dom-webpack-server.browser.production.js +5 -7
- package/cjs/react-server-dom-webpack-server.edge.development.js +46 -27
- package/cjs/react-server-dom-webpack-server.edge.production.js +5 -7
- package/cjs/react-server-dom-webpack-server.node.development.js +45 -26
- package/cjs/react-server-dom-webpack-server.node.production.js +8 -10
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +45 -26
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +8 -10
- package/package.json +3 -3
@@ -472,8 +472,12 @@
|
|
472
472
|
"\n " + objKind + "\n " + objectOrArray)
|
473
473
|
: "\n " + objKind;
|
474
474
|
}
|
475
|
-
function
|
476
|
-
return
|
475
|
+
function defaultFilterStackFrame(filename) {
|
476
|
+
return (
|
477
|
+
"" !== filename &&
|
478
|
+
!filename.startsWith("node:") &&
|
479
|
+
!filename.includes("node_modules")
|
480
|
+
);
|
477
481
|
}
|
478
482
|
function getCurrentStackInDEV() {
|
479
483
|
return "";
|
@@ -488,8 +492,9 @@
|
|
488
492
|
onError,
|
489
493
|
identifierPrefix,
|
490
494
|
onPostpone,
|
495
|
+
temporaryReferences,
|
491
496
|
environmentName,
|
492
|
-
|
497
|
+
filterStackFrame
|
493
498
|
) {
|
494
499
|
if (
|
495
500
|
null !== ReactSharedInternalsServer.A &&
|
@@ -538,6 +543,10 @@
|
|
538
543
|
return environmentName;
|
539
544
|
}
|
540
545
|
: environmentName;
|
546
|
+
this.filterStackFrame =
|
547
|
+
void 0 === filterStackFrame
|
548
|
+
? defaultFilterStackFrame
|
549
|
+
: filterStackFrame;
|
541
550
|
this.didWarnForKey = null;
|
542
551
|
model = createTask(this, model, null, !1, abortSet, null);
|
543
552
|
pingedTasks.push(model);
|
@@ -765,7 +774,7 @@
|
|
765
774
|
lazyType._debugInfo = wakeable._debugInfo || [];
|
766
775
|
return lazyType;
|
767
776
|
}
|
768
|
-
function callWithDebugContextInDEV(task, callback, arg) {
|
777
|
+
function callWithDebugContextInDEV(request, task, callback, arg) {
|
769
778
|
currentOwner = { env: task.environmentName, owner: task.debugOwner };
|
770
779
|
try {
|
771
780
|
return callback(arg);
|
@@ -826,7 +835,7 @@
|
|
826
835
|
Object.prototype.toString.call(Component) &&
|
827
836
|
"[object Generator]" ===
|
828
837
|
Object.prototype.toString.call(iterableChild)) ||
|
829
|
-
callWithDebugContextInDEV(task, function () {
|
838
|
+
callWithDebugContextInDEV(request, task, function () {
|
830
839
|
console.error(
|
831
840
|
"Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. "
|
832
841
|
);
|
@@ -849,7 +858,7 @@
|
|
849
858
|
Object.prototype.toString.call(Component) &&
|
850
859
|
"[object AsyncGenerator]" ===
|
851
860
|
Object.prototype.toString.call(_iterableChild)) ||
|
852
|
-
callWithDebugContextInDEV(task, function () {
|
861
|
+
callWithDebugContextInDEV(request, task, function () {
|
853
862
|
console.error(
|
854
863
|
"Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. "
|
855
864
|
);
|
@@ -865,10 +874,10 @@
|
|
865
874
|
? (task.keyPath =
|
866
875
|
null === prevThenableState ? key : prevThenableState + "," + key)
|
867
876
|
: null === prevThenableState && (task.implicitSlot = !0);
|
868
|
-
|
877
|
+
key = renderModelDestructive(request, task, emptyRoot, "", props);
|
869
878
|
task.keyPath = prevThenableState;
|
870
879
|
task.implicitSlot = componentDebugID;
|
871
|
-
return
|
880
|
+
return key;
|
872
881
|
}
|
873
882
|
function renderFragment(request, task, children) {
|
874
883
|
for (var i = 0; i < children.length; i++) {
|
@@ -1027,7 +1036,7 @@
|
|
1027
1036
|
"object" !== typeof originalValue ||
|
1028
1037
|
originalValue === value ||
|
1029
1038
|
originalValue instanceof Date ||
|
1030
|
-
callWithDebugContextInDEV(task, function () {
|
1039
|
+
callWithDebugContextInDEV(request, task, function () {
|
1031
1040
|
"Object" !== objectName(originalValue)
|
1032
1041
|
? "string" === typeof jsxChildrenParents.get(parent)
|
1033
1042
|
? console.error(
|
@@ -1452,10 +1461,11 @@
|
|
1452
1461
|
elementReference = value[ASYNC_ITERATOR];
|
1453
1462
|
if ("function" === typeof elementReference)
|
1454
1463
|
return renderAsyncFragment(request, task, value, elementReference);
|
1455
|
-
|
1464
|
+
elementReference = getPrototypeOf(value);
|
1456
1465
|
if (
|
1457
|
-
|
1458
|
-
(null ===
|
1466
|
+
elementReference !== ObjectPrototype &&
|
1467
|
+
(null === elementReference ||
|
1468
|
+
null !== getPrototypeOf(elementReference))
|
1459
1469
|
)
|
1460
1470
|
throw Error(
|
1461
1471
|
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
@@ -1473,7 +1483,7 @@
|
|
1473
1483
|
)
|
1474
1484
|
return { name: value.name, env: value.env, owner: value.owner };
|
1475
1485
|
if ("Object" !== objectName(value))
|
1476
|
-
callWithDebugContextInDEV(task, function () {
|
1486
|
+
callWithDebugContextInDEV(request, task, function () {
|
1477
1487
|
console.error(
|
1478
1488
|
"Only plain objects can be passed to Client Components from Server Components. %s objects are not supported.%s",
|
1479
1489
|
objectName(value),
|
@@ -1481,7 +1491,7 @@
|
|
1481
1491
|
);
|
1482
1492
|
});
|
1483
1493
|
else if (!isSimpleObject(value))
|
1484
|
-
callWithDebugContextInDEV(task, function () {
|
1494
|
+
callWithDebugContextInDEV(request, task, function () {
|
1485
1495
|
console.error(
|
1486
1496
|
"Only plain objects can be passed to Client Components from Server Components. Classes or other objects with methods are not supported.%s",
|
1487
1497
|
describeObjectForErrorMessage(parent, parentPropertyName)
|
@@ -1490,7 +1500,7 @@
|
|
1490
1500
|
else if (Object.getOwnPropertySymbols) {
|
1491
1501
|
var symbols = Object.getOwnPropertySymbols(value);
|
1492
1502
|
0 < symbols.length &&
|
1493
|
-
callWithDebugContextInDEV(task, function () {
|
1503
|
+
callWithDebugContextInDEV(request, task, function () {
|
1494
1504
|
console.error(
|
1495
1505
|
"Only plain objects can be passed to Client Components from Server Components. Objects with symbol properties like %s are not supported.%s",
|
1496
1506
|
symbols[0].description,
|
@@ -1591,7 +1601,7 @@
|
|
1591
1601
|
var onError = request.onError;
|
1592
1602
|
var errorDigest =
|
1593
1603
|
null !== task
|
1594
|
-
? callWithDebugContextInDEV(task, onError, error)
|
1604
|
+
? callWithDebugContextInDEV(request, task, onError, error)
|
1595
1605
|
: onError(error);
|
1596
1606
|
} finally {
|
1597
1607
|
currentRequest = prevRequest;
|
@@ -1615,6 +1625,7 @@
|
|
1615
1625
|
try {
|
1616
1626
|
if (error instanceof Error) {
|
1617
1627
|
var message = String(error.message);
|
1628
|
+
var filterStackFrame = request.filterStackFrame;
|
1618
1629
|
a: {
|
1619
1630
|
var previousPrepare = Error.prepareStackTrace;
|
1620
1631
|
Error.prepareStackTrace = prepareStackTrace;
|
@@ -1652,16 +1663,21 @@
|
|
1652
1663
|
]);
|
1653
1664
|
}
|
1654
1665
|
}
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1666
|
+
for (frames = 0; frames < stack.length; frames++) {
|
1667
|
+
var callsite = stack[frames],
|
1668
|
+
functionName = callsite[0],
|
1658
1669
|
url = callsite[1];
|
1659
1670
|
if (url.startsWith("rsc://React/")) {
|
1660
|
-
var
|
1661
|
-
|
1671
|
+
var envIdx = url.indexOf("/", 12),
|
1672
|
+
suffixIdx = url.lastIndexOf("?");
|
1673
|
+
-1 < envIdx &&
|
1674
|
+
-1 < suffixIdx &&
|
1675
|
+
(url = callsite[1] = url.slice(envIdx + 1, suffixIdx));
|
1662
1676
|
}
|
1677
|
+
filterStackFrame(url, functionName) ||
|
1678
|
+
(stack.splice(frames, 1), frames--);
|
1663
1679
|
}
|
1664
|
-
var stack$jscomp$
|
1680
|
+
var stack$jscomp$0 = stack;
|
1665
1681
|
var errorEnv = error.environmentName;
|
1666
1682
|
"string" === typeof errorEnv && (env = errorEnv);
|
1667
1683
|
} else
|
@@ -1669,14 +1685,16 @@
|
|
1669
1685
|
"object" === typeof error && null !== error
|
1670
1686
|
? describeObjectForErrorMessage(error)
|
1671
1687
|
: String(error)),
|
1672
|
-
(stack$jscomp$
|
1688
|
+
(stack$jscomp$0 = []);
|
1673
1689
|
} catch (x) {
|
1674
|
-
message =
|
1690
|
+
(message =
|
1691
|
+
"An error occurred but serializing the error message failed."),
|
1692
|
+
(stack$jscomp$0 = []);
|
1675
1693
|
}
|
1676
1694
|
digest = {
|
1677
1695
|
digest: digest,
|
1678
1696
|
message: message,
|
1679
|
-
stack: stack$jscomp$
|
1697
|
+
stack: stack$jscomp$0,
|
1680
1698
|
env: env
|
1681
1699
|
};
|
1682
1700
|
id = id.toString(16) + ":E" + stringify(digest) + "\n";
|
@@ -3302,7 +3320,6 @@
|
|
3302
3320
|
jsxPropsParents = new WeakMap(),
|
3303
3321
|
jsxChildrenParents = new WeakMap(),
|
3304
3322
|
CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
|
3305
|
-
externalRegExp = /\/node_modules\/|^node:|^$/,
|
3306
3323
|
ObjectPrototype = Object.prototype,
|
3307
3324
|
stringify = JSON.stringify,
|
3308
3325
|
AbortSigil = {},
|
@@ -3440,8 +3457,9 @@
|
|
3440
3457
|
options ? options.onError : void 0,
|
3441
3458
|
options ? options.identifierPrefix : void 0,
|
3442
3459
|
options ? options.onPostpone : void 0,
|
3460
|
+
options ? options.temporaryReferences : void 0,
|
3443
3461
|
options ? options.environmentName : void 0,
|
3444
|
-
options ? options.
|
3462
|
+
options ? options.filterStackFrame : void 0
|
3445
3463
|
);
|
3446
3464
|
if (options && options.signal) {
|
3447
3465
|
var signal = options.signal;
|
@@ -713,7 +713,6 @@ function RequestInstance(
|
|
713
713
|
onError,
|
714
714
|
identifierPrefix,
|
715
715
|
onPostpone,
|
716
|
-
environmentName,
|
717
716
|
temporaryReferences
|
718
717
|
) {
|
719
718
|
if (
|
@@ -722,9 +721,9 @@ function RequestInstance(
|
|
722
721
|
)
|
723
722
|
throw Error("Currently React only supports one RSC renderer at a time.");
|
724
723
|
ReactSharedInternalsServer.A = DefaultAsyncDispatcher;
|
725
|
-
var abortSet = new Set()
|
726
|
-
|
727
|
-
|
724
|
+
var abortSet = new Set(),
|
725
|
+
pingedTasks = [],
|
726
|
+
hints = new Set();
|
728
727
|
this.status = 0;
|
729
728
|
this.flushScheduled = !1;
|
730
729
|
this.destination = this.fatalError = null;
|
@@ -734,7 +733,7 @@ function RequestInstance(
|
|
734
733
|
this.hints = hints;
|
735
734
|
this.abortListeners = new Set();
|
736
735
|
this.abortableTasks = abortSet;
|
737
|
-
this.pingedTasks =
|
736
|
+
this.pingedTasks = pingedTasks;
|
738
737
|
this.completedImportChunks = [];
|
739
738
|
this.completedHintChunks = [];
|
740
739
|
this.completedRegularChunks = [];
|
@@ -750,7 +749,7 @@ function RequestInstance(
|
|
750
749
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
751
750
|
this.onPostpone = void 0 === onPostpone ? defaultPostponeHandler : onPostpone;
|
752
751
|
model = createTask(this, model, null, !1, abortSet);
|
753
|
-
|
752
|
+
pingedTasks.push(model);
|
754
753
|
}
|
755
754
|
var currentRequest = null;
|
756
755
|
function serializeThenable(request, task, thenable) {
|
@@ -2655,7 +2654,6 @@ exports.renderToReadableStream = function (model, webpackMap, options) {
|
|
2655
2654
|
options ? options.onError : void 0,
|
2656
2655
|
options ? options.identifierPrefix : void 0,
|
2657
2656
|
options ? options.onPostpone : void 0,
|
2658
|
-
options ? options.environmentName : void 0,
|
2659
2657
|
options ? options.temporaryReferences : void 0
|
2660
2658
|
);
|
2661
2659
|
if (options && options.signal) {
|
@@ -468,8 +468,12 @@
|
|
468
468
|
"\n " + objKind + "\n " + objectOrArray)
|
469
469
|
: "\n " + objKind;
|
470
470
|
}
|
471
|
-
function
|
472
|
-
return
|
471
|
+
function defaultFilterStackFrame(filename) {
|
472
|
+
return (
|
473
|
+
"" !== filename &&
|
474
|
+
!filename.startsWith("node:") &&
|
475
|
+
!filename.includes("node_modules")
|
476
|
+
);
|
473
477
|
}
|
474
478
|
function getCurrentStackInDEV() {
|
475
479
|
return "";
|
@@ -484,8 +488,9 @@
|
|
484
488
|
onError,
|
485
489
|
identifierPrefix,
|
486
490
|
onPostpone,
|
491
|
+
temporaryReferences,
|
487
492
|
environmentName,
|
488
|
-
|
493
|
+
filterStackFrame
|
489
494
|
) {
|
490
495
|
if (
|
491
496
|
null !== ReactSharedInternalsServer.A &&
|
@@ -534,6 +539,10 @@
|
|
534
539
|
return environmentName;
|
535
540
|
}
|
536
541
|
: environmentName;
|
542
|
+
this.filterStackFrame =
|
543
|
+
void 0 === filterStackFrame
|
544
|
+
? defaultFilterStackFrame
|
545
|
+
: filterStackFrame;
|
537
546
|
this.didWarnForKey = null;
|
538
547
|
model = createTask(this, model, null, !1, abortSet, null);
|
539
548
|
pingedTasks.push(model);
|
@@ -769,7 +778,7 @@
|
|
769
778
|
lazyType._debugInfo = wakeable._debugInfo || [];
|
770
779
|
return lazyType;
|
771
780
|
}
|
772
|
-
function callWithDebugContextInDEV(task, callback, arg) {
|
781
|
+
function callWithDebugContextInDEV(request, task, callback, arg) {
|
773
782
|
currentOwner = { env: task.environmentName, owner: task.debugOwner };
|
774
783
|
try {
|
775
784
|
return callback(arg);
|
@@ -838,7 +847,7 @@
|
|
838
847
|
Object.prototype.toString.call(Component) &&
|
839
848
|
"[object Generator]" ===
|
840
849
|
Object.prototype.toString.call(iterableChild)) ||
|
841
|
-
callWithDebugContextInDEV(task, function () {
|
850
|
+
callWithDebugContextInDEV(request, task, function () {
|
842
851
|
console.error(
|
843
852
|
"Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. "
|
844
853
|
);
|
@@ -861,7 +870,7 @@
|
|
861
870
|
Object.prototype.toString.call(Component) &&
|
862
871
|
"[object AsyncGenerator]" ===
|
863
872
|
Object.prototype.toString.call(_iterableChild)) ||
|
864
|
-
callWithDebugContextInDEV(task, function () {
|
873
|
+
callWithDebugContextInDEV(request, task, function () {
|
865
874
|
console.error(
|
866
875
|
"Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. "
|
867
876
|
);
|
@@ -877,10 +886,10 @@
|
|
877
886
|
? (task.keyPath =
|
878
887
|
null === prevThenableState ? key : prevThenableState + "," + key)
|
879
888
|
: null === prevThenableState && (task.implicitSlot = !0);
|
880
|
-
|
889
|
+
key = renderModelDestructive(request, task, emptyRoot, "", props);
|
881
890
|
task.keyPath = prevThenableState;
|
882
891
|
task.implicitSlot = componentDebugID;
|
883
|
-
return
|
892
|
+
return key;
|
884
893
|
}
|
885
894
|
function renderFragment(request, task, children) {
|
886
895
|
for (var i = 0; i < children.length; i++) {
|
@@ -1039,7 +1048,7 @@
|
|
1039
1048
|
"object" !== typeof originalValue ||
|
1040
1049
|
originalValue === value ||
|
1041
1050
|
originalValue instanceof Date ||
|
1042
|
-
callWithDebugContextInDEV(task, function () {
|
1051
|
+
callWithDebugContextInDEV(request, task, function () {
|
1043
1052
|
"Object" !== objectName(originalValue)
|
1044
1053
|
? "string" === typeof jsxChildrenParents.get(parent)
|
1045
1054
|
? console.error(
|
@@ -1464,10 +1473,11 @@
|
|
1464
1473
|
elementReference = value[ASYNC_ITERATOR];
|
1465
1474
|
if ("function" === typeof elementReference)
|
1466
1475
|
return renderAsyncFragment(request, task, value, elementReference);
|
1467
|
-
|
1476
|
+
elementReference = getPrototypeOf(value);
|
1468
1477
|
if (
|
1469
|
-
|
1470
|
-
(null ===
|
1478
|
+
elementReference !== ObjectPrototype &&
|
1479
|
+
(null === elementReference ||
|
1480
|
+
null !== getPrototypeOf(elementReference))
|
1471
1481
|
)
|
1472
1482
|
throw Error(
|
1473
1483
|
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
@@ -1485,7 +1495,7 @@
|
|
1485
1495
|
)
|
1486
1496
|
return { name: value.name, env: value.env, owner: value.owner };
|
1487
1497
|
if ("Object" !== objectName(value))
|
1488
|
-
callWithDebugContextInDEV(task, function () {
|
1498
|
+
callWithDebugContextInDEV(request, task, function () {
|
1489
1499
|
console.error(
|
1490
1500
|
"Only plain objects can be passed to Client Components from Server Components. %s objects are not supported.%s",
|
1491
1501
|
objectName(value),
|
@@ -1493,7 +1503,7 @@
|
|
1493
1503
|
);
|
1494
1504
|
});
|
1495
1505
|
else if (!isSimpleObject(value))
|
1496
|
-
callWithDebugContextInDEV(task, function () {
|
1506
|
+
callWithDebugContextInDEV(request, task, function () {
|
1497
1507
|
console.error(
|
1498
1508
|
"Only plain objects can be passed to Client Components from Server Components. Classes or other objects with methods are not supported.%s",
|
1499
1509
|
describeObjectForErrorMessage(parent, parentPropertyName)
|
@@ -1502,7 +1512,7 @@
|
|
1502
1512
|
else if (Object.getOwnPropertySymbols) {
|
1503
1513
|
var symbols = Object.getOwnPropertySymbols(value);
|
1504
1514
|
0 < symbols.length &&
|
1505
|
-
callWithDebugContextInDEV(task, function () {
|
1515
|
+
callWithDebugContextInDEV(request, task, function () {
|
1506
1516
|
console.error(
|
1507
1517
|
"Only plain objects can be passed to Client Components from Server Components. Objects with symbol properties like %s are not supported.%s",
|
1508
1518
|
symbols[0].description,
|
@@ -1607,11 +1617,12 @@
|
|
1607
1617
|
? requestStorage.run(
|
1608
1618
|
void 0,
|
1609
1619
|
callWithDebugContextInDEV,
|
1620
|
+
request,
|
1610
1621
|
task,
|
1611
1622
|
onError,
|
1612
1623
|
error
|
1613
1624
|
)
|
1614
|
-
: callWithDebugContextInDEV(task, onError, error)
|
1625
|
+
: callWithDebugContextInDEV(request, task, onError, error)
|
1615
1626
|
: supportsRequestStorage
|
1616
1627
|
? requestStorage.run(void 0, onError, error)
|
1617
1628
|
: onError(error);
|
@@ -1637,6 +1648,7 @@
|
|
1637
1648
|
try {
|
1638
1649
|
if (error instanceof Error) {
|
1639
1650
|
var message = String(error.message);
|
1651
|
+
var filterStackFrame = request.filterStackFrame;
|
1640
1652
|
a: {
|
1641
1653
|
var previousPrepare = Error.prepareStackTrace;
|
1642
1654
|
Error.prepareStackTrace = prepareStackTrace;
|
@@ -1674,16 +1686,21 @@
|
|
1674
1686
|
]);
|
1675
1687
|
}
|
1676
1688
|
}
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1689
|
+
for (frames = 0; frames < stack.length; frames++) {
|
1690
|
+
var callsite = stack[frames],
|
1691
|
+
functionName = callsite[0],
|
1680
1692
|
url = callsite[1];
|
1681
1693
|
if (url.startsWith("rsc://React/")) {
|
1682
|
-
var
|
1683
|
-
|
1694
|
+
var envIdx = url.indexOf("/", 12),
|
1695
|
+
suffixIdx = url.lastIndexOf("?");
|
1696
|
+
-1 < envIdx &&
|
1697
|
+
-1 < suffixIdx &&
|
1698
|
+
(url = callsite[1] = url.slice(envIdx + 1, suffixIdx));
|
1684
1699
|
}
|
1700
|
+
filterStackFrame(url, functionName) ||
|
1701
|
+
(stack.splice(frames, 1), frames--);
|
1685
1702
|
}
|
1686
|
-
var stack$jscomp$
|
1703
|
+
var stack$jscomp$0 = stack;
|
1687
1704
|
var errorEnv = error.environmentName;
|
1688
1705
|
"string" === typeof errorEnv && (env = errorEnv);
|
1689
1706
|
} else
|
@@ -1691,14 +1708,16 @@
|
|
1691
1708
|
"object" === typeof error && null !== error
|
1692
1709
|
? describeObjectForErrorMessage(error)
|
1693
1710
|
: String(error)),
|
1694
|
-
(stack$jscomp$
|
1711
|
+
(stack$jscomp$0 = []);
|
1695
1712
|
} catch (x) {
|
1696
|
-
message =
|
1713
|
+
(message =
|
1714
|
+
"An error occurred but serializing the error message failed."),
|
1715
|
+
(stack$jscomp$0 = []);
|
1697
1716
|
}
|
1698
1717
|
digest = {
|
1699
1718
|
digest: digest,
|
1700
1719
|
message: message,
|
1701
|
-
stack: stack$jscomp$
|
1720
|
+
stack: stack$jscomp$0,
|
1702
1721
|
env: env
|
1703
1722
|
};
|
1704
1723
|
id = id.toString(16) + ":E" + stringify(digest) + "\n";
|
@@ -3333,7 +3352,6 @@
|
|
3333
3352
|
jsxPropsParents = new WeakMap(),
|
3334
3353
|
jsxChildrenParents = new WeakMap(),
|
3335
3354
|
CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
|
3336
|
-
externalRegExp = /\/node_modules\/|^node:|^$/,
|
3337
3355
|
ObjectPrototype = Object.prototype,
|
3338
3356
|
stringify = JSON.stringify,
|
3339
3357
|
AbortSigil = {},
|
@@ -3463,8 +3481,9 @@
|
|
3463
3481
|
options ? options.onError : void 0,
|
3464
3482
|
options ? options.identifierPrefix : void 0,
|
3465
3483
|
options ? options.onPostpone : void 0,
|
3484
|
+
options ? options.temporaryReferences : void 0,
|
3466
3485
|
options ? options.environmentName : void 0,
|
3467
|
-
options ? options.
|
3486
|
+
options ? options.filterStackFrame : void 0
|
3468
3487
|
);
|
3469
3488
|
if (options && options.signal) {
|
3470
3489
|
var signal = options.signal;
|
@@ -710,7 +710,6 @@ function RequestInstance(
|
|
710
710
|
onError,
|
711
711
|
identifierPrefix,
|
712
712
|
onPostpone,
|
713
|
-
environmentName,
|
714
713
|
temporaryReferences
|
715
714
|
) {
|
716
715
|
if (
|
@@ -719,9 +718,9 @@ function RequestInstance(
|
|
719
718
|
)
|
720
719
|
throw Error("Currently React only supports one RSC renderer at a time.");
|
721
720
|
ReactSharedInternalsServer.A = DefaultAsyncDispatcher;
|
722
|
-
var abortSet = new Set()
|
723
|
-
|
724
|
-
|
721
|
+
var abortSet = new Set(),
|
722
|
+
pingedTasks = [],
|
723
|
+
hints = new Set();
|
725
724
|
this.status = 0;
|
726
725
|
this.flushScheduled = !1;
|
727
726
|
this.destination = this.fatalError = null;
|
@@ -731,7 +730,7 @@ function RequestInstance(
|
|
731
730
|
this.hints = hints;
|
732
731
|
this.abortListeners = new Set();
|
733
732
|
this.abortableTasks = abortSet;
|
734
|
-
this.pingedTasks =
|
733
|
+
this.pingedTasks = pingedTasks;
|
735
734
|
this.completedImportChunks = [];
|
736
735
|
this.completedHintChunks = [];
|
737
736
|
this.completedRegularChunks = [];
|
@@ -747,7 +746,7 @@ function RequestInstance(
|
|
747
746
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
748
747
|
this.onPostpone = void 0 === onPostpone ? defaultPostponeHandler : onPostpone;
|
749
748
|
model = createTask(this, model, null, !1, abortSet);
|
750
|
-
|
749
|
+
pingedTasks.push(model);
|
751
750
|
}
|
752
751
|
var currentRequest = null;
|
753
752
|
function resolveRequest() {
|
@@ -2657,7 +2656,6 @@ exports.renderToReadableStream = function (model, webpackMap, options) {
|
|
2657
2656
|
options ? options.onError : void 0,
|
2658
2657
|
options ? options.identifierPrefix : void 0,
|
2659
2658
|
options ? options.onPostpone : void 0,
|
2660
|
-
options ? options.environmentName : void 0,
|
2661
2659
|
options ? options.temporaryReferences : void 0
|
2662
2660
|
);
|
2663
2661
|
if (options && options.signal) {
|