Skip to content

Commit

Permalink
Remove consoleManagedByDevToolsDuringStrictMode (#31755)
Browse files Browse the repository at this point in the history
This is enabled everywhere except the test renderers, which don't use
it.

DiffTrain build for [4dff0e6](4dff0e6)
  • Loading branch information
rickhanlonii committed Dec 13, 2024
1 parent 40363db commit d5aa92e
Show file tree
Hide file tree
Showing 23 changed files with 209 additions and 115 deletions.
2 changes: 1 addition & 1 deletion compiled-rn/VERSION_NATIVE_FB
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.1.0-native-fb-d5e8f79c-20241212
19.1.0-native-fb-4dff0e62-20241213
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ab939ae8d8627b0b15a910117e30c826>>
* @generated SignedSource<<cabf30dcb170fa5efc1672ea1b38ca41>>
*/

"use strict";
Expand Down Expand Up @@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bc8b32405f408ad4311ddb0630ac1b1e>>
* @generated SignedSource<<cb570c7987ca609a028773233464e244>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bc8b32405f408ad4311ddb0630ac1b1e>>
* @generated SignedSource<<cb570c7987ca609a028773233464e244>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e6ba74922114eb45cd14230675a1821d>>
* @generated SignedSource<<f69304535d80c1571b2f9be93b3c7aca>>
*/

/*
Expand Down Expand Up @@ -25945,11 +25945,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-d5e8f79c-20241212" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-4dff0e62-20241213" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-native-fb-d5e8f79c-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-4dff0e62-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -25986,10 +25986,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-d5e8f79c-20241212",
version: "19.1.0-native-fb-4dff0e62-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-d5e8f79c-20241212"
reconcilerVersion: "19.1.0-native-fb-4dff0e62-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26135,5 +26135,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1191abc934463f2f48f75796ab5fb5f6>>
* @generated SignedSource<<2837bcd6ed9158938fae3901bec60eb7>>
*/

/*
Expand Down Expand Up @@ -15871,14 +15871,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version;
if (
"19.1.0-native-fb-d5e8f79c-20241212" !==
"19.1.0-native-fb-4dff0e62-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1731
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1731,
"19.1.0-native-fb-d5e8f79c-20241212"
"19.1.0-native-fb-4dff0e62-20241213"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15900,10 +15900,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2186 = {
bundleType: 0,
version: "19.1.0-native-fb-d5e8f79c-20241212",
version: "19.1.0-native-fb-4dff0e62-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-d5e8f79c-20241212"
reconcilerVersion: "19.1.0-native-fb-4dff0e62-20241213"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2187 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -16009,4 +16009,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<44a8e62f3713c8b19f9eac4f2450cd5e>>
* @generated SignedSource<<a6fd5a8210c0c98e36b64b418ff5b6ef>>
*/

/*
Expand Down Expand Up @@ -16524,14 +16524,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1821 = React.version;
if (
"19.1.0-native-fb-d5e8f79c-20241212" !==
"19.1.0-native-fb-4dff0e62-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1821
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1821,
"19.1.0-native-fb-d5e8f79c-20241212"
"19.1.0-native-fb-4dff0e62-20241213"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -16553,10 +16553,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1828 = {
bundleType: 0,
version: "19.1.0-native-fb-d5e8f79c-20241212",
version: "19.1.0-native-fb-4dff0e62-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-d5e8f79c-20241212",
reconcilerVersion: "19.1.0-native-fb-4dff0e62-20241213",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
Expand Down Expand Up @@ -16677,4 +16677,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<87cbe022463d8666e03367bae29644d9>>
* @generated SignedSource<<a51bac59b391c281dbebeed279cedbd3>>
*/

/*
Expand Down Expand Up @@ -26006,11 +26006,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-d5e8f79c-20241212" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-4dff0e62-20241213" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-native-fb-d5e8f79c-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-4dff0e62-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -26047,10 +26047,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-d5e8f79c-20241212",
version: "19.1.0-native-fb-4dff0e62-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-d5e8f79c-20241212"
reconcilerVersion: "19.1.0-native-fb-4dff0e62-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26512,7 +26512,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<76f092f5f496202ef91b2cba0eaac602>>
* @generated SignedSource<<5bac6b48b481d56e84afd9e6f782d453>>
*/

/*
Expand Down Expand Up @@ -15882,14 +15882,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1732 = React.version;
if (
"19.1.0-native-fb-d5e8f79c-20241212" !==
"19.1.0-native-fb-4dff0e62-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1732
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1732,
"19.1.0-native-fb-d5e8f79c-20241212"
"19.1.0-native-fb-4dff0e62-20241213"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15911,10 +15911,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2189 = {
bundleType: 0,
version: "19.1.0-native-fb-d5e8f79c-20241212",
version: "19.1.0-native-fb-4dff0e62-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-d5e8f79c-20241212"
reconcilerVersion: "19.1.0-native-fb-4dff0e62-20241213"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2190 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -16174,4 +16174,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9f2f2a8bc9f7137fa6a41742280a6f8c>>
* @generated SignedSource<<1d2bc24fbbbd495dbfcb7ed6762e0f0a>>
*/

/*
Expand Down Expand Up @@ -16539,14 +16539,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1822 = React.version;
if (
"19.1.0-native-fb-d5e8f79c-20241212" !==
"19.1.0-native-fb-4dff0e62-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1822
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1822,
"19.1.0-native-fb-d5e8f79c-20241212"
"19.1.0-native-fb-4dff0e62-20241213"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -16568,10 +16568,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1829 = {
bundleType: 0,
version: "19.1.0-native-fb-d5e8f79c-20241212",
version: "19.1.0-native-fb-4dff0e62-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-d5e8f79c-20241212",
reconcilerVersion: "19.1.0-native-fb-4dff0e62-20241213",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
Expand Down Expand Up @@ -16846,7 +16846,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-d5e8f79c-20241212";
exports.version = "19.1.0-native-fb-4dff0e62-20241213";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Expand Down
Loading

0 comments on commit d5aa92e

Please sign in to comment.