Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

fix(deps): resolve brace-expansion and js-yaml advisories - #294

Merged
lourens-octopus merged 1 commit into
mainfrom
lourens/fix-npm-audit
Jul 27, 2026
Merged

fix(deps): resolve brace-expansion and js-yaml advisories#294
lourens-octopus merged 1 commit into
mainfrom
lourens/fix-npm-audit

Conversation

@lourens-octopus

Copy link
Copy Markdown
Contributor

What

Clears the brace-expansion and js-yaml advisories flagged in this pnpm workspace's pnpm-lock.yaml.

Adds targeted pnpm.overrides (same style as the existing entries):

  • brace-expansion → 5.0.8GHSA-mh99-v99m-4gvg flags every version ≤5.0.7 and only 5.0.8 is patched (no fixed 1.x/2.x releases). expand() is API-stable across majors, so minimatch/glob keep working — build and lint pass.
  • js-yaml → 3.15.0 / 4.3.0 — patches the 3.x and 4.x lines for the merge-key DoS advisory (can't collapse to one version since 3.x↔4.x is a breaking API change).

Notes

  • Installed with pnpm 8.15.9 (per engines) so the lockfile stays at v6.0.
  • The add-changeset action bundles @changesets/cli (which uses js-yaml), so its committed dist is rebuilt; the other action bundles are unaffected.
  • These are new advisories that supersede earlier fixes.

🤖 Generated with Claude Code

pnpm workspace: adds pnpm.overrides to force patched transitive
versions in the lockfile:
- brace-expansion -> 5.0.8 (GHSA-mh99-v99m-4gvg flags all <=5.0.7; only
  5.0.8 is patched. expand() API is stable so minimatch/glob still work
  - build and lint pass).
- js-yaml -> 3.15.0 (3.x line) and 4.3.0 (4.x line) for the merge-key
  DoS advisory.

The add-changeset action bundles @changesets/cli (which uses js-yaml),
so its committed dist is rebuilt; the other action bundles are
unaffected. Installed with pnpm 8.15.9 to keep lockfile v6.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lourens-octopus
lourens-octopus requested a review from a team as a code owner July 26, 2026 22:53
@lourens-octopus
lourens-octopus merged commit 754f765 into main Jul 27, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants