Skip to content

chore(deps): dev-dep security upgrade + drop EOL Node 18 (engines >=20) - #16

Merged
vdavez merged 2 commits into
mainfrom
chore/dev-deps-security
Aug 14, 2026
Merged

chore(deps): dev-dep security upgrade + drop EOL Node 18 (engines >=20)#16
vdavez merged 2 commits into
mainfrom
chore/dev-deps-security

Conversation

@makegov-mark

@makegov-mark makegov-mark Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Clears all six open Dependabot alerts and raises the Node floor to 20.

Every alert was development-scope — vitest, vite, and esbuild in the test toolchain via package-lock.json; the published package is unaffected (sole runtime dependency remains commander).

What

  • vitest 2.1.9 → 4.1.10 and @vitest/coverage-v8 to match (pulls vite 8.2.1, past the vite advisories and the critical vitest UI advisory).
  • tsx to the current line, moving esbuild to 0.28.2 (past both esbuild advisories).
  • Test-only fix for a vitest 4 breaking change: mock implementations created from arrow functions are no longer constructable with new, so the two constructable CLI test mocks (TangoClient, WebhookReceiver) now use regular-function implementations.
  • Node 18 dropped: vitest 4 requires Node ≥20 (uses util.styleText), and Node 18 has been EOL since April 2025 — engines is now >=20.0.0, the CI matrix is 20/22/24, and README/DEVELOPERS say Node 20+. Existing installs on 18 keep working but are no longer tested or supported.

Testing

npm audit: 0 vulnerabilities. Full suite green (358 tests, including the cassette integration layer), coverage run green under vitest 4, both conformance gates exit 0, overlay regen-diff clean, typecheck + lint clean.

Ships in v1.3.0 (engines change is consumer-visible).

  • mark 🤖

🤖 Generated with Claude Code

vdavez and others added 2 commits August 14, 2026 13:18
…erage plugin, tsx/esbuild 0.28

All alerts were development-scope (vitest/vite/esbuild); npm audit now reports zero.
vitest 4's mocks reject arrow-function implementations under new, so the two constructable CLI test mocks use regular functions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Node 18 has been end-of-life since April 2025 and the patched test toolchain (vitest 4) requires 20+.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@makegov-mark makegov-mark Bot changed the title chore(deps): dev-dependency security upgrade (vitest 4 / vite 8 / esbuild 0.28) chore(deps): dev-dep security upgrade + drop EOL Node 18 (engines >=20) Aug 14, 2026
@vdavez
vdavez merged commit aee3e27 into main Aug 14, 2026
7 checks passed
@makegov-mark makegov-mark Bot mentioned this pull request Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant