Skip to content

Remediate Open Vulns - #297

Merged
sfreeman422 merged 3 commits into
masterfrom
vuln-fix
Oct 1, 2026
Merged

sfreeman422 merged 3 commits into
masterfrom
vuln-fix

Conversation

@sfreeman422

@sfreeman422 sfreeman422 commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

This pull request primarily updates several dependencies across the backend and frontend, removes a test coverage step from the pre-commit hook, and makes a minor correction in a backend test file. These changes aim to keep the codebase up-to-date and improve development workflow.

Dependency Updates

Backend (packages/backend/package.json):

  • Upgraded core dependencies: express to ^4.22.3, sharp to ^0.35.5, typeorm to ^0.3.31, and uuid to ^11.1.1. [1] [2]
  • Updated development dependencies: @vitest/coverage-v8 to ^4.1.11 and vitest to ^4.1.11. Removed @types/uuid as it's no longer needed with the latest uuid.

Frontend (packages/frontend/package.json):

  • Updated @vitest/coverage-v8 and vitest to ^4.1.11 for improved testing support. [1] [2]

Workflow and Testing

Development Workflow:

  • Removed the npm run test:coverage:all command from .husky/pre-commit, so test coverage is no longer enforced on every commit.

Testing Correction:

  • Fixed the base64 string for validPngBuffer in the AIService test to use a valid 1x1 PNG, ensuring the test reflects the correct image data.

Copilot AI balanced review requested due to automatic review settings October 1, 2026 00:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

TypeORM is installed outside the dependency tree packaged by CI and Docker, causing module resolution failures.

Review effort: Balanced
Findings: None

What changed in this PR

Updates dependencies to remediate vulnerabilities, streamlines pre-commit checks, and corrects an AI service PNG fixture.

Changes:

  • Upgrades backend, frontend, and transitive dependencies.
  • Removes coverage execution from the pre-commit hook while retaining CI coverage gates.
  • Replaces an invalid PNG test fixture.
File Description
.husky/​pre-commit Limits pre-commit checks to lint-staged.
packages/​backend/​package.json Upgrades backend dependencies.
packages/​frontend/​package.json Upgrades Vitest tooling.
packages/​backend/​src/​ai/​ai.service.spec.ts Corrects the PNG fixture.
package-lock.json Resolves updated dependency versions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sfreeman422
sfreeman422 merged commit 05947d7 into master Oct 1, 2026
10 checks passed
Copilot stopped work on behalf of sfreeman422 due to an error October 1, 2026 00:49
sfreeman422 added a commit that referenced this pull request Oct 1, 2026
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.

3 participants