security: bump js-yaml to 4.3.1 (GHSA-5p4m-2wfm-xmqj) - #248
Open
wintonzheng wants to merge 1 commit into
Open
Conversation
Closes the one open Dependabot alert on this repo. js-yaml is a transitive dev-only dependency of @napi-rs/cli; 4.3.1 satisfies the existing range, so the change is lockfile-only. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
SummaryClean, minimal security fix — lockfile-only bump of LGTM. |
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.
Problem
Dependabot alert #1 (high, GHSA-5p4m-2wfm-xmqj) reports
js-yaml4.3.0 innode/package-lock.json. The vulnerable range is>= 4.0.0, < 4.3.1.Solution
Bump
js-yamlto 4.3.1 in the lockfile.js-yamlis not a direct dependency — it arrives transitively through@napi-rs/cli, which is adevDependencyused for building the Node bindings. The consuming range already permits 4.3.1, so this is a lockfile-only change: no manifest edit and no override needed.Blast radius is limited to the build toolchain; nothing in the published
rustwrightpackage depends onjs-yamlat runtime (filesships only the prebuilt.node/.cjs/.mjsartifacts).How Has This Been Tested?
npm update js-yaml --package-lock-onlyproduced a 3-line lockfile change (version, resolved, integrity) with no tree restructuring.Closes the repo's only open Dependabot alert.