Fix high/critical Dependabot vulnerabilities in client and server - #20
Merged
Conversation
Resolves all 79 open high/critical GitHub Dependabot alerts across client/yarn.lock and server/yarn.lock (axios, tar, minimatch, brace-expansion, js-yaml, form-data, ws, multer, lodash, immutable, vite, postcss, rollup, and others). - server: full `yarn upgrade` to pull patched transitive versions, plus a `tar` resolution (7.5.21) to clear the tar@6.2.1 pulled by native build tooling; native modules (bcrypt/sqlite3) verified to build/load. - client: added a `resolutions` block pinning each vulnerable package to its patched minimum, capped within its current major to avoid breaking jumps (vite ^6.4.3, minimatch ^9.0.7, js-yaml ^4.3.0, etc.). - fixed 3 type errors surfaced by newer axios/jsonwebtoken typings (expiresIn StringValue, axios header-value union in getAvatar). Verified: server nest build + 538/538 tests pass; client vue-tsc + vite build pass; no installed version matches any open alert range. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
wildgeodude
approved these changes
Jul 24, 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
Resolves all 79 open high/critical GitHub Dependabot alerts for this repo, across
client/yarn.lockandserver/yarn.lock. Almost all were transitive dependencies (axios, tar, minimatch, brace-expansion, js-yaml, form-data, ws, multer, lodash, immutable, vite, postcss, rollup, and others).Approach
yarn upgradeto re-resolve transitive deps to their newest patched versions within each parent's range (safe across multi-major packages), plus atarresolution (^7.5.19→ 7.5.21) to cleartar@6.2.1pulled in by native build tooling (sqlite3,bcrypt→node-pre-gyp,node-gyp) — the open-ended advisory ranges (<= 7.5.18) still matched 6.x. Native module builds (bcrypt/sqlite3) verified to compile and load with tar 7.vue-i18nrequires Node ≥22), so added aresolutionsblock pinning each vulnerable package to its patched minimum, each capped within its current major to avoid breaking-change jumps (vite ^6.4.3,minimatch ^9.0.7,js-yaml ^4.3.0, etc.).expiresInvs jsonwebtoken'sStringValuetype (auth.module.ts,auth.service.ts), and axios's stricter header-value union ingetAvatar(users.service.ts). Fixed with minimal casts /String()coercion.Verification
nest buildclean, 538/538 tests pass.vue-tsc --noEmit+vite buildclean.🤖 Generated with Claude Code