diff --git a/package.json b/package.json index 4b3e29f3..f520dfd4 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@pybricks/mpy-cross-v6": "^2.0.0", "@pybricks/python-program-analysis": "^2.0.0", "@pyodide/webpack-plugin": "^1.3.2", - "@reduxjs/toolkit": "^1.9.7", + "@reduxjs/toolkit": "^2.5.0", "@shopify/react-i18n": "^7.13.1", "@svgr/webpack": "^8.1.0", "@testing-library/dom": "^9.3.4", diff --git a/yarn.lock b/yarn.lock index 2bca2d8d..b5e02d6c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2982,7 +2982,7 @@ __metadata: "@pybricks/mpy-cross-v6": ^2.0.0 "@pybricks/python-program-analysis": ^2.0.0 "@pyodide/webpack-plugin": ^1.3.2 - "@reduxjs/toolkit": ^1.9.7 + "@reduxjs/toolkit": ^2.5.0 "@shopify/react-i18n": ^7.13.1 "@svgr/webpack": ^8.1.0 "@testing-library/dom": ^9.3.4 @@ -4553,23 +4553,23 @@ __metadata: languageName: node linkType: hard -"@reduxjs/toolkit@npm:^1.9.7": - version: 1.9.7 - resolution: "@reduxjs/toolkit@npm:1.9.7" +"@reduxjs/toolkit@npm:^2.5.0": + version: 2.5.0 + resolution: "@reduxjs/toolkit@npm:2.5.0" dependencies: - immer: ^9.0.21 - redux: ^4.2.1 - redux-thunk: ^2.4.2 - reselect: ^4.1.8 + immer: ^10.0.3 + redux: ^5.0.1 + redux-thunk: ^3.1.0 + reselect: ^5.1.0 peerDependencies: - react: ^16.9.0 || ^17.0.0 || ^18 - react-redux: ^7.2.1 || ^8.0.2 + react: ^16.9.0 || ^17.0.0 || ^18 || ^19 + react-redux: ^7.2.1 || ^8.1.3 || ^9.0.0 peerDependenciesMeta: react: optional: true react-redux: optional: true - checksum: ac25dec73a5d2df9fc7fbe98c14ccc73919e5ee1d6f251db0d2ec8f90273f92ef39c26716704bf56b5a40189f72d94b4526dc3a8c7ac3986f5daf44442bcc364 + checksum: b75f4ce15bc61ed8de547d7e4add34fbf93e6c3ddeeb4177efee344a0d01a24d23e4d7ae45fe5e2d45b483648f831a3e177047cfe3e7af0ea7cc77d72fabc2a5 languageName: node linkType: hard @@ -10598,7 +10598,14 @@ __metadata: languageName: node linkType: hard -"immer@npm:^9.0.21, immer@npm:^9.0.7": +"immer@npm:^10.0.3": + version: 10.1.1 + resolution: "immer@npm:10.1.1" + checksum: 07c67970b7d22aded73607193d84861bf786f07d47f7d7c98bb10016c7a88f6654ad78ae1e220b3c623695b133aabbf24f5eb8d9e8060cff11e89ccd81c9c10b + languageName: node + linkType: hard + +"immer@npm:^9.0.7": version: 9.0.21 resolution: "immer@npm:9.0.21" checksum: 70e3c274165995352f6936695f0ef4723c52c92c92dd0e9afdfe008175af39fa28e76aafb3a2ca9d57d1fb8f796efc4dd1e1cc36f18d33fa5b74f3dfb0375432 @@ -14885,12 +14892,12 @@ __metadata: languageName: node linkType: hard -"redux-thunk@npm:^2.4.2": - version: 2.4.2 - resolution: "redux-thunk@npm:2.4.2" +"redux-thunk@npm:^3.1.0": + version: 3.1.0 + resolution: "redux-thunk@npm:3.1.0" peerDependencies: - redux: ^4 - checksum: c7f757f6c383b8ec26152c113e20087818d18ed3edf438aaad43539e9a6b77b427ade755c9595c4a163b6ad3063adf3497e5fe6a36c68884eb1f1cfb6f049a5c + redux: ^5.0.0 + checksum: bea96f8233975aad4c9f24ca1ffd08ac7ec91eaefc26e7ba9935544dc55d7f09ba2aa726676dab53dc79d0c91e8071f9729cddfea927f4c41839757d2ade0f50 languageName: node linkType: hard @@ -14903,6 +14910,13 @@ __metadata: languageName: node linkType: hard +"redux@npm:^5.0.1": + version: 5.0.1 + resolution: "redux@npm:5.0.1" + checksum: e74affa9009dd5d994878b9a1ce30d6569d986117175056edb003de2651c05b10fe7819d6fa94aea1a94de9a82f252f986547f007a2fbeb35c317a2e5f5ecf2c + languageName: node + linkType: hard + "reflect.getprototypeof@npm:^1.0.3": version: 1.0.3 resolution: "reflect.getprototypeof@npm:1.0.3" @@ -15040,10 +15054,10 @@ __metadata: languageName: node linkType: hard -"reselect@npm:^4.1.8": - version: 4.1.8 - resolution: "reselect@npm:4.1.8" - checksum: a4ac87cedab198769a29be92bc221c32da76cfdad6911eda67b4d3e7136dca86208c3b210e31632eae31ebd2cded18596f0dd230d3ccc9e978df22f233b5583e +"reselect@npm:^5.1.0": + version: 5.1.1 + resolution: "reselect@npm:5.1.1" + checksum: 5d32d48be29071ddda21a775945c2210cf4ca3fccde1c4a0e1582ac3bf99c431c6c2330ef7ca34eae4c06feea617e7cb2c275c4b33ccf9a930836dfc98b49b13 languageName: node linkType: hard