Skip to content

Remediate npm audit findings and upgrade Mocha reporting - #438

Merged
Matt Masson (mattmasson) merged 2 commits into
masterfrom
dev/dependabot-maintenance
Nov 5, 2026
Merged

Matt Masson (mattmasson) merged 2 commits into
masterfrom
dev/dependabot-maintenance

Conversation

@mattmasson

@mattmasson Matt Masson (mattmasson) commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Summary

  • applies npm audit fix without --force to remediate vulnerable transitive dependencies within existing package constraints
  • upgrades Mocha from ^11.3.0 to ^12.0.3
  • replaces mocha-multi-reporters and mocha-junit-reporter with a local mochaReporter.js composite reporter using Mocha's built-in Spec and XUnit reporters
  • preserves readable console output and test-results.xml for both the library and resource test suites
  • removes the obsolete reporter configuration and serialize-javascript override; Mocha now resolves patched serialize-javascript directly

Validation

  • npm ci
  • npm run lint
  • npm run build
  • npm test — 885 passing, 1 pending; XUnit: 886 tests, 0 failures, 0 errors
  • npm run test:resources — 102 passing; XUnit: 102 tests, 0 failures, 0 errors
  • npm audit

Remaining audit findings

npm audit reports 8 moderate findings, with 0 high and 0 critical. They are confined to the development toolchain: Mocha's glob/minimatch chain and transitive @typescript-eslint/* dependencies. npm's proposed complete remediations are breaking downgrades to Mocha 11.4.0 and @typescript-eslint 6.15.0, so they were not applied.

Matt Masson and others added 2 commits November 5, 2026 12:03
Apply npm audit fix without force to update vulnerable transitive dependencies while preserving existing package constraints.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mattmasson
Matt Masson (mattmasson) enabled auto-merge (squash) November 5, 2026 17:39
@mattmasson Matt Masson (mattmasson) changed the title Remediate overlapping npm audit findings Remediate npm audit findings and upgrade Mocha reporting Nov 5, 2026
@mattmasson
Matt Masson (mattmasson) merged commit 1cb6649 into master Nov 5, 2026
4 of 5 checks passed
@mattmasson
Matt Masson (mattmasson) deleted the dev/dependabot-maintenance branch November 5, 2026 18:18
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