From 3c6a0929d5d83b33d4c8cbe26b36ef68b5b4d38d Mon Sep 17 00:00:00 2001 From: Bill Glesias Date: Mon, 4 Nov 2024 16:29:23 -0500 Subject: [PATCH] chore: update `mobx` from `5.15.4` to `6.13.5` and `mobx-react` from `6.1.8` to `9.1.1` inside @packages/reporter (#30514) * chore: do the minimal to update mobx from 5 to 6 [run ci] chore: update mobx-react from v7 to v9 [run ci] bump cache [run ci] * do not alias mobx or mobx-react. This causes an issue where webpack, in production mode, bundles the cjs production dependency of mobx (mobx.cjs.production.min.js) into cypress_runner.js (in the runner package), but @packages/app (bundled via vite), bundles mobx.esm.js, which is NOT minimized and is expecting the global store/state set by the app to also not be minimized. [run ci] * run update on all machines [run ci] * add changelog entry [run ci] --- .circleci/cache-version.txt | 2 +- .circleci/workflows.yml | 10 +++---- cli/CHANGELOG.md | 1 + packages/app/package.json | 2 +- packages/app/src/store/mobx-runner-store.ts | 3 +- packages/app/tsconfig.json | 1 + packages/reporter/package.json | 4 +-- packages/reporter/src/agents/agent-model.ts | 4 ++- .../reporter/src/attempts/attempt-model.ts | 3 +- .../reporter/src/commands/command-model.ts | 4 ++- packages/reporter/src/commands/command.tsx | 7 ++++- packages/reporter/src/errors/err-model.ts | 3 +- packages/reporter/src/header/stats-store.ts | 6 +++- packages/reporter/src/hooks/hook-model.ts | 3 +- .../src/instruments/instrument-model.ts | 3 +- packages/reporter/src/lib/app-state.ts | 6 +++- packages/reporter/src/lib/flash-on-click.tsx | 7 ++++- packages/reporter/src/lib/switch.tsx | 7 ++++- packages/reporter/src/main-runner.scss.d.ts | 5 ++-- packages/reporter/src/routes/route-model.ts | 4 ++- .../reporter/src/runnables/runnable-model.ts | 3 +- .../reporter/src/runnables/runnables-store.ts | 3 +- .../reporter/src/runnables/suite-model.ts | 8 +++++- .../reporter/src/sessions/sessions-model.ts | 5 ++-- packages/reporter/src/test/test-model.ts | 4 ++- packages/reporter/tsconfig.json | 1 + packages/reporter/webpack.config.ts | 2 -- packages/runner/webpack.config.ts | 2 -- yarn.lock | 28 ++++++++++--------- 29 files changed, 94 insertions(+), 47 deletions(-) diff --git a/.circleci/cache-version.txt b/.circleci/cache-version.txt index ab70be68e6e4..73a095a1b6e3 100644 --- a/.circleci/cache-version.txt +++ b/.circleci/cache-version.txt @@ -1,3 +1,3 @@ # Bump this version to force CI to re-create the cache from scratch. -10-23-24 +11-1-24-mobx-bust-cache1 diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 11545d2b1135..68996b55bf1c 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -30,7 +30,7 @@ mainBuildFilters: &mainBuildFilters - /^release\/\d+\.\d+\.\d+$/ # use the following branch as well to ensure that v8 snapshot cache updates are fully tested - 'update-v8-snapshot-cache-on-develop' - - 'ryanm/chore/fix-windows-tests' + - 'chore/update_reporter_mobx' - 'publish-binary' # usually we don't build Mac app - it takes a long time @@ -42,7 +42,7 @@ macWorkflowFilters: &darwin-workflow-filters - equal: [ develop, << pipeline.git.branch >> ] # use the following branch as well to ensure that v8 snapshot cache updates are fully tested - equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] - - equal: [ 'ryanm/chore/fix-windows-tests', << pipeline.git.branch >> ] + - equal: [ 'chore/update_reporter_mobx', << pipeline.git.branch >> ] - matches: pattern: /^release\/\d+\.\d+\.\d+$/ value: << pipeline.git.branch >> @@ -53,7 +53,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters - equal: [ develop, << pipeline.git.branch >> ] # use the following branch as well to ensure that v8 snapshot cache updates are fully tested - equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] - - equal: [ 'ryanm/chore/fix-windows-tests', << pipeline.git.branch >> ] + - equal: [ 'chore/update_reporter_mobx', << pipeline.git.branch >> ] - matches: pattern: /^release\/\d+\.\d+\.\d+$/ value: << pipeline.git.branch >> @@ -76,7 +76,7 @@ windowsWorkflowFilters: &windows-workflow-filters - equal: [ develop, << pipeline.git.branch >> ] # use the following branch as well to ensure that v8 snapshot cache updates are fully tested - equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] - - equal: [ 'ryanm/chore/fix-windows-tests', << pipeline.git.branch >> ] + - equal: [ 'chore/update_reporter_mobx', << pipeline.git.branch >> ] - matches: pattern: /^release\/\d+\.\d+\.\d+$/ value: << pipeline.git.branch >> @@ -152,7 +152,7 @@ commands: name: Set environment variable to determine whether or not to persist artifacts command: | echo "Setting SHOULD_PERSIST_ARTIFACTS variable" - echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "ryanm/chore/fix-windows-tests" ]]; then + echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "chore/update_reporter_mobx" ]]; then export SHOULD_PERSIST_ARTIFACTS=true fi' >> "$BASH_ENV" # You must run `setup_should_persist_artifacts` command and be using bash before running this command diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 9690711f9a55..13e508328926 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -13,6 +13,7 @@ _Released 11/5/2024 (PENDING)_ **Dependency Updates:** +- Updated `mobx` from `5.15.4` to `6.13.5` and `mobx-react` from `6.1.8` to `9.1.1`. Addresses [#30509](https://github.com/cypress-io/cypress/issues/30509). - Updated `@cypress/request` from `3.0.4` to `3.0.6`. Addressed in [#30488](https://github.com/cypress-io/cypress/pull/30488). ## 13.15.1 diff --git a/packages/app/package.json b/packages/app/package.json index 3e9989ae4794..3cbce83e8841 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -58,7 +58,7 @@ "javascript-time-ago": "2.3.8", "just-my-luck": "3.0.0", "lodash": "4.17.21", - "mobx": "5.15.4", + "mobx": "6.13.5", "nanoid": "3.3.4", "pinia": "2.0.0-rc.14", "rollup-plugin-copy": "3.4.0", diff --git a/packages/app/src/store/mobx-runner-store.ts b/packages/app/src/store/mobx-runner-store.ts index 8011273c47b6..7dd8b95039f2 100644 --- a/packages/app/src/store/mobx-runner-store.ts +++ b/packages/app/src/store/mobx-runner-store.ts @@ -1,5 +1,5 @@ import { nanoid } from 'nanoid' -import { action, observable } from 'mobx' +import { action, observable, makeObservable } from 'mobx' import type { AutomationStatus } from '../store' const defaults = { @@ -25,6 +25,7 @@ export class MobxRunnerStore { @observable canSaveStudioLogs = false constructor (testingType: Cypress.TestingType) { + makeObservable(this) this.width = defaults[testingType].width this.height = defaults[testingType].height } diff --git a/packages/app/tsconfig.json b/packages/app/tsconfig.json index 61d75e8bd6b1..a96c821699ab 100644 --- a/packages/app/tsconfig.json +++ b/packages/app/tsconfig.json @@ -13,6 +13,7 @@ ], "compilerOptions": { "noImplicitThis": true, + "useDefineForClassFields": true, "paths": { "@cy/i18n": ["../frontend-shared/src/locales/i18n"], "@cy/components/*": ["../frontend-shared/src/components/*"], diff --git a/packages/reporter/package.json b/packages/reporter/package.json index 52fc1f2120f2..fe20fe37f527 100644 --- a/packages/reporter/package.json +++ b/packages/reporter/package.json @@ -27,8 +27,8 @@ "cypress-real-events": "1.6.0", "lodash": "^4.17.21", "markdown-it": "^14.0.0", - "mobx": "5.15.4", - "mobx-react": "6.1.8", + "mobx": "6.13.5", + "mobx-react": "9.1.1", "prismjs": "1.27.0", "prop-types": "15.7.2", "react": "16.8.6", diff --git a/packages/reporter/src/agents/agent-model.ts b/packages/reporter/src/agents/agent-model.ts index ff88d580ea7b..0b666f228504 100644 --- a/packages/reporter/src/agents/agent-model.ts +++ b/packages/reporter/src/agents/agent-model.ts @@ -1,4 +1,4 @@ -import { observable } from 'mobx' +import { observable, makeObservable } from 'mobx' import Instrument, { InstrumentProps } from '../instruments/instrument-model' export interface AgentProps extends InstrumentProps { @@ -13,6 +13,8 @@ export default class Agent extends Instrument { constructor (props: AgentProps) { super(props) + makeObservable(this) + this.callCount = props.callCount this.functionName = props.functionName } diff --git a/packages/reporter/src/attempts/attempt-model.ts b/packages/reporter/src/attempts/attempt-model.ts index 5ba4bdfd9b7b..585f4fca25df 100644 --- a/packages/reporter/src/attempts/attempt-model.ts +++ b/packages/reporter/src/attempts/attempt-model.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { action, computed, observable } from 'mobx' +import { action, computed, observable, makeObservable } from 'mobx' import Agent, { AgentProps } from '../agents/agent-model' import Command, { CommandProps } from '../commands/command-model' @@ -47,6 +47,7 @@ export default class Attempt { _logs: {[key: string]: Log} = {} constructor (props: TestProps, test: Test) { + makeObservable(this) this.testId = props.id this.id = props.currentRetry || 0 this.test = test diff --git a/packages/reporter/src/commands/command-model.ts b/packages/reporter/src/commands/command-model.ts index 57b7a37cd042..c3f45a18719e 100644 --- a/packages/reporter/src/commands/command-model.ts +++ b/packages/reporter/src/commands/command-model.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { action, computed, observable } from 'mobx' +import { action, computed, observable, makeObservable } from 'mobx' import Err, { ErrProps } from '../errors/err-model' import Instrument, { InstrumentProps } from '../instruments/instrument-model' @@ -131,6 +131,8 @@ export default class Command extends Instrument { constructor (props: CommandProps) { super(props) + makeObservable(this) + if (props.err) { this.err = new Err(props.err) } diff --git a/packages/reporter/src/commands/command.tsx b/packages/reporter/src/commands/command.tsx index 62a9dc6228d0..77b79bba0daf 100644 --- a/packages/reporter/src/commands/command.tsx +++ b/packages/reporter/src/commands/command.tsx @@ -1,7 +1,7 @@ import _ from 'lodash' import cs from 'classnames' import Markdown from 'markdown-it' -import { action, observable } from 'mobx' +import { action, observable, makeObservable } from 'mobx' import { observer } from 'mobx-react' import React, { Component } from 'react' import Tooltip from '@cypress/react-tooltip' @@ -379,6 +379,11 @@ class Command extends Component { runnablesStore, } + constructor (props: Props) { + super(props) + makeObservable(this) + } + render () { const { model, aliasesWithDuplicates } = this.props diff --git a/packages/reporter/src/errors/err-model.ts b/packages/reporter/src/errors/err-model.ts index 9a99c609cb07..bac0df89b9dd 100644 --- a/packages/reporter/src/errors/err-model.ts +++ b/packages/reporter/src/errors/err-model.ts @@ -1,6 +1,6 @@ /* eslint-disable padding-line-between-statements */ import _ from 'lodash' -import { computed, observable } from 'mobx' +import { computed, observable, makeObservable } from 'mobx' import type { FileDetails } from '@packages/types' @@ -45,6 +45,7 @@ export default class Err { @observable isRecovered: boolean = false constructor (props?: Partial) { + makeObservable(this) this.update(props) } diff --git a/packages/reporter/src/header/stats-store.ts b/packages/reporter/src/header/stats-store.ts index 63a92a30a893..aaef3375a3a8 100644 --- a/packages/reporter/src/header/stats-store.ts +++ b/packages/reporter/src/header/stats-store.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { action, computed, observable } from 'mobx' +import { action, computed, observable, makeObservable } from 'mobx' import { TestState } from '../test/test-model' import { IntervalID } from '../lib/types' @@ -25,6 +25,10 @@ class StatsStore { private _interval?: IntervalID + constructor () { + makeObservable(this) + } + @computed get duration () { if (!this._startTime) return 0 diff --git a/packages/reporter/src/hooks/hook-model.ts b/packages/reporter/src/hooks/hook-model.ts index a745c2a1a762..02a57008f07b 100644 --- a/packages/reporter/src/hooks/hook-model.ts +++ b/packages/reporter/src/hooks/hook-model.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { observable, computed } from 'mobx' +import { observable, computed, makeObservable } from 'mobx' import { FileDetails } from '@packages/types' @@ -30,6 +30,7 @@ export default class Hook implements HookProps { private _currentNumber = 1 constructor (props: HookProps) { + makeObservable(this) this.hookId = props.hookId this.hookName = props.hookName this.invocationDetails = props.invocationDetails diff --git a/packages/reporter/src/instruments/instrument-model.ts b/packages/reporter/src/instruments/instrument-model.ts index 1b65f3c8aa8e..0e13d733c2ab 100644 --- a/packages/reporter/src/instruments/instrument-model.ts +++ b/packages/reporter/src/instruments/instrument-model.ts @@ -1,4 +1,4 @@ -import { observable } from 'mobx' +import { observable, makeObservable } from 'mobx' import { Instrument, TestState } from '@packages/types' export interface AliasObject { @@ -38,6 +38,7 @@ export default class Log { testId: string constructor (props: InstrumentProps) { + makeObservable(this) this.id = props.id this.alias = props.alias this.aliasType = props.aliasType diff --git a/packages/reporter/src/lib/app-state.ts b/packages/reporter/src/lib/app-state.ts index f891f4bcc9ce..1aefe4630137 100644 --- a/packages/reporter/src/lib/app-state.ts +++ b/packages/reporter/src/lib/app-state.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { observable } from 'mobx' +import { observable, makeObservable } from 'mobx' interface DefaultAppState { isPaused: boolean @@ -36,6 +36,10 @@ class AppState { _resetAutoScrollingEnabledTo = true; [key: string]: any + constructor () { + makeObservable(this) + } + startRunning () { this.isRunning = true this.isStopped = false diff --git a/packages/reporter/src/lib/flash-on-click.tsx b/packages/reporter/src/lib/flash-on-click.tsx index 8c1c2d102ecc..377b86149fc6 100644 --- a/packages/reporter/src/lib/flash-on-click.tsx +++ b/packages/reporter/src/lib/flash-on-click.tsx @@ -1,4 +1,4 @@ -import { action, observable } from 'mobx' +import { action, observable, makeObservable } from 'mobx' import { observer } from 'mobx-react' import PropTypes from 'prop-types' import React, { Children, cloneElement, Component, MouseEvent, ReactElement, ReactNode } from 'react' @@ -27,6 +27,11 @@ class FlashOnClick extends Component { @observable _show = false + constructor (props: Props) { + super(props) + makeObservable(this) + } + render () { const child = Children.only(this.props.children) diff --git a/packages/reporter/src/lib/switch.tsx b/packages/reporter/src/lib/switch.tsx index 932b8a46b59f..ab25cffcb8a1 100644 --- a/packages/reporter/src/lib/switch.tsx +++ b/packages/reporter/src/lib/switch.tsx @@ -1,4 +1,4 @@ -import { action } from 'mobx' +import { action, makeObservable } from 'mobx' import { observer } from 'mobx-react' import React, { Component } from 'react' @@ -17,6 +17,11 @@ class Switch extends Component { onUpdate(e) } + constructor (props: Props) { + super(props) + makeObservable(this) + } + render () { const { 'data-cy': dataCy, size = 'lg', value } = this.props diff --git a/packages/reporter/src/main-runner.scss.d.ts b/packages/reporter/src/main-runner.scss.d.ts index 132b232e8959..7356746eb3bd 100644 --- a/packages/reporter/src/main-runner.scss.d.ts +++ b/packages/reporter/src/main-runner.scss.d.ts @@ -3,5 +3,6 @@ interface CssExports { } -export const cssExports: CssExports; -export default cssExports; +export const cssExports: CssExports + +export default cssExports diff --git a/packages/reporter/src/routes/route-model.ts b/packages/reporter/src/routes/route-model.ts index d0c020f1130c..7affbecd104b 100644 --- a/packages/reporter/src/routes/route-model.ts +++ b/packages/reporter/src/routes/route-model.ts @@ -1,4 +1,4 @@ -import { observable } from 'mobx' +import { observable, makeObservable } from 'mobx' import Instrument, { InstrumentProps } from '../instruments/instrument-model' export interface RouteProps extends InstrumentProps { @@ -17,6 +17,8 @@ export default class Route extends Instrument { constructor (props: RouteProps) { super(props) + makeObservable(this) + this.isStubbed = props.isStubbed this.method = props.method this.numResponses = props.numResponses diff --git a/packages/reporter/src/runnables/runnable-model.ts b/packages/reporter/src/runnables/runnable-model.ts index 89241bef86f6..d96f7e8e7780 100644 --- a/packages/reporter/src/runnables/runnable-model.ts +++ b/packages/reporter/src/runnables/runnable-model.ts @@ -1,4 +1,4 @@ -import { observable } from 'mobx' +import { observable, makeObservable } from 'mobx' import { HookProps } from '../hooks/hook-model' export interface RunnableProps { @@ -14,6 +14,7 @@ export default class Runnable { @observable hooks: Array = [] constructor (props: RunnableProps, level: number) { + makeObservable(this) this.id = props.id this.title = props.title this.level = level diff --git a/packages/reporter/src/runnables/runnables-store.ts b/packages/reporter/src/runnables/runnables-store.ts index ba8e955259b1..8ba60a6ad1f3 100644 --- a/packages/reporter/src/runnables/runnables-store.ts +++ b/packages/reporter/src/runnables/runnables-store.ts @@ -1,6 +1,6 @@ import { TestFilter } from '@packages/types' import _ from 'lodash' -import { action, observable } from 'mobx' +import { action, observable, makeObservable } from 'mobx' import AgentModel, { AgentProps } from '../agents/agent-model' import CommandModel, { CommandProps } from '../commands/command-model' import { HookProps } from '../hooks/hook-model' @@ -74,6 +74,7 @@ export class RunnablesStore { showingSnapshot = defaults.showingSnapshot constructor ({ appState, scroller }: Props) { + makeObservable(this) this.appState = appState this.scroller = scroller } diff --git a/packages/reporter/src/runnables/suite-model.ts b/packages/reporter/src/runnables/suite-model.ts index 19d81c4a91b7..3f175b3b2b81 100644 --- a/packages/reporter/src/runnables/suite-model.ts +++ b/packages/reporter/src/runnables/suite-model.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { computed, observable } from 'mobx' +import { computed, observable, makeObservable } from 'mobx' import Runnable, { RunnableProps } from './runnable-model' import TestModel, { TestProps } from '../test/test-model' import { TestState } from '@packages/types' @@ -13,6 +13,12 @@ export default class Suite extends Runnable { @observable children: Array = [] type = 'suite' + constructor (props: SuiteProps, level: number) { + super(props, level) + + makeObservable(this) + } + @computed get state (): TestState { if (this._anyChildrenFailed) { return 'failed' diff --git a/packages/reporter/src/sessions/sessions-model.ts b/packages/reporter/src/sessions/sessions-model.ts index aa5a596a902e..122475acf4b7 100644 --- a/packages/reporter/src/sessions/sessions-model.ts +++ b/packages/reporter/src/sessions/sessions-model.ts @@ -1,4 +1,4 @@ -import { observable } from 'mobx' +import { observable, makeObservable } from 'mobx' import Instrument, { InstrumentProps } from '../instruments/instrument-model' import { determineTagType } from './utils' import type { SessionStatus } from './utils' @@ -15,13 +15,14 @@ export interface SessionProps extends InstrumentProps { } export default class Session extends Instrument { - @observable name: string + name: string @observable status: string @observable isGlobalSession: boolean = false @observable tagType: string constructor (props: SessionProps) { super(props) + makeObservable(this) const { state, sessionInfo: { isGlobalSession, id, status } } = props this.isGlobalSession = isGlobalSession diff --git a/packages/reporter/src/test/test-model.ts b/packages/reporter/src/test/test-model.ts index 0a305c6c9a05..2d856ed7a930 100644 --- a/packages/reporter/src/test/test-model.ts +++ b/packages/reporter/src/test/test-model.ts @@ -1,5 +1,5 @@ import _ from 'lodash' -import { action, computed, observable } from 'mobx' +import { action, computed, observable, makeObservable } from 'mobx' import { FileDetails, TestState } from '@packages/types' import Attempt from '../attempts/attempt-model' @@ -62,6 +62,8 @@ export default class Test extends Runnable { constructor (props: TestProps, level: number, private store: RunnablesStore) { super(props, level) + makeObservable(this) + this.invocationDetails = props.invocationDetails this.hooks = [...props.hooks, { diff --git a/packages/reporter/tsconfig.json b/packages/reporter/tsconfig.json index be6c7cd941b3..99b6a70b5bf3 100644 --- a/packages/reporter/tsconfig.json +++ b/packages/reporter/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../ts/tsconfig.json", "compilerOptions": { + "useDefineForClassFields": true, "types": [ "node", "cypress", diff --git a/packages/reporter/webpack.config.ts b/packages/reporter/webpack.config.ts index 11169d8f66f8..b2304d066330 100644 --- a/packages/reporter/webpack.config.ts +++ b/packages/reporter/webpack.config.ts @@ -32,8 +32,6 @@ config.resolve = { ...config.resolve, alias: { 'lodash': require.resolve('lodash'), - 'mobx': require.resolve('mobx'), - 'mobx-react': require.resolve('mobx-react'), 'react': require.resolve('react'), 'react-dom': require.resolve('react-dom'), }, diff --git a/packages/runner/webpack.config.ts b/packages/runner/webpack.config.ts index 45e9b0b47b3a..833fa4f53a12 100644 --- a/packages/runner/webpack.config.ts +++ b/packages/runner/webpack.config.ts @@ -38,8 +38,6 @@ mainConfig.resolve = { alias: { 'bluebird': require.resolve('bluebird'), 'lodash': require.resolve('lodash'), - 'mobx': require.resolve('mobx'), - 'mobx-react': require.resolve('mobx-react'), 'react': require.resolve('react'), 'react-dom': require.resolve('react-dom'), }, diff --git a/yarn.lock b/yarn.lock index 02699ad034d3..ce071c622c43 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22323,22 +22323,24 @@ mlly@^1.2.0, mlly@^1.4.2, mlly@^1.6.1, mlly@^1.7.0: pkg-types "^1.1.0" ufo "^1.5.3" -mobx-react-lite@^1.4.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/mobx-react-lite/-/mobx-react-lite-1.5.2.tgz#c4395b0568b9cb16f07669d8869cc4efa1b8656d" - integrity sha512-PyZmARqqWtpuQaAoHF5pKX7h6TKNLwq6vtovm4zZvG6sEbMRHHSqioGXSeQbpRmG8Kw8uln3q/W1yMO5IfL5Sg== +mobx-react-lite@^4.0.7: + version "4.0.7" + resolved "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-4.0.7.tgz#f4e21e18d05c811010dcb1d3007e797924c4d90b" + integrity sha512-RjwdseshK9Mg8On5tyJZHtGD+J78ZnCnRaxeQDSiciKVQDUbfZcXhmld0VMxAwvcTnPEHZySGGewm467Fcpreg== + dependencies: + use-sync-external-store "^1.2.0" -mobx-react@6.1.8: - version "6.1.8" - resolved "https://registry.yarnpkg.com/mobx-react/-/mobx-react-6.1.8.tgz#5b9a3950463d58c154dda2c94d16d48ed8fcb02e" - integrity sha512-NCMJn/hrWoeyeNbzCsBDtftWSy6VlFgw1VzhogrciPFvJIl2xs+8rJJdPlRHQTiNirwNoHNKJgUE4WhPZPvKDw== +mobx-react@9.1.1: + version "9.1.1" + resolved "https://registry.npmjs.org/mobx-react/-/mobx-react-9.1.1.tgz#b96e0d5d74a3d02fc62729fd344b2a3ad2a88aae" + integrity sha512-gVV7AdSrAAxqXOJ2bAbGa5TkPqvITSzaPiiEkzpW4rRsMhSec7C2NBCJYILADHKp2tzOAIETGRsIY0UaCV5aEw== dependencies: - mobx-react-lite "^1.4.2" + mobx-react-lite "^4.0.7" -mobx@5.15.4: - version "5.15.4" - resolved "https://registry.yarnpkg.com/mobx/-/mobx-5.15.4.tgz#9da1a84e97ba624622f4e55a0bf3300fb931c2ab" - integrity sha512-xRFJxSU2Im3nrGCdjSuOTFmxVDGeqOHL+TyADCGbT0k4HHqGmx5u2yaHNryvoORpI4DfbzjJ5jPmuv+d7sioFw== +mobx@6.13.5: + version "6.13.5" + resolved "https://registry.npmjs.org/mobx/-/mobx-6.13.5.tgz#957d9df88c7f8b4baa7c6f8bdcb6d68b432a6ed5" + integrity sha512-/HTWzW2s8J1Gqt+WmUj5Y0mddZk+LInejADc79NJadrWla3rHzmRHki/mnEUH1AvOmbNTZ1BRbKxr8DSgfdjMA== "mocha-7.0.1@npm:mocha@7.0.1": version "7.0.1"