fix(deps): patch 6 high-severity alerts (brace-expansion, js-yaml, minimatch) - #50
Conversation
Resolves all 6 open high-severity Dependabot alerts in this repo: | Package | Alerts | Was | Now | Advisory | |-----------------|----------|---------|---------|---------------------| | brace-expansion | #17, #35 | 1.1.12 | 1.1.16 | GHSA-3jxr-9vmj-r5cp | | js-yaml | #18, #36 | 3.14.2 | 3.15.0 | GHSA-52cp-r559-cp3m | | minimatch | #3, #21 | 3.1.2 | 3.1.5 | GHSA-7r86-cg39-jmmj | Each alert is filed twice, once per lockfile (root and packages/js-sdk), so both lockfiles are updated. All three are dev-only transitive dependencies of the Jest/ts-jest test toolchain — none is a direct dependency, none appears in any package.json, and the JS SDK has zero runtime dependencies, so nothing here ships to consumers. No manifest change was needed: every patched version already satisfies the existing semver range its consumers declare (minimatch ^3.1.1, brace-expansion ^1.1.x, js-yaml ^3.13.x), so a plain `npm update` resolves them. No `overrides` pin is used, which keeps future patch releases flowing normally. Verified: `npm ci`, `npm run build:js` (tsc), and `npm run test:js` (271/271 tests) all pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🔍 Code review — what was fixed, what was skipped, and whyVerdict: safe to mergeLockfiles only. No What was fixed (6/6 — all open high alerts in this repo)
Each advisory is filed twice — once per lockfile (root + The one design decision worth reviewingMy first attempt added an
So a plain
(Implementation note: Why the risk is low
Verification
Not addressed here (intentionally)Only high-severity alerts were in scope for this pass. The repo's one critical ( |
✅ Final status — ready to mergeWhat this fixes — all 6 open high-severity alerts in this repo
Each advisory is filed twice — once per lockfile (root and Why the risk is low
The one design decision worth reviewingMy first attempt added an
So a plain
Verification
No browser or E2E test was run, deliberately — this is a Node library with no UI, and all three bumps are dev-only test-toolchain dependencies that never ship to consumers. The meaningful question is whether the toolchain still builds and the full suite still passes; 271/271 answers it. ScopeOnly high-severity alerts were in scope for this pass. This repo's one critical ( |
What
Resolves all 6 open high-severity Dependabot alerts in this repo — lockfiles only, no manifest change.
Each advisory is filed twice — once per lockfile (root and
packages/js-sdk) — so both lockfiles are updated. 3 packages × 2 lockfiles = 6 alerts.Why it's low-risk
package.json.@turbodocx/sdk(dist/only).overridespin was used. Every patched version already satisfies the semver range its consumers declare (minimatch ^3.1.1,brace-expansion ^1.1.x,js-yaml ^3.13.x), so a plainnpm updateresolves them. That keeps the diff to 21 lines per lockfile and lets future patch releases flow normally instead of freezing the version.Verification
npm ci— ✅npm run build:js(tsc) — ✅npm run test:js— ✅ 271 / 271 passingStandard change (dependency/security bump) — no Change Request issue per
CLAUDE.md.🤖 Generated with Claude Code