Repository navigation
fix(deps): patch tinypool, proxy-addr, sharp, source-map-js advisories - #79
Merged
Merged
Conversation
Resolve the open HIGH/CRITICAL Dependabot alerts on pnpm-lock.yaml: - tinypool 1.1.1 -> 2.2.0 via scoped override "tinypool@1": ">=2.1.2" (GHSA-5gmw-xhrv-c9v3, GHSA-85c8-ppgw-ccpr). vitest 3.2.7 caps tinypool at ^1.1.1 and no patched 1.x release exists. - proxy-addr 2.0.7 -> 2.0.8 (GHSA-jqcg-44mw-7w3h), in-range via express. - sharp 0.35.4 -> 0.35.5 (GHSA-wq5f-xc86-pv6w), override raised to >=0.35.5; @img/sharp-libvips-* move to 1.3.4. - source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q), in-range via postcss.
kashishhora
approved these changes
Oct 20, 2026
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
Fixes the five open HIGH/CRITICAL Dependabot alerts on the root
pnpm-lock.yaml. Onlypackage.json(two lines inpnpm.overrides) andpnpm-lock.yamlchange. No source changes."tinypool@1": ">=2.1.2"^2.0.7)>=0.35.4to>=0.35.5^1.2.1)How each package was fixed
tinypool (
vitest@3.2.7→tinypool ^1.1.1). The 1.x line has no patched release: 1.1.1 (June 2025) is the last 1.x version, and the fixes shipped as 2.1.1 and 2.1.2. That left two options: bump vitest to 4.x, which no longer depends on tinypool at all, or add a scoped override. I triedvitest@4.1.12first. The lockfile diff was clean and 306 of 310 tests passed, but 4 tests inexamples/native-harness/src/App.test.tsxfailed: under the vitest 4 jsdom environment, the default abort reason fromAbortController.abort()is no longerinstanceofthe globalDOMException, so the harness (App.tsx, around line 323) falls back toString(reason)and printstool: AbortError: This operation was abortedinstead oftool: AbortError. Fixing that needs an example-code change, which does not belong in a security patch. This PR therefore keeps vitest 3.2.7 and adds the scoped override"tinypool@1": ">=2.1.2", which resolves to tinypool 2.2.0. The only breaking change in tinypool 2.0.0 is dropping Node 18; CI runs Node 20 and 22, and the full suite passes with it.Follow-up: bump vitest to
^4.1.12in its own PR (with the harness fix). That also closes the medium alerts 127/128/129 (GHSA-82fw-gwwq-j7x9) and lets us delete this override.proxy-addr (
@modelcontextprotocol/sdk@1.32.1→express@5.2.1→proxy-addr ^2.0.7, viaextension). Lockfile-only bump to 2.0.8 (temporary override, install, override removed, install again).packages/webmcp-serverdepends on the same SDK but is published separately and has no lockfile, so its consumers already resolve proxy-addr 2.0.8 at install time; nothing to change there.sharp (
next@15.5.25→sharp, viaexamples/nextjs). Raised the existing override. This also moves@img/sharp-*to 0.35.5 and@img/sharp-libvips-*from 1.3.3 to 1.3.4, which is where the native fix lives.source-map-js (
postcss@8.5.26→source-map-js ^1.2.1; postcss comes from next, tsup and vite). Lockfile-only bump to 1.2.2, same temporary-override method.Verification
rm -rf node_modules && pnpm install --frozen-lockfile(pnpm 10.34.5, Node 22) succeeds.pnpm build,pnpm typecheck,pnpm lint,pnpm test(19 files, 310 tests, no type errors),pnpm --filter webmcp-bridge-extension buildandtypecheckall pass, same as onmain.tinypool@1.x,proxy-addr@2.0.7,sharp@0.35.4orsource-map-js@1.2.1entries remain.Related