-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update @babel/types to ^7.20.0, update
babel-no-undef
for changed t…
…ype aliases Summary: Update `babel/types` to the latest semver minor. This necessitates a few internal and external changes so I'm separating out from a general Babel bump. Changelog: [Fix] Bump `babel/types` dependency to `^7.20.0` for more consistent exposed ASTs. ## `metro-react-native-interop-tools` The AST node property `optional` is now assigned `null` rather than being unassigned in certain circumstances due to babel/babel#14519 (in `babel/types` >= `7.17.2`). This wasn't marked as a breaking change - it's not clear to me whether it's intentional, but apart from this snapshot change I don't think it makes any difference internally (since we generally discourage distinguishing `null` from `undefined`). Where Metro exposes ASTs, this behaviour would be dependent on the version of `babel/types` you happened to have installed within the `^7.0.0` range, wheres the dependency bump in this diff should ensure an experience consistent with our test snapshots. Reviewed By: motiz88 Differential Revision: D41437465 fbshipit-source-id: c6cddb6065599ec30906ec23f60d319ef7b21461
- Loading branch information
1 parent
e7f539a
commit c9bf780
Showing
7 changed files
with
23 additions
and
47 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
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