Skip to content

Commit be6a7a5

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
Resolve babel-plugin-syntax-hermes-parser from metro-babel-register to latest (#57033)
Summary: Pull Request resolved: #57033 We have [this revert](833144f) 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
1 parent 23ce90b commit be6a7a5

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
"on-headers": "1.1.0",
125125
"compression": "1.8.1",
126126
"@microsoft/api-extractor/minimatch": "3.1.4",
127+
"metro-babel-register/babel-plugin-syntax-hermes-parser": "0.36.1",
127128
"lodash": "4.18.1"
128129
}
129130
}

yarn.lock

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3068,14 +3068,7 @@ babel-plugin-replace-ts-export-assignment@^0.0.2:
30683068
resolved "https://registry.yarnpkg.com/babel-plugin-replace-ts-export-assignment/-/babel-plugin-replace-ts-export-assignment-0.0.2.tgz#927a30ba303fcf271108980a8d4f80a693e1d53f"
30693069
integrity sha512-BiTEG2Ro+O1spuheL5nB289y37FFmz0ISE6GjpNCG2JuA/WNcuEHSYw01+vN8quGf208sID3FnZFDwVyqX18YQ==
30703070

3071-
babel-plugin-syntax-hermes-parser@0.35.0:
3072-
version "0.35.0"
3073-
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.35.0.tgz#9daa5340b6a5b329985f4c5cda2c6b1a355daed5"
3074-
integrity sha512-9Hbqe8S8JWQ4EiHBFFkqLiFPXJL4bHhYooT536r78jVPfSUtgLtY9lCelY4QJzJORSy/9L3zXDhyN+QsPBMsTw==
3075-
dependencies:
3076-
hermes-parser "0.35.0"
3077-
3078-
babel-plugin-syntax-hermes-parser@0.36.1:
3071+
babel-plugin-syntax-hermes-parser@0.35.0, babel-plugin-syntax-hermes-parser@0.36.1:
30793072
version "0.36.1"
30803073
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.36.1.tgz#970277618fbec67b400bf8b01e4f61ba96ef5a40"
30813074
integrity sha512-ycduwJbvdvIMmVvlAZqGggS+pm5Eu4Bk9pcV9Sm2Z4PJNRVsKkv0g7vHj+LeuC1gHTeF67sJXFOq61IlqCa2hA==

0 commit comments

Comments
 (0)