Skip to content

Conversation

@risantos
Copy link
Member

@risantos risantos commented Jan 2, 2026

Description

  • Update ESLint to v9, eslint-config-uphold and prettier to the latest versions.
  • Replace jest with node:test.
  • Replace pre-commit with @fastify/pre-commit.
  • Update release-it and the release workflow.
  • Format README.
  • Update @uphold/github-changelog-generator.
  • Bump minimum Node.js to v20.
  • Update all dependencies to fix security vulnerabilities.
  • Add devEngines to package.json.

- 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`
@risantos risantos self-assigned this Jan 2, 2026
Copilot AI review requested due to automatic review settings January 2, 2026 19:54
@risantos risantos added the dependencies Pull requests that update a dependency file label Jan 2, 2026
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 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:test with updated assertions using node: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.

@risantos risantos force-pushed the support/update-repo branch from 9819aa9 to b2d972b Compare January 2, 2026 20:51
@diogotorres97 diogotorres97 merged commit b0ceabd into master Jan 2, 2026
4 checks passed
@diogotorres97 diogotorres97 deleted the support/update-repo branch January 2, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants