Skip to content

chore(deps-dev): bump vitest to 4.1.12 and drop stale audit allowlist entries - #597

Closed
Matt Sutkus (msuitcase) wants to merge 2 commits into
masterfrom
sec/vitest-4.1.12-audit
Closed

Matt Sutkus (msuitcase) wants to merge 2 commits into
masterfrom
sec/vitest-4.1.12-audit

Conversation

@msuitcase

Copy link
Copy Markdown
Contributor

Description

Why

just scan (audit-ci) now fails on every PR. GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp (moderate) affect @vitest/mocker <4.1.12, pulled in by vitest and @vitest/coverage-istanbul. They are dev-only. Dependabot #595 fixes the vite and markdown-it advisories but leaves these two.

Change

  • package-lock.json: vitest, @vitest/coverage-istanbul and @vitest/mocker (plus the other @vitest/* packages that move in lockstep) 4.1.11 → 4.1.12. package.json is unchanged.
  • audit-ci.jsonc: remove GHSA-4mjr-xmp4-gh2g and GHSA-x5fp-wj9c-mxmx from the allowlist; audit-ci reports they no longer match anything.

Not touched: #595.

Testing

npm ci, npm run build and npm test pass locally (36 files, 190 tests). npm run scan no longer reports any vitest advisory. It still fails on the vite and markdown-it advisories until #595 merges, so lint stays red on this PR until then.

Pull Request Type

  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

… entries

Fixes GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp in @vitest/mocker. Lockfile only; package.json ranges are unchanged. Removes GHSA-4mjr-xmp4-gh2g and GHSA-x5fp-wj9c-mxmx from audit-ci.jsonc, which audit-ci reports as no longer matching anything.
@msuitcase
Matt Sutkus (msuitcase) marked this pull request as ready for review October 23, 2026 09:23
@Justintime50

Copy link
Copy Markdown
Member

I had a commit that had to go out and we npm updated there so this isn't needed anymore.

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.

2 participants