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

Update formerly proposed babel libaries #7943

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrmhaig
Copy link
Contributor

@jrmhaig jrmhaig commented Dec 19, 2024

What

Clean up the npm dependencies.

Ticket

N/A

Why

The following proposal libraries have been merged into ECMAScript standard and so should be replaced by the corresponding 'transform' versions:

  • @babel/plugin-proposal-class-properties; replaced with @babel/plugin-transform-class-properties
  • @babel/plugin-proposal-object-rest-spread;replaced with @babel/plugin-transform-object-rest-spread
  • @babel/plugin-proposal-private-methods; replaced with @babel/plugin-transform-private-methods
  • @babel/plugin-proposal-private-property-in-object; replaced with @babel/plugin-transform-private-property-in-object

All these are already included as dependencies of @babel/preset-env.

How

Remove the libraries listed above from package.json and update the yarn.lock file accordingly.

@jrmhaig jrmhaig requested review from a team as code owners December 19, 2024 16:10
The following proposal libraries have been merged into ECMAScript standard and
so should be replaced by the corresponding 'transform' versions:

* @babel/plugin-proposal-class-properties; replaced with @babel/plugin-transform-class-properties
* @babel/plugin-proposal-object-rest-spread;replaced with @babel/plugin-transform-object-rest-spread
* @babel/plugin-proposal-private-methods; replaced with @babel/plugin-transform-private-methods
* @babel/plugin-proposal-private-property-in-object; replaced with @babel/plugin-transform-private-property-in-object

All these are already included as dependencies of @babel/preset-env
@jrmhaig jrmhaig force-pushed the replace_unsupported branch from c75260e to cf085b3 Compare December 19, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant