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

The @babel/plugin-proposal-* packages are deprecated and throw warnings in console while npm install #9

Open
gitRacoon opened this issue May 8, 2024 · 0 comments

Comments

@gitRacoon
Copy link

The issue while "npm install" in console looks:
Знімок екрана 2024-05-08 о 12 52 09

The trace from

npm ls @babel/plugin-proposal-nullish-coalescing-operator @babel/plugin-proposal-optional-catch-binding @babel/plugin-proposal-numeric-separator @babel/plugin-proposal-class-properties @babel/plugin-proposal-logical-assignment-operators @babel/plugin-proposal-optional-chaining @babel/plugin-proposal-async-generator-functions @babel/plugin-proposal-object-rest-spread

looks:
Знімок екрана 2024-05-08 о 12 54 07

Solution should be:
Replace deprecated deps.

Current plugins and newest plugins:

1. @babel/plugin-proposal-nullish-coalescing-operator -> @babel/plugin-transform-nullish-coalescing-operator
2. @babel/plugin-proposal-optional-catch-binding -> @babel/plugin-transform-optional-catch-binding
3. @babel/plugin-proposal-numeric-separator -> @babel/plugin-transform-numeric-separator
4. @babel/plugin-proposal-class-properties -> @babel/plugin-transform-class-properties
5. @babel/plugin-proposal-logical-assignment-operators -> @babel/plugin-transform-logical-assignment-operators
6. @babel/plugin-proposal-optional-chaining -> @babel/plugin-transform-optional-chaining
7. @babel/plugin-proposal-async-generator-functions -> @babel/plugin-transform-async-generator-functions
8. @babel/plugin-proposal-object-rest-spread -> @babel/plugin-transform-object-rest-spread
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

No branches or pull requests

1 participant