Backport some PRs to 7.x#17948
Conversation
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/61393 |
110681c to
96ce0d5
Compare
|
commit: |
|
It seems that the Node.js 16 CI error is an engine bug as it appears in the |
Backport of 5694dd4 Co-authored-by: Huáng Jùnliàng <[email protected]>
d55dfbf to
f9bfbd5
Compare
|
I interactively rebased this PR, previously the lint job was failing because there are dirty changes in the compat-data, the root cause is that this change https://github.com/babel/babel/blame/2255b1f6fd2cd95812ebbc0f6d1bf73db8ed89f8/packages/babel-compat-data/scripts/data/plugin-features.mjs#L120 was previously not included in the #17788 backport commit. I also removed the last debug commit nicolo-ribaudo@3f26f5c which changes the lint job chunk size as the CI failure is not related. |
|
The previous Babel 7 Test262 artifact have been expired, we may increase the expiry period for Babel 7 as well. Given that the Babel 8's test262 test is passing, I think it is okay to ship the backports to Babel 7. |
|
Will |
|
Merging :) |
Fixes #1, Fixes #2Update compat data (#17686)
Load async Wasm and JSON imports in parallel (#17818)
Added back the
exportmentioned in #17818 (comment)Improve trailing comma comment handling (#17782)
I cherry-picked myself, but then asked Claude to analyze the differences in the `output.json` files introduced by that PR
Add bugfix plugin for Safari array rest destructuring bug (#17788)
Moved the new
preset-envtests frombugfixes-babel-8tobugfixes-babel-7, and manually enabled thebugfixesoption.Replace npmjs.com links with npmx.dev (#17847)
Prefer(Removed due to incompatibility witht.buildUndefinedNode(#17884)@babel/core < 7.23)Fix thread synchronization issues in
@babel/register(#17915)fix(decorators): replace super within all removed static elements (#17931)
Added
minNodeVersionto 3 tests that fail on Node.js 16 for unknown reasons (#17948 (comment))For these PRs it would make sense to backport them but they have too many conflicts for it to be worth it (mostly, parser PRs):