diff --git a/package-lock.json b/package-lock.json index 1a168c993612d2b08165f53978c6de6cb80047f9..ac68532e4f8022f66c2bb2e375911d14528a3afe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "@types/react-dom": "18.2.7", "autoprefixer": "10.4.15", "axios": "^1.5.1", + "axios-hooks": "^5.0.0", "eslint-config-next": "13.4.19", "next": "13.4.19", "postcss": "8.4.29", @@ -3256,6 +3257,28 @@ "proxy-from-env": "^1.1.0" } }, + "node_modules/axios-hooks": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/axios-hooks/-/axios-hooks-5.0.0.tgz", + "integrity": "sha512-EpmObd+mW/+TqXzFWzTMwfRWmQwWMUf64tIpumOzPtxDJuUux4bwvnqSTwglR+AvwVcBLp3jKDaok3YgRuntNg==", + "dependencies": { + "@babel/runtime": "7.22.15", + "dequal": "2.0.3", + "lru-cache": "^10.0.1" + }, + "peerDependencies": { + "axios": ">=1.0.0", + "react": "^16.8.0-0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/axios-hooks/node_modules/lru-cache": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", + "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/axios/node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", diff --git a/package.json b/package.json index 30e182e0c278104441384872a10a7c858e2ff27c..440bccce90c3ed37f6a3cb82080981c026049918 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "@types/react-dom": "18.2.7", "autoprefixer": "10.4.15", "axios": "^1.5.1", + "axios-hooks": "^5.0.0", "eslint-config-next": "13.4.19", "next": "13.4.19", "postcss": "8.4.29",