Socket
Socket
Sign inDemoInstall

mobx-utils

Package Overview
Dependencies
Maintainers
4
Versions
58
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.4.1

Diff

Changelog

Source

5.4.1

  • Fixed cannot read property enumerable of undefined error, #191 through #198 by @dr0p
  • Improved typings of createViewModel trough #195 by @jordansexton
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
mweststrate
published 5.0.0 •

Changelog

Source

5.0.0

  • Added MobX 5 compatibility. The package is also compatible with MobX 4.3.1+.
  • createViewModel now also copies computed properties to the view Model. Implements [#100].(https://github.com/mobxjs/mobx-utils/issues/100). Implemented through #126 by @RafalFilipek.
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