From 923d4abd7b8144424ad0c4f57d7bd11f905d4a34 Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Mon, 4 Mar 2024 17:10:51 -0800 Subject: [PATCH] Update hermes-parser and related packages in fbsource to 0.20.1 (#43317) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43317 Bump hermes-parser and related packages to [0.20.1](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md). Changelog: [internal] Reviewed By: pieterv Differential Revision: D54510131 fbshipit-source-id: 064d2078e85e465552dccf5c1368e49707c3aeef --- package.json | 8 +- .../package.json | 2 +- packages/react-native-codegen/package.json | 4 +- yarn.lock | 74 +++++++++---------- 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index 0bdc71145749af..1b5e63d46e3a40 100644 --- a/package.json +++ b/package.json @@ -87,11 +87,11 @@ "eslint-plugin-react-native": "^4.0.0", "eslint-plugin-redundant-undefined": "^0.4.0", "eslint-plugin-relay": "^1.8.3", - "flow-api-translator": "0.20.0", + "flow-api-translator": "0.20.1", "flow-bin": "^0.229.2", "glob": "^7.1.1", - "hermes-eslint": "0.20.0", - "hermes-transform": "0.20.0", + "hermes-eslint": "0.20.1", + "hermes-transform": "0.20.1", "inquirer": "^7.1.0", "jest": "^29.6.3", "jest-junit": "^10.0.0", @@ -104,7 +104,7 @@ "node-fetch": "^2.2.0", "nullthrows": "^1.1.1", "prettier": "2.8.8", - "prettier-plugin-hermes-parser": "0.20.0", + "prettier-plugin-hermes-parser": "0.20.1", "react": "18.2.0", "react-test-renderer": "18.2.0", "rimraf": "^3.0.2", diff --git a/packages/react-native-babel-transformer/package.json b/packages/react-native-babel-transformer/package.json index b2f0f0fbc1fb0e..301ee835ec6bad 100644 --- a/packages/react-native-babel-transformer/package.json +++ b/packages/react-native-babel-transformer/package.json @@ -17,7 +17,7 @@ "dependencies": { "@babel/core": "^7.20.0", "@react-native/babel-preset": "0.75.0-main", - "hermes-parser": "0.20.0", + "hermes-parser": "0.20.1", "nullthrows": "^1.1.1" }, "peerDependencies": { diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index 98021a606418a0..64be2aef7041ce 100644 --- a/packages/react-native-codegen/package.json +++ b/packages/react-native-codegen/package.json @@ -31,7 +31,7 @@ "dependencies": { "@babel/parser": "^7.20.0", "glob": "^7.1.1", - "hermes-parser": "0.20.0", + "hermes-parser": "0.20.1", "invariant": "^2.2.4", "jscodeshift": "^0.14.0", "mkdirp": "^0.5.1", @@ -49,7 +49,7 @@ "@babel/plugin-transform-flow-strip-types": "^7.20.0", "@babel/preset-env": "^7.20.0", "chalk": "^4.0.0", - "hermes-estree": "0.20.0", + "hermes-estree": "0.20.1", "micromatch": "^4.0.4", "prettier": "2.8.8", "rimraf": "^3.0.2", diff --git a/yarn.lock b/yarn.lock index 0818cd058c339e..f702dabecf3a7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5137,18 +5137,18 @@ flatted@^3.1.0: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.2.tgz#64bfed5cb68fe3ca78b3eb214ad97b63bedce561" integrity sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA== -flow-api-translator@0.20.0: - version "0.20.0" - resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.20.0.tgz#43f8efed80da1c01f52f96c224fbbce9477792a7" - integrity sha512-51Fvqnn1VFA98guXk4R39TTz1SCVP3A/pIldXqgXcwW4OGGBK9XFwo73TdE0+rYxqRHVg0HWpM7IaRvDrWPiJw== +flow-api-translator@0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.20.1.tgz#22d2be2f95edc6c397d00c0bf41d419a2eae35ba" + integrity sha512-RY/flm0omS6LjKna93HUUtx2bUf9qTX9i90RtUdZoVSB7u41nEAebmyM+mpOPsNqvCEIHQxxXs/22/PkQW1OCw== dependencies: "@babel/code-frame" "^7.16.0" "@typescript-eslint/visitor-keys" "^5.42.0" flow-enums-runtime "^0.0.6" - hermes-eslint "0.20.0" - hermes-estree "0.20.0" - hermes-parser "0.20.0" - hermes-transform "0.20.0" + hermes-eslint "0.20.1" + hermes-estree "0.20.1" + hermes-parser "0.20.1" + hermes-transform "0.20.1" flow-bin@^0.229.2: version "0.229.2" @@ -5537,14 +5537,14 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hermes-eslint@0.20.0: - version "0.20.0" - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.20.0.tgz#b34f6ced2134423b05d394794b34a57c47290476" - integrity sha512-XVNfDSsU/mgbEkhv1afIIrzi131tou1N/paq7PhbExXM/XEzcLKRgrV4l61ODy8moK3tfiZ9WLb6A0pDuwaCNA== +hermes-eslint@0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.20.1.tgz#4a731b47a6d169bbd4514aaa74bd812fd90f3554" + integrity sha512-EhdvFV6RkPIJvbqN8oqFZO1oF4NlPWMjhMjCWkUJX1YL1MZMfkF7nSdx6RKTq6xK17yo+Bgv88L21xuH9GtRpw== dependencies: esrecurse "^4.3.0" - hermes-estree "0.20.0" - hermes-parser "0.20.0" + hermes-estree "0.20.1" + hermes-parser "0.20.1" hermes-estree@0.17.0: version "0.17.0" @@ -5556,10 +5556,10 @@ hermes-estree@0.18.2: resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.18.2.tgz#fd450fa1659cf074ceaa2ddeeb21674f3b2342f3" integrity sha512-KoLsoWXJ5o81nit1wSyEZnWUGy9cBna9iYMZBR7skKh7okYAYKqQ9/OczwpMHn/cH0hKDyblulGsJ7FknlfVxQ== -hermes-estree@0.20.0: - version "0.20.0" - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.20.0.tgz#f8d7be10495274bfeb02c8b43d511a5ace19f7e7" - integrity sha512-TbBq98tclEfJE3NatmWtSMk51RXKvvBlaJqm/XVsJlP5mkXNrDx5FUTCoN221/cyQ4PcoJw/aRELbi0QeAw6Bg== +hermes-estree@0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.20.1.tgz#0b9a544cf883a779a8e1444b915fa365bef7f72d" + integrity sha512-SQpZK4BzR48kuOg0v4pb3EAGNclzIlqMj3Opu/mu7bbAoFw6oig6cEt/RAi0zTFW/iW6Iz9X9ggGuZTAZ/yZHg== hermes-parser@0.17.0: version "0.17.0" @@ -5575,12 +5575,12 @@ hermes-parser@0.18.2: dependencies: hermes-estree "0.18.2" -hermes-parser@0.20.0: - version "0.20.0" - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.20.0.tgz#71fe1130a2bb12bec1091b3fedc5301b8745bb26" - integrity sha512-vYTT4KeXAa6WmolPl++QLvcBi86ao5i9jJ4JCLX5s1c9eC1Xf/9AY/RUlKl9KY66Sg2uyuHE9A5BqbUT+hbbaA== +hermes-parser@0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.20.1.tgz#ad10597b99f718b91e283f81cbe636c50c3cff92" + integrity sha512-BL5P83cwCogI8D7rrDCgsFY0tdYUtmFP9XaXtl2IQjC+2Xo+4okjfXintlTxcIwl4qeGddEl28Z11kbVIw0aNA== dependencies: - hermes-estree "0.20.0" + hermes-estree "0.20.1" hermes-profile-transformer@^0.0.6: version "0.0.6" @@ -5589,17 +5589,17 @@ hermes-profile-transformer@^0.0.6: dependencies: source-map "^0.7.3" -hermes-transform@0.20.0: - version "0.20.0" - resolved "https://registry.yarnpkg.com/hermes-transform/-/hermes-transform-0.20.0.tgz#b5879e982e6a64606ab6e9287842156ea07bd872" - integrity sha512-Q1dqaXJvJP6NAzek3z0bmK24M+Vn2jXsXIk+nau/PJQeH0Z5SwjcTUsZUOELdcMzBjtYG3xbM/pGMcg2/eMjCQ== +hermes-transform@0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/hermes-transform/-/hermes-transform-0.20.1.tgz#910bd0ea7cc58eca4c0acadb413d779b70dd3803" + integrity sha512-gpetyzAQvuLXVWIk8/I2A/ei/5+o8eT+QuSGd8FcWpXoYxVkYjVKLVNE9xKLsEkk2wQ1tXODY5OeOZoaz9jL7Q== dependencies: "@babel/code-frame" "^7.16.0" esquery "^1.4.0" flow-enums-runtime "^0.0.6" - hermes-eslint "0.20.0" - hermes-estree "0.20.0" - hermes-parser "0.20.0" + hermes-eslint "0.20.1" + hermes-estree "0.20.1" + hermes-parser "0.20.1" homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: version "1.0.3" @@ -7878,14 +7878,14 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-hermes-parser@0.20.0: - version "0.20.0" - resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.20.0.tgz#32a7b46901fd8c93aabffb93f2cec8ae7ea6a5d5" - integrity sha512-IzUrpE5eP61N7aeLGXNqBbqz4BzzvRi0v6B5a4Yn/5QqSs/HPZvWXTNK9z4svur01ZJezFIYwy5psb6R3YpVJg== +prettier-plugin-hermes-parser@0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.20.1.tgz#a5f395ae77170813e631f4538c9ef29311b4db1d" + integrity sha512-T6dfa1++ckTxd3MbLxS6sTv1T3yvTu1drahNt3g34hyCzSwYTKTByocLyhd1A9j9uCUlIPD+ogum7+i1h3+CEw== dependencies: - hermes-estree "0.20.0" - hermes-parser "0.20.0" - prettier-plugin-hermes-parser "0.20.0" + hermes-estree "0.20.1" + hermes-parser "0.20.1" + prettier-plugin-hermes-parser "0.20.1" prettier@2.8.8: version "2.8.8"