diff --git a/package-lock.json b/package-lock.json index 388dd89..e76db32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@codetanzania/ewea-api-client": ">=0.24.1", - "@reduxjs/toolkit": ">=1.5.1", + "@reduxjs/toolkit": ">=1.6.0", "axios": ">=0.21.1", "inflection": ">=1.13.1", "lodash": ">=4.17.21", @@ -2937,14 +2937,26 @@ } }, "node_modules/@reduxjs/toolkit": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.5.1.tgz", - "integrity": "sha512-PngZKuwVZsd+mimnmhiOQzoD0FiMjqVks6ituO1//Ft5UEX5Ca9of13NEjo//pU22Jk7z/mdXVsmDfgsig1osA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.6.0.tgz", + "integrity": "sha512-eGL50G+Vj5AG5uD0lineb6rRtbs96M8+hxbcwkHpZ8LQcmt0Bm33WyBSnj5AweLkjQ7ZP+KFRDHiLMznljRQ3A==", "dependencies": { - "immer": "^8.0.1", - "redux": "^4.0.0", + "immer": "^9.0.1", + "redux": "^4.1.0", "redux-thunk": "^2.3.0", "reselect": "^4.0.0" + }, + "peerDependencies": { + "react": "^16.14.0 || ^17.0.0", + "react-redux": "^7.2.1" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } } }, "node_modules/@rollup/plugin-babel": { @@ -7413,9 +7425,9 @@ } }, "node_modules/immer": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/immer/-/immer-8.0.4.tgz", - "integrity": "sha512-jMfL18P+/6P6epANRvRk6q8t+3gGhqsJ9EuJ25AXE+9bNTYtssvzeYbEd0mXRYWCmmXSIbnlpz6vd6iJlmGGGQ==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.2.tgz", + "integrity": "sha512-mkcmzLtIfSp40vAqteRr1MbWNSoI7JE+/PB36FNPoSfJ9RQRmNKuTYCjKkyXyuq3Dgn07HuJBrwJd4ZSk2yUbw==", "funding": { "type": "opencollective", "url": "https://opencollective.com/immer" @@ -17096,12 +17108,12 @@ } }, "@reduxjs/toolkit": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.5.1.tgz", - "integrity": "sha512-PngZKuwVZsd+mimnmhiOQzoD0FiMjqVks6ituO1//Ft5UEX5Ca9of13NEjo//pU22Jk7z/mdXVsmDfgsig1osA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-1.6.0.tgz", + "integrity": "sha512-eGL50G+Vj5AG5uD0lineb6rRtbs96M8+hxbcwkHpZ8LQcmt0Bm33WyBSnj5AweLkjQ7ZP+KFRDHiLMznljRQ3A==", "requires": { - "immer": "^8.0.1", - "redux": "^4.0.0", + "immer": "^9.0.1", + "redux": "^4.1.0", "redux-thunk": "^2.3.0", "reselect": "^4.0.0" } @@ -20560,9 +20572,9 @@ "dev": true }, "immer": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/immer/-/immer-8.0.4.tgz", - "integrity": "sha512-jMfL18P+/6P6epANRvRk6q8t+3gGhqsJ9EuJ25AXE+9bNTYtssvzeYbEd0mXRYWCmmXSIbnlpz6vd6iJlmGGGQ==" + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.2.tgz", + "integrity": "sha512-mkcmzLtIfSp40vAqteRr1MbWNSoI7JE+/PB36FNPoSfJ9RQRmNKuTYCjKkyXyuq3Dgn07HuJBrwJd4ZSk2yUbw==" }, "import-fresh": { "version": "3.2.1", diff --git a/package.json b/package.json index 587ed0f..5218ac4 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "homepage": "https://github.com/CodeTanzania/ewea-api-states#readme", "dependencies": { "@codetanzania/ewea-api-client": ">=0.24.1", - "@reduxjs/toolkit": ">=1.5.1", + "@reduxjs/toolkit": ">=1.6.0", "axios": ">=0.21.1", "inflection": ">=1.13.1", "lodash": ">=4.17.21",