Skip to content
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

[core] Use native Node's fetch instead of node-fetch package #38263

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Aug 1, 2023

Moved to the native Node's implementation of fetch as we're currently unable to update the node-fetch package (#31603). Plus, it's one dependency less to maintain.
The Node fetch is still experimental, but we don't use it for anything mission-critical and we can afford it.

@mui-bot
Copy link

mui-bot commented Aug 1, 2023

Netlify deploy preview

https://deploy-preview-38263--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against a577e08

@michaldudak michaldudak added dependencies Update of dependencies core Infrastructure work going on behind the scenes labels Aug 1, 2023
@michaldudak michaldudak requested a review from a team August 1, 2023 09:37
@michaldudak michaldudak marked this pull request as ready for review August 1, 2023 09:38
Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Any known blockers to migrate these scripts to ESM?

@michaldudak
Copy link
Member Author

I recall one issue with Danger not allowing its config file as ESM and blocking some of the dependencies, but I can't find it now.

@michaldudak michaldudak merged commit a48d4b4 into mui:master Aug 1, 2023
19 of 20 checks passed
@michaldudak michaldudak deleted the remove-node-fetch branch January 8, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants