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
2 changes: 1 addition & 1 deletion Get Random Advice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^0.27.2",
"axios": "^0.30.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 better dependency stability, consider pinning the version for pre-1.0.0 packages like axios. The caret ^ allows automatic minor version updates, which can introduce breaking changes for packages before their 1.0 release. Pinning the version ensures your project uses this exact version, preventing unexpected breakages from future updates until you decide to upgrade and test them.

Suggested change
"axios": "^0.30.1",
"axios": "0.30.1",

"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
Expand Down