diff --git a/admin-frontend/package.json b/admin-frontend/package.json index b9cd465a..6422ff40 100644 --- a/admin-frontend/package.json +++ b/admin-frontend/package.json @@ -9,7 +9,7 @@ "@babel/core": "^7.25.2", "@babel/plugin-syntax-flow": "^7.24.7", "@babel/plugin-transform-react-jsx": "^7.25.2", - "@reduxjs/toolkit": "^1.9.7", + "@reduxjs/toolkit": "^2.4.0", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", diff --git a/admin-frontend/pnpm-lock.yaml b/admin-frontend/pnpm-lock.yaml index f7980a3b..6f01912d 100644 --- a/admin-frontend/pnpm-lock.yaml +++ b/admin-frontend/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^7.25.2 version: 7.25.2(@babel/core@7.25.2) '@reduxjs/toolkit': - specifier: ^1.9.7 - version: 1.9.7(react-redux@9.1.2(@types/react@18.3.7)(react@18.3.1)(redux@5.0.1))(react@18.3.1) + specifier: ^2.4.0 + version: 2.4.0(react-redux@9.1.2(@types/react@18.3.7)(react@18.3.1)(redux@5.0.1))(react@18.3.1) '@testing-library/dom': specifier: ^10.4.0 version: 10.4.0 @@ -1130,11 +1130,11 @@ packages: webpack-plugin-serve: optional: true - '@reduxjs/toolkit@1.9.7': - resolution: {integrity: sha512-t7v8ZPxhhKgOKtU+uyJT13lu4vL7az5aFi4IdoDs/eS548edn2M8Ik9h8fxgvMjGoAUVFSt6ZC1P5cWmQ014QQ==} + '@reduxjs/toolkit@2.4.0': + resolution: {integrity: sha512-wJZEuSKj14tvNfxiIiJws0tQN77/rDqucBq528ApebMIRHyWpCanJVQRxQ8WWZC19iCDKxDsGlbAir3F1layxA==} 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 @@ -3255,6 +3255,9 @@ packages: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} + immer@10.1.1: + resolution: {integrity: sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==} + immer@9.0.21: resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==} @@ -4850,13 +4853,10 @@ packages: react: optional: true - redux-thunk@2.4.2: - resolution: {integrity: sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q==} + redux-thunk@3.1.0: + resolution: {integrity: sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==} peerDependencies: - redux: ^4 - - redux@4.2.1: - resolution: {integrity: sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==} + redux: ^5.0.0 redux@5.0.1: resolution: {integrity: sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==} @@ -4917,8 +4917,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==} resize-observer-polyfill@1.5.1: resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} @@ -7235,12 +7235,12 @@ snapshots: type-fest: 0.21.3 webpack-dev-server: 4.11.1(webpack@5.94.0) - '@reduxjs/toolkit@1.9.7(react-redux@9.1.2(@types/react@18.3.7)(react@18.3.1)(redux@5.0.1))(react@18.3.1)': + '@reduxjs/toolkit@2.4.0(react-redux@9.1.2(@types/react@18.3.7)(react@18.3.1)(redux@5.0.1))(react@18.3.1)': dependencies: - immer: 9.0.21 - redux: 4.2.1 - redux-thunk: 2.4.2(redux@4.2.1) - reselect: 4.1.8 + immer: 10.1.1 + redux: 5.0.1 + redux-thunk: 3.1.0(redux@5.0.1) + reselect: 5.1.1 optionalDependencies: react: 18.3.1 react-redux: 9.1.2(@types/react@18.3.7)(react@18.3.1)(redux@5.0.1) @@ -9911,6 +9911,8 @@ snapshots: ignore@5.3.1: {} + immer@10.1.1: {} + immer@9.0.21: {} import-fresh@3.3.0: @@ -11820,13 +11822,9 @@ snapshots: optionalDependencies: react: 18.3.1 - redux-thunk@2.4.2(redux@4.2.1): - dependencies: - redux: 4.2.1 - - redux@4.2.1: + redux-thunk@3.1.0(redux@5.0.1): dependencies: - '@babel/runtime': 7.24.1 + redux: 5.0.1 redux@5.0.1: {} @@ -11894,7 +11892,7 @@ snapshots: requires-port@1.0.0: {} - reselect@4.1.8: {} + reselect@5.1.1: {} resize-observer-polyfill@1.5.1: {}