-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(community-cli-plugin): use node builtin fetch #47397
refactor(community-cli-plugin): use node builtin fetch #47397
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍. Any way we can help advance this?
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@NickGerleman merged this pull request in 881d8a7. |
This pull request was successfully merged by @jbroma in 881d8a7 When will my fix make it into a release? | How to file a pick request? |
Summary: Removed `node-fetch` in favour of node builtin fetch to get rid of the deprecated `punycode` warning when using Node 22. `react-native/community-cli-plugin` already requires Node >= 18 where it was made available by default (without `--experimental-fetch` flag). This change is similar to the one made in #45227 ## Changelog: [GENERAL] [CHANGED] - Drop node-fetch in favor of Node's built-in fetch from undici in `react-native/community-cli-plugin` Pull Request resolved: #47397 Test Plan: tests pass Reviewed By: blakef Differential Revision: D66512595 Pulled By: NickGerleman fbshipit-source-id: c4e01baf388f9fae8cea7b4bfe25034bff28b461
This pull request was successfully merged by @jbroma in 184da89 When will my fix make it into a release? | How to file a pick request? |
Summary:
Removed
node-fetch
in favour of node builtin fetch to get rid of the deprecatedpunycode
warning when using Node 22.@react-native/community-cli-plugin
already requires Node >= 18 where it was made available by default (without--experimental-fetch
flag).This change is similar to the one made in #45227
Changelog:
[GENERAL] [CHANGED] - Drop node-fetch in favor of Node's built-in fetch from undici in
@react-native/community-cli-plugin
Test Plan:
tests pass