mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[flags] remove enableRemoveConsolePatches (#32425)
wait to merge until we sync
https://github.com/facebook/react/pull/32376, since that enables it in
some testing builds that might break
DiffTrain build for [2567726503](https://github.com/facebook/react/commit/25677265038b89c1ee3000e0669339ed160d9d75)
This commit is contained in:
committed by
rickhanlonii
parent
66108fa807
commit
920b646138
@@ -1 +1 @@
|
||||
19.1.0-native-fb-9dd378ff-20250224
|
||||
19.1.0-native-fb-25677265-20250224
|
||||
Vendored
+20
-44
@@ -7,34 +7,13 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9728716abd8fa7a6ba3e5f85b797037c>>
|
||||
* @generated SignedSource<<51c03329699f31a3dc0e647b87137455>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function noop() {}
|
||||
function error(format) {
|
||||
for (
|
||||
var _len2 = arguments.length,
|
||||
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
||||
_key2 = 1;
|
||||
_key2 < _len2;
|
||||
_key2++
|
||||
)
|
||||
args[_key2 - 1] = arguments[_key2];
|
||||
if (enableRemoveConsolePatches) {
|
||||
var _console2;
|
||||
(_console2 = console).error.apply(_console2, [format].concat(args));
|
||||
} else
|
||||
(_len2 = format),
|
||||
enableRemoveConsolePatches ||
|
||||
(ReactSharedInternals.getCurrentStack &&
|
||||
((_key2 = ReactSharedInternals.getCurrentStack()),
|
||||
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2])))),
|
||||
args.unshift(_len2),
|
||||
Function.prototype.apply.call(console.error, console, args));
|
||||
}
|
||||
function testStringCoercion(value) {
|
||||
return "" + value;
|
||||
}
|
||||
@@ -48,7 +27,7 @@ __DEV__ &&
|
||||
JSCompiler_inline_result = !0;
|
||||
}
|
||||
JSCompiler_inline_result &&
|
||||
(error(
|
||||
(console.error(
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
@@ -95,13 +74,12 @@ __DEV__ &&
|
||||
function resolveDispatcher() {
|
||||
var dispatcher = ReactSharedInternals.H;
|
||||
null === dispatcher &&
|
||||
error(
|
||||
console.error(
|
||||
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
||||
);
|
||||
return dispatcher;
|
||||
}
|
||||
var React = require("react"),
|
||||
dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags"),
|
||||
Internals = {
|
||||
d: {
|
||||
f: noop,
|
||||
@@ -121,11 +99,9 @@ __DEV__ &&
|
||||
p: 0,
|
||||
findDOMNode: null
|
||||
},
|
||||
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
||||
ReactSharedInternals =
|
||||
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
||||
enableRemoveConsolePatches =
|
||||
dynamicFlagsUntyped && dynamicFlagsUntyped.enableRemoveConsolePatches,
|
||||
REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
||||
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
||||
("function" === typeof Map &&
|
||||
null != Map.prototype &&
|
||||
"function" === typeof Map.prototype.forEach &&
|
||||
@@ -133,7 +109,7 @@ __DEV__ &&
|
||||
null != Set.prototype &&
|
||||
"function" === typeof Set.prototype.clear &&
|
||||
"function" === typeof Set.prototype.forEach) ||
|
||||
error(
|
||||
console.error(
|
||||
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
||||
);
|
||||
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
@@ -158,17 +134,17 @@ __DEV__ &&
|
||||
exports.preconnect = function (href, options) {
|
||||
"string" === typeof href && href
|
||||
? null != options && "object" !== typeof options
|
||||
? error(
|
||||
? console.error(
|
||||
"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
|
||||
getValueDescriptorExpectingEnumForWarning(options)
|
||||
)
|
||||
: null != options &&
|
||||
"string" !== typeof options.crossOrigin &&
|
||||
error(
|
||||
console.error(
|
||||
"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
|
||||
getValueDescriptorExpectingObjectForWarning(options.crossOrigin)
|
||||
)
|
||||
: error(
|
||||
: console.error(
|
||||
"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
||||
getValueDescriptorExpectingObjectForWarning(href)
|
||||
);
|
||||
@@ -186,18 +162,18 @@ __DEV__ &&
|
||||
};
|
||||
exports.prefetchDNS = function (href) {
|
||||
if ("string" !== typeof href || !href)
|
||||
error(
|
||||
console.error(
|
||||
"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
||||
getValueDescriptorExpectingObjectForWarning(href)
|
||||
);
|
||||
else if (1 < arguments.length) {
|
||||
var options = arguments[1];
|
||||
"object" === typeof options && options.hasOwnProperty("crossOrigin")
|
||||
? error(
|
||||
? console.error(
|
||||
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
||||
getValueDescriptorExpectingEnumForWarning(options)
|
||||
)
|
||||
: error(
|
||||
: console.error(
|
||||
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
||||
getValueDescriptorExpectingEnumForWarning(options)
|
||||
);
|
||||
@@ -207,17 +183,17 @@ __DEV__ &&
|
||||
exports.preinit = function (href, options) {
|
||||
"string" === typeof href && href
|
||||
? null == options || "object" !== typeof options
|
||||
? error(
|
||||
? console.error(
|
||||
"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
|
||||
getValueDescriptorExpectingEnumForWarning(options)
|
||||
)
|
||||
: "style" !== options.as &&
|
||||
"script" !== options.as &&
|
||||
error(
|
||||
console.error(
|
||||
'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
|
||||
getValueDescriptorExpectingEnumForWarning(options.as)
|
||||
)
|
||||
: error(
|
||||
: console.error(
|
||||
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
||||
getValueDescriptorExpectingObjectForWarning(href)
|
||||
);
|
||||
@@ -275,7 +251,7 @@ __DEV__ &&
|
||||
getValueDescriptorExpectingEnumForWarning(options.as) +
|
||||
".");
|
||||
if (encountered)
|
||||
error(
|
||||
console.error(
|
||||
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
||||
encountered
|
||||
);
|
||||
@@ -290,7 +266,7 @@ __DEV__ &&
|
||||
default:
|
||||
(encountered =
|
||||
getValueDescriptorExpectingEnumForWarning(encountered)),
|
||||
error(
|
||||
console.error(
|
||||
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
|
||||
encountered,
|
||||
href
|
||||
@@ -332,7 +308,7 @@ __DEV__ &&
|
||||
getValueDescriptorExpectingObjectForWarning(options.as) +
|
||||
".");
|
||||
encountered &&
|
||||
error(
|
||||
console.error(
|
||||
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
||||
encountered
|
||||
);
|
||||
@@ -393,7 +369,7 @@ __DEV__ &&
|
||||
getValueDescriptorExpectingObjectForWarning(options.as) +
|
||||
".");
|
||||
encountered &&
|
||||
error(
|
||||
console.error(
|
||||
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
||||
encountered
|
||||
);
|
||||
@@ -428,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<da4d0d3c078718fce227ac463d401f6d>>
|
||||
* @generated SignedSource<<d1eb12151ad3ccbcc17e85f7e6ec2f48>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<da4d0d3c078718fce227ac463d401f6d>>
|
||||
* @generated SignedSource<<d1eb12151ad3ccbcc17e85f7e6ec2f48>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
Vendored
+561
-644
File diff suppressed because it is too large
Load Diff
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9737a70fcef115b0bdca20ba8074742a>>
|
||||
* @generated SignedSource<<01cb7f4be4df5102154afb4d247509e9>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -16001,14 +16001,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1785 = React.version;
|
||||
if (
|
||||
"19.1.0-native-fb-9dd378ff-20250224" !==
|
||||
"19.1.0-native-fb-25677265-20250224" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1785
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1785,
|
||||
"19.1.0-native-fb-9dd378ff-20250224"
|
||||
"19.1.0-native-fb-25677265-20250224"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16030,10 +16030,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2245 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2246 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -16137,4 +16137,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<709950585035b69d98367df2135ee568>>
|
||||
* @generated SignedSource<<adef006cb441cc02304ead4f4f4a7f01>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -16651,14 +16651,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1880 = React.version;
|
||||
if (
|
||||
"19.1.0-native-fb-9dd378ff-20250224" !==
|
||||
"19.1.0-native-fb-25677265-20250224" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1880
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1880,
|
||||
"19.1.0-native-fb-9dd378ff-20250224"
|
||||
"19.1.0-native-fb-25677265-20250224"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16680,10 +16680,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_1887 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$294 = 0;
|
||||
@@ -16802,4 +16802,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
+577
-660
File diff suppressed because it is too large
Load Diff
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<310bc00b2161d032fd2e88ce8d8a102c>>
|
||||
* @generated SignedSource<<f5c7ce3a6ff38e41c62f937d719b86b3>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -16012,14 +16012,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1786 = React.version;
|
||||
if (
|
||||
"19.1.0-native-fb-9dd378ff-20250224" !==
|
||||
"19.1.0-native-fb-25677265-20250224" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1786
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1786,
|
||||
"19.1.0-native-fb-9dd378ff-20250224"
|
||||
"19.1.0-native-fb-25677265-20250224"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16041,10 +16041,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2248 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2249 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -16302,4 +16302,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<06e3fe06fe06317bfa4623933475eb73>>
|
||||
* @generated SignedSource<<72a2d13439397c8e49d0851c20b7d541>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -16666,14 +16666,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version;
|
||||
if (
|
||||
"19.1.0-native-fb-9dd378ff-20250224" !==
|
||||
"19.1.0-native-fb-25677265-20250224" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1881
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1881,
|
||||
"19.1.0-native-fb-9dd378ff-20250224"
|
||||
"19.1.0-native-fb-25677265-20250224"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16695,10 +16695,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_1888 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$294 = 0;
|
||||
@@ -16971,7 +16971,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-28
@@ -7,44 +7,18 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3c95d29bbe505302903a6e0423e2fa77>>
|
||||
* @generated SignedSource<<0f69eb72393c7fcab2452533eb6bc2df>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function error(format) {
|
||||
for (
|
||||
var _len2 = arguments.length,
|
||||
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
||||
_key2 = 1;
|
||||
_key2 < _len2;
|
||||
_key2++
|
||||
)
|
||||
args[_key2 - 1] = arguments[_key2];
|
||||
if (enableRemoveConsolePatches) {
|
||||
var _console2;
|
||||
(_console2 = console).error.apply(_console2, [format].concat(args));
|
||||
} else
|
||||
(_len2 = format),
|
||||
enableRemoveConsolePatches ||
|
||||
(ReactSharedInternals.getCurrentStack &&
|
||||
((_key2 = ReactSharedInternals.getCurrentStack()),
|
||||
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2])))),
|
||||
args.unshift(_len2),
|
||||
Function.prototype.apply.call(console.error, console, args));
|
||||
}
|
||||
var React = require("react"),
|
||||
dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags"),
|
||||
ReactSharedInternals =
|
||||
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
||||
enableRemoveConsolePatches =
|
||||
dynamicFlagsUntyped && dynamicFlagsUntyped.enableRemoveConsolePatches,
|
||||
didWarnAboutUsingAct = !1;
|
||||
exports.act = function (callback) {
|
||||
!1 === didWarnAboutUsingAct &&
|
||||
((didWarnAboutUsingAct = !0),
|
||||
error(
|
||||
console.error(
|
||||
"`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
|
||||
));
|
||||
return React.act(callback);
|
||||
|
||||
+253
-337
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a0d316e3b7b5ead0380e9d47c9c10302>>
|
||||
* @generated SignedSource<<b9dd4a7e36ce25923ead25444636bef0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9784,10 +9784,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1389 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1390 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -9923,4 +9923,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<49281c314b88a66b2145edb974df6bb4>>
|
||||
* @generated SignedSource<<ced3d8683c6be454e2c97407bbc21427>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10355,10 +10355,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1207 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$147 = 0;
|
||||
@@ -10509,4 +10509,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
Vendored
+22
-44
@@ -7,33 +7,12 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<5d1577a0da218bc77c36b9caff0262f9>>
|
||||
* @generated SignedSource<<98cb8a787086b378d463840c5aa59bd0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function error(format) {
|
||||
for (
|
||||
var _len2 = arguments.length,
|
||||
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
||||
_key2 = 1;
|
||||
_key2 < _len2;
|
||||
_key2++
|
||||
)
|
||||
args[_key2 - 1] = arguments[_key2];
|
||||
if (enableRemoveConsolePatches) {
|
||||
var _console2;
|
||||
(_console2 = console).error.apply(_console2, [format].concat(args));
|
||||
} else
|
||||
(_len2 = format),
|
||||
enableRemoveConsolePatches ||
|
||||
(ReactSharedInternals.getCurrentStack &&
|
||||
((_key2 = ReactSharedInternals.getCurrentStack()),
|
||||
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2])))),
|
||||
args.unshift(_len2),
|
||||
Function.prototype.apply.call(console.error, console, args));
|
||||
}
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
if ("function" === typeof type)
|
||||
@@ -58,7 +37,7 @@ __DEV__ &&
|
||||
if ("object" === typeof type)
|
||||
switch (
|
||||
("number" === typeof type.tag &&
|
||||
error(
|
||||
console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
),
|
||||
type.$$typeof)
|
||||
@@ -100,20 +79,22 @@ __DEV__ &&
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = !0;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
return (
|
||||
(JSCompiler_inline_result =
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
value[Symbol.toStringTag]) ||
|
||||
value.constructor.name ||
|
||||
"Object"),
|
||||
error(
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result
|
||||
),
|
||||
testStringCoercion(value)
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 =
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
value[Symbol.toStringTag]) ||
|
||||
value.constructor.name ||
|
||||
"Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getTaskName(type) {
|
||||
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
||||
@@ -145,7 +126,7 @@ __DEV__ &&
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown ||
|
||||
((specialPropKeyWarningShown = !0),
|
||||
error(
|
||||
console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
@@ -160,7 +141,7 @@ __DEV__ &&
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] ||
|
||||
((didWarnAboutElementRef[componentName] = !0),
|
||||
error(
|
||||
console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
@@ -240,7 +221,7 @@ __DEV__ &&
|
||||
validateChildKeys(children[isStaticChildren]);
|
||||
Object.freeze && Object.freeze(children);
|
||||
} else
|
||||
error(
|
||||
console.error(
|
||||
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
||||
);
|
||||
else validateChildKeys(children);
|
||||
@@ -256,7 +237,7 @@ __DEV__ &&
|
||||
didWarnAboutKeySpread[children + isStaticChildren] ||
|
||||
((keys =
|
||||
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
||||
error(
|
||||
console.error(
|
||||
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
||||
isStaticChildren,
|
||||
children,
|
||||
@@ -301,7 +282,6 @@ __DEV__ &&
|
||||
(node._store.validated = 1);
|
||||
}
|
||||
var React = require("react"),
|
||||
dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags"),
|
||||
REACT_ELEMENT_TYPE = Symbol.for("react.element"),
|
||||
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
||||
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
||||
@@ -315,11 +295,9 @@ __DEV__ &&
|
||||
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
||||
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
||||
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
||||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
||||
ReactSharedInternals =
|
||||
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
||||
enableRemoveConsolePatches =
|
||||
dynamicFlagsUntyped && dynamicFlagsUntyped.enableRemoveConsolePatches,
|
||||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
isArrayImpl = Array.isArray;
|
||||
new ("function" === typeof WeakMap ? WeakMap : Map)();
|
||||
|
||||
Vendored
+22
-44
@@ -7,33 +7,12 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<45a53c3de242ab8809be163fe351b6fc>>
|
||||
* @generated SignedSource<<f7d0577532e40fce31ecf0da324326f8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function error(format) {
|
||||
for (
|
||||
var _len2 = arguments.length,
|
||||
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
||||
_key2 = 1;
|
||||
_key2 < _len2;
|
||||
_key2++
|
||||
)
|
||||
args[_key2 - 1] = arguments[_key2];
|
||||
if (enableRemoveConsolePatches) {
|
||||
var _console2;
|
||||
(_console2 = console).error.apply(_console2, [format].concat(args));
|
||||
} else
|
||||
(_len2 = format),
|
||||
enableRemoveConsolePatches ||
|
||||
(ReactSharedInternals.getCurrentStack &&
|
||||
((_key2 = ReactSharedInternals.getCurrentStack()),
|
||||
"" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2])))),
|
||||
args.unshift(_len2),
|
||||
Function.prototype.apply.call(console.error, console, args));
|
||||
}
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
if ("function" === typeof type)
|
||||
@@ -58,7 +37,7 @@ __DEV__ &&
|
||||
if ("object" === typeof type)
|
||||
switch (
|
||||
("number" === typeof type.tag &&
|
||||
error(
|
||||
console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
),
|
||||
type.$$typeof)
|
||||
@@ -100,20 +79,22 @@ __DEV__ &&
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = !0;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
return (
|
||||
(JSCompiler_inline_result =
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
value[Symbol.toStringTag]) ||
|
||||
value.constructor.name ||
|
||||
"Object"),
|
||||
error(
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result
|
||||
),
|
||||
testStringCoercion(value)
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 =
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
value[Symbol.toStringTag]) ||
|
||||
value.constructor.name ||
|
||||
"Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getTaskName(type) {
|
||||
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
||||
@@ -145,7 +126,7 @@ __DEV__ &&
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown ||
|
||||
((specialPropKeyWarningShown = !0),
|
||||
error(
|
||||
console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
@@ -160,7 +141,7 @@ __DEV__ &&
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] ||
|
||||
((didWarnAboutElementRef[componentName] = !0),
|
||||
error(
|
||||
console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
@@ -240,7 +221,7 @@ __DEV__ &&
|
||||
validateChildKeys(children[isStaticChildren]);
|
||||
Object.freeze && Object.freeze(children);
|
||||
} else
|
||||
error(
|
||||
console.error(
|
||||
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
||||
);
|
||||
else validateChildKeys(children);
|
||||
@@ -256,7 +237,7 @@ __DEV__ &&
|
||||
didWarnAboutKeySpread[children + isStaticChildren] ||
|
||||
((keys =
|
||||
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
||||
error(
|
||||
console.error(
|
||||
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
||||
isStaticChildren,
|
||||
children,
|
||||
@@ -301,7 +282,6 @@ __DEV__ &&
|
||||
(node._store.validated = 1);
|
||||
}
|
||||
var React = require("react"),
|
||||
dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags"),
|
||||
REACT_ELEMENT_TYPE = Symbol.for("react.element"),
|
||||
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
||||
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
||||
@@ -315,11 +295,9 @@ __DEV__ &&
|
||||
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
||||
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
||||
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
||||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
||||
ReactSharedInternals =
|
||||
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
||||
enableRemoveConsolePatches =
|
||||
dynamicFlagsUntyped && dynamicFlagsUntyped.enableRemoveConsolePatches,
|
||||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
isArrayImpl = Array.isArray;
|
||||
new ("function" === typeof WeakMap ? WeakMap : Map)();
|
||||
|
||||
+80
-120
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<ff7ee66669be735756c2abc5d5854a17>>
|
||||
* @generated SignedSource<<507482ff12ae74438180e1512735d5d8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -16,7 +16,7 @@ __DEV__ &&
|
||||
function defineDeprecationWarning(methodName, info) {
|
||||
Object.defineProperty(Component.prototype, methodName, {
|
||||
get: function () {
|
||||
warn(
|
||||
console.warn(
|
||||
"%s(...) is deprecated in plain JavaScript React classes. %s",
|
||||
info[0],
|
||||
info[1]
|
||||
@@ -32,44 +32,6 @@ __DEV__ &&
|
||||
maybeIterable["@@iterator"];
|
||||
return "function" === typeof maybeIterable ? maybeIterable : null;
|
||||
}
|
||||
function warn(format) {
|
||||
for (
|
||||
var _len = arguments.length,
|
||||
args = Array(1 < _len ? _len - 1 : 0),
|
||||
_key = 1;
|
||||
_key < _len;
|
||||
_key++
|
||||
)
|
||||
args[_key - 1] = arguments[_key];
|
||||
if (enableRemoveConsolePatches) {
|
||||
var _console;
|
||||
(_console = console).warn.apply(_console, [format].concat(args));
|
||||
} else printWarning("warn", format, args);
|
||||
}
|
||||
function error$jscomp$0(format) {
|
||||
for (
|
||||
var _len2 = arguments.length,
|
||||
args = Array(1 < _len2 ? _len2 - 1 : 0),
|
||||
_key2 = 1;
|
||||
_key2 < _len2;
|
||||
_key2++
|
||||
)
|
||||
args[_key2 - 1] = arguments[_key2];
|
||||
if (enableRemoveConsolePatches) {
|
||||
var _console2;
|
||||
(_console2 = console).error.apply(_console2, [format].concat(args));
|
||||
} else printWarning("error", format, args);
|
||||
}
|
||||
function printWarning(level, format, args) {
|
||||
if (!enableRemoveConsolePatches) {
|
||||
if (ReactSharedInternals.getCurrentStack) {
|
||||
var stack = ReactSharedInternals.getCurrentStack();
|
||||
"" !== stack && ((format += "%s"), (args = args.concat([stack])));
|
||||
}
|
||||
args.unshift(format);
|
||||
Function.prototype.apply.call(console[level], console, args);
|
||||
}
|
||||
}
|
||||
function warnNoop(publicInstance, callerName) {
|
||||
publicInstance =
|
||||
((publicInstance = publicInstance.constructor) &&
|
||||
@@ -77,7 +39,7 @@ __DEV__ &&
|
||||
"ReactClass";
|
||||
var warningKey = publicInstance + "." + callerName;
|
||||
didWarnStateUpdateForUnmountedComponent[warningKey] ||
|
||||
(error$jscomp$0(
|
||||
(console.error(
|
||||
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
|
||||
callerName,
|
||||
publicInstance
|
||||
@@ -107,20 +69,22 @@ __DEV__ &&
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = !0;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
return (
|
||||
(JSCompiler_inline_result =
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
value[Symbol.toStringTag]) ||
|
||||
value.constructor.name ||
|
||||
"Object"),
|
||||
error$jscomp$0(
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result
|
||||
),
|
||||
testStringCoercion(value)
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 =
|
||||
("function" === typeof Symbol &&
|
||||
Symbol.toStringTag &&
|
||||
value[Symbol.toStringTag]) ||
|
||||
value.constructor.name ||
|
||||
"Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
@@ -146,7 +110,7 @@ __DEV__ &&
|
||||
if ("object" === typeof type)
|
||||
switch (
|
||||
("number" === typeof type.tag &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
),
|
||||
type.$$typeof)
|
||||
@@ -208,7 +172,7 @@ __DEV__ &&
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown ||
|
||||
((specialPropKeyWarningShown = !0),
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
@@ -223,7 +187,7 @@ __DEV__ &&
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] ||
|
||||
((didWarnAboutElementRef[componentName] = !0),
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
@@ -303,7 +267,7 @@ __DEV__ &&
|
||||
validateChildKeys(children[isStaticChildren]);
|
||||
Object.freeze && Object.freeze(children);
|
||||
} else
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
||||
);
|
||||
else validateChildKeys(children);
|
||||
@@ -319,7 +283,7 @@ __DEV__ &&
|
||||
didWarnAboutKeySpread[children + isStaticChildren] ||
|
||||
((keys =
|
||||
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
||||
isStaticChildren,
|
||||
children,
|
||||
@@ -520,7 +484,7 @@ __DEV__ &&
|
||||
for (
|
||||
i === children.entries &&
|
||||
(didWarnAboutMaps ||
|
||||
warn(
|
||||
console.warn(
|
||||
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
||||
),
|
||||
(didWarnAboutMaps = !0)),
|
||||
@@ -588,12 +552,12 @@ __DEV__ &&
|
||||
return (
|
||||
(ctor = payload._result),
|
||||
void 0 === ctor &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
||||
ctor
|
||||
),
|
||||
"default" in ctor ||
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
||||
ctor
|
||||
),
|
||||
@@ -604,7 +568,7 @@ __DEV__ &&
|
||||
function resolveDispatcher() {
|
||||
var dispatcher = ReactSharedInternals.H;
|
||||
null === dispatcher &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
||||
);
|
||||
return dispatcher;
|
||||
@@ -626,7 +590,7 @@ __DEV__ &&
|
||||
!1 === didWarnAboutMessageChannel &&
|
||||
((didWarnAboutMessageChannel = !0),
|
||||
"undefined" === typeof MessageChannel &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
|
||||
));
|
||||
var channel = new MessageChannel();
|
||||
@@ -643,7 +607,7 @@ __DEV__ &&
|
||||
}
|
||||
function popActScope(prevActQueue, prevActScopeDepth) {
|
||||
prevActScopeDepth !== actScopeDepth - 1 &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
||||
);
|
||||
actScopeDepth = prevActScopeDepth;
|
||||
@@ -658,8 +622,8 @@ __DEV__ &&
|
||||
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
||||
});
|
||||
return;
|
||||
} catch (error$3) {
|
||||
ReactSharedInternals.thrownErrors.push(error$3);
|
||||
} catch (error) {
|
||||
ReactSharedInternals.thrownErrors.push(error);
|
||||
}
|
||||
else ReactSharedInternals.actQueue = null;
|
||||
0 < ReactSharedInternals.thrownErrors.length
|
||||
@@ -689,9 +653,8 @@ __DEV__ &&
|
||||
} while (1);
|
||||
}
|
||||
queue.length = 0;
|
||||
} catch (error$4) {
|
||||
queue.splice(0, i + 1),
|
||||
ReactSharedInternals.thrownErrors.push(error$4);
|
||||
} catch (error) {
|
||||
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
|
||||
} finally {
|
||||
isFlushing = !1;
|
||||
}
|
||||
@@ -701,9 +664,8 @@ __DEV__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
|
||||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
||||
var dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags"),
|
||||
enableUseEffectCRUDOverload =
|
||||
dynamicFlagsUntyped.enableUseEffectCRUDOverload,
|
||||
var enableUseEffectCRUDOverload =
|
||||
require("ReactNativeInternalFeatureFlags").enableUseEffectCRUDOverload,
|
||||
REACT_ELEMENT_TYPE = Symbol.for("react.element"),
|
||||
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
||||
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
||||
@@ -723,21 +685,6 @@ __DEV__ &&
|
||||
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
|
||||
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
||||
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
||||
ReactSharedInternals = {
|
||||
H: null,
|
||||
A: null,
|
||||
T: null,
|
||||
S: null,
|
||||
V: null,
|
||||
actQueue: null,
|
||||
isBatchingLegacy: !1,
|
||||
didScheduleLegacyUpdate: !1,
|
||||
didUsePromise: !1,
|
||||
thrownErrors: [],
|
||||
getCurrentStack: null
|
||||
},
|
||||
enableRemoveConsolePatches =
|
||||
dynamicFlagsUntyped && dynamicFlagsUntyped.enableRemoveConsolePatches,
|
||||
didWarnStateUpdateForUnmountedComponent = {},
|
||||
ReactNoopUpdateQueue = {
|
||||
isMounted: function () {
|
||||
@@ -771,7 +718,7 @@ __DEV__ &&
|
||||
Component.prototype.forceUpdate = function (callback) {
|
||||
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
||||
};
|
||||
dynamicFlagsUntyped = {
|
||||
var deprecatedAPIs = {
|
||||
isMounted: [
|
||||
"isMounted",
|
||||
"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
|
||||
@@ -781,16 +728,29 @@ __DEV__ &&
|
||||
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
||||
]
|
||||
};
|
||||
for (var fnName in dynamicFlagsUntyped)
|
||||
dynamicFlagsUntyped.hasOwnProperty(fnName) &&
|
||||
defineDeprecationWarning(fnName, dynamicFlagsUntyped[fnName]);
|
||||
for (fnName in deprecatedAPIs)
|
||||
deprecatedAPIs.hasOwnProperty(fnName) &&
|
||||
defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
||||
ComponentDummy.prototype = Component.prototype;
|
||||
fnName = PureComponent.prototype = new ComponentDummy();
|
||||
fnName.constructor = PureComponent;
|
||||
assign(fnName, Component.prototype);
|
||||
fnName.isPureReactComponent = !0;
|
||||
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
||||
deprecatedAPIs.constructor = PureComponent;
|
||||
assign(deprecatedAPIs, Component.prototype);
|
||||
deprecatedAPIs.isPureReactComponent = !0;
|
||||
var isArrayImpl = Array.isArray,
|
||||
REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
||||
ReactSharedInternals = {
|
||||
H: null,
|
||||
A: null,
|
||||
T: null,
|
||||
S: null,
|
||||
V: null,
|
||||
actQueue: null,
|
||||
isBatchingLegacy: !1,
|
||||
didScheduleLegacyUpdate: !1,
|
||||
didUsePromise: !1,
|
||||
thrownErrors: [],
|
||||
getCurrentStack: null
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
||||
new ("function" === typeof WeakMap ? WeakMap : Map)();
|
||||
@@ -847,8 +807,8 @@ __DEV__ &&
|
||||
});
|
||||
}
|
||||
: enqueueTask;
|
||||
fnName = Object.freeze({ __proto__: null, c: useMemoCache });
|
||||
dynamicFlagsUntyped = {
|
||||
deprecatedAPIs = Object.freeze({ __proto__: null, c: useMemoCache });
|
||||
var fnName = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
mapChildren(
|
||||
@@ -886,7 +846,7 @@ __DEV__ &&
|
||||
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
||||
return null === getCurrentStack ? null : getCurrentStack();
|
||||
};
|
||||
exports.Children = dynamicFlagsUntyped;
|
||||
exports.Children = fnName;
|
||||
exports.Component = Component;
|
||||
exports.Fragment = REACT_FRAGMENT_TYPE;
|
||||
exports.Profiler = REACT_PROFILER_TYPE;
|
||||
@@ -895,7 +855,7 @@ __DEV__ &&
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = fnName;
|
||||
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
||||
exports.act = function (callback) {
|
||||
var prevIsBatchingLegacy = ReactSharedInternals.isBatchingLegacy,
|
||||
prevActQueue = ReactSharedInternals.actQueue,
|
||||
@@ -914,8 +874,8 @@ __DEV__ &&
|
||||
didScheduleLegacyUpdate &&
|
||||
flushActQueue(queue);
|
||||
ReactSharedInternals.isBatchingLegacy = prevIsBatchingLegacy;
|
||||
} catch (error$1) {
|
||||
ReactSharedInternals.thrownErrors.push(error$1);
|
||||
} catch (error) {
|
||||
ReactSharedInternals.thrownErrors.push(error);
|
||||
}
|
||||
if (0 < ReactSharedInternals.thrownErrors.length)
|
||||
throw (
|
||||
@@ -935,7 +895,7 @@ __DEV__ &&
|
||||
didAwaitActCall ||
|
||||
didWarnNoAwaitAct ||
|
||||
((didWarnNoAwaitAct = !0),
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
|
||||
));
|
||||
});
|
||||
@@ -955,8 +915,8 @@ __DEV__ &&
|
||||
reject
|
||||
);
|
||||
});
|
||||
} catch (error$2) {
|
||||
ReactSharedInternals.thrownErrors.push(error$2);
|
||||
} catch (error$0) {
|
||||
ReactSharedInternals.thrownErrors.push(error$0);
|
||||
}
|
||||
if (0 < ReactSharedInternals.thrownErrors.length) {
|
||||
var _thrownError = aggregateErrors(
|
||||
@@ -990,7 +950,7 @@ __DEV__ &&
|
||||
didAwaitActCall ||
|
||||
didWarnNoAwaitAct ||
|
||||
((didWarnNoAwaitAct = !0),
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
||||
));
|
||||
}),
|
||||
@@ -1111,7 +1071,7 @@ __DEV__ &&
|
||||
!("__self" in config) ||
|
||||
"key" in config ||
|
||||
((didWarnAboutOldJSXRuntime = !0),
|
||||
warn(
|
||||
console.warn(
|
||||
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
||||
)),
|
||||
hasValidKey(config) &&
|
||||
@@ -1165,17 +1125,17 @@ __DEV__ &&
|
||||
};
|
||||
exports.forwardRef = function (render) {
|
||||
null != render && render.$$typeof === REACT_MEMO_TYPE
|
||||
? error$jscomp$0(
|
||||
? console.error(
|
||||
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
||||
)
|
||||
: "function" !== typeof render
|
||||
? error$jscomp$0(
|
||||
? console.error(
|
||||
"forwardRef requires a render function but was given %s.",
|
||||
null === render ? "null" : typeof render
|
||||
)
|
||||
: 0 !== render.length &&
|
||||
2 !== render.length &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
||||
1 === render.length
|
||||
? "Did you forget to use the ref parameter?"
|
||||
@@ -1183,7 +1143,7 @@ __DEV__ &&
|
||||
);
|
||||
null != render &&
|
||||
null != render.defaultProps &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
|
||||
);
|
||||
var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
|
||||
@@ -1273,7 +1233,7 @@ __DEV__ &&
|
||||
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
||||
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
||||
void 0 !== type.getModuleId)) ||
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"memo: The first argument must be a component. Instead received: %s",
|
||||
null === type ? "null" : typeof type
|
||||
);
|
||||
@@ -1313,15 +1273,15 @@ __DEV__ &&
|
||||
null !== returnValue &&
|
||||
"function" === typeof returnValue.then &&
|
||||
returnValue.then(noop, reportGlobalError);
|
||||
} catch (error$0) {
|
||||
reportGlobalError(error$0);
|
||||
} catch (error) {
|
||||
reportGlobalError(error);
|
||||
} finally {
|
||||
null === prevTransition &&
|
||||
currentTransition._updatedFibers &&
|
||||
((scope = currentTransition._updatedFibers.size),
|
||||
currentTransition._updatedFibers.clear(),
|
||||
10 < scope &&
|
||||
warn(
|
||||
console.warn(
|
||||
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
||||
)),
|
||||
(ReactSharedInternals.T = prevTransition);
|
||||
@@ -1366,7 +1326,7 @@ __DEV__ &&
|
||||
exports.useContext = function (Context) {
|
||||
var dispatcher = resolveDispatcher();
|
||||
Context.$$typeof === REACT_CONSUMER_TYPE &&
|
||||
error$jscomp$0(
|
||||
console.error(
|
||||
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
||||
);
|
||||
return dispatcher.useContext(Context);
|
||||
@@ -1385,7 +1345,7 @@ __DEV__ &&
|
||||
destroy
|
||||
) {
|
||||
null == create &&
|
||||
warn(
|
||||
console.warn(
|
||||
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
var dispatcher = resolveDispatcher();
|
||||
@@ -1414,14 +1374,14 @@ __DEV__ &&
|
||||
};
|
||||
exports.useInsertionEffect = function (create, deps) {
|
||||
null == create &&
|
||||
warn(
|
||||
console.warn(
|
||||
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useInsertionEffect(create, deps);
|
||||
};
|
||||
exports.useLayoutEffect = function (create, deps) {
|
||||
null == create &&
|
||||
warn(
|
||||
console.warn(
|
||||
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useLayoutEffect(create, deps);
|
||||
@@ -1455,7 +1415,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<941d2eedf6f627111af9e0fe721231a8>>
|
||||
* @generated SignedSource<<63defa64ca1009f50eac62c9720167f9>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -603,4 +603,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<adb6f121ffa2b7b169fbe6c57f0e5d53>>
|
||||
* @generated SignedSource<<95ba6c25fa51268131708a3f349b2f88>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -607,7 +607,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-native-fb-9dd378ff-20250224";
|
||||
exports.version = "19.1.0-native-fb-25677265-20250224";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
9dd378ff1222335ff133bab2d61001fcc84a1c56
|
||||
25677265038b89c1ee3000e0669339ed160d9d75
|
||||
|
||||
+250
-325
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<703b95fa1138832ea9305992bea947e9>>
|
||||
* @generated SignedSource<<464b853c6e70113bf399512069d9375b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11038,10 +11038,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1221 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1221.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<cfafe2255169e9eaf803e57790b55500>>
|
||||
* @generated SignedSource<<a052688204c1cdbb5b923fa1c8a7b268>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11691,10 +11691,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1314 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1314.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+265
-344
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<987f709f6d19f2193983a4d5196f6ce3>>
|
||||
* @generated SignedSource<<76a68ac97f754cf24dd8b3e9efff62ee>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11139,11 +11139,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-native-fb-9dd378ff-20250224" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-native-fb-25677265-20250224" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.1.0-native-fb-9dd378ff-20250224\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.1.0-native-fb-25677265-20250224\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11192,10 +11192,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1272 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1272.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e463c01fb4ab51949f9bb4ffc98c6800>>
|
||||
* @generated SignedSource<<ee1aee26fcb05e232a90b1fdb60364be>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11792,11 +11792,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-native-fb-9dd378ff-20250224" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-native-fb-25677265-20250224" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.1.0-native-fb-9dd378ff-20250224\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.1.0-native-fb-25677265-20250224\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11845,10 +11845,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1365 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-native-fb-9dd378ff-20250224",
|
||||
version: "19.1.0-native-fb-25677265-20250224",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-native-fb-9dd378ff-20250224"
|
||||
reconcilerVersion: "19.1.0-native-fb-25677265-20250224"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1365.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
Reference in New Issue
Block a user