Skip to content

Conversation

promer94
Copy link
Collaborator

@promer94 promer94 commented Sep 20, 2025

  1. upgrade ci node version to 22
  2. upgrade pnpm version
  3. upgrade repo's deps and replace deprecated apis of jest
  4. upgrade eslint version and migrate old config to the new format

Copy link

codesandbox-ci bot commented Sep 20, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link

socket-security bot commented Sep 20, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​types/​use-sync-external-store@​0.0.3 ⏵ 1.5.010010062 -178100
Updatedhusky@​8.0.3 ⏵ 9.1.7100 +110062 -1779100
Updatedjest@​29.7.0 ⏵ 30.1.3100 +110069 +196100
Updated@​typescript-eslint/​parser@​5.59.8 ⏵ 8.44.010010071 +497 +1100
Updateduse-sync-external-store@​1.4.0 ⏵ 1.5.01001007196100
Updated@​types/​jest@​29.5.12 ⏵ 30.0.01001007779100
Updated@​edge-runtime/​jest-environment@​3.0.4 ⏵ 4.0.0100 +110078 -178 -1100
Updatedrimraf@​5.0.1 ⏵ 6.0.19910010078100
Updatedeslint-plugin-jest-dom@​5.1.0 ⏵ 5.5.0100 +110010079 +2100
Updated@​types/​react@​18.2.8 ⏵ 18.3.24100 +110079 +295 +1100
Updated@​typescript-eslint/​eslint-plugin@​5.59.8 ⏵ 8.44.09910080 +397 +1100
Updated@​swc/​jest@​0.2.26 ⏵ 0.2.39100100100 +180 -3100
Updated@​types/​node@​20.2.5 ⏵ 22.18.61001008196 +1100
Updated@​eslint/​eslintrc@​2.0.3 ⏵ 3.3.199 +1100100 +782100
Updatedreact-error-boundary@​4.0.9 ⏵ 5.0.0100100100 +183 +1100
Updatedeslint-plugin-react@​7.32.2 ⏵ 7.37.59910010084100
Updatedreact@​18.2.0 ⏵ 18.3.1100 +110085 +197100
Updatedglobals@​13.19.0 ⏵ 16.4.010010085 -291 -1100
Updated@​arethetypeswrong/​cli@​0.15.3 ⏵ 0.18.2100 +1100100 +186100
Updated@​testing-library/​react@​14.2.1 ⏵ 16.3.010010010087 +1100
Updatedeslint-config-prettier@​8.8.0 ⏵ 10.1.8100 +1100100 +3087100
Updated@​testing-library/​dom@​9.2.0 ⏵ 10.4.19910010088100
Added@​eslint/​compat@​1.3.210010010088100
Updatedprettier@​2.8.8 ⏵ 3.6.29910010090100
Updatedtypescript@​5.3.3 ⏵ 5.9.210010090100100
Updated@​eslint/​js@​8.42.0 ⏵ 9.36.010010091 +596 +1100
Updatedlint-staged@​13.2.2 ⏵ 16.1.699 +1100100 +191 +1100
Updatedbunchee@​6.3.2 ⏵ 6.6.092 -4100100 +193 +3100
Updatedreact-dom@​18.2.0 ⏵ 18.3.1100 +110092 +197100
Updated@​swc/​core@​1.3.93 ⏵ 1.13.592 +2100100 +395 +1100
Updated@​testing-library/​jest-dom@​5.16.5 ⏵ 6.8.0100 +110010094100
Updatedeslint-plugin-react-hooks@​4.6.0 ⏵ 5.2.0100100100 +796100
Updatedeslint@​8.42.0 ⏵ 9.36.097 +110010096 +1100
See 2 more rows in the dashboard

View full report

Copy link

@Copilot 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 project's dependencies and updates deprecated APIs to maintain compatibility with newer versions. The changes modernize the testing infrastructure and build configuration while ensuring code quality.

  • Upgrade CI Node.js version to 22 and pnpm to version 10.17.0
  • Replace deprecated Jest matchers with their modern equivalents
  • Migrate from legacy ESLint configuration format to the new flat config format

Reviewed Changes

Copilot reviewed 46 out of 49 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
package.json Updates dependency versions including Jest, ESLint, TypeScript and other dev dependencies
eslint.config.mjs New flat ESLint configuration replacing the legacy .eslintrc format
.eslintrc Removed legacy ESLint configuration file
test/*.tsx Updates Jest assertions from deprecated matchers to modern equivalents (toBeCalled → toHaveBeenCalled)
src/**/*.ts Removes unnecessary ESLint disable comments and updates import paths
.github/workflows/*.yml Updates CI configuration to use Node.js 22 and newer Playwright version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

1 participant