Huge News!Announcing our $40M Series B led by Abstract Ventures.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.67.1

Diff

Changelog

Source

0.67.1

  • Improved model creation time by around 25% when using mobx 6 for models without mobx decorators.
xaviergonz
published 0.67.1-alpha.1 •

xaviergonz
published 0.67.0 •

Changelog

Source

0.67.0

  • Big speedup in certain cases (when many mutations are done between getSnapshot calls) by delaying the immutable object creation to the point when getSnapshot is called.
  • Fixed typing issue related to generics with optional props.
xaviergonz
published 0.67.0-alpha.1 •

xaviergonz
published 0.66.1 •

Changelog

Source

0.66.1

  • Fixed typing issue related to generics.
xaviergonz
published 0.66.0 •

Changelog

Source

0.66.0

  • Restored compatibility with mobx 4/5 and added CI tests to ensure it never gets broken again.
  • Added @computedTree decorator for reactively deriving an alternative view of an original tree that is attached as a property to the original tree to support tree traversal functions, contexts, references, etc. (see "Computed Trees" section in the docs).
xaviergonz
published 0.65.0 •

Changelog

Source

0.65.0

  • Fixed a Maximum call stack size exceeded getting triggered when onAttachedToRootStore was defined and many nodes were added at once.
  • Added property transform stringToBigIntTransform.
  • Added action serialization for non-JSON primitive values undefined, bigint and special number values NaN/+Infinity/-Infinity.
xaviergonz
published 0.64.1 •

Changelog

Source

0.64.1

  • Fixed a typing issue related to models that use generics at multiple levels.
xaviergonz
published 0.64.0 •

Changelog

Source

0.64.0

  • [BREAKING CHANGE] types.ref now takes as an argument the reference constructor it needs to check for.
  • When tProp is used instead of prop then $modelType won't be needed in input model snapshot for that particular property. As a side effect, $modelType is now marked as optional in types. Note that for this to work for a root model instead of a sub-property you will need to use the new fromSnapshot overload that takes a type as first argument. For untyped compatibility reasons, getSnapshot will still return $modelType even for typed models.
  • Added withSnapshotProcessor to class model properties.
  • Model classes can now be directly used as types instead of having to wrap them inside types.model(...) (except in recursive / self-recursive cases).
  • Simplified some typings to make them faster.
xaviergonz
published 0.63.2 •

Changelog

Source

0.63.2

  • Fixed a typing issue that would type $modelId as string | undefined. Now it will be typed as string when there is an idProp and never when there is not.
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