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

@ngrx/effects

Package Overview
Dependencies
Maintainers
3
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/effects - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

5

esm/ng2.d.ts
import { StateUpdates } from './state-updates';
import { Store, Dispatcher } from "@ngrx/store";
import { Store } from "@ngrx/store";
export declare const BOOTSTRAP_EFFECTS: String;

@@ -13,4 +13,3 @@ export declare function runEffects(...effects: any[]): any[];

provide: typeof StateUpdates;
deps: (typeof Dispatcher | typeof Store)[];
useFactory(dispatcher: Dispatcher, store: Store<any>): StateUpdates<any>;
useClass: typeof StateUpdates;
};

7

esm/ng2.js

@@ -5,3 +5,3 @@ import { APP_INITIALIZER } from '@angular/core';

import { StateUpdates } from './state-updates';
import { Store, Dispatcher } from "@ngrx/store";
import { Store } from "@ngrx/store";
export const BOOTSTRAP_EFFECTS = new String('@ngrx/effects Bootstrap Effects');

@@ -26,6 +26,3 @@ export function runEffects(...effects) {

provide: StateUpdates,
deps: [Dispatcher, Store],
useFactory(dispatcher, store) {
return new StateUpdates(dispatcher, store);
}
useClass: StateUpdates
};

@@ -32,0 +29,0 @@ function createDynamicProvider(effectClass) {

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

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 { withLatestFrom } from 'rxjs/operator/withLatestFrom';
import { filter } from 'rxjs/operator/filter';
import { ReplaySubject } from 'rxjs/ReplaySubject';
export class StateUpdates extends ReplaySubject {
import { Dispatcher, State } from '@ngrx/store';
import { Injectable } from '@angular/core';
export let StateUpdates = class StateUpdates extends ReplaySubject {
constructor(actions$, state$) {

@@ -19,2 +30,6 @@ super(1);

}
}
};
StateUpdates = __decorate([
Injectable(),
__metadata('design:paramtypes', [Dispatcher, State])
], StateUpdates);
import { StateUpdates } from './state-updates';
import { Store, Dispatcher } from "@ngrx/store";
import { Store } from "@ngrx/store";
export declare const BOOTSTRAP_EFFECTS: String;

@@ -13,4 +13,3 @@ export declare function runEffects(...effects: any[]): any[];

provide: typeof StateUpdates;
deps: (typeof Dispatcher | typeof Store)[];
useFactory(dispatcher: Dispatcher, store: Store<any>): StateUpdates<any>;
useClass: typeof StateUpdates;
};

@@ -29,6 +29,3 @@ "use strict";

provide: state_updates_1.StateUpdates,
deps: [store_1.Dispatcher, store_1.Store],
useFactory: function (dispatcher, store) {
return new state_updates_1.StateUpdates(dispatcher, store);
}
useClass: state_updates_1.StateUpdates
};

@@ -35,0 +32,0 @@ function createDynamicProvider(effectClass) {

{
"name": "@ngrx/effects",
"version": "1.1.0",
"version": "1.1.1",
"description": "Side effect model for @ngrx/store",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -7,5 +7,16 @@ "use strict";

};
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 withLatestFrom_1 = require('rxjs/operator/withLatestFrom');
var filter_1 = require('rxjs/operator/filter');
var ReplaySubject_1 = require('rxjs/ReplaySubject');
var store_1 = require('@ngrx/store');
var core_1 = require('@angular/core');
var StateUpdates = (function (_super) {

@@ -36,4 +47,8 @@ __extends(StateUpdates, _super);

};
StateUpdates = __decorate([
core_1.Injectable(),
__metadata('design:paramtypes', [store_1.Dispatcher, store_1.State])
], StateUpdates);
return StateUpdates;
}(ReplaySubject_1.ReplaySubject));
exports.StateUpdates = StateUpdates;
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