-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade xplat/js + arvr/js to hermes-parser 0.16.0 (#39791)
Summary: Pull Request resolved: #39791 Bump `hermes-parser` packages to the latest released version. Changelog: https://github.com/facebook/hermes/blob/main/tools/hermes-parser/js/CHANGELOG.md Notable changes: - Upgraded to the lastest version of emscripten for the parser. - The babel interop logic now more closely matches babel's AST. - The biggest change is we now add the `extra.raw` properties to literal nodes, which results in Babel more closely outputting literal sources. e.g. previously the following would happen `1.0` -> `1`, `'foo'` -> `"foo"` and `1n` -> `1` but now the raw source value is preserved. - Upgraded `prettier-plugin-hermes-parser` to use the latest prettier formatting logic, which causes some minor formatting changes. - `hermes-parser` no longer fails when the `component` name is used within a function type, e.g. `type Foo = (component: string) => void`. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D49838842 fbshipit-source-id: ebfd2f89852d1bd3b1671ce77f58240d7e17cfbb
- Loading branch information
1 parent
7f96840
commit 4416de3
Showing
4 changed files
with
46 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters