diff --git a/package.json b/package.json index 5fdf5072..c8eff47f 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "electron-squirrel-startup": "^1.0.0", "fastify": "^4.17.0", "file-saver": "^2.0.5", - "immer": "^9.0.19", + "immer": "^10.0.0", "lodash": "^4.17.21", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/src/components/StoryMapView/helpers/utils.ts b/src/components/StoryMapView/helpers/utils.ts index b33a8ace..69f70818 100644 --- a/src/components/StoryMapView/helpers/utils.ts +++ b/src/components/StoryMapView/helpers/utils.ts @@ -1,4 +1,4 @@ -import produce from "immer"; +import { produce } from "immer"; import { Case, SubActionLevel } from "../Types"; export const STORY_MAP_PREFIX = "sm"; diff --git a/yarn.lock b/yarn.lock index ff32ee8c..674cc658 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5041,10 +5041,10 @@ ignore@^5.2.4: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== -immer@^9.0.19: - version "9.0.21" - resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176" - integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== +immer@^10.0.0: + version "10.0.3" + resolved "https://registry.yarnpkg.com/immer/-/immer-10.0.3.tgz#a8de42065e964aa3edf6afc282dfc7f7f34ae3c9" + integrity sha512-pwupu3eWfouuaowscykeckFmVTpqbzW+rXFCX8rQLkZzM9ftBmU/++Ra+o+L27mz03zJTlyV4UUr+fdKNffo4A== immutable@^4.0.0: version "4.3.4"