react-dom 19.2.0-canary-12bc60f5-20250613 → 19.2.0-canary-79d9aed7-20250620
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-dom-client.development.js +12 -15
- package/cjs/react-dom-client.production.js +8 -5
- package/cjs/react-dom-profiling.development.js +12 -15
- package/cjs/react-dom-profiling.profiling.js +8 -5
- package/cjs/react-dom-server-legacy.browser.development.js +22 -14
- package/cjs/react-dom-server-legacy.browser.production.js +19 -10
- package/cjs/react-dom-server-legacy.node.development.js +22 -14
- package/cjs/react-dom-server-legacy.node.production.js +19 -10
- package/cjs/react-dom-server.browser.development.js +24 -16
- package/cjs/react-dom-server.browser.production.js +21 -12
- package/cjs/react-dom-server.bun.development.js +24 -12
- package/cjs/react-dom-server.bun.production.js +21 -12
- package/cjs/react-dom-server.edge.development.js +24 -16
- package/cjs/react-dom-server.edge.production.js +21 -12
- package/cjs/react-dom-server.node.development.js +24 -16
- package/cjs/react-dom-server.node.production.js +21 -12
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
|
@@ -6334,7 +6334,12 @@
|
|
|
6334
6334
|
null !== x &&
|
|
6335
6335
|
(x === SuspenseException || "function" === typeof x.then)
|
|
6336
6336
|
)
|
|
6337
|
-
throw (
|
|
6337
|
+
throw (
|
|
6338
|
+
(task.node === keyOrIndex
|
|
6339
|
+
? (task.replay = replay)
|
|
6340
|
+
: childIndex.splice(i, 1),
|
|
6341
|
+
x)
|
|
6342
|
+
);
|
|
6338
6343
|
task.replay.pendingTasks--;
|
|
6339
6344
|
type = getThrownInfo(task.componentStack);
|
|
6340
6345
|
props = request;
|
|
@@ -6888,7 +6893,8 @@
|
|
|
6888
6893
|
previousComponentStack = task.componentStack,
|
|
6889
6894
|
previousDebugTask = task.debugTask,
|
|
6890
6895
|
segment = task.blockedSegment;
|
|
6891
|
-
if (null === segment)
|
|
6896
|
+
if (null === segment) {
|
|
6897
|
+
segment = task.replay;
|
|
6892
6898
|
try {
|
|
6893
6899
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
6894
6900
|
} catch (thrownValue) {
|
|
@@ -6913,6 +6919,7 @@
|
|
|
6913
6919
|
task.keyPath = previousKeyPath;
|
|
6914
6920
|
task.treeContext = previousTreeContext;
|
|
6915
6921
|
task.componentStack = previousComponentStack;
|
|
6922
|
+
task.replay = segment;
|
|
6916
6923
|
task.debugTask = previousDebugTask;
|
|
6917
6924
|
switchContext(previousContext);
|
|
6918
6925
|
return;
|
|
@@ -6926,13 +6933,14 @@
|
|
|
6926
6933
|
task.keyPath = previousKeyPath;
|
|
6927
6934
|
task.treeContext = previousTreeContext;
|
|
6928
6935
|
task.componentStack = previousComponentStack;
|
|
6936
|
+
task.replay = segment;
|
|
6929
6937
|
task.debugTask = previousDebugTask;
|
|
6930
6938
|
switchContext(previousContext);
|
|
6931
6939
|
return;
|
|
6932
6940
|
}
|
|
6933
6941
|
}
|
|
6934
6942
|
}
|
|
6935
|
-
else {
|
|
6943
|
+
} else {
|
|
6936
6944
|
var childrenLength = segment.children.length,
|
|
6937
6945
|
chunkLength = segment.chunks.length;
|
|
6938
6946
|
try {
|
|
@@ -6949,13 +6957,10 @@
|
|
|
6949
6957
|
"object" === typeof node && null !== node)
|
|
6950
6958
|
) {
|
|
6951
6959
|
if ("function" === typeof node.then) {
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
childIndex
|
|
6957
|
-
).ping;
|
|
6958
|
-
node.then(request, request);
|
|
6960
|
+
segment = node;
|
|
6961
|
+
node = getThenableStateAfterSuspending();
|
|
6962
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6963
|
+
segment.then(request, request);
|
|
6959
6964
|
task.formatContext = previousFormatContext;
|
|
6960
6965
|
task.context = previousContext;
|
|
6961
6966
|
task.keyPath = previousKeyPath;
|
|
@@ -6966,9 +6971,9 @@
|
|
|
6966
6971
|
return;
|
|
6967
6972
|
}
|
|
6968
6973
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
request.pingedTasks.push(
|
|
6974
|
+
segment = getThenableStateAfterSuspending();
|
|
6975
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
6976
|
+
request.pingedTasks.push(segment);
|
|
6972
6977
|
task.formatContext = previousFormatContext;
|
|
6973
6978
|
task.context = previousContext;
|
|
6974
6979
|
task.keyPath = previousKeyPath;
|
|
@@ -8412,11 +8417,11 @@
|
|
|
8412
8417
|
}
|
|
8413
8418
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8414
8419
|
var isomorphicReactPackageVersion = React.version;
|
|
8415
|
-
if ("19.2.0-canary-
|
|
8420
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
8416
8421
|
throw Error(
|
|
8417
8422
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8418
8423
|
(isomorphicReactPackageVersion +
|
|
8419
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8424
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8420
8425
|
);
|
|
8421
8426
|
}
|
|
8422
8427
|
var React = require("react"),
|
|
@@ -9886,6 +9891,9 @@
|
|
|
9886
9891
|
getCacheForType: function () {
|
|
9887
9892
|
throw Error("Not implemented.");
|
|
9888
9893
|
},
|
|
9894
|
+
cacheSignal: function () {
|
|
9895
|
+
throw Error("Not implemented.");
|
|
9896
|
+
},
|
|
9889
9897
|
getOwner: function () {
|
|
9890
9898
|
return null === currentTaskInDEV
|
|
9891
9899
|
? null
|
|
@@ -10103,5 +10111,5 @@
|
|
|
10103
10111
|
startWork(request);
|
|
10104
10112
|
});
|
|
10105
10113
|
};
|
|
10106
|
-
exports.version = "19.2.0-canary-
|
|
10114
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
10107
10115
|
})();
|
|
@@ -3782,6 +3782,9 @@ var HooksDispatcher = {
|
|
|
3782
3782
|
DefaultAsyncDispatcher = {
|
|
3783
3783
|
getCacheForType: function () {
|
|
3784
3784
|
throw Error(formatProdErrorMessage(248));
|
|
3785
|
+
},
|
|
3786
|
+
cacheSignal: function () {
|
|
3787
|
+
throw Error(formatProdErrorMessage(248));
|
|
3785
3788
|
}
|
|
3786
3789
|
},
|
|
3787
3790
|
prefix,
|
|
@@ -5220,7 +5223,9 @@ function retryNode(request, task) {
|
|
|
5220
5223
|
"function" === typeof x.then)
|
|
5221
5224
|
)
|
|
5222
5225
|
throw (
|
|
5223
|
-
(task.node === keyOrIndex
|
|
5226
|
+
(task.node === keyOrIndex
|
|
5227
|
+
? (task.replay = replay)
|
|
5228
|
+
: childIndex.splice(node, 1),
|
|
5224
5229
|
x)
|
|
5225
5230
|
);
|
|
5226
5231
|
task.replay.pendingTasks--;
|
|
@@ -5569,7 +5574,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5569
5574
|
previousTreeContext = task.treeContext,
|
|
5570
5575
|
previousComponentStack = task.componentStack,
|
|
5571
5576
|
segment = task.blockedSegment;
|
|
5572
|
-
if (null === segment)
|
|
5577
|
+
if (null === segment) {
|
|
5578
|
+
segment = task.replay;
|
|
5573
5579
|
try {
|
|
5574
5580
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5575
5581
|
} catch (thrownValue) {
|
|
@@ -5590,6 +5596,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5590
5596
|
task.keyPath = previousKeyPath;
|
|
5591
5597
|
task.treeContext = previousTreeContext;
|
|
5592
5598
|
task.componentStack = previousComponentStack;
|
|
5599
|
+
task.replay = segment;
|
|
5593
5600
|
switchContext(previousContext);
|
|
5594
5601
|
return;
|
|
5595
5602
|
}
|
|
@@ -5602,12 +5609,13 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5602
5609
|
task.keyPath = previousKeyPath;
|
|
5603
5610
|
task.treeContext = previousTreeContext;
|
|
5604
5611
|
task.componentStack = previousComponentStack;
|
|
5612
|
+
task.replay = segment;
|
|
5605
5613
|
switchContext(previousContext);
|
|
5606
5614
|
return;
|
|
5607
5615
|
}
|
|
5608
5616
|
}
|
|
5609
5617
|
}
|
|
5610
|
-
else {
|
|
5618
|
+
} else {
|
|
5611
5619
|
var childrenLength = segment.children.length,
|
|
5612
5620
|
chunkLength = segment.chunks.length;
|
|
5613
5621
|
try {
|
|
@@ -5624,9 +5632,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5624
5632
|
"object" === typeof node && null !== node)
|
|
5625
5633
|
) {
|
|
5626
5634
|
if ("function" === typeof node.then) {
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5635
|
+
segment = node;
|
|
5636
|
+
node = getThenableStateAfterSuspending();
|
|
5637
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5638
|
+
segment.then(request, request);
|
|
5630
5639
|
task.formatContext = previousFormatContext;
|
|
5631
5640
|
task.context = previousContext;
|
|
5632
5641
|
task.keyPath = previousKeyPath;
|
|
@@ -5636,9 +5645,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5636
5645
|
return;
|
|
5637
5646
|
}
|
|
5638
5647
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
request.pingedTasks.push(
|
|
5648
|
+
segment = getThenableStateAfterSuspending();
|
|
5649
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5650
|
+
request.pingedTasks.push(segment);
|
|
5642
5651
|
task.formatContext = previousFormatContext;
|
|
5643
5652
|
task.context = previousContext;
|
|
5644
5653
|
task.keyPath = previousKeyPath;
|
|
@@ -6809,12 +6818,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6809
6818
|
}
|
|
6810
6819
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6811
6820
|
var isomorphicReactPackageVersion = React.version;
|
|
6812
|
-
if ("19.2.0-canary-
|
|
6821
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
6813
6822
|
throw Error(
|
|
6814
6823
|
formatProdErrorMessage(
|
|
6815
6824
|
527,
|
|
6816
6825
|
isomorphicReactPackageVersion,
|
|
6817
|
-
"19.2.0-canary-
|
|
6826
|
+
"19.2.0-canary-79d9aed7-20250620"
|
|
6818
6827
|
)
|
|
6819
6828
|
);
|
|
6820
6829
|
}
|
|
@@ -6961,4 +6970,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6961
6970
|
startWork(request);
|
|
6962
6971
|
});
|
|
6963
6972
|
};
|
|
6964
|
-
exports.version = "19.2.0-canary-
|
|
6973
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
@@ -5294,6 +5294,9 @@ var HooksDispatcher = {
|
|
|
5294
5294
|
getCacheForType: function () {
|
|
5295
5295
|
throw Error("Not implemented.");
|
|
5296
5296
|
},
|
|
5297
|
+
cacheSignal: function () {
|
|
5298
|
+
throw Error("Not implemented.");
|
|
5299
|
+
},
|
|
5297
5300
|
getOwner: function () {
|
|
5298
5301
|
return null === currentTaskInDEV ? null : currentTaskInDEV.componentStack;
|
|
5299
5302
|
}
|
|
@@ -7370,7 +7373,12 @@ function replayElement(
|
|
|
7370
7373
|
null !== x &&
|
|
7371
7374
|
(x === SuspenseException || "function" === typeof x.then)
|
|
7372
7375
|
)
|
|
7373
|
-
throw (
|
|
7376
|
+
throw (
|
|
7377
|
+
(task.node === keyOrIndex
|
|
7378
|
+
? (task.replay = replay)
|
|
7379
|
+
: childIndex.splice(i, 1),
|
|
7380
|
+
x)
|
|
7381
|
+
);
|
|
7374
7382
|
task.replay.pendingTasks--;
|
|
7375
7383
|
type = getThrownInfo(task.componentStack);
|
|
7376
7384
|
props = request;
|
|
@@ -7901,7 +7909,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7901
7909
|
previousComponentStack = task.componentStack,
|
|
7902
7910
|
previousDebugTask = task.debugTask,
|
|
7903
7911
|
segment = task.blockedSegment;
|
|
7904
|
-
if (null === segment)
|
|
7912
|
+
if (null === segment) {
|
|
7913
|
+
segment = task.replay;
|
|
7905
7914
|
try {
|
|
7906
7915
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
7907
7916
|
} catch (thrownValue) {
|
|
@@ -7922,6 +7931,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7922
7931
|
task.keyPath = previousKeyPath;
|
|
7923
7932
|
task.treeContext = previousTreeContext;
|
|
7924
7933
|
task.componentStack = previousComponentStack;
|
|
7934
|
+
task.replay = segment;
|
|
7925
7935
|
task.debugTask = previousDebugTask;
|
|
7926
7936
|
switchContext(previousContext);
|
|
7927
7937
|
return;
|
|
@@ -7935,13 +7945,14 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7935
7945
|
task.keyPath = previousKeyPath;
|
|
7936
7946
|
task.treeContext = previousTreeContext;
|
|
7937
7947
|
task.componentStack = previousComponentStack;
|
|
7948
|
+
task.replay = segment;
|
|
7938
7949
|
task.debugTask = previousDebugTask;
|
|
7939
7950
|
switchContext(previousContext);
|
|
7940
7951
|
return;
|
|
7941
7952
|
}
|
|
7942
7953
|
}
|
|
7943
7954
|
}
|
|
7944
|
-
else {
|
|
7955
|
+
} else {
|
|
7945
7956
|
var childrenLength = segment.children.length,
|
|
7946
7957
|
chunkLength = segment.chunks.length;
|
|
7947
7958
|
try {
|
|
@@ -7958,9 +7969,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7958
7969
|
"object" === typeof node && null !== node)
|
|
7959
7970
|
) {
|
|
7960
7971
|
if ("function" === typeof node.then) {
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7972
|
+
segment = node;
|
|
7973
|
+
node = getThenableStateAfterSuspending();
|
|
7974
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
7975
|
+
segment.then(request, request);
|
|
7964
7976
|
task.formatContext = previousFormatContext;
|
|
7965
7977
|
task.context = previousContext;
|
|
7966
7978
|
task.keyPath = previousKeyPath;
|
|
@@ -7971,9 +7983,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7971
7983
|
return;
|
|
7972
7984
|
}
|
|
7973
7985
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
request.pingedTasks.push(
|
|
7986
|
+
segment = getThenableStateAfterSuspending();
|
|
7987
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
7988
|
+
request.pingedTasks.push(segment);
|
|
7977
7989
|
task.formatContext = previousFormatContext;
|
|
7978
7990
|
task.context = previousContext;
|
|
7979
7991
|
task.keyPath = previousKeyPath;
|
|
@@ -9280,13 +9292,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
9280
9292
|
}
|
|
9281
9293
|
var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
|
|
9282
9294
|
if (
|
|
9283
|
-
"19.2.0-canary-
|
|
9295
|
+
"19.2.0-canary-79d9aed7-20250620" !==
|
|
9284
9296
|
isomorphicReactPackageVersion$jscomp$inline_761
|
|
9285
9297
|
)
|
|
9286
9298
|
throw Error(
|
|
9287
9299
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
9288
9300
|
(isomorphicReactPackageVersion$jscomp$inline_761 +
|
|
9289
|
-
"\n - react-dom: 19.2.0-canary-
|
|
9301
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
9290
9302
|
);
|
|
9291
9303
|
exports.renderToReadableStream = function (children, options) {
|
|
9292
9304
|
return new Promise(function (resolve, reject) {
|
|
@@ -9379,4 +9391,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
9379
9391
|
startWork(request$jscomp$0);
|
|
9380
9392
|
});
|
|
9381
9393
|
};
|
|
9382
|
-
exports.version = "19.2.0-canary-
|
|
9394
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
@@ -3426,6 +3426,9 @@ var HooksDispatcher = {
|
|
|
3426
3426
|
DefaultAsyncDispatcher = {
|
|
3427
3427
|
getCacheForType: function () {
|
|
3428
3428
|
throw Error("Not implemented.");
|
|
3429
|
+
},
|
|
3430
|
+
cacheSignal: function () {
|
|
3431
|
+
throw Error("Not implemented.");
|
|
3429
3432
|
}
|
|
3430
3433
|
},
|
|
3431
3434
|
prefix,
|
|
@@ -4849,7 +4852,9 @@ function retryNode(request, task) {
|
|
|
4849
4852
|
"function" === typeof x.then)
|
|
4850
4853
|
)
|
|
4851
4854
|
throw (
|
|
4852
|
-
(task.node === keyOrIndex
|
|
4855
|
+
(task.node === keyOrIndex
|
|
4856
|
+
? (task.replay = replay)
|
|
4857
|
+
: childIndex.splice(node, 1),
|
|
4853
4858
|
x)
|
|
4854
4859
|
);
|
|
4855
4860
|
task.replay.pendingTasks--;
|
|
@@ -5201,7 +5206,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5201
5206
|
previousTreeContext = task.treeContext,
|
|
5202
5207
|
previousComponentStack = task.componentStack,
|
|
5203
5208
|
segment = task.blockedSegment;
|
|
5204
|
-
if (null === segment)
|
|
5209
|
+
if (null === segment) {
|
|
5210
|
+
segment = task.replay;
|
|
5205
5211
|
try {
|
|
5206
5212
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5207
5213
|
} catch (thrownValue) {
|
|
@@ -5222,6 +5228,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5222
5228
|
task.keyPath = previousKeyPath;
|
|
5223
5229
|
task.treeContext = previousTreeContext;
|
|
5224
5230
|
task.componentStack = previousComponentStack;
|
|
5231
|
+
task.replay = segment;
|
|
5225
5232
|
switchContext(previousContext);
|
|
5226
5233
|
return;
|
|
5227
5234
|
}
|
|
@@ -5234,12 +5241,13 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5234
5241
|
task.keyPath = previousKeyPath;
|
|
5235
5242
|
task.treeContext = previousTreeContext;
|
|
5236
5243
|
task.componentStack = previousComponentStack;
|
|
5244
|
+
task.replay = segment;
|
|
5237
5245
|
switchContext(previousContext);
|
|
5238
5246
|
return;
|
|
5239
5247
|
}
|
|
5240
5248
|
}
|
|
5241
5249
|
}
|
|
5242
|
-
else {
|
|
5250
|
+
} else {
|
|
5243
5251
|
var childrenLength = segment.children.length,
|
|
5244
5252
|
chunkLength = segment.chunks.length;
|
|
5245
5253
|
try {
|
|
@@ -5256,9 +5264,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5256
5264
|
"object" === typeof node && null !== node)
|
|
5257
5265
|
) {
|
|
5258
5266
|
if ("function" === typeof node.then) {
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5267
|
+
segment = node;
|
|
5268
|
+
node = getThenableStateAfterSuspending();
|
|
5269
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5270
|
+
segment.then(request, request);
|
|
5262
5271
|
task.formatContext = previousFormatContext;
|
|
5263
5272
|
task.context = previousContext;
|
|
5264
5273
|
task.keyPath = previousKeyPath;
|
|
@@ -5268,9 +5277,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5268
5277
|
return;
|
|
5269
5278
|
}
|
|
5270
5279
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
request.pingedTasks.push(
|
|
5280
|
+
segment = getThenableStateAfterSuspending();
|
|
5281
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5282
|
+
request.pingedTasks.push(segment);
|
|
5274
5283
|
task.formatContext = previousFormatContext;
|
|
5275
5284
|
task.context = previousContext;
|
|
5276
5285
|
task.keyPath = previousKeyPath;
|
|
@@ -6454,13 +6463,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6454
6463
|
}
|
|
6455
6464
|
var isomorphicReactPackageVersion$jscomp$inline_813 = React.version;
|
|
6456
6465
|
if (
|
|
6457
|
-
"19.2.0-canary-
|
|
6466
|
+
"19.2.0-canary-79d9aed7-20250620" !==
|
|
6458
6467
|
isomorphicReactPackageVersion$jscomp$inline_813
|
|
6459
6468
|
)
|
|
6460
6469
|
throw Error(
|
|
6461
6470
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6462
6471
|
(isomorphicReactPackageVersion$jscomp$inline_813 +
|
|
6463
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6472
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6464
6473
|
);
|
|
6465
6474
|
exports.renderToReadableStream = function (children, options) {
|
|
6466
6475
|
return new Promise(function (resolve, reject) {
|
|
@@ -6551,4 +6560,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
6551
6560
|
startWork(request);
|
|
6552
6561
|
});
|
|
6553
6562
|
};
|
|
6554
|
-
exports.version = "19.2.0-canary-
|
|
6563
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
@@ -6344,7 +6344,12 @@
|
|
|
6344
6344
|
null !== x &&
|
|
6345
6345
|
(x === SuspenseException || "function" === typeof x.then)
|
|
6346
6346
|
)
|
|
6347
|
-
throw (
|
|
6347
|
+
throw (
|
|
6348
|
+
(task.node === keyOrIndex
|
|
6349
|
+
? (task.replay = replay)
|
|
6350
|
+
: childIndex.splice(i, 1),
|
|
6351
|
+
x)
|
|
6352
|
+
);
|
|
6348
6353
|
task.replay.pendingTasks--;
|
|
6349
6354
|
type = getThrownInfo(task.componentStack);
|
|
6350
6355
|
props = request;
|
|
@@ -6898,7 +6903,8 @@
|
|
|
6898
6903
|
previousComponentStack = task.componentStack,
|
|
6899
6904
|
previousDebugTask = task.debugTask,
|
|
6900
6905
|
segment = task.blockedSegment;
|
|
6901
|
-
if (null === segment)
|
|
6906
|
+
if (null === segment) {
|
|
6907
|
+
segment = task.replay;
|
|
6902
6908
|
try {
|
|
6903
6909
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
6904
6910
|
} catch (thrownValue) {
|
|
@@ -6923,6 +6929,7 @@
|
|
|
6923
6929
|
task.keyPath = previousKeyPath;
|
|
6924
6930
|
task.treeContext = previousTreeContext;
|
|
6925
6931
|
task.componentStack = previousComponentStack;
|
|
6932
|
+
task.replay = segment;
|
|
6926
6933
|
task.debugTask = previousDebugTask;
|
|
6927
6934
|
switchContext(previousContext);
|
|
6928
6935
|
return;
|
|
@@ -6936,13 +6943,14 @@
|
|
|
6936
6943
|
task.keyPath = previousKeyPath;
|
|
6937
6944
|
task.treeContext = previousTreeContext;
|
|
6938
6945
|
task.componentStack = previousComponentStack;
|
|
6946
|
+
task.replay = segment;
|
|
6939
6947
|
task.debugTask = previousDebugTask;
|
|
6940
6948
|
switchContext(previousContext);
|
|
6941
6949
|
return;
|
|
6942
6950
|
}
|
|
6943
6951
|
}
|
|
6944
6952
|
}
|
|
6945
|
-
else {
|
|
6953
|
+
} else {
|
|
6946
6954
|
var childrenLength = segment.children.length,
|
|
6947
6955
|
chunkLength = segment.chunks.length;
|
|
6948
6956
|
try {
|
|
@@ -6959,13 +6967,10 @@
|
|
|
6959
6967
|
"object" === typeof node && null !== node)
|
|
6960
6968
|
) {
|
|
6961
6969
|
if ("function" === typeof node.then) {
|
|
6962
|
-
|
|
6963
|
-
|
|
6964
|
-
|
|
6965
|
-
|
|
6966
|
-
childIndex
|
|
6967
|
-
).ping;
|
|
6968
|
-
node.then(request, request);
|
|
6970
|
+
segment = node;
|
|
6971
|
+
node = getThenableStateAfterSuspending();
|
|
6972
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
6973
|
+
segment.then(request, request);
|
|
6969
6974
|
task.formatContext = previousFormatContext;
|
|
6970
6975
|
task.context = previousContext;
|
|
6971
6976
|
task.keyPath = previousKeyPath;
|
|
@@ -6976,9 +6981,9 @@
|
|
|
6976
6981
|
return;
|
|
6977
6982
|
}
|
|
6978
6983
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
request.pingedTasks.push(
|
|
6984
|
+
segment = getThenableStateAfterSuspending();
|
|
6985
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
6986
|
+
request.pingedTasks.push(segment);
|
|
6982
6987
|
task.formatContext = previousFormatContext;
|
|
6983
6988
|
task.context = previousContext;
|
|
6984
6989
|
task.keyPath = previousKeyPath;
|
|
@@ -8435,11 +8440,11 @@
|
|
|
8435
8440
|
}
|
|
8436
8441
|
function ensureCorrectIsomorphicReactVersion() {
|
|
8437
8442
|
var isomorphicReactPackageVersion = React.version;
|
|
8438
|
-
if ("19.2.0-canary-
|
|
8443
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
8439
8444
|
throw Error(
|
|
8440
8445
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
8441
8446
|
(isomorphicReactPackageVersion +
|
|
8442
|
-
"\n - react-dom: 19.2.0-canary-
|
|
8447
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
8443
8448
|
);
|
|
8444
8449
|
}
|
|
8445
8450
|
var React = require("react"),
|
|
@@ -9905,6 +9910,9 @@
|
|
|
9905
9910
|
getCacheForType: function () {
|
|
9906
9911
|
throw Error("Not implemented.");
|
|
9907
9912
|
},
|
|
9913
|
+
cacheSignal: function () {
|
|
9914
|
+
throw Error("Not implemented.");
|
|
9915
|
+
},
|
|
9908
9916
|
getOwner: function () {
|
|
9909
9917
|
return null === currentTaskInDEV
|
|
9910
9918
|
? null
|
|
@@ -10122,5 +10130,5 @@
|
|
|
10122
10130
|
startWork(request);
|
|
10123
10131
|
});
|
|
10124
10132
|
};
|
|
10125
|
-
exports.version = "19.2.0-canary-
|
|
10133
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|
|
10126
10134
|
})();
|
|
@@ -3821,6 +3821,9 @@ var HooksDispatcher = {
|
|
|
3821
3821
|
DefaultAsyncDispatcher = {
|
|
3822
3822
|
getCacheForType: function () {
|
|
3823
3823
|
throw Error("Not implemented.");
|
|
3824
|
+
},
|
|
3825
|
+
cacheSignal: function () {
|
|
3826
|
+
throw Error("Not implemented.");
|
|
3824
3827
|
}
|
|
3825
3828
|
};
|
|
3826
3829
|
function prepareStackTrace(error, structuredStackTrace) {
|
|
@@ -5282,7 +5285,9 @@ function retryNode(request, task) {
|
|
|
5282
5285
|
"function" === typeof x.then)
|
|
5283
5286
|
)
|
|
5284
5287
|
throw (
|
|
5285
|
-
(task.node === keyOrIndex
|
|
5288
|
+
(task.node === keyOrIndex
|
|
5289
|
+
? (task.replay = replay)
|
|
5290
|
+
: childIndex.splice(node, 1),
|
|
5286
5291
|
x)
|
|
5287
5292
|
);
|
|
5288
5293
|
task.replay.pendingTasks--;
|
|
@@ -5634,7 +5639,8 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5634
5639
|
previousTreeContext = task.treeContext,
|
|
5635
5640
|
previousComponentStack = task.componentStack,
|
|
5636
5641
|
segment = task.blockedSegment;
|
|
5637
|
-
if (null === segment)
|
|
5642
|
+
if (null === segment) {
|
|
5643
|
+
segment = task.replay;
|
|
5638
5644
|
try {
|
|
5639
5645
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5640
5646
|
} catch (thrownValue) {
|
|
@@ -5655,6 +5661,7 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5655
5661
|
task.keyPath = previousKeyPath;
|
|
5656
5662
|
task.treeContext = previousTreeContext;
|
|
5657
5663
|
task.componentStack = previousComponentStack;
|
|
5664
|
+
task.replay = segment;
|
|
5658
5665
|
switchContext(previousContext);
|
|
5659
5666
|
return;
|
|
5660
5667
|
}
|
|
@@ -5667,12 +5674,13 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5667
5674
|
task.keyPath = previousKeyPath;
|
|
5668
5675
|
task.treeContext = previousTreeContext;
|
|
5669
5676
|
task.componentStack = previousComponentStack;
|
|
5677
|
+
task.replay = segment;
|
|
5670
5678
|
switchContext(previousContext);
|
|
5671
5679
|
return;
|
|
5672
5680
|
}
|
|
5673
5681
|
}
|
|
5674
5682
|
}
|
|
5675
|
-
else {
|
|
5683
|
+
} else {
|
|
5676
5684
|
var childrenLength = segment.children.length,
|
|
5677
5685
|
chunkLength = segment.chunks.length;
|
|
5678
5686
|
try {
|
|
@@ -5689,9 +5697,10 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5689
5697
|
"object" === typeof node && null !== node)
|
|
5690
5698
|
) {
|
|
5691
5699
|
if ("function" === typeof node.then) {
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5700
|
+
segment = node;
|
|
5701
|
+
node = getThenableStateAfterSuspending();
|
|
5702
|
+
request = spawnNewSuspendedRenderTask(request, task, node).ping;
|
|
5703
|
+
segment.then(request, request);
|
|
5695
5704
|
task.formatContext = previousFormatContext;
|
|
5696
5705
|
task.context = previousContext;
|
|
5697
5706
|
task.keyPath = previousKeyPath;
|
|
@@ -5701,9 +5710,9 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5701
5710
|
return;
|
|
5702
5711
|
}
|
|
5703
5712
|
if ("Maximum call stack size exceeded" === node.message) {
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
request.pingedTasks.push(
|
|
5713
|
+
segment = getThenableStateAfterSuspending();
|
|
5714
|
+
segment = spawnNewSuspendedRenderTask(request, task, segment);
|
|
5715
|
+
request.pingedTasks.push(segment);
|
|
5707
5716
|
task.formatContext = previousFormatContext;
|
|
5708
5717
|
task.context = previousContext;
|
|
5709
5718
|
task.keyPath = previousKeyPath;
|
|
@@ -6907,11 +6916,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
|
6907
6916
|
}
|
|
6908
6917
|
function ensureCorrectIsomorphicReactVersion() {
|
|
6909
6918
|
var isomorphicReactPackageVersion = React.version;
|
|
6910
|
-
if ("19.2.0-canary-
|
|
6919
|
+
if ("19.2.0-canary-79d9aed7-20250620" !== isomorphicReactPackageVersion)
|
|
6911
6920
|
throw Error(
|
|
6912
6921
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
6913
6922
|
(isomorphicReactPackageVersion +
|
|
6914
|
-
"\n - react-dom: 19.2.0-canary-
|
|
6923
|
+
"\n - react-dom: 19.2.0-canary-79d9aed7-20250620\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
6915
6924
|
);
|
|
6916
6925
|
}
|
|
6917
6926
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -7057,4 +7066,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
|
7057
7066
|
startWork(request);
|
|
7058
7067
|
});
|
|
7059
7068
|
};
|
|
7060
|
-
exports.version = "19.2.0-canary-
|
|
7069
|
+
exports.version = "19.2.0-canary-79d9aed7-20250620";
|