Repository navigation
chore(deps): drop stale overrides and unused dev dependencies - #329
Merged
Merged
Conversation
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>
Contributor
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm.overridesfrom 29 entries to 2. Runningpnpm auditwith no overrides at all flags onlyglob(via mocha) andminimatch(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 (diffwas pinned to 8.0.3).@types/js-yaml. It types js-yaml 4. js-yaml 5 ships its own types, which TypeScript already uses.shx. It was used only forrm -rf distandchmod +xin thebuildscript, which now does both withnode:fs.eslintto 10.15 andtypescript-eslintto 8.73 (minor releases).serialize-javascriptto 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 arediff8.0.3 → 9.0.0 (no longer pinned below mocha's range),serialize-javascript7.1.2 → 7.1.4, and some packages that only the removed dev dependencies used.Test plan
pnpm audit: no known vulnerabilities, at any severitypnpm lint: 0 errors. The 24 warnings are unusedeslint-disablecomments, anddevhas the same 24pnpm typecheckpnpm build:dist/index.jsanddist/mcp/index.jsare executable,node dist/index.js --versionworkspnpm test:unit: 593 passing🤖 Generated with Claude Code