From 421de3ef85a6f645373edc201158018a6e4f822e Mon Sep 17 00:00:00 2001 From: Danny Su Date: Thu, 14 Nov 2024 10:22:04 -0800 Subject: [PATCH] Release version to 0.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Original Author: huntie@meta.com Original Git: 15e9b5c6c095221867068ded858afbc99ad63ad5 Original Reviewed By: cortinico Original Revision: D65661003 Release version to 0.25.1 This release includes https://github.com/facebook/hermes/pull/1556, which will be configured in React Native to opt-out from `hermes-parser` under Babel for untyped JS — fixing compat with 3P plugins by users. (See https://github.com/facebook/react-native/issues/46601, https://github.com/facebook/react-native/pull/46696.) Reviewed By: mattbfb Differential Revision: D65787623 fbshipit-source-id: f6b56d44cdb992ca01de75df384b4599bef8432b --- tools/hermes-parser/js/CHANGELOG.md | 5 +++++ .../js/babel-plugin-syntax-hermes-parser/package.json | 4 ++-- .../hermes-parser/js/flow-api-translator/package.json | 10 +++++----- tools/hermes-parser/js/hermes-eslint/package.json | 6 +++--- tools/hermes-parser/js/hermes-estree/package.json | 2 +- tools/hermes-parser/js/hermes-parser/package.json | 4 ++-- tools/hermes-parser/js/hermes-transform/package.json | 10 +++++----- .../js/prettier-plugin-hermes-parser/package.json | 8 ++++---- 8 files changed, 27 insertions(+), 22 deletions(-) diff --git a/tools/hermes-parser/js/CHANGELOG.md b/tools/hermes-parser/js/CHANGELOG.md index 48c3dc8d304..ee4448d7de0 100644 --- a/tools/hermes-parser/js/CHANGELOG.md +++ b/tools/hermes-parser/js/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.25.1 + +### `babel-plugin-syntax-hermes-parser` +* Add `parseLangTypes` option to enable skipping plugin for non-Flow files + ## 0.25.0 ### `flow-api-translator` diff --git a/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json b/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json index 07ff1db8a56..09951832708 100644 --- a/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json +++ b/tools/hermes-parser/js/babel-plugin-syntax-hermes-parser/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-syntax-hermes-parser", - "version": "0.25.0", + "version": "0.25.1", "description": "Babel plugin which switches Babel to use the Hermes parser.", "main": "dist/index.js", "license": "MIT", @@ -9,7 +9,7 @@ "url": "git@github.com:facebook/hermes.git" }, "dependencies": { - "hermes-parser": "0.25.0" + "hermes-parser": "0.25.1" }, "files": [ "dist", diff --git a/tools/hermes-parser/js/flow-api-translator/package.json b/tools/hermes-parser/js/flow-api-translator/package.json index 8f670f79e23..8d8624d2eec 100644 --- a/tools/hermes-parser/js/flow-api-translator/package.json +++ b/tools/hermes-parser/js/flow-api-translator/package.json @@ -1,6 +1,6 @@ { "name": "flow-api-translator", - "version": "0.25.0", + "version": "0.25.1", "description": "Toolkit for creating Flow and TypeScript compatible libraries from Flow source code.", "main": "dist/index.js", "license": "MIT", @@ -13,10 +13,10 @@ "@typescript-eslint/parser": "7.2.0", "@typescript-eslint/visitor-keys": "7.2.0", "flow-enums-runtime": "^0.0.6", - "hermes-eslint": "0.25.0", - "hermes-estree": "0.25.0", - "hermes-parser": "0.25.0", - "hermes-transform": "0.25.0", + "hermes-eslint": "0.25.1", + "hermes-estree": "0.25.1", + "hermes-parser": "0.25.1", + "hermes-transform": "0.25.1", "typescript": "5.3.2" }, "peerDependencies": { diff --git a/tools/hermes-parser/js/hermes-eslint/package.json b/tools/hermes-parser/js/hermes-eslint/package.json index 6ed834eca66..05dfb0c260e 100644 --- a/tools/hermes-parser/js/hermes-eslint/package.json +++ b/tools/hermes-parser/js/hermes-eslint/package.json @@ -1,6 +1,6 @@ { "name": "hermes-eslint", - "version": "0.25.0", + "version": "0.25.1", "description": "A custom parser for ESLint using the Hermes parser", "main": "dist/index.js", "license": "MIT", @@ -16,7 +16,7 @@ ], "dependencies": { "esrecurse": "^4.3.0", - "hermes-estree": "0.25.0", - "hermes-parser": "0.25.0" + "hermes-estree": "0.25.1", + "hermes-parser": "0.25.1" } } diff --git a/tools/hermes-parser/js/hermes-estree/package.json b/tools/hermes-parser/js/hermes-estree/package.json index 7afcea19d3c..2f84da2bfbf 100644 --- a/tools/hermes-parser/js/hermes-estree/package.json +++ b/tools/hermes-parser/js/hermes-estree/package.json @@ -1,6 +1,6 @@ { "name": "hermes-estree", - "version": "0.25.0", + "version": "0.25.1", "description": "Flow types for the Flow-ESTree spec produced by the hermes parser", "main": "dist/index.js", "license": "MIT", diff --git a/tools/hermes-parser/js/hermes-parser/package.json b/tools/hermes-parser/js/hermes-parser/package.json index c5be8fd4ae5..220889133f5 100644 --- a/tools/hermes-parser/js/hermes-parser/package.json +++ b/tools/hermes-parser/js/hermes-parser/package.json @@ -1,6 +1,6 @@ { "name": "hermes-parser", - "version": "0.25.0", + "version": "0.25.1", "description": "A JavaScript parser built from the Hermes engine", "main": "dist/index.js", "license": "MIT", @@ -9,7 +9,7 @@ "url": "git@github.com:facebook/hermes.git" }, "dependencies": { - "hermes-estree": "0.25.0" + "hermes-estree": "0.25.1" }, "devDependencies": { "@babel/parser": "7.7.4", diff --git a/tools/hermes-parser/js/hermes-transform/package.json b/tools/hermes-parser/js/hermes-transform/package.json index 0058baaf766..23cd6d98eca 100644 --- a/tools/hermes-parser/js/hermes-transform/package.json +++ b/tools/hermes-parser/js/hermes-transform/package.json @@ -1,6 +1,6 @@ { "name": "hermes-transform", - "version": "0.25.0", + "version": "0.25.1", "description": "Tools built on top of Hermes-ESTree to enable codebase transformation", "main": "dist/index.js", "license": "MIT", @@ -12,14 +12,14 @@ "@babel/code-frame": "^7.16.0", "esquery": "^1.4.0", "flow-enums-runtime": "^0.0.6", - "hermes-eslint": "0.25.0", - "hermes-estree": "0.25.0", - "hermes-parser": "0.25.0", + "hermes-eslint": "0.25.1", + "hermes-estree": "0.25.1", + "hermes-parser": "0.25.1", "string-width": "4.2.3" }, "peerDependencies": { "prettier": "^3.0.0 || ^2.7.1", - "prettier-plugin-hermes-parser": "0.25.0" + "prettier-plugin-hermes-parser": "0.25.1" }, "files": [ "dist", diff --git a/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json b/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json index 14a882b18de..b9b88b28216 100644 --- a/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json +++ b/tools/hermes-parser/js/prettier-plugin-hermes-parser/package.json @@ -1,6 +1,6 @@ { "name": "prettier-plugin-hermes-parser", - "version": "0.25.0", + "version": "0.25.1", "description": "Hermes parser plugin for Prettier.", "main": "dist/index.js", "license": "MIT", @@ -9,9 +9,9 @@ "url": "git@github.com:facebook/hermes.git" }, "dependencies": { - "hermes-estree": "0.25.0", - "hermes-parser": "0.25.0", - "prettier-plugin-hermes-parser": "0.25.0" + "hermes-estree": "0.25.1", + "hermes-parser": "0.25.1", + "prettier-plugin-hermes-parser": "0.25.1" }, "peerDependencies": { "prettier": "^3.0.0 || ^2.7.1"