refactor: update dependencies and improve Capitalize utility
- Updated dependencies in package.json to latest versions for better performance and security. - Refactored Capitalize utility function into a new component for improved reusability and clarity. - Replaced all instances of the old Capitalize function with the new component in Card and Cart components. - Removed the old Utils.js file as it is no longer needed.
This commit is contained in:
+9
-10
@@ -4,18 +4,17 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@reduxjs/toolkit": "^1.9.1",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@reduxjs/toolkit": "^2.9.0",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.0",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-redux": "^8.0.5",
|
||||
"react-router-dom": "^6.4.4",
|
||||
"react-redux": "^9.2.0",
|
||||
"react-router-dom": "^7.9.4",
|
||||
"react-scripts": "^5.0.1",
|
||||
"react-toastify": "^9.1.1",
|
||||
"sass": "^1.56.1",
|
||||
"web-vitals": "^2.1.4"
|
||||
"react-toastify": "^11.0.5",
|
||||
"sass": "^1.93.2"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
@@ -44,6 +43,6 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"gh-pages": "^4.0.0"
|
||||
"gh-pages": "^6.3.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user