@ngrx/effects
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
@@ -45,3 +45,2 @@ "use strict"; | ||
}; | ||
/** @nocollapse */ | ||
Actions.decorators = [ | ||
@@ -48,0 +47,0 @@ { type: core_1.Injectable }, |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"afterBootstrapEffects":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ngrx:effects: Bootstrap Effects"]},"runAfterBootstrapEffects":{"__symbolic":"function","parameters":["injector","subscription"],"value":{"__symbolic":"error","message":"Function call not supported","line":7,"character":8}}}} | ||
{"__symbolic":"module","version":1,"metadata":{"afterBootstrapEffects":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ngrx:effects: Bootstrap Effects"]},"runAfterBootstrapEffects":{"__symbolic":"function","parameters":["injector","subscription"],"value":{"__symbolic":"error","message":"Function call not supported","line":7,"character":9}}}} |
@@ -28,7 +28,6 @@ "use strict"; | ||
EffectsSubscription.prototype.ngOnDestroy = function () { | ||
if (!this.isUnsubscribed) { | ||
if (!this.closed) { | ||
this.unsubscribe(); | ||
} | ||
}; | ||
/** @nocollapse */ | ||
EffectsSubscription.decorators = [ | ||
@@ -35,0 +34,0 @@ { type: core_1.Injectable }, |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"Effect":{"__symbolic":"function","parameters":["dispatch"],"value":{"__symbolic":"error","message":"Function call not supported","line":13,"character":8},"defaults":[{"dispatch":true}]}}} | ||
{"__symbolic":"module","version":1,"metadata":{"Effect":{"__symbolic":"function","parameters":["dispatch"],"value":{"__symbolic":"error","message":"Function call not supported","line":13,"character":9},"defaults":[{"dispatch":true}]}}} |
@@ -42,3 +42,2 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
}; | ||
/** @nocollapse */ | ||
Actions.decorators = [ | ||
@@ -45,0 +44,0 @@ { type: Injectable }, |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"afterBootstrapEffects":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ngrx:effects: Bootstrap Effects"]},"runAfterBootstrapEffects":{"__symbolic":"function","parameters":["injector","subscription"],"value":{"__symbolic":"error","message":"Function call not supported","line":7,"character":8}}}} | ||
{"__symbolic":"module","version":1,"metadata":{"afterBootstrapEffects":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"OpaqueToken"},"arguments":["ngrx:effects: Bootstrap Effects"]},"runAfterBootstrapEffects":{"__symbolic":"function","parameters":["injector","subscription"],"value":{"__symbolic":"error","message":"Function call not supported","line":7,"character":9}}}} |
@@ -27,7 +27,6 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
EffectsSubscription.prototype.ngOnDestroy = function () { | ||
if (!this.isUnsubscribed) { | ||
if (!this.closed) { | ||
this.unsubscribe(); | ||
} | ||
}; | ||
/** @nocollapse */ | ||
EffectsSubscription.decorators = [ | ||
@@ -34,0 +33,0 @@ { type: Injectable }, |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":1,"metadata":{"Effect":{"__symbolic":"function","parameters":["dispatch"],"value":{"__symbolic":"error","message":"Function call not supported","line":13,"character":8},"defaults":[{"dispatch":true}]}}} | ||
{"__symbolic":"module","version":1,"metadata":{"Effect":{"__symbolic":"function","parameters":["dispatch"],"value":{"__symbolic":"error","message":"Function call not supported","line":13,"character":9},"defaults":[{"dispatch":true}]}}} |
import { Type, OpaqueToken } from '@angular/core'; | ||
export declare class EffectsModule { | ||
static run(type: Type): { | ||
static run(type: Type<any>): { | ||
ngModule: typeof EffectsModule; | ||
providers: (Type | { | ||
providers: (Type<any> | { | ||
provide: OpaqueToken; | ||
useExisting: Type; | ||
useExisting: Type<any>; | ||
multi: boolean; | ||
})[]; | ||
}; | ||
static runAfterBootstrap(type: Type): { | ||
static runAfterBootstrap(type: Type<any>): { | ||
ngModule: typeof EffectsModule; | ||
providers: (Type | { | ||
providers: (Type<any> | { | ||
provide: OpaqueToken; | ||
useExisting: Type; | ||
useExisting: Type<any>; | ||
multi: boolean; | ||
@@ -17,0 +17,0 @@ })[]; |
@@ -27,3 +27,2 @@ import { NgModule, Injector, APP_BOOTSTRAP_LISTENER } from '@angular/core'; | ||
}; | ||
/** @nocollapse */ | ||
EffectsModule.decorators = [ | ||
@@ -43,3 +42,5 @@ { type: NgModule, args: [{ | ||
]; | ||
/** @nocollapse */ | ||
EffectsModule.ctorParameters = []; | ||
return EffectsModule; | ||
}()); |
import { Type, OpaqueToken } from '@angular/core'; | ||
export declare class EffectsModule { | ||
static run(type: Type): { | ||
static run(type: Type<any>): { | ||
ngModule: typeof EffectsModule; | ||
providers: (Type | { | ||
providers: (Type<any> | { | ||
provide: OpaqueToken; | ||
useExisting: Type; | ||
useExisting: Type<any>; | ||
multi: boolean; | ||
})[]; | ||
}; | ||
static runAfterBootstrap(type: Type): { | ||
static runAfterBootstrap(type: Type<any>): { | ||
ngModule: typeof EffectsModule; | ||
providers: (Type | { | ||
providers: (Type<any> | { | ||
provide: OpaqueToken; | ||
useExisting: Type; | ||
useExisting: Type<any>; | ||
multi: boolean; | ||
@@ -17,0 +17,0 @@ })[]; |
@@ -28,3 +28,2 @@ "use strict"; | ||
}; | ||
/** @nocollapse */ | ||
EffectsModule.decorators = [ | ||
@@ -44,4 +43,6 @@ { type: core_1.NgModule, args: [{ | ||
]; | ||
/** @nocollapse */ | ||
EffectsModule.ctorParameters = []; | ||
return EffectsModule; | ||
}()); | ||
exports.EffectsModule = EffectsModule; |
{ | ||
"name": "@ngrx/effects", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"description": "Side effect model for @ngrx/store", | ||
@@ -15,11 +15,10 @@ "main": "index.js", | ||
"lint:spec": "tslint spec/**.ts", | ||
"typings": "typings install", | ||
"clean": "rimraf ./release", | ||
"prebuild": "npm-run-all clean karma", | ||
"build": "npm-run-all build:*", | ||
"build:cjs": "ngc", | ||
"build:cjs": "ngc -p tsconfig.cjs.json", | ||
"build:esm": "ngc -p tsconfig.es2015.json", | ||
"build:ts": "cpy src/*.ts release/src", | ||
"prepare": "cpy ./{package.json,README.md,CHANGELOG.md,LICENSE} ./release", | ||
"test": "npm-run-all clean typings karma", | ||
"test": "npm-run-all clean karma", | ||
"karma": "karma start --single-run", | ||
@@ -37,3 +36,3 @@ "karma:watch": "karma start", | ||
"peerDependencies": { | ||
"rxjs": "5.0.0-beta.6", | ||
"rxjs": "^5.0.0-beta.11", | ||
"@angular/core": "^2.0.0-rc.5", | ||
@@ -45,3 +44,3 @@ "@ngrx/store": "^2.0.0" | ||
"@angular/compiler": "^2.0.0-rc.1", | ||
"@angular/compiler-cli": "^0.5.0", | ||
"@angular/compiler-cli": "^0.6.0", | ||
"@angular/core": "^2.0.0-rc.1", | ||
@@ -51,4 +50,6 @@ "@angular/platform-browser": "^2.0.0-rc.1", | ||
"@angular/platform-server": "^2.0.0-rc.5", | ||
"@ngrx/core": "^1.0.0", | ||
"@ngrx/core": "^1.1.0", | ||
"@types/jasmine": "^2.2.31", | ||
"@types/node": "^6.0.38", | ||
"awesome-typescript-loader": "^2.2.1", | ||
"conventional-changelog-cli": "^1.1.1", | ||
@@ -68,10 +69,10 @@ "core-js": "^2.2.2", | ||
"reflect-metadata": "^0.1.3", | ||
"rxjs": "5.0.0-beta.6", | ||
"rxjs": "^5.0.0-beta.11", | ||
"source-map-loader": "^0.1.5", | ||
"ts-loader": "^0.8.1", | ||
"tslint": "^3.6.0", | ||
"typescript": "^2.0.0", | ||
"webpack": "^1.12.14", | ||
"typescript": "^2.0.2", | ||
"webpack": "^2.1.0-beta.21", | ||
"zone.js": "^0.6.8" | ||
} | ||
} |
@@ -32,3 +32,3 @@ import { OpaqueToken, Inject, Optional, Injectable, OnDestroy } from '@angular/core'; | ||
ngOnDestroy() { | ||
if (!this.isUnsubscribed) { | ||
if (!this.closed) { | ||
this.unsubscribe(); | ||
@@ -35,0 +35,0 @@ } |
@@ -20,3 +20,3 @@ import { NgModule, Injector, Type, APP_BOOTSTRAP_LISTENER, OpaqueToken } from '@angular/core'; | ||
export class EffectsModule { | ||
static run(type: Type) { | ||
static run(type: Type<any>) { | ||
return { | ||
@@ -32,3 +32,3 @@ ngModule: EffectsModule, | ||
static runAfterBootstrap(type: Type) { | ||
static runAfterBootstrap(type: Type<any>) { | ||
return { | ||
@@ -35,0 +35,0 @@ ngModule: EffectsModule, |
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
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
39321
32
643