[compiler] Fix for string attribute values with emoji

If a JSX attribute value is a string that contains unicode or other characters that need special escaping, we wrap the attribute value in an expression container. However, our unicode to detect this only handled the basic unicode character plane, not the "astral" plane which includes emojis.

This PR updates the regex to detect such extended characters and also use an expression container.

ghstack-source-id: 6d9c8e4dd2
Pull Request resolved: https://github.com/facebook/react/pull/33096

DiffTrain build for [ac2cae5245](https://github.com/facebook/react/commit/ac2cae524576b8091a6d78d9ab05627053949df1)
This commit is contained in:
josephsavona
2025-05-02 17:14:24 -07:00
parent e088016fbd
commit 4c4b5dcb6f
26 changed files with 91 additions and 91 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-66de8e5a-20250502
19.2.0-native-fb-ac2cae52-20250503
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<149bde5d85151a515bb2d0082482a4d3>>
* @generated SignedSource<<3a8e713f412b3794cee2c3089ed3d3c2>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a5f9416c5efde0100f241ff15c240bb9>>
* @generated SignedSource<<6a8ce524bc621b2c0f8ab229a0f9eaf0>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a5f9416c5efde0100f241ff15c240bb9>>
* @generated SignedSource<<6a8ce524bc621b2c0f8ab229a0f9eaf0>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<3438744ea7b502a2ae9e5cfd28cb737d>>
* @generated SignedSource<<d999b69864aa6594360027e7244bf1fb>>
*/
/*
@@ -26650,11 +26650,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-66de8e5a-20250502" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-ac2cae52-20250503" !== 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.2.0-native-fb-66de8e5a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-ac2cae52-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26691,10 +26691,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26838,5 +26838,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<030cc16283cb4cd21d855dad5cd3b543>>
* @generated SignedSource<<6a7f6ee6e3e54d5c956e50d34914495a>>
*/
/*
@@ -16748,14 +16748,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1904 = React.version;
if (
"19.2.0-native-fb-66de8e5a-20250502" !==
"19.2.0-native-fb-ac2cae52-20250503" !==
isomorphicReactPackageVersion$jscomp$inline_1904
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1904,
"19.2.0-native-fb-66de8e5a-20250502"
"19.2.0-native-fb-ac2cae52-20250503"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16777,10 +16777,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2388 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2389 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16884,4 +16884,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ed8abdc3444450f90f8d9728737f3614>>
* @generated SignedSource<<c95103b4e5c15fa20d15fdc7236baebc>>
*/
/*
@@ -17457,14 +17457,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2007 = React.version;
if (
"19.2.0-native-fb-66de8e5a-20250502" !==
"19.2.0-native-fb-ac2cae52-20250503" !==
isomorphicReactPackageVersion$jscomp$inline_2007
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2007,
"19.2.0-native-fb-66de8e5a-20250502"
"19.2.0-native-fb-ac2cae52-20250503"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17486,10 +17486,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2014 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502",
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$305 = 0;
@@ -17608,4 +17608,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<65499d5ae0dff681d45e1944a857a409>>
* @generated SignedSource<<e660219c89547290a57109978206e297>>
*/
/*
@@ -26711,11 +26711,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-66de8e5a-20250502" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-ac2cae52-20250503" !== 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.2.0-native-fb-66de8e5a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-ac2cae52-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26752,10 +26752,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27215,7 +27215,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1b473d03235154ac176cb71a9665a270>>
* @generated SignedSource<<184c3d14507009449d6281a2251dd50f>>
*/
/*
@@ -16759,14 +16759,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1905 = React.version;
if (
"19.2.0-native-fb-66de8e5a-20250502" !==
"19.2.0-native-fb-ac2cae52-20250503" !==
isomorphicReactPackageVersion$jscomp$inline_1905
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1905,
"19.2.0-native-fb-66de8e5a-20250502"
"19.2.0-native-fb-ac2cae52-20250503"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16788,10 +16788,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2391 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2392 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17049,4 +17049,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c6925a5efae5ee4a9abb71a2bdc72dcf>>
* @generated SignedSource<<6bed75389bb636f888f94799d1e7e022>>
*/
/*
@@ -17472,14 +17472,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2008 = React.version;
if (
"19.2.0-native-fb-66de8e5a-20250502" !==
"19.2.0-native-fb-ac2cae52-20250503" !==
isomorphicReactPackageVersion$jscomp$inline_2008
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2008,
"19.2.0-native-fb-66de8e5a-20250502"
"19.2.0-native-fb-ac2cae52-20250503"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17501,10 +17501,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2015 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502",
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$305 = 0;
@@ -17777,7 +17777,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e13902e9f40f44159d3f9e53c447d3f5>>
* @generated SignedSource<<2d8c2ccd0c8b9504dc651fc1fc02fd73>>
*/
"use strict";
@@ -15630,10 +15630,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15778,5 +15778,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a8261aaa9d5b817c5452feb7ab159411>>
* @generated SignedSource<<abb7e7559c1257ba79eb209405a6ed8a>>
*/
"use strict";
@@ -9885,10 +9885,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1439 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1440 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10024,4 +10024,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b5786d25c387a4694daaff124b89443f>>
* @generated SignedSource<<3b0ba8c0b9fed96a41db1b427580e305>>
*/
"use strict";
@@ -10502,10 +10502,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1247 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502",
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$155 = 0;
@@ -10656,4 +10656,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<6a6e6d382ce354e5ad9131568306b1f5>>
* @generated SignedSource<<40b05f43a39445fc6bde13151a5a395a>>
*/
"use strict";
@@ -1412,7 +1412,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e328b1a464346a7e0d32c50abdaa9c95>>
* @generated SignedSource<<3dd6f3dc24d4b89bf026e341d634531a>>
*/
"use strict";
@@ -587,4 +587,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<06a8600654129b7b7171ec3444351a6b>>
* @generated SignedSource<<beb9b6f7bb09117f6bde397c3d074123>>
*/
"use strict";
@@ -591,7 +591,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-66de8e5a-20250502";
exports.version = "19.2.0-native-fb-ac2cae52-20250503";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
66de8e5a9975a4b53734ebed8a1c1f07892426a8
ac2cae524576b8091a6d78d9ab05627053949df1
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0bfe4540607facd9b1b42288ecb69521>>
* @generated SignedSource<<a03bd3d62045e17ea4a582c46f0cb25b>>
*/
"use strict";
@@ -17469,10 +17469,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0af0a5df943e832d931c9a0da1185e60>>
* @generated SignedSource<<afd7c57f6857a894986bd5a7ec6c0e8c>>
*/
"use strict";
@@ -11210,10 +11210,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1251 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1251.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c9e1cffe9280cf3a3c485f22723c7be9>>
* @generated SignedSource<<379595a5f286b9343623d2a926777951>>
*/
"use strict";
@@ -11911,10 +11911,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1352 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1352.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8a074e55c091ccb35b3f77daf8fa34b3>>
* @generated SignedSource<<033aab756eac0a7f1dd9203c53b69aab>>
*/
"use strict";
@@ -17622,11 +17622,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-66de8e5a-20250502" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-ac2cae52-20250503" !== 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.2.0-native-fb-66de8e5a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-ac2cae52-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17652,10 +17652,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<3880844256bfb0035e972a6b32ad0c6a>>
* @generated SignedSource<<31a98c0952ee0b8c5644898aec3c1455>>
*/
"use strict";
@@ -11243,11 +11243,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-66de8e5a-20250502" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-ac2cae52-20250503" !== 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.2.0-native-fb-66de8e5a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-ac2cae52-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11296,10 +11296,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1299 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1299.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<725c3c6cd0cbb443b5e643eeef11a0ce>>
* @generated SignedSource<<2d05fcafa5382311e54e41a4f055f76d>>
*/
"use strict";
@@ -11942,11 +11942,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-66de8e5a-20250502" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-ac2cae52-20250503" !== 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.2.0-native-fb-66de8e5a-20250502\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-ac2cae52-20250503\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11995,10 +11995,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1400 = {
bundleType: 0,
version: "19.2.0-native-fb-66de8e5a-20250502",
version: "19.2.0-native-fb-ac2cae52-20250503",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-66de8e5a-20250502"
reconcilerVersion: "19.2.0-native-fb-ac2cae52-20250503"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1400.rendererConfig = extraDevToolsConfig);
@@ -12,7 +12,7 @@
* @lightSyntaxTransform
* @preventMunge
* @oncall react_core
* @generated SignedSource<<324e2b6f51fe0b8c1b4b81d5b67dc594>>
* @generated SignedSource<<779cdaf32b30e64c4329b58f093932c0>>
*/
'use strict';
@@ -44577,7 +44577,7 @@ function codegenInstructionValue(cx, instrValue) {
}
return value;
}
const STRING_REQUIRES_EXPR_CONTAINER_PATTERN = /[\u{0000}-\u{001F}\u{007F}\u{0080}-\u{FFFF}]|"|\\/u;
const STRING_REQUIRES_EXPR_CONTAINER_PATTERN = /[\u{0000}-\u{001F}\u{007F}\u{0080}-\u{FFFF}\u{010000}-\u{10FFFF}]|"|\\/u;
function codegenJsxAttribute(cx, attribute) {
switch (attribute.kind) {
case 'JsxAttribute': {
@@ -6,7 +6,7 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* @generated SignedSource<<cf1d40ae9b06db6474150ea3f2aec002>>
* @generated SignedSource<<f11eb95927bcf6e5fc0334e2cf2e1714>>
*/
'use strict';
@@ -44356,7 +44356,7 @@ function codegenInstructionValue(cx, instrValue) {
}
return value;
}
const STRING_REQUIRES_EXPR_CONTAINER_PATTERN = /[\u{0000}-\u{001F}\u{007F}\u{0080}-\u{FFFF}]|"|\\/u;
const STRING_REQUIRES_EXPR_CONTAINER_PATTERN = /[\u{0000}-\u{001F}\u{007F}\u{0080}-\u{FFFF}\u{010000}-\u{10FFFF}]|"|\\/u;
function codegenJsxAttribute(cx, attribute) {
switch (attribute.kind) {
case 'JsxAttribute': {
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-66de8e5a-20250502",
"version": "0.0.0-experimental-ac2cae52-20250503",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",