chore(deps): update js-yaml in markdownlint-cli2 dependency [security] - #393
Merged
Conversation
lakoone
marked this pull request as ready for review
August 19, 2026 08:48
Contributor
There was a problem hiding this comment.
marketing-site AI Review: 🟢 Completed
Note
Low Risk
This PR contains a low-risk development dependency update. It introduces a version override that only affects the markdown linting tool, meaning it has zero impact on production code or runtime behavior.
Overview
- Adds an override in
package.jsonto forcemarkdownlint-cli2to usejs-yamlversion^4.3.1. - Updates
package-lock.jsonto reflect the patched lockfile tree, removing the vulnerable4.1.1version ofjs-yaml. - Fixes Dependabot security alerts (CVE-2026-59869, CVE-2026-53550, GHSA-5p4m-2wfm-xmqj) while deliberately avoiding a full upgrade to
markdownlint-cli2which would cause disruptive lint rule changes.
DmitryAnansky
approved these changes
Aug 20, 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.
What/Why/How?
Fixed js-yaml Dependabot alerts (#172, #176, #186 — CVE-2026-59869, CVE-2026-53550, GHSA-5p4m-2wfm-xmqj):
markdownlint-cli2exact-pins js-yaml4.1.1; added a scoped override"markdownlint-cli2": { "js-yaml": "^4.3.1" }so it resolves4.3.1.Reference
https://github.com/Redocly/website/security/dependabot/176
Testing
npm run lint:markdownreports exactly the same 226 pre-existing errors as main — no behavior change.Screenshots (optional)
Check yourself
Security