Skip to content

Commit 9477f11

Browse files
committed
Fix ownerStackLimit feature gating for tests (#32726)
#32529 added a dynamic flag for this, but that breaks tests since the flags are not defined everywhere. However, this is a static value and the flag is only for supporting existing tests. So we can override it in the test config, and make it static at built time instead. DiffTrain build for [f99c9fe](f99c9fe)
1 parent 19714aa commit 9477f11

25 files changed

+114
-118
lines changed

compiled-rn/VERSION_NATIVE_FB

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.1.0-native-fb-b59f1860-20250324
1+
19.1.0-native-fb-f99c9fea-20250326

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<aeaa5b6a7f3dda76095426e659e916af>>
10+
* @generated SignedSource<<1303223aa2c6320dd9c9a43ff5f76f49>>
1111
*/
1212

1313
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
404404
exports.useFormStatus = function () {
405405
return resolveDispatcher().useHostTransitionStatus();
406406
};
407-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
407+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";
408408
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<a75fcd7492c67d325a698cba4c78c79c>>
10+
* @generated SignedSource<<cf832316a538ad0a6ce3e4d1c184b5c2>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
206+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<a75fcd7492c67d325a698cba4c78c79c>>
10+
* @generated SignedSource<<cf832316a538ad0a6ce3e4d1c184b5c2>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
206+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<e72f8bc87b6b37ed25baf15f7fbc98c9>>
10+
* @generated SignedSource<<bda2196d348d3bab0225deebc33dd54b>>
1111
*/
1212

1313
/*
@@ -26019,11 +26019,11 @@ __DEV__ &&
2601926019
};
2602026020
(function () {
2602126021
var isomorphicReactPackageVersion = React.version;
26022-
if ("19.1.0-native-fb-b59f1860-20250324" !== isomorphicReactPackageVersion)
26022+
if ("19.1.0-native-fb-f99c9fea-20250326" !== isomorphicReactPackageVersion)
2602326023
throw Error(
2602426024
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2602526025
(isomorphicReactPackageVersion +
26026-
"\n - react-dom: 19.1.0-native-fb-b59f1860-20250324\nLearn more: https://react.dev/warnings/version-mismatch")
26026+
"\n - react-dom: 19.1.0-native-fb-f99c9fea-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
2602726027
);
2602826028
})();
2602926029
("function" === typeof Map &&
@@ -26060,10 +26060,10 @@ __DEV__ &&
2606026060
!(function () {
2606126061
var internals = {
2606226062
bundleType: 1,
26063-
version: "19.1.0-native-fb-b59f1860-20250324",
26063+
version: "19.1.0-native-fb-f99c9fea-20250326",
2606426064
rendererPackageName: "react-dom",
2606526065
currentDispatcherRef: ReactSharedInternals,
26066-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324"
26066+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326"
2606726067
};
2606826068
internals.overrideHookState = overrideHookState;
2606926069
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26207,5 +26207,5 @@ __DEV__ &&
2620726207
listenToAllSupportedEvents(container);
2620826208
return new ReactDOMHydrationRoot(initialChildren);
2620926209
};
26210-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
26210+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";
2621126211
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<78efcb6d4023111e92f3b706c091d641>>
10+
* @generated SignedSource<<20c85bd7d24d461b5a10e9dc08fbdcb8>>
1111
*/
1212

1313
/*
@@ -16107,14 +16107,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1610716107
};
1610816108
var isomorphicReactPackageVersion$jscomp$inline_1813 = React.version;
1610916109
if (
16110-
"19.1.0-native-fb-b59f1860-20250324" !==
16110+
"19.1.0-native-fb-f99c9fea-20250326" !==
1611116111
isomorphicReactPackageVersion$jscomp$inline_1813
1611216112
)
1611316113
throw Error(
1611416114
formatProdErrorMessage(
1611516115
527,
1611616116
isomorphicReactPackageVersion$jscomp$inline_1813,
16117-
"19.1.0-native-fb-b59f1860-20250324"
16117+
"19.1.0-native-fb-f99c9fea-20250326"
1611816118
)
1611916119
);
1612016120
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16136,10 +16136,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1613616136
};
1613716137
var internals$jscomp$inline_2263 = {
1613816138
bundleType: 0,
16139-
version: "19.1.0-native-fb-b59f1860-20250324",
16139+
version: "19.1.0-native-fb-f99c9fea-20250326",
1614016140
rendererPackageName: "react-dom",
1614116141
currentDispatcherRef: ReactSharedInternals,
16142-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324"
16142+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326"
1614316143
};
1614416144
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1614516145
var hook$jscomp$inline_2264 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16243,4 +16243,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1624316243
listenToAllSupportedEvents(container);
1624416244
return new ReactDOMHydrationRoot(initialChildren);
1624516245
};
16246-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
16246+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<eecc48a914c8719d7634ed5f00b4c24a>>
10+
* @generated SignedSource<<d6f7ada4d10ab9682fbd209f6b578110>>
1111
*/
1212

1313
/*
@@ -16754,14 +16754,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1675416754
};
1675516755
var isomorphicReactPackageVersion$jscomp$inline_1908 = React.version;
1675616756
if (
16757-
"19.1.0-native-fb-b59f1860-20250324" !==
16757+
"19.1.0-native-fb-f99c9fea-20250326" !==
1675816758
isomorphicReactPackageVersion$jscomp$inline_1908
1675916759
)
1676016760
throw Error(
1676116761
formatProdErrorMessage(
1676216762
527,
1676316763
isomorphicReactPackageVersion$jscomp$inline_1908,
16764-
"19.1.0-native-fb-b59f1860-20250324"
16764+
"19.1.0-native-fb-f99c9fea-20250326"
1676516765
)
1676616766
);
1676716767
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16783,10 +16783,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1678316783
};
1678416784
var internals$jscomp$inline_1915 = {
1678516785
bundleType: 0,
16786-
version: "19.1.0-native-fb-b59f1860-20250324",
16786+
version: "19.1.0-native-fb-f99c9fea-20250326",
1678716787
rendererPackageName: "react-dom",
1678816788
currentDispatcherRef: ReactSharedInternals,
16789-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324",
16789+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326",
1679016790
getLaneLabelMap: function () {
1679116791
for (
1679216792
var map = new Map(), lane = 1, index$295 = 0;
@@ -16905,4 +16905,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1690516905
listenToAllSupportedEvents(container);
1690616906
return new ReactDOMHydrationRoot(initialChildren);
1690716907
};
16908-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
16908+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<94c4f5fdd5442d15edcb5309605abc1d>>
10+
* @generated SignedSource<<a147c62506cd29b7bed3333113906e2a>>
1111
*/
1212

1313
/*
@@ -26080,11 +26080,11 @@ __DEV__ &&
2608026080
};
2608126081
(function () {
2608226082
var isomorphicReactPackageVersion = React.version;
26083-
if ("19.1.0-native-fb-b59f1860-20250324" !== isomorphicReactPackageVersion)
26083+
if ("19.1.0-native-fb-f99c9fea-20250326" !== isomorphicReactPackageVersion)
2608426084
throw Error(
2608526085
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2608626086
(isomorphicReactPackageVersion +
26087-
"\n - react-dom: 19.1.0-native-fb-b59f1860-20250324\nLearn more: https://react.dev/warnings/version-mismatch")
26087+
"\n - react-dom: 19.1.0-native-fb-f99c9fea-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
2608826088
);
2608926089
})();
2609026090
("function" === typeof Map &&
@@ -26121,10 +26121,10 @@ __DEV__ &&
2612126121
!(function () {
2612226122
var internals = {
2612326123
bundleType: 1,
26124-
version: "19.1.0-native-fb-b59f1860-20250324",
26124+
version: "19.1.0-native-fb-f99c9fea-20250326",
2612526125
rendererPackageName: "react-dom",
2612626126
currentDispatcherRef: ReactSharedInternals,
26127-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324"
26127+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326"
2612826128
};
2612926129
internals.overrideHookState = overrideHookState;
2613026130
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26584,7 +26584,7 @@ __DEV__ &&
2658426584
exports.useFormStatus = function () {
2658526585
return resolveDispatcher().useHostTransitionStatus();
2658626586
};
26587-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
26587+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";
2658826588
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2658926589
"function" ===
2659026590
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<705b5288040d79816a728e6196a2563d>>
10+
* @generated SignedSource<<4d2e21ee8d64771195db5ed7a1a9d037>>
1111
*/
1212

1313
/*
@@ -16118,14 +16118,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1611816118
};
1611916119
var isomorphicReactPackageVersion$jscomp$inline_1814 = React.version;
1612016120
if (
16121-
"19.1.0-native-fb-b59f1860-20250324" !==
16121+
"19.1.0-native-fb-f99c9fea-20250326" !==
1612216122
isomorphicReactPackageVersion$jscomp$inline_1814
1612316123
)
1612416124
throw Error(
1612516125
formatProdErrorMessage(
1612616126
527,
1612716127
isomorphicReactPackageVersion$jscomp$inline_1814,
16128-
"19.1.0-native-fb-b59f1860-20250324"
16128+
"19.1.0-native-fb-f99c9fea-20250326"
1612916129
)
1613016130
);
1613116131
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16147,10 +16147,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1614716147
};
1614816148
var internals$jscomp$inline_2266 = {
1614916149
bundleType: 0,
16150-
version: "19.1.0-native-fb-b59f1860-20250324",
16150+
version: "19.1.0-native-fb-f99c9fea-20250326",
1615116151
rendererPackageName: "react-dom",
1615216152
currentDispatcherRef: ReactSharedInternals,
16153-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324"
16153+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326"
1615416154
};
1615516155
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1615616156
var hook$jscomp$inline_2267 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16408,4 +16408,4 @@ exports.useFormState = function (action, initialState, permalink) {
1640816408
exports.useFormStatus = function () {
1640916409
return ReactSharedInternals.H.useHostTransitionStatus();
1641016410
};
16411-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
16411+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<ebfa3ef4a0fa16ccf3c87f1ad4212f02>>
10+
* @generated SignedSource<<d99bb6d7c08b082335715224b2daf7d4>>
1111
*/
1212

1313
/*
@@ -16769,14 +16769,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1676916769
};
1677016770
var isomorphicReactPackageVersion$jscomp$inline_1909 = React.version;
1677116771
if (
16772-
"19.1.0-native-fb-b59f1860-20250324" !==
16772+
"19.1.0-native-fb-f99c9fea-20250326" !==
1677316773
isomorphicReactPackageVersion$jscomp$inline_1909
1677416774
)
1677516775
throw Error(
1677616776
formatProdErrorMessage(
1677716777
527,
1677816778
isomorphicReactPackageVersion$jscomp$inline_1909,
16779-
"19.1.0-native-fb-b59f1860-20250324"
16779+
"19.1.0-native-fb-f99c9fea-20250326"
1678016780
)
1678116781
);
1678216782
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16798,10 +16798,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1679816798
};
1679916799
var internals$jscomp$inline_1916 = {
1680016800
bundleType: 0,
16801-
version: "19.1.0-native-fb-b59f1860-20250324",
16801+
version: "19.1.0-native-fb-f99c9fea-20250326",
1680216802
rendererPackageName: "react-dom",
1680316803
currentDispatcherRef: ReactSharedInternals,
16804-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324",
16804+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326",
1680516805
getLaneLabelMap: function () {
1680616806
for (
1680716807
var map = new Map(), lane = 1, index$295 = 0;
@@ -17074,7 +17074,7 @@ exports.useFormState = function (action, initialState, permalink) {
1707417074
exports.useFormStatus = function () {
1707517075
return ReactSharedInternals.H.useHostTransitionStatus();
1707617076
};
17077-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
17077+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";
1707817078
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1707917079
"function" ===
1708017080
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<4b91f648aef1bd3aa8bf220f67b2c585>>
10+
* @generated SignedSource<<0e178433fc4fdb57457524d197ea9cb4>>
1111
*/
1212

1313
"use strict";
@@ -15614,10 +15614,10 @@ __DEV__ &&
1561415614
(function () {
1561515615
var internals = {
1561615616
bundleType: 1,
15617-
version: "19.1.0-native-fb-b59f1860-20250324",
15617+
version: "19.1.0-native-fb-f99c9fea-20250326",
1561815618
rendererPackageName: "react-test-renderer",
1561915619
currentDispatcherRef: ReactSharedInternals,
15620-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324"
15620+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326"
1562115621
};
1562215622
internals.overrideHookState = overrideHookState;
1562315623
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15762,5 +15762,5 @@ __DEV__ &&
1576215762
flushSyncWorkAcrossRoots_impl(0, !0));
1576315763
}
1576415764
};
15765-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
15765+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";
1576615766
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<47ace71067b5430e360f5a70f9c7e9be>>
10+
* @generated SignedSource<<b4dbe9fdb92d85d653f26997bf13e441>>
1111
*/
1212

1313
"use strict";
@@ -9805,10 +9805,10 @@ function wrapFiber(fiber) {
98059805
}
98069806
var internals$jscomp$inline_1427 = {
98079807
bundleType: 0,
9808-
version: "19.1.0-native-fb-b59f1860-20250324",
9808+
version: "19.1.0-native-fb-f99c9fea-20250326",
98099809
rendererPackageName: "react-test-renderer",
98109810
currentDispatcherRef: ReactSharedInternals,
9811-
reconcilerVersion: "19.1.0-native-fb-b59f1860-20250324"
9811+
reconcilerVersion: "19.1.0-native-fb-f99c9fea-20250326"
98129812
};
98139813
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
98149814
var hook$jscomp$inline_1428 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9944,4 +9944,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
99449944
flushSyncWorkAcrossRoots_impl(0, !0));
99459945
}
99469946
};
9947-
exports.version = "19.1.0-native-fb-b59f1860-20250324";
9947+
exports.version = "19.1.0-native-fb-f99c9fea-20250326";

0 commit comments

Comments
 (0)