Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Babel 8] Bump nodejs requirements to ^20.19.0 || >= 22.12.0#17204

Merged
nicolo-ribaudo merged 4 commits into
babel:mainfrom
JLHwung:bump-nodejs-support
Mar 27, 2025
Merged

[Babel 8] Bump nodejs requirements to ^20.19.0 || >= 22.12.0#17204
nicolo-ribaudo merged 4 commits into
babel:mainfrom
JLHwung:bump-nodejs-support

Conversation

@JLHwung
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung commented Mar 25, 2025

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change? Yes
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link babel/website#3073
Any Dependency Changes?
License MIT

Node.js 18 will reach EOL at Apr. 30th this year. In this PR we bump the node.js requirements to ^20.19.0 || >= 22.12.0, where require(esm) is unflagged. This means that

  1. we can simplify the user land server-worker require(esm) approach in the eslint-parser, babel-node and babel-register.
  2. we can always publish ESM now that require(esm) is available in all node.js versions supported by Babel 8: Maybe we can remove the Babel-core cjs proxy and let the CJS user consume ESM directly.

@JLHwung JLHwung added the PR: Breaking Change 💥 A type of pull request used for our changelog categories for next major release label Mar 25, 2025
@babel-bot
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@nicolo-ribaudo nicolo-ribaudo merged commit fdc0fb5 into babel:main Mar 27, 2025
@nicolo-ribaudo nicolo-ribaudo deleted the bump-nodejs-support branch March 27, 2025 09:42
laine-hallot pushed a commit to laine-hallot/uwu-parser that referenced this pull request Mar 31, 2025
…#17204)

* bump node.js requirements to ^20.19.0 || >= 22.12.0

* update package.json

* update babel.config.js

* update CI config
@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 Jun 27, 2025
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 27, 2025
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: Breaking Change 💥 A type of pull request used for our changelog categories for next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants