Skip to content

chore!: drop support for Node.js 20 - #1944

Merged
coliff merged 2 commits into
mainfrom
chore/drop-node-20
Sep 25, 2026
Merged

coliff merged 2 commits into
mainfrom
chore/drop-node-20

Conversation

@coliff

@coliff coliff commented Sep 25, 2026

Copy link
Copy Markdown
Member

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.

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>
Copilot AI lite review requested due to automatic review settings September 25, 2026 12:22
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Deploying htmlhint with  Cloudflare Pages  Cloudflare Pages

Latest commit: 44c569d
Status: ✅  Deploy successful!
Preview URL: https://bde7b49d.htmlhint.pages.dev
Branch Preview URL: https://chore-drop-node-20.htmlhint.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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/watcher libc 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.

@coliff
coliff merged commit b563b64 into main Sep 25, 2026
26 checks passed
@coliff
coliff deleted the chore/drop-node-20 branch September 25, 2026 12:32
coliff added a commit that referenced this pull request Sep 25, 2026
- Rename 2.0.0-beta-1 entry to 2.0.0 dated 2026-09-27
- Note Node.js 22 requirement (#1944)
- Add rule fixes from #1864, #1937 and #1938
- Add docs, CI and website updates since the beta draft
- Update homepage banner to v2.0.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants