diff --git a/package-lock.json b/package-lock.json index a02febf1..c315ef7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "idb": "^7.1.1", "lodash": "^4.17.21", "mobx": "^6.9.0", - "mobx-react-lite": "^3.4.3", + "mobx-react-lite": "^4.0.2", "next": "^13.2.4", "path-to-regexp": "^6.2.1", "prosemirror-state": "^1.4.2", @@ -6003,15 +6003,18 @@ } }, "node_modules/mobx-react-lite": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-3.4.3.tgz", - "integrity": "sha512-NkJREyFTSUXR772Qaai51BnE1voWx56LOL80xG7qkZr6vo8vEaLF3sz1JNUVh+rxmUzxYaqOhfuxTfqUh0FXUg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-4.0.2.tgz", + "integrity": "sha512-5o7for7/5QLpgzKvA3ZjrO8TmfkZgVcSjwYalGlW6OkK/fCxmVlwbFeoWJQzWbkWSxlcaatTO0j4riAUvWoqMg==", + "dependencies": { + "use-sync-external-store": "^1.2.0" + }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mobx" }, "peerDependencies": { - "mobx": "^6.1.0", + "mobx": "^6.9.0", "react": "^16.8.0 || ^17 || ^18" }, "peerDependenciesMeta": { @@ -7759,6 +7762,14 @@ } } }, + "node_modules/use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -12237,10 +12248,12 @@ "integrity": "sha512-HdKewQEREEJgsWnErClfbFoVebze6rGazxFLU/XUyrII8dORfVszN1V0BMRnQSzcgsNNtkX8DHj3nC6cdWE9YQ==" }, "mobx-react-lite": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-3.4.3.tgz", - "integrity": "sha512-NkJREyFTSUXR772Qaai51BnE1voWx56LOL80xG7qkZr6vo8vEaLF3sz1JNUVh+rxmUzxYaqOhfuxTfqUh0FXUg==", - "requires": {} + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-4.0.2.tgz", + "integrity": "sha512-5o7for7/5QLpgzKvA3ZjrO8TmfkZgVcSjwYalGlW6OkK/fCxmVlwbFeoWJQzWbkWSxlcaatTO0j4riAUvWoqMg==", + "requires": { + "use-sync-external-store": "^1.2.0" + } }, "ms": { "version": "2.1.2", @@ -13497,6 +13510,12 @@ "tslib": "^2.0.0" } }, + "use-sync-external-store": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz", + "integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==", + "requires": {} + }, "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index b5c64ff1..2dd01b56 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "idb": "^7.1.1", "lodash": "^4.17.21", "mobx": "^6.9.0", - "mobx-react-lite": "^3.4.3", + "mobx-react-lite": "^4.0.2", "next": "^13.2.4", "path-to-regexp": "^6.2.1", "prosemirror-state": "^1.4.2",