mobx-angular
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -0,2 +1,8 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./mobx-autorun.directive"; | ||
import * as i2 from "./mobx-reaction.directive"; | ||
export declare class MobxAngularModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<MobxAngularModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<MobxAngularModule, [typeof i1.MobxAutorunDirective, typeof i2.MobxReactionDirective], never, [typeof i1.MobxAutorunDirective, typeof i2.MobxReactionDirective]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<MobxAngularModule>; | ||
} |
import { ViewContainerRef, TemplateRef, OnInit, OnDestroy, EmbeddedViewRef } from '@angular/core'; | ||
import { IAutorunOptions } from 'mobx'; | ||
import * as i0 from "@angular/core"; | ||
export declare class MobxAutorunDirective implements OnInit, OnDestroy { | ||
@@ -17,2 +18,4 @@ protected templateRef: TemplateRef<any>; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<MobxAutorunDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<MobxAutorunDirective, "[mobxAutorun]", never, { "mobxAutorun": "mobxAutorun"; }, {}, never>; | ||
} |
import { ViewContainerRef, TemplateRef } from '@angular/core'; | ||
import { IReactionOptions } from 'mobx'; | ||
import { MobxAutorunDirective } from './mobx-autorun.directive'; | ||
import * as i0 from "@angular/core"; | ||
export declare class MobxReactionDirective extends MobxAutorunDirective { | ||
@@ -8,5 +9,7 @@ protected templateRef: TemplateRef<any>; | ||
mobxReaction: any; | ||
mobxReactionOptions: IReactionOptions; | ||
mobxReactionOptions: IReactionOptions<any, any>; | ||
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef); | ||
autoDetect(view: any): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<MobxReactionDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<MobxReactionDirective, "[mobxReaction]", never, { "mobxReaction": "mobxReaction"; "mobxReactionOptions": "mobxReactionOptions"; }, {}, never>; | ||
} |
import { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router'; | ||
import * as i0 from "@angular/core"; | ||
export declare class RouterStore { | ||
@@ -9,2 +10,4 @@ private router; | ||
private routeListener; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<RouterStore, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<RouterStore>; | ||
} |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="mobx-angular" /> | ||
export * from './public-api'; |
{ | ||
"name": "mobx-angular", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "Angular connector to MobX (2 and above)", | ||
@@ -34,9 +34,21 @@ "peerDependencies": { | ||
"homepage": "https://github.com/mobxjs/mobx-angular#readme", | ||
"main": "bundles/mobx-angular.umd.js", | ||
"module": "fesm2015/mobx-angular.js", | ||
"es2015": "fesm2015/mobx-angular.js", | ||
"esm2015": "esm2015/mobx-angular.js", | ||
"fesm2015": "fesm2015/mobx-angular.js", | ||
"module": "fesm2015/mobx-angular.mjs", | ||
"es2020": "fesm2020/mobx-angular.mjs", | ||
"esm2020": "esm2020/mobx-angular.mjs", | ||
"fesm2020": "fesm2020/mobx-angular.mjs", | ||
"fesm2015": "fesm2015/mobx-angular.mjs", | ||
"typings": "mobx-angular.d.ts", | ||
"metadata": "mobx-angular.metadata.json", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./mobx-angular.d.ts", | ||
"esm2020": "./esm2020/mobx-angular.mjs", | ||
"es2020": "./fesm2020/mobx-angular.mjs", | ||
"es2015": "./fesm2015/mobx-angular.mjs", | ||
"node": "./fesm2015/mobx-angular.mjs", | ||
"default": "./fesm2020/mobx-angular.mjs" | ||
} | ||
}, | ||
"sideEffects": false, | ||
@@ -46,2 +58,2 @@ "dependencies": { | ||
} | ||
} | ||
} |
@@ -0,0 +0,0 @@ import { action as mobxAction } from 'mobx'; |
@@ -0,0 +0,0 @@ # MobxAngular |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
879
0
70362
18
2