mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[eprh] Remove hermes-parser (#34719)
We will be focusing eslint-plugin-react-hooks as the primary OSS-only
package for our lint plugin. eslint-plugin-react-compiler will remain as
a Meta only package as some limitations of our internal infra require us
to use packages that aren't widely adopted by the rest of the industry.
This PR removes `hermes-parser`, which was meant to support parsing Flow
syntax.
DiffTrain build for [71753ac90a](https://github.com/facebook/react/commit/71753ac90a009ddefe2f7653165902d55edd1898)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.3.0-native-fb-f24d3bbc-20251003
|
||||
19.3.0-native-fb-71753ac9-20251003
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<12a6a1fe7e14a52dae85efcaf63025da>>
|
||||
* @generated SignedSource<<f649ccf82be7f8f40835b2a2123b83e7>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<376ea6197ef4f14890567d8e94267415>>
|
||||
* @generated SignedSource<<af335330d709b5376fd231a4efbbcebd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<376ea6197ef4f14890567d8e94267415>>
|
||||
* @generated SignedSource<<af335330d709b5376fd231a4efbbcebd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<aac5cf1ef0e5685a1ae02cced6cb161a>>
|
||||
* @generated SignedSource<<698995e343b43464f6884de557af13db>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30061,11 +30061,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-f24d3bbc-20251003" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-71753ac9-20251003" !== 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.3.0-native-fb-f24d3bbc-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.3.0-native-fb-71753ac9-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30102,10 +30102,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30255,5 +30255,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
})();
|
||||
|
||||
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<<4d296327fe6ce9efc04f11295d65bcba>>
|
||||
* @generated SignedSource<<66d9c06bf1f5764125c5c2fa77f3e048>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17578,14 +17578,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-f24d3bbc-20251003" !==
|
||||
"19.3.0-native-fb-71753ac9-20251003" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2059,
|
||||
"19.3.0-native-fb-f24d3bbc-20251003"
|
||||
"19.3.0-native-fb-71753ac9-20251003"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17607,10 +17607,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2636 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2637 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17717,4 +17717,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c5dedf4b6ea9af49f09a442c0db4f7c9>>
|
||||
* @generated SignedSource<<25ec9d0f5d0ea25b754d9f9539e48805>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19716,14 +19716,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2374 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-f24d3bbc-20251003" !==
|
||||
"19.3.0-native-fb-71753ac9-20251003" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2374,
|
||||
"19.3.0-native-fb-f24d3bbc-20251003"
|
||||
"19.3.0-native-fb-71753ac9-20251003"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19745,10 +19745,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2381 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -19871,4 +19871,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4cf58109a8a38aef4731a343c9e7093e>>
|
||||
* @generated SignedSource<<1bc2ccc491410ff7d21f0415ab91dcb2>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -30117,11 +30117,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-f24d3bbc-20251003" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-71753ac9-20251003" !== 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.3.0-native-fb-f24d3bbc-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.3.0-native-fb-71753ac9-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -30158,10 +30158,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -30627,7 +30627,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d47a4b40fb686f248d0b43ce541c17ed>>
|
||||
* @generated SignedSource<<3025f05b50afdd57090b1c922a191c09>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17589,14 +17589,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2060 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-f24d3bbc-20251003" !==
|
||||
"19.3.0-native-fb-71753ac9-20251003" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2060,
|
||||
"19.3.0-native-fb-f24d3bbc-20251003"
|
||||
"19.3.0-native-fb-71753ac9-20251003"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17618,10 +17618,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2639 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2640 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17881,4 +17881,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7572c500ae8dba0c7955f29918c2d1b4>>
|
||||
* @generated SignedSource<<b140c2eeae7fafd21f525615b171fa66>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19731,14 +19731,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2375 = React.version;
|
||||
if (
|
||||
"19.3.0-native-fb-f24d3bbc-20251003" !==
|
||||
"19.3.0-native-fb-71753ac9-20251003" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2375,
|
||||
"19.3.0-native-fb-f24d3bbc-20251003"
|
||||
"19.3.0-native-fb-71753ac9-20251003"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19760,10 +19760,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2382 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -20039,7 +20039,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<91802e19e6dbe87cc83eea29a0d09de5>>
|
||||
* @generated SignedSource<<ad3c5a959f4234f480bb503955057aa8>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -16015,10 +16015,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16164,5 +16164,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
})();
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<77ed9edf532e4f9ffa3fe3ff010fd9bd>>
|
||||
* @generated SignedSource<<f174c796d2835e3aa2d50f6a25e7ff4c>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10105,10 +10105,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1493 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1494 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10244,4 +10244,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fb276ba14d73ad166ff1a6261920f93c>>
|
||||
* @generated SignedSource<<bc2bff865dce6d0967d4735dfed06cc0>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10726,10 +10726,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1274 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$146 = 0;
|
||||
@@ -10880,4 +10880,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f9ef5a010f0dbe05b01cc557218bd44a>>
|
||||
* @generated SignedSource<<c066ccd24cce25693eae59cd3b306e01>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1400,7 +1400,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<9db3ff9d3ad4607e7cdd8d530a2b86f6>>
|
||||
* @generated SignedSource<<71c48cfe56fc062d83752cd06aa3bcbd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -583,4 +583,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8b3e7f01a6a53a230a078a37840f87f3>>
|
||||
* @generated SignedSource<<ce111a170e898aa9c3864ca47b63fe11>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -587,7 +587,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.3.0-native-fb-f24d3bbc-20251003";
|
||||
exports.version = "19.3.0-native-fb-71753ac9-20251003";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
f24d3bbc70ae6544b5aafd250f22f0a68b4a3107
|
||||
71753ac90a009ddefe2f7653165902d55edd1898
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<78bc506ddb599d0342a7d485e06dfb91>>
|
||||
* @generated SignedSource<<d67de66c6b17997aef1f833d0180b02e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20021,10 +20021,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d1f6ee9492eb3c2cfcd835a42d60137a>>
|
||||
* @generated SignedSource<<74e93bc3a49583c1f624369c5d59169b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11270,10 +11270,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1321 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1321.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b2d90cfe91875065effcf855f92c3bbd>>
|
||||
* @generated SignedSource<<e770173e677658114252926adaf0f243>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13334,10 +13334,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1629 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1629.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<68e5f0eb441600db05cf8f3449541900>>
|
||||
* @generated SignedSource<<1b081e5646f6b1cf56141e185ee3ff71>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -20292,11 +20292,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-f24d3bbc-20251003" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-71753ac9-20251003" !== 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.3.0-native-fb-f24d3bbc-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-71753ac9-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -20322,10 +20322,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b4ac65ae3a7fc7ab4a934f8f9c1479a6>>
|
||||
* @generated SignedSource<<9bc3d38b05cf74a37900e36bc2d1bf43>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11426,11 +11426,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-f24d3bbc-20251003" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-71753ac9-20251003" !== 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.3.0-native-fb-f24d3bbc-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-71753ac9-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11480,10 +11480,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1326 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1326.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fb7dfa30e04ba7bab4053a3f5cdc3051>>
|
||||
* @generated SignedSource<<2f2e08090aea09975676e15f95abc00f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13483,11 +13483,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.3.0-native-fb-f24d3bbc-20251003" !== isomorphicReactPackageVersion)
|
||||
if ("19.3.0-native-fb-71753ac9-20251003" !== 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.3.0-native-fb-f24d3bbc-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.3.0-native-fb-71753ac9-20251003\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13537,10 +13537,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1634 = {
|
||||
bundleType: 0,
|
||||
version: "19.3.0-native-fb-f24d3bbc-20251003",
|
||||
version: "19.3.0-native-fb-71753ac9-20251003",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.3.0-native-fb-f24d3bbc-20251003"
|
||||
reconcilerVersion: "19.3.0-native-fb-71753ac9-20251003"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1634.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+8
-23
@@ -12,7 +12,7 @@
|
||||
* @lightSyntaxTransform
|
||||
* @preventMunge
|
||||
* @oncall react_core
|
||||
* @generated SignedSource<<76e2aa77c885f2792f59a47a66ee7007>>
|
||||
* @generated SignedSource<<bc44c739fd5a99692d74178b8afab7c3>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -26,7 +26,6 @@ var BabelParser = require('@babel/parser');
|
||||
var zod = require('zod');
|
||||
var zodValidationError = require('zod-validation-error');
|
||||
var crypto = require('crypto');
|
||||
var HermesParser = require('hermes-parser');
|
||||
var util = require('util');
|
||||
|
||||
const SETTINGS_KEY = 'react-hooks';
|
||||
@@ -54222,28 +54221,14 @@ function runReactCompilerImpl({ sourceCode, filename, userOpts, }) {
|
||||
(_b = options.logger) === null || _b === void 0 ? void 0 : _b.logEvent(filename, err);
|
||||
}
|
||||
let babelAST = null;
|
||||
if (filename.endsWith('.tsx') || filename.endsWith('.ts')) {
|
||||
try {
|
||||
babelAST = BabelParser.parse(sourceCode.text, {
|
||||
sourceFilename: filename,
|
||||
sourceType: 'unambiguous',
|
||||
plugins: ['typescript', 'jsx'],
|
||||
});
|
||||
}
|
||||
catch (_c) {
|
||||
}
|
||||
try {
|
||||
babelAST = BabelParser.parse(sourceCode.text, {
|
||||
sourceFilename: filename,
|
||||
sourceType: 'unambiguous',
|
||||
plugins: ['typescript', 'jsx'],
|
||||
});
|
||||
}
|
||||
else {
|
||||
try {
|
||||
babelAST = HermesParser.parse(sourceCode.text, {
|
||||
babel: true,
|
||||
enableExperimentalComponentSyntax: true,
|
||||
sourceFilename: filename,
|
||||
sourceType: 'module',
|
||||
});
|
||||
}
|
||||
catch (_d) {
|
||||
}
|
||||
catch (err) {
|
||||
}
|
||||
if (babelAST != null) {
|
||||
results.flowSuppressions = getFlowSuppressions(sourceCode);
|
||||
|
||||
+8
-23
@@ -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<<74b0ce806712dd0a9ac5cde51b406921>>
|
||||
* @generated SignedSource<<c066f50c6a4fbda2b01d61312bd63a96>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -16,7 +16,6 @@ var BabelParser = require('@babel/parser');
|
||||
var zod = require('zod');
|
||||
var zodValidationError = require('zod-validation-error');
|
||||
var crypto = require('crypto');
|
||||
var HermesParser = require('hermes-parser');
|
||||
var util = require('util');
|
||||
|
||||
const SETTINGS_KEY = 'react-hooks';
|
||||
@@ -54001,28 +54000,14 @@ function runReactCompilerImpl({ sourceCode, filename, userOpts, }) {
|
||||
(_b = options.logger) === null || _b === void 0 ? void 0 : _b.logEvent(filename, err);
|
||||
}
|
||||
let babelAST = null;
|
||||
if (filename.endsWith('.tsx') || filename.endsWith('.ts')) {
|
||||
try {
|
||||
babelAST = BabelParser.parse(sourceCode.text, {
|
||||
sourceFilename: filename,
|
||||
sourceType: 'unambiguous',
|
||||
plugins: ['typescript', 'jsx'],
|
||||
});
|
||||
}
|
||||
catch (_c) {
|
||||
}
|
||||
try {
|
||||
babelAST = BabelParser.parse(sourceCode.text, {
|
||||
sourceFilename: filename,
|
||||
sourceType: 'unambiguous',
|
||||
plugins: ['typescript', 'jsx'],
|
||||
});
|
||||
}
|
||||
else {
|
||||
try {
|
||||
babelAST = HermesParser.parse(sourceCode.text, {
|
||||
babel: true,
|
||||
enableExperimentalComponentSyntax: true,
|
||||
sourceFilename: filename,
|
||||
sourceType: 'module',
|
||||
});
|
||||
}
|
||||
catch (_d) {
|
||||
}
|
||||
catch (err) {
|
||||
}
|
||||
if (babelAST != null) {
|
||||
results.flowSuppressions = getFlowSuppressions(sourceCode);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-f24d3bbc-20251003",
|
||||
"version": "0.0.0-experimental-71753ac9-20251003",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
@@ -41,7 +41,6 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.24.4",
|
||||
"@babel/parser": "^7.24.4",
|
||||
"hermes-parser": "^0.25.1",
|
||||
"zod": "^3.22.4",
|
||||
"zod-validation-error": "^3.0.3"
|
||||
},
|
||||
@@ -50,14 +49,14 @@
|
||||
"@babel/preset-typescript": "^7.26.0",
|
||||
"@babel/types": "^7.19.0",
|
||||
"@tsconfig/strictest": "^2.0.5",
|
||||
"@typescript-eslint/parser-v2": "npm:@typescript-eslint/parser@^2.26.0",
|
||||
"@typescript-eslint/parser-v3": "npm:@typescript-eslint/parser@^3.10.0",
|
||||
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@^4.1.0",
|
||||
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.62.0",
|
||||
"@types/eslint": "^8.56.12",
|
||||
"@types/estree": "^1.0.6",
|
||||
"@types/estree-jsx": "^1.0.5",
|
||||
"@types/node": "^20.2.5",
|
||||
"@typescript-eslint/parser-v2": "npm:@typescript-eslint/parser@^2.26.0",
|
||||
"@typescript-eslint/parser-v3": "npm:@typescript-eslint/parser@^3.10.0",
|
||||
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@^4.1.0",
|
||||
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.62.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"eslint-v7": "npm:eslint@^7.7.0",
|
||||
"eslint-v8": "npm:eslint@^8.57.1",
|
||||
|
||||
Reference in New Issue
Block a user