Repository navigation
🔒 fix: upgrade vulnerable medium severity dependencies - #157
Open
AtefBellaaj wants to merge 1 commit into
Open
AtefBellaaj wants to merge 1 commit into
AtefBellaaj wants to merge 1 commit into
Conversation
Pin patched versions of axios, h3 (via TanStack Start 1.167.30), lodash, lodash-es, moment, mongoose, nanoid, picomatch, postcss, source-map-js, undici, vite, ws and yaml through package.json overrides, and regenerate bun.lock. Supersedes #154. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
5 tasks done
AtefBellaaj
added this pull request to stack #159
October 14, 2026 17:39
AtefBellaaj
marked this pull request as ready for review
October 14, 2026 18:55
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
Upgrades the 13 remaining Mend SCA Medium-severity transitive dependency findings on
mainto patched versions:axios,h3,lodash,lodash-es,moment,mongoose,nanoid,picomatch,postcss,source-map-js,undici,vite,wsandyaml. Every finding is transitive, so the fix pins versions viapackage.jsonoverrides(so the pins survive futurebun installruns) and bumps the@tanstack/*family in lock-step so@tanstack/start-server-corecarries its patchedh3(aliased internally ash3-v2, so a plainoverrides.h3would not reach it).axioswas already fixed onmain.Supersedes #154 (rebuilt on top of #153's
js-yamloverride, which #154 predates and conflicts with).Change Type
Please delete any irrelevant options.
Testing
Commands run from a clean worktree on
fix/security-medium-deps(basemain@9315de9):bun installbun.lock; 798 packages installedbun install --frozen-lockfilebun run lintbunx tsc --noEmitbun run testbun run buildSESSION_SECRET=... PORT=3100 bun server.tsthencurl /healthandcurl /bun.lock audit
Parsed
bun.lock(JSONC, trailing commas stripped) and printed the resolved version(s) for every target package. Each resolves to exactly one version, the patched one:main)@tanstack/start-server-core@1.167.18'sh3-v2alias)Confirmed a single hoisted
node_modules/picomatchdirectory (no nested copies), so legacy consumers resolve to the patched version.Smoke tests
micromatch(4.0.8),anymatch(3.1.3) andreaddirp(3.6.0) — each required directly and matched/scanned a sample.tspath successfully against the overriddenpicomatch@4.0.4.katex.renderToString("x^2")— returned HTML containingkatex.Test Configuration:
Checklist
Please delete any irrelevant options.