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
37 changes: 14 additions & 23 deletions nodejs/nodejs-guestbook/src/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 nodejs/nodejs-guestbook/src/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"body-parser": "1.20.2",
"mongodb": "4.17.1",
"express": "4.18.2",
"mongoose": "6.11.3"
"mongoose": "6.13.10"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

With the upgrade of mongoose to 6.13.10, its internal dependency on mongodb has been updated to 4.17.2 (as seen in package-lock.json). However, the root package.json still specifies mongodb: 4.17.1 on line 13. To ensure dependency alignment and allow npm to deduplicate the mongodb package in node_modules, consider updating the root mongodb dependency to 4.17.2 as well.

}
}
Loading