Bump js-yaml to a patched version#6856
Merged
Merged
Conversation
Adds an npm override pinning the transitive js-yaml dependency to its patched version: - js-yaml 4.2.0 -> 4.3.0 (GHSA-52cp-r559-cp3m, CVE-2026-59869) Stays within the current major version line. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 578b6525-9314-4451-8a03-97df3e5f04cd
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the transitive js-yaml dependency to the patched 4.3.0 release, addressing CVE-2026-59869.
Changes:
- Adds an npm override for
js-yaml4.3.0 or later within major version 4. - Regenerates the lockfile with the patched resolution and integrity metadata.
Show a summary per file
| File | Description |
|---|---|
package.json |
Adds the js-yaml override. |
package-lock.json |
Locks transitive consumers to js-yaml 4.3.0. |
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
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.
Remediates the outstanding Dependabot finding for
rest-api-description.js-yamlis a transitive dependency (pulled in viaeslint), so it's pinned via an npmoverride— the same mechanism this repo already uses forlodash. The update stays within the current major version line.js-yamlpackage-lock.jsonwas regenerated withnpm install --package-lock-only, so the diff is limited to the single resolution plus the new override entry. No changes to any OpenAPI description files.Closes https://github.com/github/vuln-mgmt/issues/218392