Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobx-rest

Package Overview
Dependencies
Maintainers
3
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-rest - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

4

CHANGELOG.md
# Changelog
## `5.0.3`
- Fixes another edge case when passing a model to `collection.set`
## `5.0.2`

@@ -4,0 +8,0 @@

5

lib/index.js

@@ -822,4 +822,5 @@ 'use strict';

var model = id ? _this.get(id) : null;
if (model && change)
model.set(resource);
if (model && change) {
model.set(resource instanceof Model ? resource.toJS() : resource);
}
if (!model && add)

@@ -826,0 +827,0 @@ _this.add([resource]);

{
"name": "mobx-rest",
"version": "5.0.2",
"version": "5.0.3",
"description": "REST conventions for mobx.",

@@ -5,0 +5,0 @@ "jest": {

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