-
Notifications
You must be signed in to change notification settings - Fork 324
Updating package.json dependencies #3600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Updates dependencies to their latest versions and adapts code to work with the new ESLint flat configuration format, along with Jest API deprecation fixes and ESLint compatibility updates.
- Migrated from legacy
.eslintrc.jsto modern flat config format with ES modules - Updated deprecated Jest matchers from
toBeCalled/toBeCalledWithtotoHaveBeenCalled/toHaveBeenCalledWith - Applied various code fixes to maintain ESLint compliance with updated rules
Reviewed Changes
Copilot reviewed 17 out of 19 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates all dependencies to latest versions |
| .eslintrc.js | Migrates from legacy config format to flat config with ES modules |
| .eslintignore | Removed in favor of ignores array in flat config |
| test/*.test.ts | Updates deprecated Jest matchers to current API |
| src/*.ts | Adds eslint-disable linebreak-style comments and minor code improvements |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This PR Updates most of the dependencies, as a result some code had also been updated, here is a list of the highlights:
.eslintrc.js: The new eslint version requires the use of a flat file for configuration, so I moved the previous format to the new one.toBeCalledwithtoHaveBeenCalledWithas former has been deprecatedtoBeCalledWithwithtoHaveBeenCalledWithas former has been deprecatedmoduleandtargeton tsconfig toES2020ES2022.eslintignoreas usage in a single file is disallowed by new version of eslint, instead added ignorePattern in new config file