[agent] chore(deps): bump js-yaml to 4.2.0#785
Draft
github-actions[bot] wants to merge 1 commit into
Draft
Conversation
- Bump direct dependency in packages/mql-typescript from ^4.1.1 to ^4.2.0 - Add root overrides to force all transitive js-yaml 4.x to ^4.2.0, covering @eslint/eslintrc, eslint, lerna, mocha, mongodb-schema, and @bcherny/json-schema-ref-parser which all resolved to <=4.1.1 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Addresses Dependabot alert #276 — GHSA-h67p-54hq-rp68 / CVE-2026-53550 (medium, CVSS 5.3): quadratic-complexity DoS in js-yaml merge-key handling via repeated aliases. All versions ≤ 4.1.1 are affected; patched in 4.2.0.
Changes
packages/mql-typescript/package.jsonjs-yamlfrom^4.1.1→^4.2.0package.json(root)overrides.js-yaml: "^4.2.0"to force all transitive consumers to the patched version.Why overrides were needed: Several direct dependencies in this monorepo (
@eslint/eslintrc,eslint,lerna,mocha,mongodb-schema,@bcherny/json-schema-ref-parser) pin or resolve js-yaml to versions ≤ 4.1.1. None of them have shipped a release that pulls in 4.2.0 yet, so a manifest-level override is required to ensure the patched version is installed everywhere.Result
After
npm install, all js-yaml 4.x instances inpackage-lock.jsonresolve to 4.2.0. The js-yaml 3.x tree (used by packages that explicitly depend on^3.x) is unaffected.