fix: bump vitest to ^3.2.6 (critical Dependabot advisory) - #13
Merged
Conversation
Resolves the critical advisory "Vitest UI server arbitrary file read/exec" (fixed in 3.2.6). Bumps vitest and @vitest/coverage-v8 ^1.6.0 -> ^3.2.6. Dev-dependency only; no change to the published surface. vitest 3's v8 coverage provider counts inner closures/arrows as uncovered functions even when their lines run, so coverage config now excludes ambient .d.ts files and recalibrates the functions threshold below the v3 baseline. Lines/statements/branches stay the meaningful gates (98%/98%/92%). The low-severity esbuild advisory (dev-server file read on Windows, via tsup) is left for later: patched esbuild 0.28.1 is outside tsup 8.5.1's ^0.27.0 range, and the vector does not apply to Linux CI / vitest-run usage. Full gate green under vitest 3: lint, lint:types, test (106/106), build, test:types, lint:exports, size, frozen-lockfile.
chiliec
force-pushed
the
chore/security-dep-bumps
branch
from
June 22, 2026 12:19
8b516f5 to
ec8b105
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves the open Dependabot alerts on
main. All are dev-scope — none ship in the publisheddist, so consumers of@viz-cx/corewere never exposed.Fixed
Critical (#3, #4) — vitest "UI server arbitrary file read/exec" (patched 3.2.6).
vitest+@vitest/coverage-v8^1.6.0→^3.2.6.tx.ts: 100% lines / ~32% functions). Excluded ambient.d.tsand recalibrated only thefunctionsfloor — lines/statements/branches stay the meaningful gates at 98%/98%/92%.Deferred (documented)
Low (#5) — esbuild dev-server file read on Windows, transitively via
tsup.0.28.1is outside tsup 8.5.1's declared^0.27.0range; no tsup release uses 0.28 yet. Forcing it is unsupported.vitest runusage.Gates (all green under vitest 3)
lint · lint:types · test (106/106) · build · test:types (tsd) · lint:exports (attw) · size (58.26 KB / 100 KB) · test:cov ·
pnpm install --frozen-lockfile(lockfile stayslockfileVersion: '9.0'for CI's pnpm 9).Branch is off
main, independent of #12 (viz-js-lib 0.12.7).