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

mobx-rest

Package Overview
Dependencies
Maintainers
1
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 0.0.4 to 0.0.5

2

lib/Collection.js

@@ -313,3 +313,3 @@ 'use strict';

}
}), _applyDecoratedDescriptor(_class.prototype, 'ids', [_mobx.computed], Object.getOwnPropertyDescriptor(_class.prototype, 'ids'), _class.prototype)), _class);
}), _applyDecoratedDescriptor(_class.prototype, 'add', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'add'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'remove', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'remove'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'set', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'set'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'create', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'create'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'fetch', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'fetch'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'ids', [_mobx.computed], Object.getOwnPropertyDescriptor(_class.prototype, 'ids'), _class.prototype)), _class);
exports.default = Collection;

@@ -9,3 +9,3 @@ 'use strict';

var _desc, _value, _class, _descriptor, _descriptor2, _descriptor3;
var _desc, _value, _class, _descriptor, _descriptor2;

@@ -77,7 +77,5 @@ var _mobx = require('mobx');

_initDefineProp(this, 'attributes', _descriptor3, this);
this.uuid = _nodeUuid2.default.v4();
this.collection = collection;
this.set(attributes);
(0, _mobx.extendObservable)(this, { attributes: (0, _mobx.asMap)(attributes) });
}

@@ -190,8 +188,3 @@

initializer: null
}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, 'attributes', [_mobx.observable], {
enumerable: true,
initializer: function initializer() {
return {};
}
})), _class);
}), _applyDecoratedDescriptor(_class.prototype, 'set', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'set'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'save', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'save'), _class.prototype), _applyDecoratedDescriptor(_class.prototype, 'destroy', [action], Object.getOwnPropertyDescriptor(_class.prototype, 'destroy'), _class.prototype)), _class);
exports.default = Model;
{
"name": "mobx-rest",
"version": "0.0.4",
"version": "0.0.5",
"description": "REST conventions for mobx.",

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

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