chore: update js-yaml to patched release#2543
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the workspace’s YAML parsing dependency to a patched js-yaml release and forces Lerna to resolve js-yaml to that patched version via a scoped pnpm override, aiming to secure usage in scripts/generate-typedoc-yaml.ts without a Lerna major bump or pnpm patches.
Changes:
- Bump root
js-yamldevDependency from^4.1.1to^4.2.0. - Add
pnpm.overrides["lerna>js-yaml"] = ^4.2.0to ensure Lerna’sjs-yamlresolution is patched. - Update
pnpm-lock.yamlto reflect the new override and resulting dependency graph changes.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| package.json | Updates js-yaml and adds a scoped pnpm override for lerna>js-yaml. |
| pnpm-lock.yaml | Records the new override and updated resolved versions in the lockfile. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
Resolve the direct js-yaml advisory by moving the repo-level YAML generator dependency to the patched release. Co-Authored-By: Codex <noreply@openai.com>
a1beffa to
24ab13b
Compare
Richard-Dang
approved these changes
Jun 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.
Updates the root
js-yamldependency to^4.2.0and regenerates the lockfile so the repo-level TypeDoc YAML generator resolves to the patched release.The lockfile diff has been narrowed back to
js-yamlonly; unrelated axios/tmp/yaml churn was removed.Validation:
pnpm install --lockfile-only,pnpm install --frozen-lockfile --ignore-scripts, andnode -p "require('js-yaml/package.json').version".Note: full
pnpm auditstill reports separate transitive Lerna/Nx js-yaml paths that require broader tooling changes.Pull Request Checklist
pnpm test) - Not run; dependency-only change.docsfolder, and guidelines for updating/adding docs can be found in the contribution guide) - Not applicable.feat!: breaking change) - No breaking change.pnpm run lint:check) and fix any issues? (pnpm run lint:write) - Not run; dependency-only change.