New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mobx-keystone

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-keystone - npm Package Versions

1
20

0.45.3

Diff

Changelog

Source

0.45.3

  • Fix: onAttachedToRootStore will still be invoked after all model actions are finished (as it was before), but now before other user reactions are triggered.
xaviergonz
published 0.45.3-alpha.0 •

xaviergonz
published 0.45.2 •

Changelog

Source

0.45.2

  • Fix: allowUndefinedArrayElements now also applies to frozen data.
  • Optimized a bit the generated typings for extended models.
xaviergonz
published 0.45.1 •

Changelog

Source

0.45.1

  • Fixed a bug when calling an undo-able model action from a non undo-able parent model.
xaviergonz
published 0.45.0 •

Changelog

Source

0.45.0

  • Added allowUndefinedArrayElements global config option to allow arrays to take undefined elements.
xaviergonz
published 0.44.0 •

Changelog

Source

0.44.0

  • Added assertIsTreeNode, which asserts if an object is a tree node or throws otherwise.
xaviergonz
published 0.43.1 •

Changelog

Source

0.43.1

  • Fixed an issue with automatic setter actions not working when the model included computed properties.
xaviergonz
published 0.43.0 •

Changelog

Source

0.43.0

  • [BREAKING CHANGES]
    • applyCall has been renamed to applyMethodCall - consider using fnObject.call though.
    • arrayAsMap, ArrayAsMap were removed (see asMap for a replacement).
    • arrayAsSet, ArrayAsSet were removed (see asSet for a replacement).
    • objectAsMap, ObjectAsMap were removed (see asMap for a replacement).
  • Added asMap and asSet, which are similar to the old arrayAsMap, etc. except that they take the data object directly.
  • Added fnModel as a functional alternative to models that do not require $modelId or $modelType (see the relevant section on the docs for more info).
  • Added tag to be able to tag objects with extra data (useful for functional models for example).
  • Added fnObject and fnArray to be able to directly manipulate objects/arrays without the need of predefined model actions.
xaviergonz
published 0.42.1 •

Changelog

Source

0.42.1

  • Fixed issue with updated uuid dependency.
xaviergonz
published 0.42.0 •

Changelog

Source

0.42.0

  • Added the model property option setterAction so that it automatically implenents model prop setters wrapped in actions.
  • Added applySet, applyDelete, applyCall to be able manipulate data without the need to use modelAction.
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