Skip to content

Conversation

@carlansley
Copy link
Contributor

@carlansley carlansley commented Nov 18, 2025

Fixes #85

@carlansley carlansley self-assigned this Nov 18, 2025
Copilot AI review requested due to automatic review settings November 18, 2025 16:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the minimum required Node.js version from 22 to 24, which is a major breaking change reflected in the semantic version bump from 9.3.2 to 10.0.0. The changes primarily focus on:

  • Removing version-specific compatibility code: Tests that previously checked the Node.js version and conditionally ran different code paths have been simplified to only support Node 24+ features
  • Updating all dependency versions: ESLint, TypeScript-ESLint, and other development dependencies have been updated to their latest versions
  • Upgrading build tooling: esbuild and related peer dependencies have been updated to version 0.27.0

Key Changes:

  • Node.js features that were previously gated behind version checks (like duplicate named capturing groups in RegEx, Float16Array, RegExp.escape, and Promise.try) are now unconditionally available
  • Test scripts have been simplified by removing the need for version detection
  • Documentation has been updated to reflect the new minimum version requirement

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/test/node/node-24.spec.ts Removed version check wrapper around Node 24 feature tests
src/test/lib/es2026.spec.ts Removed version check wrapper around ES2026 feature tests
src/test/lib/es2025.spec.ts Removed conditional logic for Node 22 vs Node 24, now only testing Node 24+ features; contains missing assertions
package.json Major version bump to 10.0.0, updated Node engine requirement to >=24.11, updated peer dependencies and dev dependencies
package-lock.json Comprehensive dependency updates reflecting the package.json changes
SECURITY.md Updated supported version table to reflect 10.x as the current supported version
README.md Updated minimum Node.js version documentation from 22.15 to 24.11

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Beta Published - Install Command: npm install @checkdigit/typescript-config@10.0.0-PR.86-7db2

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@ramaghanta ramaghanta left a comment

Choose a reason for hiding this comment

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

lftm

@github-actions
Copy link

❌ PR review status - has 1 reviewer outstanding

Copy link

@le-cong le-cong left a comment

Choose a reason for hiding this comment

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

lftm

@carlansley carlansley merged commit 83e5889 into main Nov 19, 2025
15 of 17 checks passed
@carlansley carlansley deleted the node-24 branch November 19, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require Node 24

4 participants