Socket
Socket
Sign inDemoInstall

mobx-utils

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-utils - npm Package Versions

1
6

5.5.0

Diff

Changelog

Source

5.5.0

Note: the minimum required MobX version for this release has been bumped to "mobx": "^4.13.1 || ^5.13.1"

  • Added actionAsync (not to be confused with asyncAction) as an alternative to flows, see #217 by xaviergonz
  • Fixed a typing issue for the pending handler of fromPromise, see #208 by Ricardo-Marques
  • computedFn now supports the standard options accepted by classic computed, see #215 by hearnden
  • Fixed #205, something with to unobserved properties and createViewModel. See #216 by wrench7
mweststrate
published 5.4.1 •

Changelog

Source

5.4.1

mweststrate
published 5.4.0 •

Changelog

Source

5.4.0

Introduced computedFn, to support using arbitrary functions as computed! Implements #184 through #190

mweststrate
published 5.3.0 •

Changelog

Source

5.3.0

  • Observable getters defined on prototype are now included in the view model. Fixes #100 through #188 by wrench7
mweststrate
published 5.2.0 •

Changelog

Source

5.2.0

  • createViewModel now has an additional field changedValues on the returned viewmodel, that returns a map with all the pending changes. See #172 by @ItamarShDev. Fixes #171 and #173
  • fromPromise().case: if the onFulfilled handler is omitted, case will now return the resolved value, rather than undefined. See #167 by @JefHellemans
  • createViewModel will now respect the enumerability of properties. See #169 by dr0p
mweststrate
published 5.1.0 •

Changelog

Source

5.1.0

  • fromPromise now accepts a second argument, a previous obsevable promise, that can be used to temporarily show old values until the new promise has resolved. See #160 by @ItamarShDev
  • createTransformer can now also memoize on function arguments, see #159 by @hc-12
mweststrate
published 5.0.4 •

Changelog

Source

5.0.4

  • Fixed #158, deepObserve not being published
mweststrate
published 5.0.3 •

Changelog

Source

5.0.3

  • Introduced deepObserve utility, through #154
mweststrate
published 5.0.2 •

Changelog

Source

5.0.2

  • Improved typings of toStream, by @pelotom through #147
  • Improved typings of fromStream, IStreamListener is now an explicit interface. Fixes #143
mweststrate
published 5.0.1 •

Changelog

Source

5.0.1

  • Add sideEffects: false field in package.json to enable maximal tree shaking for webpack.
  • Fixed #134, prevent primitive key id collisions in createTransformer
  • Fixed typing issue where the .value field is not available without having a type assertion of the state first
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc