-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
feat(babel-preset-app): change default core-js to v3 #6721
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
Conversation
|
This will be a breaking change, right? |
Codecov Report
@@ Coverage Diff @@
## next #6721 +/- ##
==========================================
- Coverage 62.47% 62.27% -0.21%
==========================================
Files 82 82
Lines 3310 3332 +22
Branches 902 905 +3
==========================================
+ Hits 2068 2075 +7
- Misses 997 1009 +12
- Partials 245 248 +3
Continue to review full report at Codecov.
|
|
@manniL I think it's not a breaking change since user won't change anything for it. We fixed the core-js version at v2 because v3 was just released and there are issues due to nested/hoisting in different version. Now, v3 has been released for 8 months and v2 has been deprecated officially, so I think it's the time to upgrade it. |
|
@manniL Oh, one potential breaking change could be: User installed @nuxt/core-team What you think if we put notification in release note and doc, then release it as a feature in next minor release ? |
Sounds good to me. Must be done carefully or we'll have a slew of bug reports due to a bad |
|
We should definitely give it a try but we have to assess the changes properly to avoid another bunch of core-js issues. IRC some projects, e.g. vue-cli, bumped the core-js version up to 3 in a major release. |
|
Indeed we need to be careful about bumping to 3. Le'ts hold this on until next team meeting. |
007c785 to
a84f31d
Compare
|
bump |
|
cc @pi0 |
Types of changes
Description
As
core-js@2has been deprecated officially, we can change default version to v3 now.https://www.npmjs.com/package/core-js/v/2.6.10
Checklist: