From e37da1e71a039768202ab4888463fb3b3eca8352 Mon Sep 17 00:00:00 2001 From: "Alex Taylor (alta)" Date: Wed, 7 Feb 2024 12:47:15 -0800 Subject: [PATCH] Update hermes-parser and related packages in fbsource to 0.19.1 (#42901) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42901 Bump hermes-parser and related packages to [0.19.1](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md). Changelog: [internal] Reviewed By: gkz Differential Revision: D53485553 fbshipit-source-id: 9ecc0cd30606462bcbd29a7a75daccda8d442dd6 --- 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 0492d734805a36..2a6916b8eb1964 100644 --- a/package.json +++ b/package.json @@ -86,11 +86,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.19.0", + "flow-api-translator": "0.19.1", "flow-bin": "^0.228.0", "glob": "^7.1.1", - "hermes-eslint": "0.19.0", - "hermes-transform": "0.19.0", + "hermes-eslint": "0.19.1", + "hermes-transform": "0.19.1", "inquirer": "^7.1.0", "jest": "^29.6.3", "jest-junit": "^10.0.0", @@ -103,7 +103,7 @@ "node-fetch": "^2.2.0", "nullthrows": "^1.1.1", "prettier": "2.8.8", - "prettier-plugin-hermes-parser": "0.19.0", + "prettier-plugin-hermes-parser": "0.19.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 27efc07c376bbb..b78d79c643db84 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.74.0", - "hermes-parser": "0.19.0", + "hermes-parser": "0.19.1", "nullthrows": "^1.1.1" }, "peerDependencies": { diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index a876fdfbd839bb..2e8200e957f0a7 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.19.0", + "hermes-parser": "0.19.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.19.0", + "hermes-estree": "0.19.1", "micromatch": "^4.0.4", "prettier": "2.8.8", "rimraf": "^3.0.2", diff --git a/yarn.lock b/yarn.lock index dd43f168c4b316..47a76667a67001 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5127,18 +5127,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.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.19.0.tgz#ce2dc18f6345e742c7cc5a4e2ecc33a4a34a586a" - integrity sha512-sWWyqQpvnBU27MkcP7gFK/kruCaSFUI6mqx31ZuRCdraY/y2VCESqF/eiRCNink/GYFsLpKcbhWvwvhDbM70pw== +flow-api-translator@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/flow-api-translator/-/flow-api-translator-0.19.1.tgz#e5707f6ba96571ccfada231c013386504c8be3a0" + integrity sha512-3O5SZFKJNcpsyyBsnkh6VlHBVjjzQULtZSZSXgs/KKzvAKTnH8z+f5A49jqozsWzrfUcJziS6nrS3eVRsPYazA== dependencies: "@babel/code-frame" "^7.16.0" "@typescript-eslint/visitor-keys" "^5.42.0" flow-enums-runtime "^0.0.6" - hermes-eslint "0.19.0" - hermes-estree "0.19.0" - hermes-parser "0.19.0" - hermes-transform "0.19.0" + hermes-eslint "0.19.1" + hermes-estree "0.19.1" + hermes-parser "0.19.1" + hermes-transform "0.19.1" flow-bin@^0.228.0: version "0.228.0" @@ -5527,14 +5527,14 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hermes-eslint@0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.19.0.tgz#db63b0f8303a2902eb033bf3ab688586067acf76" - integrity sha512-lP1dP/+OmulOPxcFuHQLG+QUFk3gYoiN11rL/JjWIG0JQzMay2Z+f0GOHX68Y31L3t1tpCXEYyzvjpuwswduLg== +hermes-eslint@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.19.1.tgz#289076a840c12a0682a4fe0ae394de021299ff7f" + integrity sha512-GCTgMq1zpR4z5AcBVzgjmirwLEA6TpYIAgmK37Ncpc8NTGnE3cgtPikLtQIVS5GrNtVNOBvPnbCARTu0Esojhw== dependencies: esrecurse "^4.3.0" - hermes-estree "0.19.0" - hermes-parser "0.19.0" + hermes-estree "0.19.1" + hermes-parser "0.19.1" hermes-estree@0.17.0: version "0.17.0" @@ -5546,10 +5546,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.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.19.0.tgz#8f3aa02234b8dbb0862681012a72f413b0a7fb54" - integrity sha512-FAiXKtROMOirOJ/koUNFu+28fKSCRQNs7BTx4V3i/yc5BIyS/B3wLquJLd/jgvQoQCu7ZtbB6VOIrFKwWBBq1w== +hermes-estree@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.19.1.tgz#d5924f5fac2bf0532547ae9f506d6db8f3c96392" + integrity sha512-daLGV3Q2MKk8w4evNMKwS8zBE/rcpA800nu1Q5kM08IKijoSnPe9Uo1iIxzPKRkn95IxxsgBMPeYHt3VG4ej2g== hermes-parser@0.17.0: version "0.17.0" @@ -5565,12 +5565,12 @@ hermes-parser@0.18.2: dependencies: hermes-estree "0.18.2" -hermes-parser@0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.19.0.tgz#e5ff1157994d54517b780d8022203434e5ceac91" - integrity sha512-jGvGBgiCqd+VwBaTag1zUZRLlAzexWcf069v252k/K+Wm7ohXBt+SN2l9ny2a0zMoOaEi+decoH+gETdanXSOw== +hermes-parser@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.19.1.tgz#1044348097165b7c93dc198a80b04ed5130d6b1a" + integrity sha512-Vp+bXzxYJWrpEuJ/vXxUsLnt0+y4q9zyi4zUlkLqD8FKv4LjIfOvP69R/9Lty3dCyKh0E2BU7Eypqr63/rKT/A== dependencies: - hermes-estree "0.19.0" + hermes-estree "0.19.1" hermes-profile-transformer@^0.0.6: version "0.0.6" @@ -5579,17 +5579,17 @@ hermes-profile-transformer@^0.0.6: dependencies: source-map "^0.7.3" -hermes-transform@0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/hermes-transform/-/hermes-transform-0.19.0.tgz#07b93bb2c52fbb38f47fea43592105ede52bd8d9" - integrity sha512-4wFt3ciBzvhqW9DRzak2c1ddwLg2I2Rep+6hrzIw8vL1jOtc+Wti56G95J37hewQ0VMRIWOlVwKAIMQCX7U7dg== +hermes-transform@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/hermes-transform/-/hermes-transform-0.19.1.tgz#2c4896f5a1b9ad61bb2b37b2df5ceb2e60aa3b29" + integrity sha512-jfBgKhFBqQi6/K7u1/IfwRUZFzl0S628wftWsSCdDvMbzF1DReIz5A0Be47jDZ1eniLP6QF8fIsH/mP2ttylCw== dependencies: "@babel/code-frame" "^7.16.0" esquery "^1.4.0" flow-enums-runtime "^0.0.6" - hermes-eslint "0.19.0" - hermes-estree "0.19.0" - hermes-parser "0.19.0" + hermes-eslint "0.19.1" + hermes-estree "0.19.1" + hermes-parser "0.19.1" homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: version "1.0.3" @@ -7873,14 +7873,14 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-hermes-parser@0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.19.0.tgz#6d7f7238bcc2f07d7cba19e5fa370bbbe2cc25be" - integrity sha512-YIVWxleZbkUm944F2GIxDJ7NuS6kml/YbtGeQf/mqtxKYPXIpDbHJ0l6IIaMrPz2AzBVx7awrJaEuV2lEJh26Q== +prettier-plugin-hermes-parser@0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.19.1.tgz#63aa752003da4d70399e7c6bad8da99ac9fa1fd3" + integrity sha512-XK739fHNPrR03i//AV1e9g47fnqvQY2sUto30GbI5xyWRb+2XQlcL1kdA43yAj4Dfb45NyxtzooVvz2cSiNMzQ== dependencies: - hermes-estree "0.19.0" - hermes-parser "0.19.0" - prettier-plugin-hermes-parser "0.19.0" + hermes-estree "0.19.1" + hermes-parser "0.19.1" + prettier-plugin-hermes-parser "0.19.1" prettier@2.8.8: version "2.8.8"