From a56767f64af80d90267624ab9a4825582235aa3d Mon Sep 17 00:00:00 2001 From: "Alex Taylor (alta)" Date: Tue, 19 Dec 2023 20:48:44 -0800 Subject: [PATCH] Update hermes-parser and related packages in fbsource to 0.18.2 Summary: X-link: https://github.com/facebook/react-native/pull/42003 Bump hermes-parser and related packages to [0.18.2](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md). Changelog: [internal] Reviewed By: pieterv Differential Revision: D52303145 fbshipit-source-id: 1b2b07c16bf55879ecb3b6611cbd53faa1ecc012 --- package.json | 4 +- packages/metro-babel-register/package.json | 2 +- packages/metro-babel-transformer/package.json | 2 +- packages/metro/package.json | 2 +- yarn.lock | 54 +++++++++---------- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index ccd4c42f8d..a104b48fa1 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-relay": "^1.8.3", "flow-bin": "^0.225.0", "glob": "^7.1.1", - "hermes-eslint": "0.18.0", + "hermes-eslint": "0.18.2", "invariant": "^2.2.4", "istanbul-api": "3.0.0", "istanbul-lib-coverage": "3.0.0", @@ -37,7 +37,7 @@ "metro-babel-register": "*", "micromatch": "^4.0.4", "prettier": "2.8.8", - "prettier-plugin-hermes-parser": "0.18.0", + "prettier-plugin-hermes-parser": "0.18.2", "progress": "^2.0.0", "typescript": "5.0.4" }, diff --git a/packages/metro-babel-register/package.json b/packages/metro-babel-register/package.json index 5b4473ccaa..cb27998898 100644 --- a/packages/metro-babel-register/package.json +++ b/packages/metro-babel-register/package.json @@ -15,7 +15,7 @@ "@babel/preset-typescript": "^7.18.0", "@babel/register": "^7.0.0", "babel-plugin-replace-ts-export-assignment": "^0.0.2", - "babel-plugin-syntax-hermes-parser": "0.18.0", + "babel-plugin-syntax-hermes-parser": "0.18.2", "babel-plugin-transform-flow-enums": "^0.0.2", "escape-string-regexp": "^1.0.5" }, diff --git a/packages/metro-babel-transformer/package.json b/packages/metro-babel-transformer/package.json index 205e4abebf..ff0211bedf 100644 --- a/packages/metro-babel-transformer/package.json +++ b/packages/metro-babel-transformer/package.json @@ -18,7 +18,7 @@ "license": "MIT", "dependencies": { "@babel/core": "^7.20.0", - "hermes-parser": "0.18.0", + "hermes-parser": "0.18.2", "nullthrows": "^1.1.1" }, "engines": { diff --git a/packages/metro/package.json b/packages/metro/package.json index 9c86eeac07..437e0b5ff7 100644 --- a/packages/metro/package.json +++ b/packages/metro/package.json @@ -28,7 +28,7 @@ "denodeify": "^1.2.1", "error-stack-parser": "^2.0.6", "graceful-fs": "^4.2.4", - "hermes-parser": "0.18.0", + "hermes-parser": "0.18.2", "image-size": "^1.0.2", "invariant": "^2.2.4", "jest-worker": "^29.6.3", diff --git a/yarn.lock b/yarn.lock index 457c2a40b6..d3948932c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2261,12 +2261,12 @@ 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.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.18.0.tgz#d9bb20ccf4a570762161e01c3fcd53ee4270d687" - integrity sha512-6W1oSgLKyZM98dUsiu7uLyOcxv7P0gWcS6DPz2UXfhAF7eiogtrhkEV74jH8sAopPhADXNs9V/2UqS6gRih+Qg== +babel-plugin-syntax-hermes-parser@0.18.2: + version "0.18.2" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.18.2.tgz#4980cfcc1bd02daabe0280a05eba58ea2932690a" + integrity sha512-dPSkRrmQFtl5W9qQM/imQ3TBj5ozS9mcYwZ1wUAVW7ysNTcRmupHlmElefi09LTbMxKfV8QtUnBTzOQFvGg8Iw== dependencies: - hermes-parser "0.18.0" + hermes-parser "0.18.2" babel-plugin-syntax-trailing-function-commas@^7.0.0-beta.0: version "7.0.0-beta.0" @@ -3605,24 +3605,24 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hermes-eslint@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.18.0.tgz#16e7d5c7742f709d814d6a5a5d955803e81b328d" - integrity sha512-NIh8Utqk32+voL1b4ngCRnMQ0XCRzFbon7IG25lhnSYCTezX5besIK+79pUHw1YEDZVGrVrMxeIYxXiamLzcUQ== +hermes-eslint@0.18.2: + version "0.18.2" + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.18.2.tgz#af09ea1700eb32502caf135b181ffed6091ccb72" + integrity sha512-FWKVoHyHaXRjOfjoTgoc4OTkC+KThYdhLFyggoXIYLMDHF9hkg5yHSih3cyK3hT73te6+aaGHePzwaOai69uoA== dependencies: esrecurse "^4.3.0" - hermes-estree "0.18.0" - hermes-parser "0.18.0" + hermes-estree "0.18.2" + hermes-parser "0.18.2" hermes-estree@0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.15.0.tgz#e32f6210ab18c7b705bdcb375f7700f2db15d6ba" integrity sha512-lLYvAd+6BnOqWdnNbP/Q8xfl8LOGw4wVjfrNd9Gt8eoFzhNBRVD95n4l2ksfMVOoxuVyegs85g83KS9QOsxbVQ== -hermes-estree@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.18.0.tgz#6c202d8c78ddefadf3eb595a584dfa55b51a0508" - integrity sha512-WaIudIVKo5QWFqz1ta53HqSDuVxYST/MUuP9X7dqUpbHse3E2gzJq/7hEtgx84hh2XSNWN1AhYho3ThOA85uCA== +hermes-estree@0.18.2: + version "0.18.2" + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.18.2.tgz#fd450fa1659cf074ceaa2ddeeb21674f3b2342f3" + integrity sha512-KoLsoWXJ5o81nit1wSyEZnWUGy9cBna9iYMZBR7skKh7okYAYKqQ9/OczwpMHn/cH0hKDyblulGsJ7FknlfVxQ== hermes-parser@0.15.0: version "0.15.0" @@ -3631,12 +3631,12 @@ hermes-parser@0.15.0: dependencies: hermes-estree "0.15.0" -hermes-parser@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.18.0.tgz#dd9878f70e9ca2570e7626181ae0465115f7f78d" - integrity sha512-DIIM6vsy30BU5hNkOXh6MR2r4ZAxVhbfyTnmfo/rqUf3KySlNWn9fWiOcpuGAdDN2o5sdPCpu6cep3a23d1Klw== +hermes-parser@0.18.2: + version "0.18.2" + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.18.2.tgz#50f15e2fcd559a48c68cd7af259d4292298bd14d" + integrity sha512-1eQfvib+VPpgBZ2zYKQhpuOjw1tH+Emuib6QmjkJWJMhyjM8xnXMvA+76o9LhF0zOAJDZgPfQhg43cyXEyl5Ew== dependencies: - hermes-estree "0.18.0" + hermes-estree "0.18.2" html-escaper@^2.0.0: version "2.0.0" @@ -5224,14 +5224,14 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-hermes-parser@0.18.0: - version "0.18.0" - resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.18.0.tgz#00b6d979f8068c4fab72500c1abb5a8dcc107645" - integrity sha512-gU/K9jjJYDzdn1PLJdjhaHk+27POGrSbxVxBUOVm9qOiIpnwW1IeYA3sHg2PpCJLUQyJM7R6jiesQgPgvUHkmA== +prettier-plugin-hermes-parser@0.18.2: + version "0.18.2" + resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.18.2.tgz#b9c32c39e1cf095ec551f4a325e4bba1e350cb0b" + integrity sha512-mKAmNrbhl+axP5o4W1xsZJLVPpMbwpnhTPx64e9R6XVGsNXVi7C208xy3FhwDEWUqSPwu4m9puplDey98l5i1g== dependencies: - hermes-estree "0.18.0" - hermes-parser "0.18.0" - prettier-plugin-hermes-parser "0.18.0" + hermes-estree "0.18.2" + hermes-parser "0.18.2" + prettier-plugin-hermes-parser "0.18.2" prettier@2.8.8: version "2.8.8"