react-dom 19.2.0-canary-7216c0f0-20250630 → 19.2.0-canary-ef8b6fa2-20250702
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 +134 -132
- package/cjs/react-dom-client.production.js +190 -191
- package/cjs/react-dom-profiling.development.js +134 -132
- package/cjs/react-dom-profiling.profiling.js +208 -209
- package/cjs/react-dom-server-legacy.browser.development.js +21 -17
- package/cjs/react-dom-server-legacy.browser.production.js +22 -22
- package/cjs/react-dom-server-legacy.node.development.js +21 -17
- package/cjs/react-dom-server-legacy.node.production.js +22 -22
- package/cjs/react-dom-server.browser.development.js +23 -19
- package/cjs/react-dom-server.browser.production.js +4 -4
- package/cjs/react-dom-server.bun.development.js +26 -23
- package/cjs/react-dom-server.bun.production.js +7 -7
- package/cjs/react-dom-server.edge.development.js +23 -19
- package/cjs/react-dom-server.edge.production.js +4 -4
- package/cjs/react-dom-server.node.development.js +23 -19
- package/cjs/react-dom-server.node.production.js +4 -4
- 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
@@ -4274,7 +4274,7 @@
|
|
4274
4274
|
prevPrepareStackTrace = error.indexOf("\n");
|
4275
4275
|
-1 !== prevPrepareStackTrace &&
|
4276
4276
|
(error = error.slice(prevPrepareStackTrace + 1));
|
4277
|
-
prevPrepareStackTrace = error.indexOf("
|
4277
|
+
prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame");
|
4278
4278
|
-1 !== prevPrepareStackTrace &&
|
4279
4279
|
(prevPrepareStackTrace = error.lastIndexOf(
|
4280
4280
|
"\n",
|
@@ -5683,26 +5683,30 @@
|
|
5683
5683
|
type.displayName || type.name || "Component"
|
5684
5684
|
);
|
5685
5685
|
if ("function" === typeof type.getDerivedStateFromProps) {
|
5686
|
-
var
|
5687
|
-
|
5686
|
+
var componentName$jscomp$4 =
|
5687
|
+
getComponentNameFromType(type) || "Unknown";
|
5688
|
+
didWarnAboutGetDerivedStateOnFunctionComponent[
|
5689
|
+
componentName$jscomp$4
|
5690
|
+
] ||
|
5688
5691
|
(console.error(
|
5689
5692
|
"%s: Function components do not support getDerivedStateFromProps.",
|
5690
|
-
|
5693
|
+
componentName$jscomp$4
|
5691
5694
|
),
|
5692
|
-
(didWarnAboutGetDerivedStateOnFunctionComponent[
|
5693
|
-
|
5695
|
+
(didWarnAboutGetDerivedStateOnFunctionComponent[
|
5696
|
+
componentName$jscomp$4
|
5697
|
+
] = !0));
|
5694
5698
|
}
|
5695
5699
|
if (
|
5696
5700
|
"object" === typeof type.contextType &&
|
5697
5701
|
null !== type.contextType
|
5698
5702
|
) {
|
5699
|
-
var
|
5700
|
-
didWarnAboutContextTypeOnFunctionComponent[
|
5703
|
+
var _componentName2 = getComponentNameFromType(type) || "Unknown";
|
5704
|
+
didWarnAboutContextTypeOnFunctionComponent[_componentName2] ||
|
5701
5705
|
(console.error(
|
5702
5706
|
"%s: Function components do not support contextType.",
|
5703
|
-
|
5707
|
+
_componentName2
|
5704
5708
|
),
|
5705
|
-
(didWarnAboutContextTypeOnFunctionComponent[
|
5709
|
+
(didWarnAboutContextTypeOnFunctionComponent[_componentName2] =
|
5706
5710
|
!0));
|
5707
5711
|
}
|
5708
5712
|
finishFunctionComponent(
|
@@ -8455,11 +8459,11 @@
|
|
8455
8459
|
}
|
8456
8460
|
function ensureCorrectIsomorphicReactVersion() {
|
8457
8461
|
var isomorphicReactPackageVersion = React.version;
|
8458
|
-
if ("19.2.0-canary-
|
8462
|
+
if ("19.2.0-canary-ef8b6fa2-20250702" !== isomorphicReactPackageVersion)
|
8459
8463
|
throw Error(
|
8460
8464
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8461
8465
|
(isomorphicReactPackageVersion +
|
8462
|
-
"\n - react-dom: 19.2.0-canary-
|
8466
|
+
"\n - react-dom: 19.2.0-canary-ef8b6fa2-20250702\nLearn more: https://react.dev/warnings/version-mismatch")
|
8463
8467
|
);
|
8464
8468
|
}
|
8465
8469
|
var React = require("react"),
|
@@ -9950,26 +9954,26 @@
|
|
9950
9954
|
"function" === typeof WeakMap ? WeakMap : Map
|
9951
9955
|
)();
|
9952
9956
|
var callComponent = {
|
9953
|
-
|
9957
|
+
react_stack_bottom_frame: function (Component, props, secondArg) {
|
9954
9958
|
return Component(props, secondArg);
|
9955
9959
|
}
|
9956
9960
|
},
|
9957
9961
|
callComponentInDEV =
|
9958
|
-
callComponent
|
9962
|
+
callComponent.react_stack_bottom_frame.bind(callComponent),
|
9959
9963
|
callRender = {
|
9960
|
-
|
9964
|
+
react_stack_bottom_frame: function (instance) {
|
9961
9965
|
return instance.render();
|
9962
9966
|
}
|
9963
9967
|
},
|
9964
|
-
callRenderInDEV = callRender
|
9968
|
+
callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender),
|
9965
9969
|
callLazyInit = {
|
9966
|
-
|
9970
|
+
react_stack_bottom_frame: function (lazy) {
|
9967
9971
|
var init = lazy._init;
|
9968
9972
|
return init(lazy._payload);
|
9969
9973
|
}
|
9970
9974
|
},
|
9971
9975
|
callLazyInitInDEV =
|
9972
|
-
callLazyInit
|
9976
|
+
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
9973
9977
|
lastResetTime = 0;
|
9974
9978
|
if (
|
9975
9979
|
"object" === typeof performance &&
|
@@ -10145,5 +10149,5 @@
|
|
10145
10149
|
startWork(request);
|
10146
10150
|
});
|
10147
10151
|
};
|
10148
|
-
exports.version = "19.2.0-canary-
|
10152
|
+
exports.version = "19.2.0-canary-ef8b6fa2-20250702";
|
10149
10153
|
})();
|
@@ -4021,7 +4021,7 @@ function describeComponentStackByType(type) {
|
|
4021
4021
|
(location = location.slice(29)),
|
4022
4022
|
(type = location.indexOf("\n")),
|
4023
4023
|
-1 !== type && (location = location.slice(type + 1)),
|
4024
|
-
(type = location.indexOf("
|
4024
|
+
(type = location.indexOf("react_stack_bottom_frame")),
|
4025
4025
|
-1 !== type && (type = location.lastIndexOf("\n", type)),
|
4026
4026
|
(type = -1 !== type ? (location = location.slice(0, type)) : ""),
|
4027
4027
|
(location = type.lastIndexOf("\n")),
|
@@ -6940,11 +6940,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
6940
6940
|
}
|
6941
6941
|
function ensureCorrectIsomorphicReactVersion() {
|
6942
6942
|
var isomorphicReactPackageVersion = React.version;
|
6943
|
-
if ("19.2.0-canary-
|
6943
|
+
if ("19.2.0-canary-ef8b6fa2-20250702" !== isomorphicReactPackageVersion)
|
6944
6944
|
throw Error(
|
6945
6945
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6946
6946
|
(isomorphicReactPackageVersion +
|
6947
|
-
"\n - react-dom: 19.2.0-canary-
|
6947
|
+
"\n - react-dom: 19.2.0-canary-ef8b6fa2-20250702\nLearn more: https://react.dev/warnings/version-mismatch")
|
6948
6948
|
);
|
6949
6949
|
}
|
6950
6950
|
ensureCorrectIsomorphicReactVersion();
|
@@ -7090,4 +7090,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
7090
7090
|
startWork(request);
|
7091
7091
|
});
|
7092
7092
|
};
|
7093
|
-
exports.version = "19.2.0-canary-
|
7093
|
+
exports.version = "19.2.0-canary-ef8b6fa2-20250702";
|
@@ -4177,7 +4177,7 @@
|
|
4177
4177
|
prevPrepareStackTrace = error.indexOf("\n");
|
4178
4178
|
-1 !== prevPrepareStackTrace &&
|
4179
4179
|
(error = error.slice(prevPrepareStackTrace + 1));
|
4180
|
-
prevPrepareStackTrace = error.indexOf("
|
4180
|
+
prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame");
|
4181
4181
|
-1 !== prevPrepareStackTrace &&
|
4182
4182
|
(prevPrepareStackTrace = error.lastIndexOf(
|
4183
4183
|
"\n",
|
@@ -5582,26 +5582,30 @@
|
|
5582
5582
|
type.displayName || type.name || "Component"
|
5583
5583
|
);
|
5584
5584
|
if ("function" === typeof type.getDerivedStateFromProps) {
|
5585
|
-
var
|
5586
|
-
|
5585
|
+
var componentName$jscomp$4 =
|
5586
|
+
getComponentNameFromType(type) || "Unknown";
|
5587
|
+
didWarnAboutGetDerivedStateOnFunctionComponent[
|
5588
|
+
componentName$jscomp$4
|
5589
|
+
] ||
|
5587
5590
|
(console.error(
|
5588
5591
|
"%s: Function components do not support getDerivedStateFromProps.",
|
5589
|
-
|
5592
|
+
componentName$jscomp$4
|
5590
5593
|
),
|
5591
|
-
(didWarnAboutGetDerivedStateOnFunctionComponent[
|
5592
|
-
|
5594
|
+
(didWarnAboutGetDerivedStateOnFunctionComponent[
|
5595
|
+
componentName$jscomp$4
|
5596
|
+
] = !0));
|
5593
5597
|
}
|
5594
5598
|
if (
|
5595
5599
|
"object" === typeof type.contextType &&
|
5596
5600
|
null !== type.contextType
|
5597
5601
|
) {
|
5598
|
-
var
|
5599
|
-
didWarnAboutContextTypeOnFunctionComponent[
|
5602
|
+
var _componentName2 = getComponentNameFromType(type) || "Unknown";
|
5603
|
+
didWarnAboutContextTypeOnFunctionComponent[_componentName2] ||
|
5600
5604
|
(console.error(
|
5601
5605
|
"%s: Function components do not support contextType.",
|
5602
|
-
|
5606
|
+
_componentName2
|
5603
5607
|
),
|
5604
|
-
(didWarnAboutContextTypeOnFunctionComponent[
|
5608
|
+
(didWarnAboutContextTypeOnFunctionComponent[_componentName2] =
|
5605
5609
|
!0));
|
5606
5610
|
}
|
5607
5611
|
finishFunctionComponent(
|
@@ -8330,11 +8334,11 @@
|
|
8330
8334
|
}
|
8331
8335
|
function ensureCorrectIsomorphicReactVersion() {
|
8332
8336
|
var isomorphicReactPackageVersion = React.version;
|
8333
|
-
if ("19.2.0-canary-
|
8337
|
+
if ("19.2.0-canary-ef8b6fa2-20250702" !== isomorphicReactPackageVersion)
|
8334
8338
|
throw Error(
|
8335
8339
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8336
8340
|
(isomorphicReactPackageVersion +
|
8337
|
-
"\n - react-dom: 19.2.0-canary-
|
8341
|
+
"\n - react-dom: 19.2.0-canary-ef8b6fa2-20250702\nLearn more: https://react.dev/warnings/version-mismatch")
|
8338
8342
|
);
|
8339
8343
|
}
|
8340
8344
|
function createDrainHandler(destination, request) {
|
@@ -9906,26 +9910,26 @@
|
|
9906
9910
|
"function" === typeof WeakMap ? WeakMap : Map
|
9907
9911
|
)();
|
9908
9912
|
var callComponent = {
|
9909
|
-
|
9913
|
+
react_stack_bottom_frame: function (Component, props, secondArg) {
|
9910
9914
|
return Component(props, secondArg);
|
9911
9915
|
}
|
9912
9916
|
},
|
9913
9917
|
callComponentInDEV =
|
9914
|
-
callComponent
|
9918
|
+
callComponent.react_stack_bottom_frame.bind(callComponent),
|
9915
9919
|
callRender = {
|
9916
|
-
|
9920
|
+
react_stack_bottom_frame: function (instance) {
|
9917
9921
|
return instance.render();
|
9918
9922
|
}
|
9919
9923
|
},
|
9920
|
-
callRenderInDEV = callRender
|
9924
|
+
callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender),
|
9921
9925
|
callLazyInit = {
|
9922
|
-
|
9926
|
+
react_stack_bottom_frame: function (lazy) {
|
9923
9927
|
var init = lazy._init;
|
9924
9928
|
return init(lazy._payload);
|
9925
9929
|
}
|
9926
9930
|
},
|
9927
9931
|
callLazyInitInDEV =
|
9928
|
-
callLazyInit
|
9932
|
+
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
9929
9933
|
lastResetTime = 0;
|
9930
9934
|
if (
|
9931
9935
|
"object" === typeof performance &&
|
@@ -10205,5 +10209,5 @@
|
|
10205
10209
|
startWork(request);
|
10206
10210
|
});
|
10207
10211
|
};
|
10208
|
-
exports.version = "19.2.0-canary-
|
10212
|
+
exports.version = "19.2.0-canary-ef8b6fa2-20250702";
|
10209
10213
|
})();
|
@@ -3924,7 +3924,7 @@ function describeComponentStackByType(type) {
|
|
3924
3924
|
(location = location.slice(29)),
|
3925
3925
|
(type = location.indexOf("\n")),
|
3926
3926
|
-1 !== type && (location = location.slice(type + 1)),
|
3927
|
-
(type = location.indexOf("
|
3927
|
+
(type = location.indexOf("react_stack_bottom_frame")),
|
3928
3928
|
-1 !== type && (type = location.lastIndexOf("\n", type)),
|
3929
3929
|
(type = -1 !== type ? (location = location.slice(0, type)) : ""),
|
3930
3930
|
(location = type.lastIndexOf("\n")),
|
@@ -6832,11 +6832,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
6832
6832
|
}
|
6833
6833
|
function ensureCorrectIsomorphicReactVersion() {
|
6834
6834
|
var isomorphicReactPackageVersion = React.version;
|
6835
|
-
if ("19.2.0-canary-
|
6835
|
+
if ("19.2.0-canary-ef8b6fa2-20250702" !== isomorphicReactPackageVersion)
|
6836
6836
|
throw Error(
|
6837
6837
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6838
6838
|
(isomorphicReactPackageVersion +
|
6839
|
-
"\n - react-dom: 19.2.0-canary-
|
6839
|
+
"\n - react-dom: 19.2.0-canary-ef8b6fa2-20250702\nLearn more: https://react.dev/warnings/version-mismatch")
|
6840
6840
|
);
|
6841
6841
|
}
|
6842
6842
|
ensureCorrectIsomorphicReactVersion();
|
@@ -7174,4 +7174,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
7174
7174
|
startWork(request);
|
7175
7175
|
});
|
7176
7176
|
};
|
7177
|
-
exports.version = "19.2.0-canary-
|
7177
|
+
exports.version = "19.2.0-canary-ef8b6fa2-20250702";
|
@@ -416,7 +416,7 @@
|
|
416
416
|
exports.useFormStatus = function () {
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
418
418
|
};
|
419
|
-
exports.version = "19.2.0-canary-
|
419
|
+
exports.version = "19.2.0-canary-ef8b6fa2-20250702";
|
420
420
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
421
421
|
"function" ===
|
422
422
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
207
207
|
exports.useFormStatus = function () {
|
208
208
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
209
209
|
};
|
210
|
-
exports.version = "19.2.0-canary-
|
210
|
+
exports.version = "19.2.0-canary-ef8b6fa2-20250702";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.2.0-canary-
|
3
|
+
"version": "19.2.0-canary-ef8b6fa2-20250702",
|
4
4
|
"description": "React package for working with the DOM.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -17,10 +17,10 @@
|
|
17
17
|
},
|
18
18
|
"homepage": "https://react.dev/",
|
19
19
|
"dependencies": {
|
20
|
-
"scheduler": "0.27.0-canary-
|
20
|
+
"scheduler": "0.27.0-canary-ef8b6fa2-20250702"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.2.0-canary-
|
23
|
+
"react": "19.2.0-canary-ef8b6fa2-20250702"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|