Repository navigation
Remediate npm audit findings and upgrade Mocha reporting - #438
Merged
Merged
Conversation
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>
Matt Masson (mattmasson)
enabled auto-merge (squash)
November 5, 2026 17:39
JordanBoltonMN
approved these changes
Nov 5, 2026
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.
Summary
npm audit fixwithout--forceto remediate vulnerable transitive dependencies within existing package constraints^11.3.0to^12.0.3mocha-multi-reportersandmocha-junit-reporterwith a localmochaReporter.jscomposite reporter using Mocha's built-in Spec and XUnit reporterstest-results.xmlfor both the library and resource test suitesserialize-javascriptoverride; Mocha now resolves patchedserialize-javascriptdirectlyValidation
npm cinpm run lintnpm run buildnpm test— 885 passing, 1 pending; XUnit: 886 tests, 0 failures, 0 errorsnpm run test:resources— 102 passing; XUnit: 102 tests, 0 failures, 0 errorsnpm auditRemaining audit findings
npm auditreports 8 moderate findings, with 0 high and 0 critical. They are confined to the development toolchain: Mocha'sglob/minimatchchain and transitive@typescript-eslint/*dependencies. npm's proposed complete remediations are breaking downgrades to Mocha 11.4.0 and@typescript-eslint6.15.0, so they were not applied.