Resolve babel-plugin-syntax-hermes-parser from metro-babel-register to latest (#57033)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/57033

We have [this revert](https://github.com/facebook/react-native/commit/833144fcecf8be72a372c655933a5496b8775d60) because the metro is stuck on an old version of of hermes-parser. The parser is already bumped in the metro source code. Instead of waiting for a new release that's tied to the react native release cycle, let's just bump it here and now via yarn resolution. It can be removed once a new version is cut.

Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D107165685

fbshipit-source-id: 0076418b8062c13f13b2a2c1306fec511a866d11
This commit is contained in:
Sam Zhou
2026-06-01 21:17:52 -07:00
committed by meta-codesync[bot]
parent 23ce90bd3b
commit be6a7a545e
2 changed files with 2 additions and 8 deletions
+1
View File
@@ -124,6 +124,7 @@
"on-headers": "1.1.0",
"compression": "1.8.1",
"@microsoft/api-extractor/minimatch": "3.1.4",
"metro-babel-register/babel-plugin-syntax-hermes-parser": "0.36.1",
"lodash": "4.18.1"
}
}
+1 -8
View File
@@ -3068,14 +3068,7 @@ babel-plugin-replace-ts-export-assignment@^0.0.2:
resolved "https://registry.yarnpkg.com/babel-plugin-replace-ts-export-assignment/-/babel-plugin-replace-ts-export-assignment-0.0.2.tgz#927a30ba303fcf271108980a8d4f80a693e1d53f"
integrity sha512-BiTEG2Ro+O1spuheL5nB289y37FFmz0ISE6GjpNCG2JuA/WNcuEHSYw01+vN8quGf208sID3FnZFDwVyqX18YQ==
babel-plugin-syntax-hermes-parser@0.35.0:
version "0.35.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.35.0.tgz#9daa5340b6a5b329985f4c5cda2c6b1a355daed5"
integrity sha512-9Hbqe8S8JWQ4EiHBFFkqLiFPXJL4bHhYooT536r78jVPfSUtgLtY9lCelY4QJzJORSy/9L3zXDhyN+QsPBMsTw==
dependencies:
hermes-parser "0.35.0"
babel-plugin-syntax-hermes-parser@0.36.1:
babel-plugin-syntax-hermes-parser@0.35.0, babel-plugin-syntax-hermes-parser@0.36.1:
version "0.36.1"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.36.1.tgz#970277618fbec67b400bf8b01e4f61ba96ef5a40"
integrity sha512-ycduwJbvdvIMmVvlAZqGggS+pm5Eu4Bk9pcV9Sm2Z4PJNRVsKkv0g7vHj+LeuC1gHTeF67sJXFOq61IlqCa2hA==