Skip to content

refactor: remove unused mongoose dependency#224

Merged
SATYAM-PRATIBHAN merged 1 commit into
SATYAM-PRATIBHAN:mainfrom
vinamra1102:fix/issue-223-remove-mongoose
May 26, 2026
Merged

refactor: remove unused mongoose dependency#224
SATYAM-PRATIBHAN merged 1 commit into
SATYAM-PRATIBHAN:mainfrom
vinamra1102:fix/issue-223-remove-mongoose

Conversation

@vinamra1102
Copy link
Copy Markdown
Contributor

What this fixes

Closes #223

Description

mongoose (^9.6.2) was listed in package.json dependencies
but is never imported or used as a module anywhere in the
codebase. The app uses Prisma exclusively for all database
operations.

mongoose only appears as a string inside a regex pattern in
a repository analyzer utility for detecting DB libraries in
other repos — not as an actual import.

Change made

  • Removed mongoose from package.json dependencies
  • Updated pnpm-lock.yaml accordingly

Verified

Searched entire codebase — no actual imports of mongoose found:

  • No require('mongoose')
  • No import mongoose
  • No from 'mongoose'

Impact

  • Reduces bundle size
  • Removes unnecessary CVE attack surface
  • Keeps dependencies accurate

Type

  • Refactor

Suggested Labels

level-1 refactor backend

@netlify
Copy link
Copy Markdown

netlify Bot commented May 25, 2026

👷 Deploy request for arcmind-ai pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 869ef96

@SATYAM-PRATIBHAN SATYAM-PRATIBHAN added gssoc:approved This issue or pull request already exists type:performance type:refactor level:beginner Advance UI and removed type:performance labels May 26, 2026
@SATYAM-PRATIBHAN SATYAM-PRATIBHAN merged commit 188d9ed into SATYAM-PRATIBHAN:main May 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved This issue or pull request already exists level:beginner Advance UI type:refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor] Remove unused mongoose dependency from package.json

2 participants