Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"undici": "^5.8.0"
"undici": "^8.3.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests need newer Node

Medium Severity

Upgrading the test-only undici devDependency to v8 makes npm test depend on Node >=22.19.0, because Jest imports undici in __tests__, while engines still allows Node >=16. Environments on Node 16–22.18 that satisfied engines and worked with undici v5 can fail when loading or running tests.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3c2d0f8. Configure here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our tests are run with a newer version of Node, so I'm okay with this.

I do not want to stay on an old version of undici, but I don't want to unnecessarily bump the required version of Node for this package purely for a test dependency. It's likely that we should bump that to a newer version of Node that is LTS, but that's a separate discussion.

},
"eslintConfig": {
"extends": [
Expand Down
Loading