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
45 changes: 27 additions & 18 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 @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"date-fns": "^2.16.1",
"date-fns": "^2.30.0",

Choose a reason for hiding this comment

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

medium

Given the large version jump for date-fns (from 2.16.1 to 2.30.0), it's safer to pin the dependency to this specific version. Using a caret ^ allows for automatic updates to subsequent minor and patch versions, which could introduce unexpected breaking changes or bugs. Pinning the version ensures that your project uses this exact version, providing stability and making builds more predictable until you are ready to evaluate and test a newer version.

Suggested change
"date-fns": "^2.30.0",
"date-fns": "2.30.0",

"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1"
Expand Down