Skip to content
Open
Show file tree
Hide file tree
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
18 changes: 10 additions & 8 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dotenv": "^16.6.1",
"express": "^4.21.0",
"mongodb": "^5.7.0",
"mongoose": "^7.6.11",
"mongoose": "^7.8.7",

Choose a reason for hiding this comment

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

medium

This dependency upgrade is important for security. While updating mongoose, it's a good practice to also align its direct dependencies that are also explicitly listed in your package.json. The new version of mongoose (7.8.7) requires mongodb@5.9.2, as reflected in the package-lock.json changes. To improve dependency clarity and consistency, consider updating the mongodb dependency on line 15 to ^5.9.2.

"nodemon": "^3.0.1"
}
}