Dependency Updates: April 2026 - #36
Conversation
There was a problem hiding this comment.
Review Summary
This PR updates dependencies and drops Node.js 20 support in favor of Node.js 22 as the minimum version. The changes are generally consistent across the workflow configuration and package files.
Critical Issue Found
The removal of "strict": true from tsconfig.json is a blocking concern that weakens TypeScript's type safety guarantees. This could allow type errors to pass compilation that might cause runtime failures.
Changes Overview
- GitHub Actions workflow now tests against Node 22.x and 24.x only
- Package dependencies updated to match Node 22 requirements
- TypeScript module configuration updated from "node20" to "nodenext"
Please restore the strict compiler option before merging to maintain the project's type safety standards.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
There was a problem hiding this comment.
Pull request overview
Updates the project’s Node/TypeScript-related dependencies and CI runtime targets for April 2026, aligning development and CI with newer Node versions.
Changes:
- Bump Node typings to v22 and raise the package’s minimum Node engine requirement to >=22.
- Update TypeScript compiler module mode to
nodenextand adjust compiler strictness settings. - Remove Node 20 from the CI build matrix.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
tsconfig.json |
Switches TS module mode to nodenext and modifies compiler option set. |
package.json |
Updates @types/node and raises the Node engine floor to >=22. |
package-lock.json |
Locks updated dependency versions consistent with the new Node/types requirements. |
.github/workflows/build.yml |
Updates CI to test only on Node 22.x and 24.x. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.