Skip to content

build(deps): bump mobx-react-lite from 4.1.1 to 5.0.0 - #152

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mobx-react-lite-5.0.0
Open

build(deps): bump mobx-react-lite from 4.1.1 to 5.0.0#152
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/mobx-react-lite-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bumps mobx-react-lite from 4.1.1 to 5.0.0.

Release notes

Sourced from mobx-react-lite's releases.

mobx-react-lite@5.0.0

Major Changes

  • 1926c69f53168619d688f348aa587e8f3ae579ae #4671 Thanks @​kubk! - Release MobX 7, mobx-react-lite 5, and mobx-react 10.

    Bundle sizes are down: ESM prod 17.02 KiB gzip -> 13.96 KiB gzip; a minimal tree-shaken example is 10.32 KiB gzip now.

    It removes long-deprecated compatibility paths and keeps the React bindings split between mobx-react-lite for function components and mobx-react for class-component support.

    MobX 7

    MobX 7 is a cleanup release focused on the modern runtime and decorator model.

    • MobX now always uses Proxy-backed observable objects and arrays. The ES5/non-proxy fallback has been removed.
    • configure({ useProxies: ... }) is no longer supported.
    • { proxy: false } options for observable, observable.object, and observable.array are no longer supported.
    • Legacy decorators are no longer supported.
    • Namespaced annotation and comparer properties now use named exports to reduce bundle size:
    Removed API Replacement
    observable.ref observableRef
    observable.shallow observableShallow
    observable.deep observableDeep
    observable.struct observableStruct
    computed.struct computedStruct
    action.bound actionBound
    flow.bound flowBound
    comparer.identity compareIdentity
    comparer.default compareDefault
    comparer.structural compareStructural
    comparer.shallow compareShallow
    • The public trace API and its related runtime support have been removed. Use toJS, getDependencyTree, getObserverTree, spy or mobx-log package for debugging.

    mobx-react-lite 5 and mobx-react 10

    mobx-react-lite 5 and mobx-react 10 require MobX 7 and React 18 or later.

    mobx-react-lite remains the function-component package. mobx-react remains a thin wrapper around mobx-react-lite that adds class component and Stage 3 @observer class decorator support.

    • Keep function-component imports on mobx-react-lite if you do not need class component support.
    • Use mobx-react when you need class components or @observer class decorators.
    • mobx-react-lite supports function components and forwardRef; mobx-react delegates function components to mobx-react-lite and handles classes itself.
    • Remove React batching imports, including the stale React Native batching deep import. React 18+ renderers handle batching.

    The recommended public React binding surface for both packages is:

    • observer
    • Observer

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for mobx-react-lite since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update JavaScript code labels Aug 4, 2026
@socket-security

socket-security Bot commented Aug 4, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmobx-react-lite@​4.1.1 ⏵ 5.0.0100 +110093 -789 +7100

View full report

Bumps [mobx-react-lite](https://github.com/mobxjs/mobx) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Commits](https://github.com/mobxjs/mobx/compare/mobx-react-lite@4.1.1...mobx-react-lite@5.0.0)

---
updated-dependencies:
- dependency-name: mobx-react-lite
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-react-lite-5.0.0 branch from f32fe0b to dacc6a2 Compare August 11, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update JavaScript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants