Skip to content

[core] Deprecate ponyfillGlobal #45606

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

Merged
merged 4 commits into from
Mar 19, 2025
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Mar 18, 2025

Fix #41871

globalThis should be supported in all browsers we support. ponyfillGlobal can be deprecated. I'm leaving it in for now as some MUI X packages are still using this. Perhaps we should also include globalThis in it?

@Janpot Janpot added the scope: code-infra Specific to the core-infra product label Mar 18, 2025
@mui-bot
Copy link

mui-bot commented Mar 18, 2025

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against df3ecff

@Janpot Janpot changed the title Remove ponyfillGlobal [core] Deprecate ponyfillGlobal Mar 18, 2025
@Janpot Janpot marked this pull request as ready for review March 18, 2025 12:47
@Janpot Janpot requested a review from DiegoAndai March 18, 2025 12:47
@Janpot Janpot merged commit 40aee93 into mui:master Mar 19, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Specific to the core-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[material-ui] Next.js 14 with NX monorepo build fails on PonyfillGlobal
3 participants