Skip to content

fix(deps): bump js-yaml and nanoid to patched versions - #786

Merged
soberm merged 1 commit into
mainfrom
fix/sec-nanoid-js-yaml
Aug 18, 2026
Merged

fix(deps): bump js-yaml and nanoid to patched versions#786
soberm merged 1 commit into
mainfrom
fix/sec-nanoid-js-yaml

Conversation

@soberm

@soberm soberm commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

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 patched
version on the 4.x line. Scoped so no other major version line is forced to a breaking major.

nanoid — lockfile-only bump (no resolution)

nanoid was resolving to 3.3.16 transitively via postcss, which already requests
^3.3.16 — a range that permits the patched 3.3.18. So no resolutions entry is needed
or appropriate here: the fix is purely a lockfile re-resolution done with
corepack yarn up -R nanoid, bumping 3.3.16 -> 3.3.18 with zero package.json change.
Adding a resolution would be redundant pinning that hides future upstream patches.

Verification

  • yarn install --immutable (CI's command) — exit 0
  • yarn build — exit 0 (4/4 tasks successful)
  • Diff limited to package.json (1 line, js-yaml) + yarn.lock (js-yaml + nanoid entries only), no unrelated churn
  • Lockfile now has a single js-yaml@npm:^4.3.1 -> 4.3.1 and nanoid@npm:^3.3.16 -> 3.3.18

@soberm
soberm requested review from a team as code owners August 18, 2026 13:00
@changeset-bot

changeset-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e526ab3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@soberm soberm changed the title fix(deps): bump nanoid and js-yaml to patched versions (alerts #262, #264) fix(deps): bump nanoid and js-yaml to patched versions Aug 18, 2026
…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
soberm force-pushed the fix/sec-nanoid-js-yaml branch from de1f9ad to e526ab3 Compare August 18, 2026 13:13
@soberm soberm changed the title fix(deps): bump nanoid and js-yaml to patched versions fix(deps): bump js-yaml and nanoid to patched versions (alerts #262, #264) Aug 18, 2026
@soberm soberm changed the title fix(deps): bump js-yaml and nanoid to patched versions (alerts #262, #264) fix(deps): bump js-yaml and nanoid to patched versions Aug 18, 2026
@soberm
soberm merged commit a482d54 into main Aug 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants