-
Notifications
You must be signed in to change notification settings - Fork 663
chore(deps): update dependency chai to v5 #8077
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -18,7 +18,7 @@ | |||||
| }, | ||||||
| "devDependencies": { | ||||||
| "c8": "^9.0.0", | ||||||
| "chai": "^4.2.0", | ||||||
| "chai": "^5.0.0", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Chai v5 is an ESM-only package and does not support
Suggested change
|
||||||
| "mocha": "^8.0.0" | ||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,7 +31,7 @@ | |||||
| "google-gax": "^5.0.0" | ||||||
| }, | ||||||
| "devDependencies": { | ||||||
| "@types/chai": "^4.2.7", | ||||||
| "@types/chai": "^5.0.0", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upgrading to
Suggested change
|
||||||
| "@types/mocha": "^10.0.10", | ||||||
| "@types/node": "^22.13.9", | ||||||
| "@types/sinon": "^17.0.4", | ||||||
|
|
||||||
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.
Upgrading to
@types/chaiv5 in a CommonJS project can lead to type mismatches and build failures, as Chai v5 is ESM-only. It is recommended to remain on the latest v4 types (^4.3.20) for compatibility with the current module system.