Skip to content
Open
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rimraf": "^2.2.8",
"server-destroy": "^1.0.1",
"standard": "^9.0.0",
"tap": "^15.1.5",
"tap": "^21.0.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.

Removed --no-check-coverage flag breaks test-ci script

High Severity

Upgrading tap from ^15 to ^21 without updating the test-ci script breaks the test runner. The --no-check-coverage flag used in "test-ci": "tap --no-check-coverage tests/test-*.js" was removed in tap v18's major overhaul. In tap v18+, coverage configuration changed entirely — the replacement options are --allow-incomplete-coverage or --disable-coverage. Running the existing script with tap v21 will fail with an unrecognized option error.

Additional Locations (1)

Fix in Cursor Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Tap v21 requires Node 20 but CI uses Node 18

High Severity

Bumping tap to v21 requires Node.js >=20.0.0, but our CI environments still run Node 18. This causes tap to fail during test runs in CI.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2641cc9. Configure here.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Removed CLI flag breaks test-ci script with tap v21

High Severity

Upgrading tap from v15 to v21 breaks the test-ci script at line 50, which uses tap --no-check-coverage tests/test-*.js. The --no-check-coverage CLI flag was removed in tap v18's complete rewrite. In tap v21, the equivalent options are --disable-coverage combined with --allow-empty-coverage, or --allow-incomplete-coverage. The test command will fail with an unrecognized option error. Additionally, tap v21 requires Node.js v20+, while this project declares support for Node.js >= 14.17.0.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8d45206. Configure here.

"tape": "^4.6.0"
},
"greenkeeper": {
Expand Down
Loading
Loading