Rob Hogan
3e19c97646
Bump remaining build-time Babel deps
...
Summary:
Update `babel/*` dependencies specifying `^7.x.y` where `x > 0` to the latest available semver minor, and corresponding superficial snapshot updates reflecting a small decrease in JS bundle size.
- `babel/core` to `^7.20.0`
- `babel/parser` to `^7.20.0`
- `babel/preset-env` to `^7.20.0`
- `babel/traverse` to `^7.20.0`
- `babel/cli` to `^7.19.0`
- `babel/eslint-parser` to `^7.19.0`
- `babel/preset-flow` to `^7.18.0`
- `babel/preset-syntax-flow` to `^7.18.0`
- Deduplicate / refresh others to take in patch updates
Changelog: [Internal] Bump Babel dependencies to latest 7.x
Reviewed By: JoeyMou
Differential Revision: D41449678
fbshipit-source-id: f04fe837a7961c4e2dde45fed59fcd138c2f8723
2022-11-30 19:16:23 -08:00
Christoph Purrer
022e22cbd4
Replace folly::Optional with std::optional ( #35436 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35436
Using std::optional as react-native has been using C++17 for quite some time
changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D41415031
fbshipit-source-id: d786647f64b4f90cf75409109830ae0885460c17
2022-11-28 02:08:12 -08:00
Dmitry Rykun
d62b0b463b
Bump dependency versions to 0.72.0 after the branch cut
...
Summary:
Changelog
[General][Changed] - Bump dependency versions to 0.72.0 after the branch cut.
Reviewed By: cipolleschi
Differential Revision: D41079762
fbshipit-source-id: 83e912c4eaf969c1673ccc5fa854646efa99fa4a
2022-11-07 06:57:35 -08:00
Dmitry Rykun
8183aac0b1
Bump dependency versions before the branch cut 0.71.0
...
Summary: Changelog: [General][Changed] - Bump dependency versions.
Reviewed By: cipolleschi
Differential Revision: D40991336
fbshipit-source-id: 71c8edbeb274d095403b2f17e60f217d16fe01c0
2022-11-03 17:28:26 -07:00
Lorenzo Sciandra
cd25fb3240
chore(deps): add wanted dependencies to remove yarn warnings ( #35122 )
...
Summary:
This is take 2 of this https://github.com/facebook/react-native/pull/35088 , see this comment for why https://github.com/facebook/react-native/pull/35088#issuecomment-1295091902
I wanted to start working on a thing but this barrage of warnings was very annoying so ended up doing this instead: a very small PR to take care of some warnings during yarn install.
It doesn't change anything (the versions are the ones already used all around the repo), just makes yarn happier.
## Changelog
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[General] [Fixed] - add wanted dependencies to remove yarn warnings
Pull Request resolved: https://github.com/facebook/react-native/pull/35122
Test Plan:
### Before
<img width="1920" alt="Screenshot 2022-10-26 at 10 53 32" src="https://user-images.githubusercontent.com/16104054/197996489-f463be29-b35b-45cc-9d9c-2d176579fb7d.png ">
### After
<img width="947" alt="Screenshot 2022-10-26 at 10 52 19" src="https://user-images.githubusercontent.com/16104054/197996505-3d60b319-006b-45ab-83bf-2f431272fdcd.png ">
Reviewed By: cortinico
Differential Revision: D40804260
Pulled By: rshest
fbshipit-source-id: 86af14c885d6d63a0d60bb85f204d17d8757f72a
2022-10-28 13:01:48 -07:00
Benny Singer
cf5addf423
Revert D40716713: chore(deps): add wanted dependencies to remove yarn warnings
...
Differential Revision:
D40716713 (8422c5315c
)
Original commit changeset: eeb95a91c6cd
Original Phabricator Diff: D40716713 (8422c5315c
)
fbshipit-source-id: e85f111e7da0381e09f8a23d3bd0d553b3a7c4a9
2022-10-26 07:22:28 -07:00
Lorenzo Sciandra
8422c5315c
chore(deps): add wanted dependencies to remove yarn warnings ( #35088 )
...
Summary:
I wanted to start working on a thing but this barrage of warnings was very annoying so ended up doing this instead: a very small PR to take care of some warnings during yarn install.
It doesn't change anything (the versions are the ones already used all around the repo), just makes yarn happier.
Also, while doing that I found a dependency that was lying there unused for 2 years so took care of it.
## Changelog
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[General] [Fixed] - add wanted dependencies to remove yarn warnings
Pull Request resolved: https://github.com/facebook/react-native/pull/35088
Test Plan:
### Before
<img width="1920" alt="Screenshot 2022-10-26 at 10 53 32" src="https://user-images.githubusercontent.com/16104054/197996489-f463be29-b35b-45cc-9d9c-2d176579fb7d.png ">
### After
<img width="947" alt="Screenshot 2022-10-26 at 10 52 19" src="https://user-images.githubusercontent.com/16104054/197996505-3d60b319-006b-45ab-83bf-2f431272fdcd.png ">
Reviewed By: jacdebug
Differential Revision: D40716713
Pulled By: robhogan
fbshipit-source-id: eeb95a91c6cdf37edfe868fefe4ba04aebe500ec
2022-10-26 06:42:50 -07:00
Rob Hogan
45db65be7e
Update Jest to ^29.2.1 ( #35014 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35014
X-link: https://github.com/facebook/metro/pull/881
Following on from https://github.com/facebook/react-native/pull/34724 and https://github.com/facebook/react-native/pull/34972 , this updates Jest to the latest version 29.2.1 across projects and in the OSS React Native new app template.
Importantly this version includes the [new `jest.now()` API](https://github.com/facebook/jest/pull/13245 ), which will be useful for exposing internally consistent fake timer mocks of `requestAnimationFrame`, etc., in the new React Native Jest environment.
Changelog:
[General] [Changed] - Upgrade Jest in React Native template to ^29.2.1
Reviewed By: jacdebug
Differential Revision: D40386349
fbshipit-source-id: 43f5a69cf546df09e2f02542ebf50130d65f0436
2022-10-19 12:17:39 -07:00
Sam Zhou
a0ee6fae5e
Annotate empty arrays in xplat
...
Summary: Changelog: [Internal]
Differential Revision: D40410427
fbshipit-source-id: f819fcb00673e19b21aecb383541850436805a0e
2022-10-17 12:40:57 -07:00
Gabriel Donadel Dall'Agnol
530dae8a45
chore: rename hermes-inspector-msggen to @react-native/hermes-inspector-msggen ( #34850 )
...
Summary:
This PR renames ` hermes-inspector-msggen` to `react-native/hermes-inspector-msggen`, moves it to `packages/hermes-inspector-msggen` and makes the package private as part of RFC480.
Related to https://github.com/facebook/react-native/issues/34692
## Changelog
[General] [Changed] - Move and rename `hermes-inspector-msggen` to `react-native/hermes-inspector-msggen`
Pull Request resolved: https://github.com/facebook/react-native/pull/34850
Test Plan: run `sh ReactCommon/hermes/inspector/tools/run_msggen`
Reviewed By: mattbfb
Differential Revision: D40060406
Pulled By: cortinico
fbshipit-source-id: e018fd88e8374a69fbd8737fbb9abe7565d4a003
2022-10-05 03:57:08 -07:00