chore!: drop support for Node.js 20 - #1944
Merged
Merged
Conversation
Node.js 20 reached end-of-life on 2026-04-30. - Require Node.js 22 or later in `engines` - Pin Volta and `.nvmrc` to Node.js 22.22.2 - Bump `@types/node` to ^22.20.4 - Remove Node.js 20 from the CI test matrix - Update README, CONTRIBUTING, AGENTS and website docs BREAKING CHANGE: HTMLHint now requires Node.js 22 or later. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying htmlhint with
|
| Latest commit: |
44c569d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://bde7b49d.htmlhint.pages.dev |
| Branch Preview URL: | https://chore-drop-node-20.htmlhint.pages.dev |
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Restore the @parcel/watcher libc platform selectors in package-lock.json.
Review effort: Lite
Findings: None
What changed in this PR
Raises HTMLHint’s minimum supported Node.js version from 20 to 22.
Changes:
- Pins Node.js 22.22.2 and updates runtime/type requirements.
- Removes Node.js 20 from CI.
- Updates documentation and contributor guidance.
- Requires restoring
@parcel/watcherlibc selectors in the lockfile.
| File | Reviewed changes |
|---|---|
website/src/content/docs/getting-started.mdx |
Updates Node.js requirements. |
README.md |
Updates installation requirements. |
package.json |
Updates engines, Volta, and Node types. |
package-lock.json |
Refreshes dependencies; libc selectors need restoration. |
AGENTS.md |
Updates development requirements. |
.nvmrc |
Pins Node.js 22.22.2. |
.github/workflows/test.yml |
Removes Node.js 20 from CI. |
.github/CONTRIBUTING.md |
Updates contributor requirements. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Node.js 20 reached end-of-life on 2026-04-30.
engines.nvmrcto Node.js 22.22.2@types/nodeto ^22.20.4BREAKING CHANGE: HTMLHint now requires Node.js 22 or later.