Upgrade mocha to 12 beta to resolve Dependabot vulnerability alerts#125
Merged
theRealPadster merged 1 commit intomainfrom May 5, 2026
Merged
Upgrade mocha to 12 beta to resolve Dependabot vulnerability alerts#125theRealPadster merged 1 commit intomainfrom
theRealPadster merged 1 commit intomainfrom
Conversation
Agent-Logs-Url: https://github.com/theRealPadster/diffbot-api-node/sessions/ca1a7513-218b-4b51-8fde-4e4bf0e3196a Co-authored-by: theRealPadster <1565883+theRealPadster@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
theRealPadster
May 5, 2026 22:04
View session
theRealPadster
approved these changes
May 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.
All stable mocha releases (≤11.7.5) pull in vulnerable transitive deps (
diff6–8.x,serialize-javascript≤7.0.4). The fix requires mocha 12, currently only available as a beta.Changes
^11.7.5→^12.0.0-beta-9.3— first release line to depend ondiff ^9.0.0andserialize-javascript ^7.0.5, resolving GHSA-73rr-hh4g-fpgx and GHSA-5c6j-r48x-rmvq1.13.x→1.16.0— resolves multiple high-severity prototype pollution / SSRF / injection CVEs1.1.14— resolves moderate DoS via zero-step sequence (GHSA-f886-m6hf-6m8v)