fix(deps): bump brace-expansion to 5.0.8 (supersedes #45) - #53
Conversation
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_20a4ede7-0bd3-41a7-9c78-b6122bc31efa) |
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Clears the
brace-expansionHIGH (alert #3). Lockfile only — 4 lines.Supersedes #45, which bumps to
5.0.7and clears nothing. Same fix as wave-av/mcp-server#67; the fleet-wide reasoning is in wave-av/claude-workstation#562.Why #45 is a no-op — measured on this repo
There are two live
brace-expansionadvisories. The one on our alert is the older>= 3.0.0, < 5.0.7(fix5.0.7). The newer is GHSA-mh99-v99m-4gvg, range<= 5.0.7, patched only in5.0.8— so5.0.7lands inside it.I pinned each version in the lockfile and ran the audit rather than reasoning about it:
brace-expansion5.0.6(main)5.0.7(what #45 ships)range: <=5.0.75.0.8(this PR)Why 5.0.8 is safe here specifically
This is the part that doesn't generalise.
minimatch@3.1.5doesconst expand = require('brace-expansion')and calls the result as a function; every patched release exports an object. On aminimatch@3tree the "fix" throwsTypeError: expand is not a functionat runtime whilenpm auditreports clean — that's claude-workstation#554, where it also passed 195/195 tests.This repo has exactly one tree and it's
minimatch@10.2.5, confirmed by reading the ref rather than a working copy:minimatch@10uses named exports, so the object shape is what it already expects. Verified by driving the consumer, sincenpm auditnever loads the module:That last line is the exact shape that breaks
minimatch@3— and brace expansion still resolves correctly throughminimatch@10.One thing in the diff worth naming
5.0.8narrows its ownenginesfrom"18 || 20 || >=22"to"20 || >=22"— it drops Node 18. That does not propagate to consumers of@wave-av/sdk:brace-expansionis"dev": truehere, reached only througheslint, so it never enters the published dependency graph and our ownengines: >=18.0.0is unaffected. CI runs Node 20 (lint.yml) and 22 (release.yml,publish.yml), both satisfied.Verification
CI can't run — Actions are refusing every job org-wide on an account-level billing lock (
plan=free,locked=yes, re-confirmed live today). All local, on Node 22.14.0:Measurement caveat: this workstation exports
NODE_ENV=production, which makesnpm auditinheritomit=devand silently hide dev-scope entries — including this one. Every figure above was taken withNODE_ENV=developmentset explicitly. Anyone re-checking needs to do the same or they'll see a different, wrong number.Separate finding, not fixed here
While measuring the baseline I found a HIGH that Dependabot is not reporting:
postcss@8.5.15, dev-only viatsup/vite, vulnerable to GHSA-r28c-9q8g-f849 (<= 8.5.17, fix8.5.18, published 2026-07-24). It's in the GitHub Advisory Database, but this repo's alert list has onlybrace-expansionandesbuild. Filed separately rather than folded into this diff.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is enabled.Note
Low Risk
Dev-only lockfile dependency with no runtime or published-package impact; change is limited to tooling/eslint’s transitive tree.
Overview
Lockfile-only security bump:
brace-expansion5.0.6 → 5.0.8 (dev dependency viaeslint→@eslint/config-array→minimatch@10). This clears the flagged HIGH advisory that 5.0.7 would not fully address (patched range requires 5.0.8).The diff also updates
brace-expansion’s declared engines from18 || 20 || >=22to20 || >=22; that does not change the published@wave-av/sdkgraph because the package stays dev-only.Reviewed by Cursor Bugbot for commit 5c9f06f. Configure here.
Summary by cubic
Update
brace-expansionto 5.0.8 in the lockfile to resolve a HIGH advisory. Supersedes #45; no runtime impact.eslint→@eslint/config-array→minimatch(not published).enginesnow "20 || >=22"; safe given dev-only and our CI/runtime targets.Written for commit 5c9f06f. Summary will update on new commits.