diff --git a/package.json b/package.json index 3e5f78dd..bf0f76a0 100644 --- a/package.json +++ b/package.json @@ -69,8 +69,8 @@ "electron-updater": "^5.2.4", "filenamify": "^4.3.0", "lodash": "^4.18.1", - "mobx": "^6.16.0", - "mobx-react-lite": "^4.1.0", + "mobx": "^7.1.7", + "mobx-react-lite": "^5.1.3", "mobx-utils": "^6.1.0", "parse-filepath": "^1.0.2", "patch-package": "^8.0.1", diff --git a/src/app/store/Run.js b/src/app/store/Run.js index eafb9861..35e8ae68 100644 --- a/src/app/store/Run.js +++ b/src/app/store/Run.js @@ -1,4 +1,4 @@ -import { observable, computed, action, runInAction, createAtom, makeObservable } from 'mobx'; +import { observable, observableRef, computed, action, runInAction, createAtom, makeObservable } from 'mobx'; import { promisedComputed } from '../promisedComputed'; import filenamify from 'filenamify'; @@ -61,7 +61,7 @@ class Run extends StoreBase { setOutputDir: action, selectOutputDir: action, openOutputDir: action, - showPartitionFor: observable.ref, + showPartitionFor: observableRef, showPartition: action, hidePartition: action, resultDir: observable, diff --git a/yarn.lock b/yarn.lock index cf3d3019..d77ea15e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7935,22 +7935,20 @@ mkdirp@^1.0.3: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mobx-react-lite@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/mobx-react-lite/-/mobx-react-lite-4.1.1.tgz#725d74b025235f73dc2ab815766ffe010be2cf8a" - integrity sha512-iUxiMpsvNraCKXU+yPotsOncNNmyeS2B5DKL+TL6Tar/xm+wwNJAubJmtRSeAoYawdZqwv8Z/+5nPRHeQxTiXg== - dependencies: - use-sync-external-store "^1.4.0" +mobx-react-lite@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/mobx-react-lite/-/mobx-react-lite-5.1.3.tgz#8ef099ee04332bef4c5b616626bb782341fcb1a6" + integrity sha512-/Qh+wwtyNp9zXXns+B2MxVHC/npHsYvnVJNe0ddvHW4rgAxTOgVr0z/6hWSm2mqdT0jv1QWYZuJ6+3dediv+wQ== mobx-utils@^6.1.0: version "6.1.1" resolved "https://registry.yarnpkg.com/mobx-utils/-/mobx-utils-6.1.1.tgz#61c66563e7646fb75462c189f4110a76d2e35768" integrity sha512-ZR4tOKucWAHOdMjqElRl2BEvrzK7duuDdKmsbEbt2kzgVpuLuoYLiDCjc3QwWQl8CmOlxPgaZQpZ7emwNqPkIg== -mobx@^6.16.0: - version "6.16.1" - resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.16.1.tgz#8b3166186d1298b1848395e10e64b5c43d6dc43b" - integrity sha512-syNcDdX3KT+Jq3je6eGjBhuc24Z68td2VG0zNFqRswaE433D9SNH5VRy/xrGbJsUixfppLLccXhAW9JSf6n+SQ== +mobx@^7.1.7: + version "7.1.7" + resolved "https://registry.yarnpkg.com/mobx/-/mobx-7.1.7.tgz#12281ff4c4329c0e31bf9ad846b602090bd56c0c" + integrity sha512-fzFPm0u0xHxrAyjFsjfA/a99JgyvLh8R/bnTe7uD37cwbO5O7OUrv/e6Q4rlYdBGCf3rR/pVvh1OVMPF10ghng== ms@2.0.0: version "2.0.0" @@ -10048,11 +10046,6 @@ url-to-options@^1.0.1: resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" integrity sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A== -use-sync-external-store@^1.4.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz#6dcb66ef569e02f186af6b3d575f414ce746e18f" - integrity sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A== - usehooks-ts@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/usehooks-ts/-/usehooks-ts-3.1.1.tgz#0bb7f38f36f8219ee4509cc5e944ae610fb97656"