Skip to content
Closed
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
10 changes: 5 additions & 5 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 @@ -50,7 +50,7 @@
"license": "Apache-2.0",
"dependencies": {
"commander": "^12.1.0",
"undici": "^7.16.0",
"undici": "^8.7.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.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check the package's Node engine requirement
jq '.engines' package.json

# Search for any usage of the legacy undici handler callbacks removed in v8
rg -nP '\bon(Headers|Data|Complete|Error)\s*\(' --type=ts --type=js -g '!node_modules'

Repository: TestSprite/testsprite-cli

Length of output: 208


🌐 Web query:

Undici 8.7.0 Node.js support engines release notes supported Node versions

💡 Result:

Undici version 8.7.0, released on July 4, 2026, officially requires Node.js version 22.19.0 or higher [1][2][3]. According to the official Undici documentation, the 8.x release line is designed to align with the Node.js LTS schedule and maintains support for Node.js versions >= 22.19.0, with testing performed on Node.js 22, 24, and 26 [2][4]. Summary of Undici 8.7.0 key details: - Release Date: July 4, 2026 [1][3] - Required Node.js Version: >= 22.19.0 [2] - Main Changes: Version 8.7.0 includes various fixes, such as guarding balanced-pool error port lookups, optimizing HTTP/2 request paths, and handling cookie path/expiration validation [5][6]. For users upgrading from Undici 7 to 8, it is mandatory to verify that the runtime environment meets the minimum Node.js 22.19.0 requirement, as earlier versions of Node.js are not supported by the 8.x branch [2][7].

Citations:


Keep Undici on v7 or raise the Node floor to 22.19.0

package.json still advertises Node ^20.19.0 || ^22.13.0 || >=24, but Undici 8.7.0 requires Node >=22.19.0. This makes the bump incompatible with the currently supported Node 20 line.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 53, The Undici dependency bump is incompatible with the
currently advertised Node support range. Either keep the dependency on Undici v7
in package.json, or update the Node engines floor to 22.19.0 (and align any
related compatibility checks) so the declared runtime support matches the
version required by Undici 8.7.0.

"valibot": "^1.4.1"
},
"devDependencies": {
Expand Down
Loading