Skip to content

Commit

Permalink
Remove mobx-devtools-mst (#6414)
Browse files Browse the repository at this point in the history
* build(deps): bump mobx-devtools-mst from 0.9.30 to 0.9.34

Bumps [mobx-devtools-mst](https://github.com/mobxjs/mobx-devtools) from 0.9.30 to 0.9.34.
- [Changelog](https://github.com/mobxjs/mobx-devtools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mobxjs/mobx-devtools/commits)

---
updated-dependencies:
- dependency-name: mobx-devtools-mst
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* remove mobx-devtools-mst

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Delilah <[email protected]>
  • Loading branch information
dependabot[bot] and goplayoutside3 authored Nov 22, 2024
1 parent 1d48e37 commit 1862ade
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion packages/app-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"lodash": "~4.17.11",
"million": "~3.1.11",
"mobx": "~6.12.0",
"mobx-devtools-mst": "~0.9.21",
"mobx-react": "~9.1.0",
"mobx-state-tree": "~5.4.0",
"morgan": "^1.10.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/app-project/pages/_app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import makeInspectable from 'mobx-devtools-mst'
import { enableStaticRendering, Provider } from 'mobx-react'
import Error from 'next/error'
import { useEffect, useMemo } from 'react'
Expand Down Expand Up @@ -50,7 +49,6 @@ function MyApp({ Component, pageProps }) {
/* Initialize the mobx store */
const { initialState } = pageProps
const store = useStore(initialState)
makeInspectable(store)

useEffect(
function onMount() {
Expand Down
1 change: 0 additions & 1 deletion packages/lib-classifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"jsdom": "~24.0.0",
"million": "~3.1.11",
"mobx": "~6.12.0",
"mobx-devtools-mst": "~0.9.21",
"mobx-react": "~9.1.0",
"mobx-state-tree": "~5.4.0",
"mocha": "~10.8.2",
Expand Down
4 changes: 1 addition & 3 deletions packages/lib-classifier/src/hooks/useHydratedStore.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import makeInspectable from 'mobx-devtools-mst'
import { addDisposer, destroy, onSnapshot } from 'mobx-state-tree'
import { useMemo } from 'react'

Expand Down Expand Up @@ -64,7 +63,6 @@ function initStore({ cachePanoptesData, storageKey, storeEnv }) {
*/
persist(storageKey, store)
}
makeInspectable(store)
}
return store
}
Expand All @@ -79,4 +77,4 @@ export function cleanStore() {
export default function useHydratedStore(storeEnv = {}, cachePanoptesData = false, storageKey) {
const _store = useMemo(() => initStore({ cachePanoptesData, storageKey, storeEnv }), [cachePanoptesData, storageKey, storeEnv])
return _store
}
}
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13428,11 +13428,6 @@ mkdirp@^1.0.3:
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==

mobx-devtools-mst@~0.9.21:
version "0.9.30"
resolved "https://registry.npmjs.org/mobx-devtools-mst/-/mobx-devtools-mst-0.9.30.tgz"
integrity sha512-6fIYeFG4xT4syIeKddmK55zQbc3ZZZr/272/cCbfaAAM5YiuFdteGZGUgdsz8wxf/mGxWZbFOM3WmASAnpwrbw==

mobx-react-lite@^4.0.7:
version "4.0.7"
resolved "https://registry.yarnpkg.com/mobx-react-lite/-/mobx-react-lite-4.0.7.tgz#f4e21e18d05c811010dcb1d3007e797924c4d90b"
Expand Down

0 comments on commit 1862ade

Please sign in to comment.