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-js@<3.23.3 is no longer maintained, upgrade to 3.23.3 #77

Open
merlinpaypal opened this issue Jun 11, 2023 · 1 comment
Open

core-js@<3.23.3 is no longer maintained, upgrade to 3.23.3 #77

merlinpaypal opened this issue Jun 11, 2023 · 1 comment

Comments

@merlinpaypal
Copy link

Please upgrade core-js dependencies to 3.23.3 to avoid this warning

Warning

npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

Dependency Tree

├─┬ @krakenjs/[email protected]
│ ├─┬ @babel/[email protected]
│ │ └── [email protected] deduped
│ ├─┬ @babel/[email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected]
@merlinpaypal
Copy link
Author

babel/polyfill fix

Looking further into this, @babel/polyfill is deprecated

This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.

Looking at their docs, they say

As of Babel 7.4.0, this package has been deprecated in favor of directly including core-js/stable (to polyfill ECMAScript features):

import "core-js/stable";

babel-plugin-transform-class-properties fix

As for babel-plugin-transform-class-properties, this page notes that This plugin is included in @babel/preset-env, in ES2022, which can be confirmed in the preset package here.

So that package can be removed or if it needs to be explicitly included, it has been moved to @babel/plugin-transform-class-properties

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