react-server-dom-webpack 19.0.0-rc-76002254-20240724 → 19.0.0-rc-14a4699f-20240725
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 +31 -9
- package/cjs/react-server-dom-webpack-client.edge.development.js +35 -9
- package/cjs/react-server-dom-webpack-client.node.development.js +35 -9
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +35 -9
- 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
@@ -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) {
|
@@ -495,8 +495,12 @@
|
|
495
495
|
"\n " + objKind + "\n " + objectOrArray)
|
496
496
|
: "\n " + objKind;
|
497
497
|
}
|
498
|
-
function
|
499
|
-
return
|
498
|
+
function defaultFilterStackFrame(filename) {
|
499
|
+
return (
|
500
|
+
"" !== filename &&
|
501
|
+
!filename.startsWith("node:") &&
|
502
|
+
!filename.includes("node_modules")
|
503
|
+
);
|
500
504
|
}
|
501
505
|
function getCurrentStackInDEV() {
|
502
506
|
return "";
|
@@ -511,8 +515,9 @@
|
|
511
515
|
onError,
|
512
516
|
identifierPrefix,
|
513
517
|
onPostpone,
|
518
|
+
temporaryReferences,
|
514
519
|
environmentName,
|
515
|
-
|
520
|
+
filterStackFrame
|
516
521
|
) {
|
517
522
|
if (
|
518
523
|
null !== ReactSharedInternalsServer.A &&
|
@@ -561,6 +566,10 @@
|
|
561
566
|
return environmentName;
|
562
567
|
}
|
563
568
|
: environmentName;
|
569
|
+
this.filterStackFrame =
|
570
|
+
void 0 === filterStackFrame
|
571
|
+
? defaultFilterStackFrame
|
572
|
+
: filterStackFrame;
|
564
573
|
this.didWarnForKey = null;
|
565
574
|
model = createTask(this, model, null, !1, abortSet, null);
|
566
575
|
pingedTasks.push(model);
|
@@ -792,7 +801,7 @@
|
|
792
801
|
lazyType._debugInfo = wakeable._debugInfo || [];
|
793
802
|
return lazyType;
|
794
803
|
}
|
795
|
-
function callWithDebugContextInDEV(task, callback, arg) {
|
804
|
+
function callWithDebugContextInDEV(request, task, callback, arg) {
|
796
805
|
currentOwner = { env: task.environmentName, owner: task.debugOwner };
|
797
806
|
try {
|
798
807
|
return callback(arg);
|
@@ -859,7 +868,7 @@
|
|
859
868
|
Object.prototype.toString.call(Component) &&
|
860
869
|
"[object Generator]" ===
|
861
870
|
Object.prototype.toString.call(iterableChild)) ||
|
862
|
-
callWithDebugContextInDEV(task, function () {
|
871
|
+
callWithDebugContextInDEV(request, task, function () {
|
863
872
|
console.error(
|
864
873
|
"Returning an Iterator from a Server Component is not supported since it cannot be looped over more than once. "
|
865
874
|
);
|
@@ -882,7 +891,7 @@
|
|
882
891
|
Object.prototype.toString.call(Component) &&
|
883
892
|
"[object AsyncGenerator]" ===
|
884
893
|
Object.prototype.toString.call(_iterableChild)) ||
|
885
|
-
callWithDebugContextInDEV(task, function () {
|
894
|
+
callWithDebugContextInDEV(request, task, function () {
|
886
895
|
console.error(
|
887
896
|
"Returning an AsyncIterator from a Server Component is not supported since it cannot be looped over more than once. "
|
888
897
|
);
|
@@ -898,10 +907,10 @@
|
|
898
907
|
? (task.keyPath =
|
899
908
|
null === prevThenableState ? key : prevThenableState + "," + key)
|
900
909
|
: null === prevThenableState && (task.implicitSlot = !0);
|
901
|
-
|
910
|
+
key = renderModelDestructive(request, task, emptyRoot, "", props);
|
902
911
|
task.keyPath = prevThenableState;
|
903
912
|
task.implicitSlot = componentDebugID;
|
904
|
-
return
|
913
|
+
return key;
|
905
914
|
}
|
906
915
|
function renderFragment(request, task, children) {
|
907
916
|
for (var i = 0; i < children.length; i++) {
|
@@ -1060,7 +1069,7 @@
|
|
1060
1069
|
"object" !== typeof originalValue ||
|
1061
1070
|
originalValue === value ||
|
1062
1071
|
originalValue instanceof Date ||
|
1063
|
-
callWithDebugContextInDEV(task, function () {
|
1072
|
+
callWithDebugContextInDEV(request, task, function () {
|
1064
1073
|
"Object" !== objectName(originalValue)
|
1065
1074
|
? "string" === typeof jsxChildrenParents.get(parent)
|
1066
1075
|
? console.error(
|
@@ -1483,10 +1492,11 @@
|
|
1483
1492
|
elementReference = value[ASYNC_ITERATOR];
|
1484
1493
|
if ("function" === typeof elementReference)
|
1485
1494
|
return renderAsyncFragment(request, task, value, elementReference);
|
1486
|
-
|
1495
|
+
elementReference = getPrototypeOf(value);
|
1487
1496
|
if (
|
1488
|
-
|
1489
|
-
(null ===
|
1497
|
+
elementReference !== ObjectPrototype &&
|
1498
|
+
(null === elementReference ||
|
1499
|
+
null !== getPrototypeOf(elementReference))
|
1490
1500
|
)
|
1491
1501
|
throw Error(
|
1492
1502
|
"Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported." +
|
@@ -1504,7 +1514,7 @@
|
|
1504
1514
|
)
|
1505
1515
|
return { name: value.name, env: value.env, owner: value.owner };
|
1506
1516
|
if ("Object" !== objectName(value))
|
1507
|
-
callWithDebugContextInDEV(task, function () {
|
1517
|
+
callWithDebugContextInDEV(request, task, function () {
|
1508
1518
|
console.error(
|
1509
1519
|
"Only plain objects can be passed to Client Components from Server Components. %s objects are not supported.%s",
|
1510
1520
|
objectName(value),
|
@@ -1512,7 +1522,7 @@
|
|
1512
1522
|
);
|
1513
1523
|
});
|
1514
1524
|
else if (!isSimpleObject(value))
|
1515
|
-
callWithDebugContextInDEV(task, function () {
|
1525
|
+
callWithDebugContextInDEV(request, task, function () {
|
1516
1526
|
console.error(
|
1517
1527
|
"Only plain objects can be passed to Client Components from Server Components. Classes or other objects with methods are not supported.%s",
|
1518
1528
|
describeObjectForErrorMessage(parent, parentPropertyName)
|
@@ -1521,7 +1531,7 @@
|
|
1521
1531
|
else if (Object.getOwnPropertySymbols) {
|
1522
1532
|
var symbols = Object.getOwnPropertySymbols(value);
|
1523
1533
|
0 < symbols.length &&
|
1524
|
-
callWithDebugContextInDEV(task, function () {
|
1534
|
+
callWithDebugContextInDEV(request, task, function () {
|
1525
1535
|
console.error(
|
1526
1536
|
"Only plain objects can be passed to Client Components from Server Components. Objects with symbol properties like %s are not supported.%s",
|
1527
1537
|
symbols[0].description,
|
@@ -1625,6 +1635,7 @@
|
|
1625
1635
|
? requestStorage.run(
|
1626
1636
|
void 0,
|
1627
1637
|
callWithDebugContextInDEV,
|
1638
|
+
request,
|
1628
1639
|
task,
|
1629
1640
|
onError,
|
1630
1641
|
error
|
@@ -1651,6 +1662,7 @@
|
|
1651
1662
|
try {
|
1652
1663
|
if (error instanceof Error) {
|
1653
1664
|
var message = String(error.message);
|
1665
|
+
var filterStackFrame = request.filterStackFrame;
|
1654
1666
|
a: {
|
1655
1667
|
var previousPrepare = Error.prepareStackTrace;
|
1656
1668
|
Error.prepareStackTrace = prepareStackTrace;
|
@@ -1688,16 +1700,21 @@
|
|
1688
1700
|
]);
|
1689
1701
|
}
|
1690
1702
|
}
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1703
|
+
for (frames = 0; frames < stack.length; frames++) {
|
1704
|
+
var callsite = stack[frames],
|
1705
|
+
functionName = callsite[0],
|
1694
1706
|
url = callsite[1];
|
1695
1707
|
if (url.startsWith("rsc://React/")) {
|
1696
|
-
var
|
1697
|
-
|
1708
|
+
var envIdx = url.indexOf("/", 12),
|
1709
|
+
suffixIdx = url.lastIndexOf("?");
|
1710
|
+
-1 < envIdx &&
|
1711
|
+
-1 < suffixIdx &&
|
1712
|
+
(url = callsite[1] = url.slice(envIdx + 1, suffixIdx));
|
1698
1713
|
}
|
1714
|
+
filterStackFrame(url, functionName) ||
|
1715
|
+
(stack.splice(frames, 1), frames--);
|
1699
1716
|
}
|
1700
|
-
var stack$jscomp$
|
1717
|
+
var stack$jscomp$0 = stack;
|
1701
1718
|
var errorEnv = error.environmentName;
|
1702
1719
|
"string" === typeof errorEnv && (env = errorEnv);
|
1703
1720
|
} else
|
@@ -1705,14 +1722,16 @@
|
|
1705
1722
|
"object" === typeof error && null !== error
|
1706
1723
|
? describeObjectForErrorMessage(error)
|
1707
1724
|
: String(error)),
|
1708
|
-
(stack$jscomp$
|
1725
|
+
(stack$jscomp$0 = []);
|
1709
1726
|
} catch (x) {
|
1710
|
-
message =
|
1727
|
+
(message =
|
1728
|
+
"An error occurred but serializing the error message failed."),
|
1729
|
+
(stack$jscomp$0 = []);
|
1711
1730
|
}
|
1712
1731
|
digest = {
|
1713
1732
|
digest: digest,
|
1714
1733
|
message: message,
|
1715
|
-
stack: stack$jscomp$
|
1734
|
+
stack: stack$jscomp$0,
|
1716
1735
|
env: env
|
1717
1736
|
};
|
1718
1737
|
id = id.toString(16) + ":E" + stringify(digest) + "\n";
|
@@ -3350,7 +3369,6 @@
|
|
3350
3369
|
jsxPropsParents = new WeakMap(),
|
3351
3370
|
jsxChildrenParents = new WeakMap(),
|
3352
3371
|
CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
|
3353
|
-
externalRegExp = /\/node_modules\/|^node:|^$/,
|
3354
3372
|
ObjectPrototype = Object.prototype,
|
3355
3373
|
stringify = JSON.stringify,
|
3356
3374
|
AbortSigil = {},
|
@@ -3534,8 +3552,9 @@
|
|
3534
3552
|
options ? options.onError : void 0,
|
3535
3553
|
options ? options.identifierPrefix : void 0,
|
3536
3554
|
options ? options.onPostpone : void 0,
|
3555
|
+
options ? options.temporaryReferences : void 0,
|
3537
3556
|
options ? options.environmentName : void 0,
|
3538
|
-
options ? options.
|
3557
|
+
options ? options.filterStackFrame : void 0
|
3539
3558
|
),
|
3540
3559
|
hasStartedFlowing = !1;
|
3541
3560
|
startWork(request);
|
@@ -729,7 +729,6 @@ function RequestInstance(
|
|
729
729
|
onError,
|
730
730
|
identifierPrefix,
|
731
731
|
onPostpone,
|
732
|
-
environmentName,
|
733
732
|
temporaryReferences
|
734
733
|
) {
|
735
734
|
if (
|
@@ -738,9 +737,9 @@ function RequestInstance(
|
|
738
737
|
)
|
739
738
|
throw Error("Currently React only supports one RSC renderer at a time.");
|
740
739
|
ReactSharedInternalsServer.A = DefaultAsyncDispatcher;
|
741
|
-
var abortSet = new Set()
|
742
|
-
|
743
|
-
|
740
|
+
var abortSet = new Set(),
|
741
|
+
pingedTasks = [],
|
742
|
+
hints = new Set();
|
744
743
|
this.status = 0;
|
745
744
|
this.flushScheduled = !1;
|
746
745
|
this.destination = this.fatalError = null;
|
@@ -750,7 +749,7 @@ function RequestInstance(
|
|
750
749
|
this.hints = hints;
|
751
750
|
this.abortListeners = new Set();
|
752
751
|
this.abortableTasks = abortSet;
|
753
|
-
this.pingedTasks =
|
752
|
+
this.pingedTasks = pingedTasks;
|
754
753
|
this.completedImportChunks = [];
|
755
754
|
this.completedHintChunks = [];
|
756
755
|
this.completedRegularChunks = [];
|
@@ -766,7 +765,7 @@ function RequestInstance(
|
|
766
765
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
767
766
|
this.onPostpone = void 0 === onPostpone ? defaultPostponeHandler : onPostpone;
|
768
767
|
model = createTask(this, model, null, !1, abortSet);
|
769
|
-
|
768
|
+
pingedTasks.push(model);
|
770
769
|
}
|
771
770
|
var currentRequest = null;
|
772
771
|
function resolveRequest() {
|
@@ -2704,12 +2703,12 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
|
|
2704
2703
|
"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."
|
2705
2704
|
);
|
2706
2705
|
pendingFiles++;
|
2707
|
-
var
|
2706
|
+
var JSCompiler_object_inline_chunks_211 = [];
|
2708
2707
|
value.on("data", function (chunk) {
|
2709
|
-
|
2708
|
+
JSCompiler_object_inline_chunks_211.push(chunk);
|
2710
2709
|
});
|
2711
2710
|
value.on("end", function () {
|
2712
|
-
var blob = new Blob(
|
2711
|
+
var blob = new Blob(JSCompiler_object_inline_chunks_211, {
|
2713
2712
|
type: mimeType
|
2714
2713
|
});
|
2715
2714
|
response._formData.append(name, blob, filename);
|
@@ -2758,7 +2757,6 @@ exports.renderToPipeableStream = function (model, webpackMap, options) {
|
|
2758
2757
|
options ? options.onError : void 0,
|
2759
2758
|
options ? options.identifierPrefix : void 0,
|
2760
2759
|
options ? options.onPostpone : void 0,
|
2761
|
-
options ? options.environmentName : void 0,
|
2762
2760
|
options ? options.temporaryReferences : void 0
|
2763
2761
|
),
|
2764
2762
|
hasStartedFlowing = !1;
|