fix(deps): bump js-yaml and nanoid to patched versions - #786
Merged
Conversation
|
…264) - js-yaml: scoped root resolution ^4.3.0 -> ^4.3.1 (patched) - nanoid: lockfile-only bump 3.3.16 -> 3.3.18 (GHSA-2v37-7h3g-55p8) No resolution needed; postcss already requests ^3.3.16 which permits 3.3.18.
soberm
force-pushed
the
fix/sec-nanoid-js-yaml
branch
from
August 18, 2026 13:13
de1f9ad to
e526ab3
Compare
osama-rizk
approved these changes
Aug 18, 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.
Summary
Resolves Dependabot alerts #262 (js-yaml) and #264 (nanoid, GHSA-2v37-7h3g-55p8).
js-yaml — scoped root resolution
Bumped the existing scoped resolution
js-yaml: ^4.3.0 -> ^4.3.1, the minimal patchedversion on the 4.x line. Scoped so no other major version line is forced to a breaking major.
nanoid — lockfile-only bump (no resolution)
nanoidwas resolving to3.3.16transitively viapostcss, which already requests^3.3.16— a range that permits the patched3.3.18. So noresolutionsentry is neededor appropriate here: the fix is purely a lockfile re-resolution done with
corepack yarn up -R nanoid, bumping3.3.16 -> 3.3.18with zeropackage.jsonchange.Adding a resolution would be redundant pinning that hides future upstream patches.
Verification
yarn install --immutable(CI's command) — exit 0yarn build— exit 0 (4/4 tasks successful)package.json(1 line, js-yaml) +yarn.lock(js-yaml + nanoid entries only), no unrelated churnjs-yaml@npm:^4.3.1 -> 4.3.1andnanoid@npm:^3.3.16 -> 3.3.18