Skip to content

chore(deps): resolve npm audit vulnerabilities#720

Merged
dgreif merged 1 commit into
mainfrom
dgreif-fix-npm-vulnerabilities-tsc
Jul 23, 2026
Merged

chore(deps): resolve npm audit vulnerabilities#720
dgreif merged 1 commit into
mainfrom
dgreif-fix-npm-vulnerabilities-tsc

Conversation

@dgreif

@dgreif dgreif commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

npm audit currently reports seven vulnerabilities (5 high, 1 moderate, 1 low) in transitive dependencies. This updates the lockfile to patched releases so installs audit cleanly.

  • Updates vulnerable brace-expansion, fast-uri, js-yaml, and shell-quote paths.
  • Overrides Mocha's diff and serialize-javascript dependencies because Mocha 11's declared ranges do not include the patched major versions.
  • Removes the obsolete randombytes and safe-buffer transitive dependencies through the serialize-javascript update.

Validation

  • npm ci
  • npm test (67 passing)
  • npm audit (0 vulnerabilities)

Notes

TypeScript 7 from #719 is intentionally not included. The latest typescript-eslint release only supports TypeScript <6.1, and the upgrade currently breaks eslint-doc-generator.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c0da10f-9a59-4654-9fa0-67398b5fc746
Copilot AI review requested due to automatic review settings July 23, 2026 02:17
@dgreif
dgreif requested a review from a team as a code owner July 23, 2026 02:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates transitive dependencies to patched versions so npm audit reports no vulnerabilities.

Changes:

  • Overrides Mocha’s vulnerable dependencies with patched major versions.
  • Refreshes vulnerable transitive packages and removes obsolete dependencies.
Show a summary per file
File Description
package.json Adds scoped Mocha dependency overrides.
package-lock.json Locks patched transitive dependency versions.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/2 changed files
  • Comments generated: 0
  • Review effort level: Medium

@dgreif
dgreif merged commit a95d9e7 into main Jul 23, 2026
11 checks passed
@dgreif
dgreif deleted the dgreif-fix-npm-vulnerabilities-tsc branch July 23, 2026 13:20
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.

3 participants