Merged
Conversation
How to testgit clone -b node https://github.com/hexojs/hexo.git
cd hexo
npm install
npm test |
Pull Request Test Coverage Report for Build 16492920209Details
💛 - Coveralls |
There was a problem hiding this comment.
Pull Request Overview
This pull request updates the minimum Node.js version requirement from 18 to 20.19.0, removing support for Node.js 18 which has reached End-Of-Life status. The change also adds support for Node.js 24 in CI workflows.
- Updates minimum Node.js version requirement to 20.19.0 in package.json
- Updates CI workflows to test against Node.js versions 20, 22, and 24 instead of 18, 20, and 22
- Aligns with Node.js lifecycle and enables
require(esm)functionality available by default in Node.js 20.19.0+
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updates engines.node requirement from ">=18" to ">=20.19.0" |
| .github/workflows/tester.yml | Updates CI matrix to test Node.js versions 20, 22, 24 |
| .github/workflows/benchmark.yml | Updates benchmark workflows to use Node.js versions 20, 22, 24 |
himself65
approved these changes
Jul 24, 2025
renbaoshuo
approved these changes
Jul 24, 2025
calfzhou
added a commit
to calfzhou/gocalf.com
that referenced
this pull request
Dec 25, 2025
…oading issue Refer to: hexojs/hexo#5674
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does it do?
Versions of Node.js prior than 18 are already in End-Of-Life status. We should upgrade the supported Node.js versions in package.json. The required Node.js versions for other Hexo plugins also need to be upgraded accordingly.
Besides,
require(esm)is now enabled by default since Node.js 20.19.0Screenshots
Pull request tasks