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

mobx-angular

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx-angular - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

<a name="1.7.0"></a>
# 1.7.0 (2017-09-03)
* Fixed MobX dependency
<a name="1.6.0"></a>

@@ -2,0 +6,0 @@ # 1.6.0 (2017-08-17)

43

dist/directives/mobx-autorun-sync.directive.js

@@ -1,19 +0,15 @@

var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { Directive, ViewContainerRef, TemplateRef, Renderer } from '@angular/core';
import { autorun } from 'mobx';
import { MobxAutorunDirective } from './mobx-autorun.directive';
var MobxAutorunSyncDirective = (function (_super) {
var MobxAutorunSyncDirective = /** @class */ (function (_super) {
__extends(MobxAutorunSyncDirective, _super);

@@ -33,11 +29,14 @@ function MobxAutorunSyncDirective(templateRef, viewContainer, renderer) {

};
MobxAutorunSyncDirective.decorators = [
{ type: Directive, args: [{ selector: '[mobxAutorunSync]' },] },
];
/** @nocollapse */
MobxAutorunSyncDirective.ctorParameters = function () { return [
{ type: TemplateRef, },
{ type: ViewContainerRef, },
{ type: Renderer, },
]; };
return MobxAutorunSyncDirective;
}(MobxAutorunDirective));
MobxAutorunSyncDirective = __decorate([
Directive({ selector: '[mobxAutorunSync]' }),
__metadata("design:paramtypes", [TemplateRef,
ViewContainerRef,
Renderer])
], MobxAutorunSyncDirective);
export { MobxAutorunSyncDirective };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ieC1hdXRvcnVuLXN5bmMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbGliL2RpcmVjdGl2ZXMvbW9ieC1hdXRvcnVuLXN5bmMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxXQUFXLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25GLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDL0IsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFHOUQsSUFBYSx3QkFBd0I7SUFBUyw0Q0FBb0I7SUFDaEUsa0NBQ1ksV0FBNkIsRUFDN0IsYUFBK0IsRUFDL0IsUUFBa0I7UUFIOUIsWUFHaUMsa0JBQU0sV0FBVyxFQUFFLGFBQWEsRUFBRSxRQUFRLENB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W1ldGVyczogKCkgPT4gKHt0eXBlOiBhbnksIGRlY29yYXRvcnM/OiBEZWNvcmF0b3JJbnZvY2F0aW9uW119fG51bGwpW10gPSAoKSA9PiBbXG57dHlwZTogVGVtcGxhdGVSZWYsIH0sXG57dHlwZTogVmlld0NvbnRhaW5lclJlZiwgfSxcbnt0eXBlOiBSZW5kZXJlciwgfSxcbl07XG59XG5cbmludGVyZmFjZSBEZWNvcmF0b3JJbnZvY2F0aW9uIHtcbiAgdHlwZTogRnVuY3Rpb247XG4gIGFyZ3M/OiBhbnlbXTtcbn1cbiJdfQ==

@@ -1,14 +0,5 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, ViewContainerRef, TemplateRef, Renderer } from '@angular/core';
import { autorun } from 'mobx';
import { mobxAngularDebug } from '../utils/mobx-angular-debug';
var MobxAutorunDirective = (function () {
var MobxAutorunDirective = /** @class */ (function () {
function MobxAutorunDirective(templateRef, viewContainer, renderer) {

@@ -37,11 +28,14 @@ this.templateRef = templateRef;

};
MobxAutorunDirective.decorators = [
{ type: Directive, args: [{ selector: '[mobxAutorun]' },] },
];
/** @nocollapse */
MobxAutorunDirective.ctorParameters = function () { return [
{ type: TemplateRef, },
{ type: ViewContainerRef, },
{ type: Renderer, },
]; };
return MobxAutorunDirective;
}());
MobxAutorunDirective = __decorate([
Directive({ selector: '[mobxAutorun]' }),
__metadata("design:paramtypes", [TemplateRef,
View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1xueyB0eXBlOiBEaXJlY3RpdmUsIGFyZ3M6IFt7IHNlbGVjdG9yOiAnW21vYnhBdXRvcnVuXScgfSwgXSB9LFxuXTtcbi8qKiBAbm9jb2xsYXBzZSAqL1xuc3RhdGljIGN0b3JQYXJhbWV0ZXJzOiAoKSA9PiAoe3R5cGU6IGFueSwgZGVjb3JhdG9ycz86IERlY29yYXRvckludm9jYXRpb25bXX18bnVsbClbXSA9ICgpID0+IFtcbnt0eXBlOiBUZW1wbGF0ZVJlZiwgfSxcbnt0eXBlOiBWaWV3Q29udGFpbmVyUmVmLCB9LFxue3R5cGU6IFJlbmRlcmVyLCB9LFxuXTtcbn1cblxuaW50ZXJmYWNlIERlY29yYXRvckludm9jYXRpb24ge1xuICB0eXBlOiBGdW5jdGlvbjtcbiAgYXJncz86IGFueVtdO1xufVxuIl19

@@ -1,19 +0,15 @@

var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import { Directive, ViewContainerRef, TemplateRef, Input, Renderer } from '@angular/core';
import { reaction } from 'mobx';
import { MobxAutorunDirective } from './mobx-autorun.directive';
var MobxReactionDirective = (function (_super) {
var MobxReactionDirective = /** @class */ (function (_super) {
__extends(MobxReactionDirective, _super);

@@ -32,15 +28,17 @@ function MobxReactionDirective(templateRef, viewContainer, renderer) {

};
MobxReactionDirective.decorators = [
{ type: Directive, args: [{ selector: '[mobxReaction]' },] },
];
/** @nocollapse */
MobxReactionDirective.ctorParameters = function () { return [
{ type: TemplateRef, },
{ type: ViewContainerRef, },
{ type: Renderer, },
]; };
MobxReactionDirective.propDecorators = {
'mobxReaction': [{ type: Input },],
};
return MobxReactionDirective;
}(MobxAutorunDirective));
__decorate([
Input(),
__metadata("design:type", Object)
], MobxReactionDirective.prototype, "mobxReaction", void 0);
MobxReactionDirective = __decorate([
Directive({ selector: '[mobxReaction]' }),
__metadata("design:paramtypes", [TemplateRef,
ViewContainerRef,
Renderer])
], MobxReactionDirective);
export { MobxReactionDirective };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ieC1yZWFjdGlvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9saWIvZGlyZWN0aXZlcy9tb2J4LXJlYWN0aW9uLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsZ0JBQWdCLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUYsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUNoQyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSwwQkFBMEI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IHRydWUgfSk7XG4gIH1cbnN0YXRpYyBkZWNvcmF0b3JzOiBEZWNvcmF0b3JJbnZvY2F0aW9uW10gPSBbXG57IHR5cGU6IERpcmVjdGl2ZSwgYXJnczogW3sgc2VsZWN0b3I6ICdbbW9ieFJlYWN0aW9uXScgfSwgXSB9LFxuXTtcbi8qKiBAbm9jb2xsYXBzZSAqL1xuc3RhdGljIGN0b3JQYXJhbWV0ZXJzOiAoKSA9PiAoe3R5cGU6IGFueSwgZGVjb3JhdG9ycz86IERlY29yYXRvckludm9jYXRpb25bXX18bnVsbClbXSA9ICgpID0+IFtcbnt0eXBlOiBUZW1wbGF0ZVJlZiwgfSxcbnt0eXBlOiBWaWV3Q29udGFpbmVyUmVmLCB9LFxue3R5cGU6IFJlbmRlcmVyLCB9LFxuXTtcbnN0YXRpYyBwcm9wRGVjb3JhdG9yczoge1trZXk6IHN0cmluZ106IERlY29yYXRvckludm9jYXRpb25bXX0gPSB7XG4nbW9ieFJlYWN0aW9uJzogW3sgdHlwZTogSW5wdXQgfSxdLFxufTtcbn1cblxuaW50ZXJmYWNlIERlY29yYXRvckludm9jYXRpb24ge1xuICB0eXBlOiBGdW5jdGlvbjtcbiAgYXJncz86IGFueVtdO1xufVxuIl19

@@ -1,7 +0,1 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';

@@ -16,15 +10,17 @@ import { MobxAutorunDirective } from './directives/mobx-autorun.directive';

var DIRECTIVES = [MobxAutorunDirective, MobxAutorunSyncDirective, MobxReactionDirective];
var MobxAngularModule = (function () {
var MobxAngularModule = /** @class */ (function () {
function MobxAngularModule() {
}
MobxAngularModule.decorators = [
{ type: NgModule, args: [{
declarations: DIRECTIVES.slice(),
exports: DIRECTIVES.slice(),
imports: [],
providers: []
},] },
];
/** @nocollapse */
MobxAngularModule.ctorParameters = function () { return []; };
return MobxAngularModule;
}());
MobxAngularModule = __decorate([
NgModule({
declarations: DIRECTIVES.slice(),
exports: DIRECTIVES.slice(),
imports: [],
providers: []
})
], MobxAngularModule);
export { MobxAngularModule };

@@ -52,2 +48,2 @@ export function action() {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ieC1hbmd1bGFyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vbGliL21vYngtYW5ndWxhci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLHFDQUFxQyxDQUFDO0FBQ3pFLE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLDBDQUEwQyxDQUFDO0FBQ2xGLE9BQU8sRUFBQyxxQkFBcUIsRUFBQyxNQUFNLHNDQUFzQyxDQUFDO0FBQzNFLE9BQU8sRUFBQyxNQUFNLElBQUksVUFBVSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQzFDLE9BQU8sRUFBQyxRQUFRLElBQUksWUFBWSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQzlDLE9BQU8sRUFBQyxVQUFVLElBQUksY0FBYyxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBRWxELE9BQU8sRUFDTCxvQkFBb0IsRUFDcEIsd0JBQXdCLEVBQ3hCLHFCQUFxQixFQUN0QixDQUFBO0FBRUQsSUFBTSxVQUFVLEdBQUcsQ0FBQyxvQkFBb0IsRUFBRSx3QkFBd0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uLmFyZ3MpIHtcbiAgcmV0dXJuIChtb2J4QWN0aW9uIGFzIGFueSkoLi4uYXJncyk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBjb21wdXRlZCguLi5hcmdzKSB7XG4gIHJldHVybiAobW9ieENvbXB1dGVkIGFzIGFueSkoLi4uYXJncyk7XG59XG5cbmV4cG9ydCBmdW5jdGlvbiBvYnNlcnZhYmxlKC4uLmFyZ3MpIHtcbiAgcmV0dXJuIChtb2J4T2JzZXJ2YWJsZSBhcyBhbnkpKC4uLmFyZ3MpO1xufVxuXG5pbnRlcmZhY2UgRGVjb3JhdG9ySW52b2NhdGlvbiB7XG4gIHR5cGU6IEZ1bmN0aW9uO1xuICBhcmdzPzogYW55W107XG59XG4iXX0=

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{"MobxAutorunDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},"MobxAutorunSyncDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},"MobxReactionDirective":{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"},"MobxAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"exports":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"imports":[],"providers":[]}]}]},"action":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"error","message":"Expression form not supported","line":29,"character":10}},"computed":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"error","message":"Expression form not supported","line":33,"character":10}},"observable":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"error","message":"Expression form not supported","line":37,"character":10}}}},{"__symbolic":"module","version":1,"metadata":{"MobxAutorunDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},"MobxAutorunSyncDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},"MobxReactionDirective":{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"},"MobxAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"exports":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"imports":[],"providers":[]}]}]},"action":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"error","message":"Expression form not supported","line":29,"character":10}},"computed":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"error","message":"Expression form not supported","line":33,"character":10}},"observable":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"error","message":"Expression form not supported","line":37,"character":10}}}}]
[{"__symbolic":"module","version":3,"metadata":{"MobxAutorunDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},"MobxAutorunSyncDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},"MobxReactionDirective":{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"},"MobxAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"exports":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"imports":[],"providers":[]}]}]},"action":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"mobx","name":"action"},"arguments":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"args"}}]}},"computed":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"mobx","name":"computed"},"arguments":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"args"}}]}},"observable":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"mobx","name":"observable"},"arguments":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"args"}}]}}}},{"__symbolic":"module","version":1,"metadata":{"MobxAutorunDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},"MobxAutorunSyncDirective":{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},"MobxReactionDirective":{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"},"MobxAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"exports":[{"__symbolic":"reference","module":"./directives/mobx-autorun.directive","name":"MobxAutorunDirective"},{"__symbolic":"reference","module":"./directives/mobx-autorun-sync.directive","name":"MobxAutorunSyncDirective"},{"__symbolic":"reference","module":"./directives/mobx-reaction.directive","name":"MobxReactionDirective"}],"imports":[],"providers":[]}]}]},"action":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"mobx","name":"action"},"arguments":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"args"}}]}},"computed":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"mobx","name":"computed"},"arguments":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"args"}}]}},"observable":{"__symbolic":"function","parameters":["args"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"mobx","name":"observable"},"arguments":[{"__symbolic":"spread","expression":{"__symbolic":"reference","name":"args"}}]}}}}]

@@ -274,12 +274,3 @@ (function (global, factory) {

var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
exports.MobxAutorunDirective = (function () {
var MobxAutorunDirective = /** @class */ (function () {
function MobxAutorunDirective(templateRef, viewContainer, renderer) {

@@ -308,26 +299,25 @@ this.templateRef = templateRef;

};
MobxAutorunDirective.decorators = [
{ type: _angular_core.Directive, args: [{ selector: '[mobxAutorun]' },] },
];
/** @nocollapse */
MobxAutorunDirective.ctorParameters = function () { return [
{ type: _angular_core.TemplateRef, },
{ type: _angular_core.ViewContainerRef, },
{ type: _angular_core.Renderer, },
]; };
return MobxAutorunDirective;
}());
exports.MobxAutorunDirective = __decorate$1([
_angular_core.Directive({ selector: '[mobxAutorun]' }),
__metadata("design:paramtypes", [_angular_core.TemplateRef,
_angular_core.ViewContainerRef,
_angular_core.Renderer])
], exports.MobxAutorunDirective);
var __extends = (undefined && undefined.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata$1 = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
exports.MobxAutorunSyncDirective = (function (_super) {
var __extends = (undefined && undefined.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var MobxAutorunSyncDirective = /** @class */ (function (_super) {
__extends(MobxAutorunSyncDirective, _super);

@@ -347,26 +337,25 @@ function MobxAutorunSyncDirective(templateRef, viewContainer, renderer) {

};
MobxAutorunSyncDirective.decorators = [
{ type: _angular_core.Directive, args: [{ selector: '[mobxAutorunSync]' },] },
];
/** @nocollapse */
MobxAutorunSyncDirective.ctorParameters = function () { return [
{ type: _angular_core.TemplateRef, },
{ type: _angular_core.ViewContainerRef, },
{ type: _angular_core.Renderer, },
]; };
return MobxAutorunSyncDirective;
}(exports.MobxAutorunDirective));
exports.MobxAutorunSyncDirective = __decorate$2([
_angular_core.Directive({ selector: '[mobxAutorunSync]' }),
__metadata$1("design:paramtypes", [_angular_core.TemplateRef,
_angular_core.ViewContainerRef,
_angular_core.Renderer])
], exports.MobxAutorunSyncDirective);
}(MobxAutorunDirective));
var __extends$1 = (undefined && undefined.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata$2 = (undefined && undefined.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
exports.MobxReactionDirective = (function (_super) {
var __extends$1 = (undefined && undefined.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var MobxReactionDirective = /** @class */ (function (_super) {
__extends$1(MobxReactionDirective, _super);

@@ -385,35 +374,33 @@ function MobxReactionDirective(templateRef, viewContainer, renderer) {

};
MobxReactionDirective.decorators = [
{ type: _angular_core.Directive, args: [{ selector: '[mobxReaction]' },] },
];
/** @nocollapse */
MobxReactionDirective.ctorParameters = function () { return [
{ type: _angular_core.TemplateRef, },
{ type: _angular_core.ViewContainerRef, },
{ type: _angular_core.Renderer, },
]; };
MobxReactionDirective.propDecorators = {
'mobxReaction': [{ type: _angular_core.Input },],
};
return MobxReactionDirective;
}(exports.MobxAutorunDirective));
__decorate$3([
_angular_core.Input(),
__metadata$2("design:type", Object)
], exports.MobxReactionDirective.prototype, "mobxReaction", void 0);
exports.MobxReactionDirective = __decorate$3([
_angular_core.Directive({ selector: '[mobxReaction]' }),
__metadata$2("design:paramtypes", [_angular_core.TemplateRef,
_angular_core.ViewContainerRef,
_angular_core.Renderer])
], exports.MobxReactionDirective);
}(MobxAutorunDirective));
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var DIRECTIVES = [exports.MobxAutorunDirective, exports.MobxAutorunSyncDirective, exports.MobxReactionDirective];
exports.MobxAngularModule = (function () {
var DIRECTIVES = [MobxAutorunDirective, MobxAutorunSyncDirective, MobxReactionDirective];
var MobxAngularModule = /** @class */ (function () {
function MobxAngularModule() {
}
MobxAngularModule.decorators = [
{ type: _angular_core.NgModule, args: [{
declarations: DIRECTIVES.slice(),
exports: DIRECTIVES.slice(),
imports: [],
providers: []
},] },
];
/** @nocollapse */
MobxAngularModule.ctorParameters = function () { return []; };
return MobxAngularModule;
}());
exports.MobxAngularModule = __decorate([
_angular_core.NgModule({
declarations: DIRECTIVES.slice(),
exports: DIRECTIVES.slice(),
imports: [],
providers: []
})
], exports.MobxAngularModule);
function action$1() {

@@ -441,2 +428,6 @@ var args = [];

exports.MobxAutorunDirective = MobxAutorunDirective;
exports.MobxAutorunSyncDirective = MobxAutorunSyncDirective;
exports.MobxReactionDirective = MobxReactionDirective;
exports.MobxAngularModule = MobxAngularModule;
exports.action = action$1;

@@ -443,0 +434,0 @@ exports.computed = computed$1;

@@ -268,2 +268,2 @@ /* tslint:disable:max-line-length */

})();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ieC1hbmd1bGFyLWRlYnVnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbGliL3V0aWxzL21vYngtYW5ndWxhci1kZWJ1Zy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvQ0FBb0M7QUFDcEMsK0JBQStCO0FBQy9CLE9BQU8sRUFBRSxNQUFNLEVBQUUsR0FBRyxFQUFFLGlCQUFpQixFQUFFLGtCQUFrQixFQUFFLE1BQU0sTUFBTSxDQUFDO0FBRTFFLHNDQUFzQztBQUN0QyxNQUFNLENBQUMsSUFBTSxnQkFBZ0IsR0FBRyxDQUFDO0lBQy9CLEVBQUUsQ0FBQyxDQUFDLE9BQU8sWUFBWSxLQUFLLFdBQVcsSUFBSSxPQUFPLE9BQU8sS0FBSyxXQUFXLENBQUMsQ0FBQyxDQUFDO1FBQzFFLE1BQU0sQ0FBQztJQUNULENBQUM7SUFDRCxNQUFNLENBQUMsa0JB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uub2JqZWN0KSk7XG4gICAgICAgICAgICAgICAgICAvLyBkaXIoe1xuICAgICAgICAgICAgICAgICAgLy8gICAgIGZuOiBjaGFuZ2UuZm5cbiAgICAgICAgICAgICAgICAgIC8vIH0pO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdjb21wdXRlJzpcbiAgICAgICAgICAgICAgICAgIC8vIG9iamVjdCwgdGFyZ2V0LCBmblxuICAgICAgICAgICAgICAgICAgZ3JvdXAoYCVjY29tcHV0ZWQgJyVzJyAlc2AsICdjb2xvcjojMTBhMjEwJywgb2JzZXJ2YWJsZU5hbWUoY2hhbmdlLm9iamVjdCksIGF1dG9XcmFwKCcoJywgZ2V0TmFtZUZvclRoaXMoY2hhbmdlLnRhcmdldCkpKTtcbiAgICAgICAgICAgICAgICAgIC8vIGRpcih7XG4gICAgICAgICAgICAgICAgICAvLyAgICBmbjogY2hhbmdlLmZuLFxuICAgICAgICAgICAgICAgICAgLy8gICAgdGFyZ2V0OiBjaGFuZ2UudGFyZ2V0XG4gICAgICAgICAgICAgICAgICAvLyB9KTtcbiAgICAgICAgICAgICAgICAgIGdyb3VwRW5kKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnZXJyb3InOlxuICAgICAgICAgICAgICAgICAgLy8gbWVzc2FnZVxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgnJWNlcnJvcjogJXMnLCAnY29sb3I6dG9tYXRvJywgY2hhbmdlLm1lc3NhZ2UpO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGNsb3NlR3JvdXBzT25FcnJvcigpO1xuICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGNhc2UgJ3VwZGF0ZSc6XG4gICAgICAgICAgICAgICAgICAvLyAoYXJyYXkpIG9iamVjdCwgaW5k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dWUpKTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgIGRpcih7XG4gICAgICAgICAgICAgICAgICAgICAgbmV3VmFsdWU6IGNoYW5nZS5uZXdWYWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgICBvbGRWYWx1ZTogY2hhbmdlLm9sZFZhbHVlXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIHRyYWNlKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnc3BsaWNlJzpcbiAgICAgICAgICAgICAgICAgIC8vIChhcnJheSkgb2JqZWN0LCBpbmRleCwgYWRkZWQsIHJlbW92ZWQsIGFkZGVkQ291bnQsIHJlbW92ZWRDb3VudFxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgnc3BsaWNlZCBcXCclc1xcJzogaW5kZXggJWQsIGFkZGVkICVkLCByZW1vdmVkICVkJywgb2JzZXJ2YWJsZU5hbWUoY2hhbmdlLm9iamVjdCksIGNoYW5nZS5pbmRleCwgY2hhbmdlLmFkZGVkQ291bnQsIGNoYW5nZS5yZW1vdmVkQ291bnQpO1xuICAgICAgICAgICAgICAgICAgZGlyKHtcbiAgICAgICAgICAgICAgICAgICAgICBhZGRlZDogY2hhbmdlLmFkZGVkLFxuICAgICAgICAgICAgICAgICAgICAgIHJlbW92ZWQ6IGNoYW5nZS5yZW1vdmVkXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIHRyYWNlKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnYWRkJzpcbiAgICAgICAgICAgICAgICAgIC8vIChtYXAsIG9iamVjdCkgb2JqZWN0LCBuYW1lLCBuZXdWYWx1ZVxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgnc2V0IFxcJyVzLiVzXFwnOiAlcycsIG9ic2VydmFibGVOYW1lKGNoYW5nZS5vYmplY3QpLCBjaGFuZ2UubmFtZSwgZm9ybWF0VmFsdWUoY2hhbmdlLm5ld1ZhbHVlKSk7XG4gICAgICAgICAgICAgICAgICBkaXIoe1xuICAgICAgICAgICAgICAgICAgICAgIG5ld1ZhbHVlOiBjaGFuZ2UubmV3VmFsdWVcbiAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdkZWxldGUnOlxuICAgICAgICAgICAgICAgICAgLy8gKG1hcCkgb2JqZWN0LCBuYW1lLCBvbGRWYWx1ZVxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgncmVtb3ZlZCBcXCclcy4lc1xcJyAod2FzICVzKScsIG9ic2VydmFibGVOYW1lKGNoYW5nZS5vYmplY3QpLCBjaGFuZ2UubmFtZSwgZm9ybWF0VmFsdWUoY2hhbmdlLm9sZFZhbHVlKSk7XG4gICAgICAgICAgICAgICAgICBkaXIoe1xuICAgICAgICAgICAgICAgICAgICAgIG9sZFZhbHVlOiBjaGFuZ2Uub2xkVmFsdWVcbiAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdjcmVhdGUnOlxuICAgICAgICAgICAgICAgICAgLy8gKHZhbHVlKSBvYmplY3QsIG5ld1ZhbHVlXG4gICAgICAgICAgICAgICAgICBsb2dOZXh0KCdzZXQgXFwnJXNcXCc6ICVzJywgb2JzZXJ2YWJsZU5hbWUoY2hhbmdlLm9iamVjdCksIGZvcm1hdFZhbHVlKGNoYW5nZS5uZXdWYWx1ZSkpO1xuICAgICAgICAgICAgICAgICAgZGlyKHtcbiAgICAgICAgICAgICAgICAgICAgICBuZXdWYWx1ZTogY2hhbmdlLm5ld1ZhbHVlXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIC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W1lRm9yVGhpcyhjaGFuZ2UudGFyZ2V0KSkpO1xuICAgICAgICAgICAgICAgICAgbG9nKGNoYW5nZS5hcmd1bWVudHMpO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICd0cmFuc2FjdGlvbic6XG4gICAgICAgICAgICAgICAgICAvLyBuYW1lLCB0YXJnZXRcbiAgICAgICAgICAgICAgICAgIGxvZ05leHQoYCVjdHJhbnNhY3Rpb24gJyVzJyAlc2AsICdjb2xvcjpncmF5JywgY2hhbmdlLm5hbWUsIGF1dG9XcmFwKCcoJywgZ2V0TmFtZUZvclRoaXMoY2hhbmdlLnRhcmdldCkpKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdzY2hlZHVsZWQtcmVhY3Rpb24nOlxuICAgICAgICAgICAgICAgICAgLy8gb2JqZWN0XG4gICAgICAgICAgICAgICAgICBsb2dOZXh0KGAlY3NjaGVkdWxlZCBhc3luYyByZWFjdGlvbiAnJXMnYCwgJ2NvbG9yOiMxMGEyMTAnLCBvYnNlcnZhYmxlTmFtZShjaGFuZ2Uub2JqZWN0KSk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAncmVhY3Rpb24nOlxuICAgICAgICAgICAgICAgICAgLy8gb2JqZWN0LCBmblxuICAgICAgICAgICAgICAgICAgbG9nTmV4dChgJWNyZWFjdGlvbiAnJXMnYCwgJ2NvbG9yOiMxMGEyMTAnLCBvYnNlcnZhYmxlTmFtZShjaGFuZ2Uub2JqZWN0KSk7XG4gICAgICAgICAgICAgICAgICAvLyBkaXIoe1xuICAgICAgICAgICAgICAgICAgLy8gICAgIGZuOiBjaGFuZ2UuZm5cbiAgICAgICAgICAgICAgICAgIC8vIH0pO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdjb21wdXRlJzpcbiAgICAgICAgICAgICAgICAgIC8vIG9iamVjdCwgdGFyZ2V0LCBmblxuICAgICAgICAgICAgICAgICAgZ3JvdXAoYCVjY29tcHV0ZWQgJyVzJyAlc2AsICdjb2xvcjojMTBhMjEwJywgb2JzZXJ2YWJsZU5hbWUoY2hhbmdlLm9iamVjdCksIGF1dG9XcmFwKCcoJywgZ2V0TmFtZUZvclRoaXMoY2hhbmdlLnRhcmdldCkpKTtcbiAgICAgICAgICAgICAgICAgIC8vIGRpcih7XG4gICAgICAgICAgICAgICAgICAvLyAgICBmbjogY2hhbmdlLmZuLFxuICAgICAgICAgICAgICAgICAgLy8gICAgdGFyZ2V0OiBjaGFuZ2UudGFyZ2V0XG4gICAgICAgICAgICAgICAgICAvLyB9KTtcbiAgICAgICAgICAgICAgICAgIGdyb3VwRW5kKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnZXJyb3InOlxuICAgICAgICAgICAgICAgICAgLy8gbWVzc2FnZVxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgnJWNlcnJvcjogJXMnLCAnY29sb3I6dG9tYXRvJywgY2hhbmdlLm1lc3NhZ2UpO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGNsb3NlR3JvdXBzT25FcnJvcigpO1xuICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgIGNhc2UgJ3VwZGF0ZSc6XG4gICAgICAgICAgICAgICAgICAvLyAoYXJyYXkpIG9iamVjdCwgaW5kZXgsIG5ld1ZhbHVlLCBvbGRWYWx1ZVxuICAgICAgICAgICAgICAgICAgLy8gKG1hcCwgb2JiamVjdCkgb2JqZWN0LCBuYW1lLCBuZXdWYWx1ZSwgb2xkVmFsdWVcbiAgICAgICAgICAgICAgICAgIC8vICh2YWx1ZSkgb2JqZWN0LCBuZXdWYWx1Z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G4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIHRyYWNlKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnc3BsaWNlJzpcbiAgICAgICAgICAgICAgICAgIC8vIChhcnJheSkgb2JqZWN0LCBpbmRleCwgYWRkZWQsIHJlbW92ZWQsIGFkZGVkQ291bnQsIHJlbW92ZWRDb3VudFxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgnc3BsaWNlZCBcXCclc1xcJzogaW5kZXggJWQsIGFkZGVkICVkLCByZW1vdmVkICVkJywgb2JzZXJ2YWJsZU5hbWUoY2hhbmdlLm9iamVjdCksIGNoYW5nZS5pbmRleCwgY2hhbmdlLmFkZGVkQ291bnQsIGNoYW5nZS5yZW1vdmVkQ291bnQpO1xuICAgICAgICAgICAgICAgICAgZGlyKHtcbiAgICAgICAgICAgICAgICAgICAgICBhZGRlZDogY2hhbmdlLmFkZGVkLFxuICAgICAgICAgICAgICAgICAgICAgIHJlbW92ZWQ6IGNoYW5nZS5yZW1vdmVkXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIHRyYWNlKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgY2FzZSAnYWRkJzpcbiAgICAgICAgICAgICAgICAgIC8vIChtYXAsIG9iamVjdCkgb2JqZWN0LCBuYW1lLCBuZXdWYWx1ZVxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgnc2V0IFxcJyVzLiVzXFwnOiAlcycsIG9ic2VydmFibGVOYW1lKGNoYW5nZS5vYmplY3QpLCBjaGFuZ2UubmFtZSwgZm9ybWF0VmFsdWUoY2hhbmdlLm5ld1ZhbHVlKSk7XG4gICAgICAgICAgICAgICAgICBkaXIoe1xuICAgICAgICAgICAgICAgICAgICAgIG5ld1ZhbHVlOiBjaGFuZ2UubmV3VmFsdWVcbiAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdkZWxldGUnOlxuICAgICAgICAgICAgICAgICAgLy8gKG1hcCkgb2JqZWN0LCBuYW1lLCBvbGRWYWx1ZVxuICAgICAgICAgICAgICAgICAgbG9nTmV4dCgncmVtb3ZlZCBcXCclcy4lc1xcJyAod2FzICVzKScsIG9ic2VydmFibGVOYW1lKGNoYW5nZS5vYmplY3QpLCBjaGFuZ2UubmFtZSwgZm9ybWF0VmFsdWUoY2hhbmdlLm9sZFZhbHVlKSk7XG4gICAgICAgICAgICAgICAgICBkaXIoe1xuICAgICAgICAgICAgICAgICAgICAgIG9sZFZhbHVlOiBjaGFuZ2Uub2xkVmFsdWVcbiAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgdHJhY2UoKTtcbiAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICBjYXNlICdjcmVhdGUnOlxuICAgICAgICAgICAgICAgICAgLy8gKHZhbHVlKSBvYmplY3QsIG5ld1ZhbHVlXG4gICAgICAgICAgICAgICAgICBsb2dOZXh0KCdzZXQgXFwnJXNcXCc6ICVzJywgb2JzZXJ2YWJsZU5hbWUoY2hhbmdlLm9iamVjdCksIGZvcm1hdFZhbHVlKGNoYW5nZS5uZXdWYWx1ZSkpO1xuICAgICAgICAgICAgICAgICAgZGlyKHtcbiAgICAgICAgICAgICAgICAgICAgICBuZXdWYWx1ZTogY2hhbmdlLm5ld1ZhbHVlXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIHRyYWNlKCk7XG4gICAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICAgIC8vIGdlbmVyaWMgZmFsbGJhY2sgZm9yIGZ1dHVyZSBldmVudHNcbiAgICAgICAgICAgICAgICAgIGxvZ05leHQoY2hh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fVxuXG4gIHJldHVybiBtb2J4QW5ndWxhckRlYnVnO1xufSkoKTtcbiJdfQ==
{
"name": "mobx-angular",
"version": "1.6.0",
"version": "1.7.0",
"description": "Angular connector to MobX (2 and above)",

@@ -52,2 +52,3 @@ "jsnext:main": "dist/mobx-angular.js",

"@angular/platform-browser-dynamic": "^4.0.0",
"@types/core-js": "0.9.43",
"@types/jasmine": "2.5.37",

@@ -62,3 +63,3 @@ "angular-cli": "1.0.0-beta.19-3",

"karma-jasmine": "1.0.2",
"karma-typescript": "3.0.0-beta.2",
"karma-typescript": "^3.0.0",
"mobx": ">=2",

@@ -75,8 +76,5 @@ "rimraf": "2.5.4",

"peerDependencies": {
"mobx": ">2.7.0",
"mobx": ">=2",
"@angular/core": ">=2.3.0"
},
"dependencies": {
"mobx": "3.2.2"
}
}
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