Update js-yaml to ~4.2.0 to address GHSA-h67p-54hq-rp68#5847
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] Update js-yaml dependency to version 4.2.x to fix security issue
Update js-yaml to ~4.2.0 to address GHSA-h67p-54hq-rp68
Jun 24, 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.
js-yaml ~4.1.0has a known advisory (GHSA-h67p-54hq-rp68) for poor performance characteristics with certain input (ReDoS-class behavior). Bumping to~4.2.0resolves it.Changes
libraries/rush-lib/package.json— bumpjs-yaml~4.1.0→~4.2.0apps/api-documenter/package.json— sameapps/lockfile-explorer/package.json— samerepo-scripts/doc-plugin-rush-stack/package.json— samecommon/config/subspaces/default/pnpm-lock.yaml—rush updateresolves tojs-yaml@4.2.0common/changes/@microsoft/rush/— change file with bump typenone