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

Revert Node.js 20.6.0 bug workaround #15965

Merged

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Sep 13, 2023

Q                       A
Fixed Issues? Closes #15964, closes #15960, closes #15958
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

The 20.6.0 bug was fixed in 20.6.1, released 5 days ago. In addition to that, 20.7.0 is scheduled to be released today (nodejs/Release#855).

It should be safe to remove the workaround now, given that users can upgrade to 20.6.1 or 20.7.0. The workaround, while temporarily solved the huge breakage in the ecosystem, is now causing problems with multiple tools that are not configured to properly support CommonJS (i.e. they are parsing our released files as modules or as classic scripts without top-level return support).

@nicolo-ribaudo nicolo-ribaudo added the PR: Revert ↩️ A type of pull request used for our changelog categories label Sep 13, 2023
@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Sep 13, 2023

We need to wait at least until when CircleCI supports either 20.6.1 or 20.7.0: CircleCI-Public/cimg-node#355

@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/55455/

@nicolo-ribaudo
Copy link
Member Author

CircleCI released 20.6.1: CircleCI-Public/cimg-node#358

@nicolo-ribaudo nicolo-ribaudo merged commit aac99cf into babel:main Sep 14, 2023
48 checks passed
@nicolo-ribaudo nicolo-ribaudo deleted the revert-node-20.6.0-workaround branch September 14, 2023 09:09
@dargmuesli
Copy link

dargmuesli commented Sep 14, 2023

@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Dec 15, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Revert ↩️ A type of pull request used for our changelog categories
Projects
None yet
5 participants