From 8a8c3b34387b652268c3228fad5bad90d789cc4c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:28:05 +0000 Subject: [PATCH 1/2] Update dependency immer to v10 --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index aed85ea15a..039e992e58 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "@turf/buffer": "6.5.0", "bbox": "0.4.0", "clsx": "1.2.1", - "immer": "9.0.21", + "immer": "10.0.3", "mapbox-gl": "2.15.0", "react": "18.2.0", "react-custom-scroll": "5.0.0", diff --git a/yarn.lock b/yarn.lock index 3d1fe94427..e53e647814 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5790,10 +5790,10 @@ __metadata: languageName: node linkType: hard -"immer@npm:9.0.21": - version: 9.0.21 - resolution: "immer@npm:9.0.21" - checksum: 70e3c274165995352f6936695f0ef4723c52c92c92dd0e9afdfe008175af39fa28e76aafb3a2ca9d57d1fb8f796efc4dd1e1cc36f18d33fa5b74f3dfb0375432 +"immer@npm:10.0.3": + version: 10.0.3 + resolution: "immer@npm:10.0.3" + checksum: 76acabe6f40e752028313762ba477a5d901e57b669f3b8fb406b87b9bb9b14e663a6fbbf5a6d1ab323737dd38f4b2494a4e28002045b88948da8dbf482309f28 languageName: node linkType: hard @@ -7860,7 +7860,7 @@ __metadata: file-loader: 6.2.0 fork-ts-checker-webpack-plugin: 8.0.0 html-webpack-plugin: 5.5.3 - immer: 9.0.21 + immer: 10.0.3 jest: 29.5.0 mapbox-gl: 2.15.0 mini-css-extract-plugin: 2.7.5 From 300ae41a0e2d4d9829fd337d59604a22a9d66fca Mon Sep 17 00:00:00 2001 From: Derek Ellis Date: Sat, 21 Oct 2023 18:38:34 -0400 Subject: [PATCH 2/2] Fix `produce` import --- src/hooks/useAppState.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useAppState.tsx b/src/hooks/useAppState.tsx index 3ec7154578..f42b56f134 100644 --- a/src/hooks/useAppState.tsx +++ b/src/hooks/useAppState.tsx @@ -1,4 +1,4 @@ -import produce from "immer"; +import { produce } from "immer"; import React, { createContext, ReactNode,