8000 fix: update Vitest and audit dependencies by sijan2 · Pull Request #1 · sijan2/rep · GitHub
[go: up one dir, main page]

Skip to content

fix: update Vitest and audit dependencies - #1

Draft
sijan2 wants to merge 1 commit into
mainfrom
security/dependency-alerts-2026-10-08
Draft

sijan2 wants to merge 1 commit into
mainfrom
security/dependency-alerts-2026-10-08

Conversation

@sijan2
@sijan2 sijan2 commented Oct 8, 2026
Copy link
Copy Markdown
Owner

Security update

Upgrade Vitest from 1.x to 5.0.3 and regenerate the npm lockfile. This resolves the critical Vitest UI advisory GHSA-5xrq-8626-4rwp and brings tinypool beyond GHSA-85c8-ppgw-ccpr. The regenerated tree also updates vulnerable form-data and ws dependencies.

Vitest 5 requires a constructor-compatible FileReader test mock; update that mock without changing production behavior.

Validation

  • Node.js 24.18.0: npm ci --ignore-scripts --no-fund passed.
  • npm run build passed: 20 test files, 377 tests, and extension package generation.
  • npm audit --package-lock-only reports zero vulnerabilities, down from 11 dependency-tree findings (2 critical, 7 high, 2 moderate) in the previous lockfile.
  • Exact head: 6dd842c1d478a4e13765e6dbbb3e8497451ea653.

GitHub Dependabot alert state still needs verification; the audit counts above are npm findings, not GitHub alert counts.

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

0