diff --git a/admin-frontend/package.json b/admin-frontend/package.json index db3f3ddaa..eb9c49c75 100644 --- a/admin-frontend/package.json +++ b/admin-frontend/package.json @@ -9,7 +9,7 @@ "@babel/core": "^7.24.7", "@babel/plugin-syntax-flow": "^7.24.7", "@babel/plugin-transform-react-jsx": "^7.24.7", - "@reduxjs/toolkit": "^1.9.7", + "@reduxjs/toolkit": "^2.2.7", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", diff --git a/admin-frontend/pnpm-lock.yaml b/admin-frontend/pnpm-lock.yaml index 59ab7dcf8..bf0eddf3a 100644 --- a/admin-frontend/pnpm-lock.yaml +++ b/admin-frontend/pnpm-lock.yaml @@ -18,8 +18,8 @@ dependencies: specifier: ^7.24.7 version: 7.24.7(@babel/core@7.24.7) '@reduxjs/toolkit': - specifier: ^1.9.7 - version: 1.9.7(react-redux@9.1.2)(react@18.3.1) + specifier: ^2.2.7 + version: 2.2.7(react-redux@9.1.2)(react@18.3.1) '@testing-library/dom': specifier: ^10.4.0 version: 10.4.0 @@ -2077,23 +2077,23 @@ packages: webpack-dev-server: 4.11.1(webpack@5.88.2) dev: false - /@reduxjs/toolkit@1.9.7(react-redux@9.1.2)(react@18.3.1): - resolution: {integrity: sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==} + /@reduxjs/toolkit@2.2.7(react-redux@9.1.2)(react@18.3.1): + resolution: {integrity: sha512-faI3cZbSdFb8yv9dhDTmGwclW0vk0z5o1cia+kf7gCbaCwHI5e+7tP57mJUv22pNcNbeA62GSrPpfrUfdXcQ6g==} peerDependencies: react: ^16.9.0 || ^17.0.0 || ^18 - react-redux: ^7.2.1 || ^8.0.2 + react-redux: ^7.2.1 || ^8.1.3 || ^9.0.0 peerDependenciesMeta: react: optional: true react-redux: optional: true dependencies: - immer: 9.0.21 + immer: 10.1.1 react: 18.3.1 react-redux: 9.1.2(@types/react@18.3.3)(react@18.3.1)(redux@5.0.1) - redux: 4.2.1 - redux-thunk: 2.4.2(redux@4.2.1) - reselect: 4.1.8 + redux: 5.0.1 + redux-thunk: 3.1.0(redux@5.0.1) + reselect: 5.1.1 dev: false /@remix-run/router@1.17.1: @@ -6218,6 +6218,10 @@ packages: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} + /immer@10.1.1: + resolution: {integrity: sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==} + dev: false + /immer@9.0.21: resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==} dev: false @@ -9200,18 +9204,12 @@ packages: redux: 5.0.1 dev: false - /redux-thunk@2.4.2(redux@4.2.1): - resolution: {integrity: sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==} + /redux-thunk@3.1.0(redux@5.0.1): + resolution: {integrity: sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==} peerDependencies: - redux: ^4 - dependencies: - redux: 4.2.1 - dev: false - - /redux@4.2.1: - resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==} + redux: ^5.0.0 dependencies: - '@babel/runtime': 7.24.1 + redux: 5.0.1 dev: false /redux@5.0.1: @@ -9317,8 +9315,8 @@ packages: /requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} - /reselect@4.1.8: - resolution: {integrity: sha512-ab9EmR80F/zQTMNeneUr4cv+jSwPJgIlvEmVwLerwrWVbpLlBuls9XHzIeTFy4cegU2NHBp3va0LKOzU5qFEYQ==} + /reselect@5.1.1: + resolution: {integrity: sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==} dev: false /resize-observer-polyfill@1.5.1: