Skip to content

feat(react): replace deprecated babel classProperties.loose option in .babelrc files #30912

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 1 commit into from
Apr 29, 2025

Conversation

jaysoo
Copy link
Member

@jaysoo jaysoo commented Apr 29, 2025

This PR updates all .babelrc file that still uses the deprecated classProperties.loose (deprecated since v18). The top-level loose option does the same thing -- previously the two options handled different cases because @babel/preset-env did not include class properties.

@jaysoo jaysoo requested a review from a team as a code owner April 29, 2025 03:38
@jaysoo jaysoo requested a review from xiongemi April 29, 2025 03:38
Copy link

vercel bot commented Apr 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Apr 29, 2025 1:17pm

Copy link

nx-cloud bot commented Apr 29, 2025

View your CI Pipeline Execution ↗ for commit e1d8661.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-ci ✅ Succeeded 27m 59s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 18s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 1m 10s View ↗

☁️ Nx Cloud last updated this comment at 2025-04-29 13:30:54 UTC

@jaysoo jaysoo force-pushed the feat/babel-deprecated-option branch from cc0b48a to 7be1a31 Compare April 29, 2025 12:50
@jaysoo jaysoo force-pushed the feat/babel-deprecated-option branch from 7be1a31 to e1d8661 Compare April 29, 2025 12:57
@jaysoo jaysoo merged commit e21c1a6 into master Apr 29, 2025
6 checks passed
@jaysoo jaysoo deleted the feat/babel-deprecated-option branch April 29, 2025 13:57
Copy link

github-actions bot commented May 5, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants