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
8 changes: 4 additions & 4 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^4.21.2",
"express-rate-limit": "^8.2.0",
"express-rate-limit": "^8.2.1",

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

For server-side applications where stability is crucial, it's often better to restrict the range of allowed dependency updates. Using a caret ^ allows for minor version updates (e.g., 8.3.0), which could potentially introduce unexpected breaking changes. I suggest using a tilde ~ instead, which will limit updates to patch releases only (e.g., 8.2.x). This provides a better balance between receiving bug fixes and maintaining stability.

Suggested change
"express-rate-limit": "^8.2.1",
"express-rate-limit": "~8.2.1",

"helmet": "^8.1.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
Expand Down