diff --git a/packages/immer/package.json b/packages/immer/package.json index ba6feebb..5cefe5f1 100644 --- a/packages/immer/package.json +++ b/packages/immer/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@zedux/atoms": "^2.0.0-alpha.1", - "immer": "^9.0.21" + "immer": "^10.1.1" }, "exports": { ".": { diff --git a/packages/immer/src/ImmerStore.ts b/packages/immer/src/ImmerStore.ts index 7ca84554..3ce58a87 100644 --- a/packages/immer/src/ImmerStore.ts +++ b/packages/immer/src/ImmerStore.ts @@ -1,5 +1,5 @@ import { Store } from '@zedux/atoms' -import produce, { Draft } from 'immer' +import { Draft, produce } from 'immer' export class ImmerStore extends Store { public constructor(initialState?: State) { diff --git a/yarn.lock b/yarn.lock index 469a4d1b..14f0d295 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3315,10 +3315,10 @@ ignore@^5.0.4, ignore@^5.2.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== -immer@^9.0.21: - 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.1.1" + resolved "https://registry.yarnpkg.com/immer/-/immer-10.1.1.tgz#206f344ea372d8ea176891545ee53ccc062db7bc" + integrity sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw== import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0"