From 7a71023a162cc970b9a4d8dab2db87a9b1a9661c Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 21 Nov 2024 05:41:39 -0800 Subject: [PATCH] Update hermes-parser and related packages in fbsource to 0.25.1 Summary: X-link: https://github.com/facebook/react-native/pull/47573 Bump hermes-parser and related packages to [0.25.1](https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md). Changelog: [Internal] Reviewed By: robhogan Differential Revision: D65816542 fbshipit-source-id: cb445eb77790fb2632d3bc318c6eb59f097b1518 --- package.json | 6 +-- 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, 33 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 567ad0f71..1eb04c701 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@typescript-eslint/parser": "^7.1.1", "acorn": "^8.7.1", "babel-jest": "^29.6.3", - "babel-plugin-syntax-hermes-parser": "0.24.0", + "babel-plugin-syntax-hermes-parser": "0.25.1", "babel-plugin-transform-flow-enums": "^0.0.2", "chalk": "^4.0.0", "debug": "^2.2.0", @@ -30,7 +30,7 @@ "eslint-plugin-relay": "^1.8.3", "flow-bin": "^0.253.0", "glob": "^7.1.1", - "hermes-eslint": "0.24.0", + "hermes-eslint": "0.25.1", "invariant": "^2.2.4", "istanbul-api": "3.0.0", "istanbul-lib-coverage": "3.0.0", @@ -41,7 +41,7 @@ "metro-babel-register": "*", "micromatch": "^4.0.4", "prettier": "2.8.8", - "prettier-plugin-hermes-parser": "0.24.0", + "prettier-plugin-hermes-parser": "0.25.1", "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 cfa0d07a8..eb0c2d625 100644 --- a/packages/metro-babel-register/package.json +++ b/packages/metro-babel-register/package.json @@ -15,7 +15,7 @@ "@babel/preset-typescript": "^7.24.7", "@babel/register": "^7.24.6", "babel-plugin-replace-ts-export-assignment": "^0.0.2", - "babel-plugin-syntax-hermes-parser": "0.24.0", + "babel-plugin-syntax-hermes-parser": "0.25.1", "babel-plugin-transform-flow-enums": "^0.0.2", "escape-string-regexp": "^1.0.5", "flow-enums-runtime": "^0.0.6" diff --git a/packages/metro-babel-transformer/package.json b/packages/metro-babel-transformer/package.json index 8d566489d..cf0cff492 100644 --- a/packages/metro-babel-transformer/package.json +++ b/packages/metro-babel-transformer/package.json @@ -19,7 +19,7 @@ "dependencies": { "@babel/core": "^7.25.2", "flow-enums-runtime": "^0.0.6", - "hermes-parser": "0.24.0", + "hermes-parser": "0.25.1", "nullthrows": "^1.1.1" }, "engines": { diff --git a/packages/metro/package.json b/packages/metro/package.json index 707cf136f..b3eaff5da 100644 --- a/packages/metro/package.json +++ b/packages/metro/package.json @@ -28,7 +28,7 @@ "error-stack-parser": "^2.0.6", "flow-enums-runtime": "^0.0.6", "graceful-fs": "^4.2.4", - "hermes-parser": "0.24.0", + "hermes-parser": "0.25.1", "image-size": "^1.0.2", "invariant": "^2.2.4", "jest-worker": "^29.6.3", diff --git a/yarn.lock b/yarn.lock index 91818d5f0..45795abd7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1860,12 +1860,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.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.24.0.tgz#79d0c73daae7bd7d4b07f64ee281c75aa48845cf" - integrity sha512-J4wETqz7ehbyYl2uge65zsfr0Ue+0yJYYMMkGAWpZc0fB02z4JAcx+mJEXVU14yiihGwqVUlR7oS4/gDYOxUdA== +babel-plugin-syntax-hermes-parser@0.25.1: + version "0.25.1" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-hermes-parser/-/babel-plugin-syntax-hermes-parser-0.25.1.tgz#58b539df973427fcfbb5176a3aec7e5dee793cb0" + integrity sha512-IVNpGzboFLfXZUAwkLFcI/bnqVbwky0jP3eBno4HKtqvQJAHBLdgxiG6lQ4to0+Q/YCN3PO0od5NZwIKyY4REQ== dependencies: - hermes-parser "0.24.0" + hermes-parser "0.25.1" babel-plugin-syntax-trailing-function-commas@^7.0.0-beta.0: version "7.0.0-beta.0" @@ -3201,24 +3201,24 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hermes-eslint@0.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.24.0.tgz#a86b723bfb0d12ac3031b66c4b861f0ff2d582f3" - integrity sha512-PS/b1MO7NxVBwnxaPvcd3MGsXlt7B0S9gfL7mIbMDIf1A0tYsR09/i/Sl8BHhMX9zb99h499b4POitmr8soQFQ== +hermes-eslint@0.25.1: + version "0.25.1" + resolved "https://registry.yarnpkg.com/hermes-eslint/-/hermes-eslint-0.25.1.tgz#e7d2d845256705d5e2d5cf69dc79032ac3921bb3" + integrity sha512-nPz9+oyejT1zsIwoJ2pWdUvLcN1i+tbaWCOD8PpNBYQtnHXaPXImZp/6zZHnm3bo/DoFcAgh8+SNcxLFxh7m/A== dependencies: esrecurse "^4.3.0" - hermes-estree "0.24.0" - hermes-parser "0.24.0" + hermes-estree "0.25.1" + hermes-parser "0.25.1" 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.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.24.0.tgz#487dc1ddc0bae698c2d79f34153ac9bf62d7b3c0" - integrity sha512-LyoXLB7IFzeZW0EvAbGZacbxBN7t6KKSDqFJPo3Ydow7wDlrDjXwsdiAHV6XOdvEN9MEuWXsSIFN4tzpyrXIHw== +hermes-estree@0.25.1: + version "0.25.1" + resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.25.1.tgz#6aeec17d1983b4eabf69721f3aa3eb705b17f480" + integrity sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw== hermes-parser@0.15.0: version "0.15.0" @@ -3227,12 +3227,12 @@ hermes-parser@0.15.0: dependencies: hermes-estree "0.15.0" -hermes-parser@0.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.24.0.tgz#2ed19d079efc0848eb1f800f0c393a074c4696fb" - integrity sha512-IJooSvvu2qNRe7oo9Rb04sUT4omtZqZqf9uq9WM25Tb6v3usmvA93UqfnnoWs5V0uYjEl9Al6MNU10MCGKLwpg== +hermes-parser@0.25.1: + version "0.25.1" + resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.25.1.tgz#5be0e487b2090886c62bd8a11724cd766d5f54d1" + integrity sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA== dependencies: - hermes-estree "0.24.0" + hermes-estree "0.25.1" html-escaper@^2.0.0: version "2.0.0" @@ -4824,14 +4824,14 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier-plugin-hermes-parser@0.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.24.0.tgz#b6a03a2d88e0320d05fc788598b1f0e21e9f7eb6" - integrity sha512-5ocvjexclFaU/qaiw3EW36G5I3H5iX8FQKNWwbls3qXVdzWGMaHNt61xxMzne0E9Unpk9EpMzpijGxgPGb94pw== +prettier-plugin-hermes-parser@0.25.1: + version "0.25.1" + resolved "https://registry.yarnpkg.com/prettier-plugin-hermes-parser/-/prettier-plugin-hermes-parser-0.25.1.tgz#f7e82357f7fdcf5fcdf9e06dcc3bbafe03ed61eb" + integrity sha512-qVsgSt1ZLz7sxQyMmLM3b8JYIcUt4pkE+OCMEoUTe5G87ghNe9lluYMy7ptu1h0f3fAZ+zkifUV3JojMmQcKkg== dependencies: - hermes-estree "0.24.0" - hermes-parser "0.24.0" - prettier-plugin-hermes-parser "0.24.0" + hermes-estree "0.25.1" + hermes-parser "0.25.1" + prettier-plugin-hermes-parser "0.25.1" prettier@2.8.8: version "2.8.8"