Update all dependencies, Node.js min to v20, replace jest with node:test#54
Merged
diogotorres97 merged 8 commits intomasterfrom Jan 2, 2026
Merged
Update all dependencies, Node.js min to v20, replace jest with node:test#54diogotorres97 merged 8 commits intomasterfrom
jest with node:test#54diogotorres97 merged 8 commits intomasterfrom
Conversation
- Pin node and yarn versions using volta - Remove Node v18 from the Test suite, adding Node v24
- Moves to the maintained project, while fixing a security vulnerability.
- Fixes some security vulnerabilities in dependencies of `release-it`
There was a problem hiding this comment.
Pull request overview
This PR modernizes the repository's testing and tooling infrastructure by migrating from Jest to Node.js's native node:test framework, updating ESLint to v9 with a new flat config format, and bumping the minimum Node.js version from v14 to v20. The changes also include dependency updates to address security vulnerabilities and improvements to the CI/CD workflows.
Key changes:
- Complete migration from Jest to
node:testwith updated assertions usingnode:assert - ESLint upgraded to v9 with new flat config format (
eslint.config.mjs) - Minimum Node.js version raised to v20, with CI matrix updated to test v20, v22, and v24
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| test/utils.test.js | Migrated Jest tests to node:test with appropriate assertions |
| test/index.test.js | Converted Jest mocks and assertions to node:test equivalents |
| src/index.js | Alphabetically reordered parameters in addHook method |
| package.json | Updated all dependencies, removed Jest config, added devEngines, updated Node requirement to >=20 |
| eslint.config.mjs | New ESLint v9 flat config replacing .eslintrc.yml |
| .eslintrc.yml | Removed legacy ESLint configuration |
| README.md | Formatting improvements to code examples and documentation |
| .github/workflows/release.yaml | Updated to use newer action versions and improved npm/git configuration |
| .github/workflows/ci.yaml | Updated Node.js matrix and action versions, now runs coverage tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
9819aa9 to
b2d972b
Compare
diogotorres97
approved these changes
Jan 2, 2026
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.
Description
eslint-config-upholdandprettierto the latest versions.jestwithnode:test.pre-commitwith@fastify/pre-commit.release-itand the release workflow.README.@uphold/github-changelog-generator.devEnginestopackage.json.