chore(deps): bump body-parser, bump js-yaml with overrides MONGOSH-3456 - #2773
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates dependency resolution to address CI vulnerability scanning findings by bumping body-parser and forcing a patched js-yaml version via npm overrides (to work around lerna’s pinned dependency).
Changes:
- Add an npm
overridesrule intended to forcejs-yamlto a patched version. - Update
package-lock.jsonto reflectjs-yaml@4.3.0andbody-parserversion bumps (including related transitive updates/deduping).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Adds npm overrides for js-yaml. |
| package-lock.json | Updates resolved versions for js-yaml, body-parser, and related transitive dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
nbbeeken
approved these changes
Jul 17, 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.
MONGOSH-4356
Updates deps for CI vuln check.
Adds
overridesfor thejs-yamlas lerna has it pinned. body-parser is updated.Resolves a CI vuln check failure for some vulns that do not impact us (SNYK-JS-JSYAML-17900054, SNYK-JS-JSYAML-17342520, SNYK-JS-BODYPARSER-17906397). Easiest thing to do here is bump the deps rather than ignore.