Skip to content

build(deps): refresh yarn.lock to clear brace-expansion & js-yaml advisories - #1220

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/fix-brace-expansion-and-js-yaml-vulns
Draft

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/fix-brace-expansion-and-js-yaml-vulns

Conversation

@cursor

@cursor cursor Bot commented Sep 14, 2026

Copy link
Copy Markdown

Summary

Refreshes transitive dependency resolutions in yarn.lock to clear the outstanding Dependabot advisories against the root workspace. No manifest, resolutions, or direct-dep bumps required.

Advisories cleared

Package Before After Advisories
brace-expansion (via minimatch@5.1.9) 2.1.1 2.1.4 GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895
brace-expansion (via minimatch@10.2.5) 5.0.6 5.0.9 GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895
js-yaml (via eslint@8.57.1) 4.3.0 4.3.2 GHSA-5p4m-2wfm-xmqj, GHSA-2883-xcg3-v3hh

All three packages are transitive dev-dep-only. The new patch versions already satisfy the existing ^2.0.1 / ^5.0.5 / ^4.1.0 ranges, so refreshing the lockfile is sufficient — no manifest edits or resolutions entries are needed (the repo already prefers to avoid new resolutions).

How the diff was produced

  1. Deleted the three vulnerable lockfile blocks (brace-expansion@npm:^2.0.1, brace-expansion@npm:^5.0.5, js-yaml@npm:^4.1.0) so Yarn 4 would re-resolve their ranges against the registry.
  2. Ran yarn install. Yarn re-resolved them to 2.1.4 / 5.0.9 / 4.3.2 respectively and rewrote the checksums.

Verification

  • yarn npm audit --recursive --all --json filtered to real CVEs reports no findings on the root workspace after the change (before: 8 findings across the three packages).
  • yarn test — 141/141 passing.
  • yarn lint — clean (only pre-existing spellcheck warnings).

Related

Open in Web View Automation 

…isories

Bumps transitive dependencies via yarn.lock re-resolution (no manifest
or resolutions changes required):

- brace-expansion 2.1.1 -> 2.1.4 (via minimatch@5.1.9)
  clears GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895
- brace-expansion 5.0.6 -> 5.0.9 (via minimatch@10.2.5)
  clears GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895
- js-yaml 4.3.0 -> 4.3.2 (via eslint@8.57.1)
  clears GHSA-5p4m-2wfm-xmqj, GHSA-2883-xcg3-v3hh

Verified with 'yarn npm audit --recursive --all' (no real CVEs remain)
and 'yarn test' (141/141 passing).

Co-authored-by: Andreja Kogovsek <andrejak@users.noreply.github.com>
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.

1 participant