A framework for building native applications using React
Upgrade xplat/js + arvr/js to hermes-parser 0.16.0 (again) (#39819)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39819 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: D49935231 fbshipit-source-id: a905838396fdd7281442c211970e0caa773a1256
P
Pieter Vanderwerff committed
48c542449c381248ea9342587cfcaa20ceae9692
Parent: b58db61
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 10/5/2023, 6:19:05 PM