Skip to content

chore(deps): drop stale overrides and unused dev dependencies - #329

Merged
riglar merged 1 commit into
devfrom
chore/trim-dependency-overrides
Nov 17, 2026
Merged

riglar merged 1 commit into
devfrom
chore/trim-dependency-overrides

Conversation

@riglar

@riglar riglar commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Trim pnpm.overrides from 29 entries to 2. Running pnpm audit with no overrides at all flags only glob (via mocha) and minimatch (via eslint), so those two stay. The rest guarded against advisories that upstream packages have since fixed within their parents' ranges. Some were also holding packages back, because they pinned exact old versions rather than setting a minimum (diff was pinned to 8.0.3).
  • Remove @types/js-yaml. It types js-yaml 4. js-yaml 5 ships its own types, which TypeScript already uses.
  • Remove shx. It was used only for rm -rf dist and chmod +x in the build script, which now does both with node:fs.
  • Bump eslint to 10.15 and typescript-eslint to 8.73 (minor releases).
  • Refresh serialize-javascript to 7.1.4 in the lockfile, for GHSA-m5mm-p8h7-m29v. This supersedes chore(deps): bump the serialize-javascript override to 7.1.3 #328, which raised the override this PR removes.

Lockfile changes

Compared package by package with dev: nothing moves to a lower version. Apart from the eslint and typescript-eslint bumps, the changes are diff 8.0.3 → 9.0.0 (no longer pinned below mocha's range), serialize-javascript 7.1.2 → 7.1.4, and some packages that only the removed dev dependencies used.

Test plan

  • pnpm audit: no known vulnerabilities, at any severity
  • pnpm lint: 0 errors. The 24 warnings are unused eslint-disable comments, and dev has the same 24
  • pnpm typecheck
  • pnpm build: dist/index.js and dist/mcp/index.js are executable, node dist/index.js --version works
  • pnpm test:unit: 593 passing

🤖 Generated with Claude Code

Most pnpm overrides no longer guard against anything: the packages they pinned have shipped fixed versions within their parents' ranges. Keep only glob and minimatch, which an audit still flags without them. Remove @types/js-yaml (js-yaml 5 ships its own types) and shx (the build script now uses node:fs). Bump eslint to 10.15 and typescript-eslint to 8.73.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@riglar
riglar merged commit bef0beb into dev Nov 17, 2026
9 checks passed
@riglar
riglar deleted the chore/trim-dependency-overrides branch November 17, 2026 11:51
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