Update warnings extraction to hermes-parser (#27785)

`hermes-parser` is recommended for all Flow files as it supports the
latest features. I noticed we were still using babel here.

Test Plan:
no diff in output before and after

DiffTrain build for commit https://github.com/facebook/react/commit/f391cdab02e90d7e9156a7e6d20c7d92a3c375ac.
This commit is contained in:
kassens
2023-12-04 18:30:56 +00:00
parent 73da448d35
commit b94d209ced
7 changed files with 9 additions and 9 deletions
@@ -25474,7 +25474,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "18.3.0-canary-1729b499e-20231204";
var ReactVersion = "18.3.0-canary-f391cdab0-20231204";
// Might add PROFILE later.
@@ -9083,7 +9083,7 @@ var devToolsConfig$jscomp$inline_1033 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-1729b499e-20231204",
version: "18.3.0-canary-f391cdab0-20231204",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1226 = {
@@ -9114,7 +9114,7 @@ var internals$jscomp$inline_1226 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-1729b499e-20231204"
reconcilerVersion: "18.3.0-canary-f391cdab0-20231204"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9509,7 +9509,7 @@ var devToolsConfig$jscomp$inline_1075 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-1729b499e-20231204",
version: "18.3.0-canary-f391cdab0-20231204",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1267 = {
@@ -9540,7 +9540,7 @@ var internals$jscomp$inline_1267 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-1729b499e-20231204"
reconcilerVersion: "18.3.0-canary-f391cdab0-20231204"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-1729b499e-20231204";
var ReactVersion = "18.3.0-canary-f391cdab0-20231204";
// ATTENTION
// When adding new symbols to this file,
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-1729b499e-20231204";
exports.version = "18.3.0-canary-f391cdab0-20231204";
@@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-1729b499e-20231204";
exports.version = "18.3.0-canary-f391cdab0-20231204";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
1729b499ed8cd456ef3d8bccd413cdecd9931abc
f391cdab02e90d7e9156a7e6d20c7d92a3c375ac