Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion LocalMind-Backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"@types/mongoose": "^5.11.97",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The @types/mongoose package should be removed. It is listed as a production dependency, but type definitions are only for development. More importantly, mongoose@8+ (you are using ^8.19.1) bundles its own types, so this package is unnecessary. The version you have (^5.11.97) is also for an older, incompatible version of Mongoose.

"@types/morgan": "^1.9.10",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The @types/morgan package contains TypeScript type definitions. These are only used during development for type-checking and should be listed in devDependencies rather than dependencies.

"argon2": "^0.44.0",
"bcrypt": "^5.1.1",
"axios": "^1.12.2",
"bcrypt": "^6.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

critical

The bcrypt package version ^6.0.0 is invalid and does not exist in the npm registry. The latest version is 5.1.1. This will cause dependency installation to fail. Please correct the version to ^5.1.1.

Suggested change
"bcrypt": "^6.0.0",
"bcrypt": "^5.1.1",

"chalk": "^5.6.2",
Expand Down