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

@ng-vcl/store

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-vcl/store - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

8

actions.js

@@ -57,8 +57,8 @@ var __extends = (this && this.__extends) || (function () {

StoreActions.prototype.complete = function () { };
StoreActions = __decorate([
Injectable(),
__metadata("design:paramtypes", [])
], StoreActions);
return StoreActions;
}(Observable));
StoreActions = __decorate([
Injectable(),
__metadata("design:paramtypes", [])
], StoreActions);
export { StoreActions };

@@ -66,10 +66,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

};
Effects = __decorate([
Injectable(),
__param(1, Optional()),
__param(1, Inject(STORE_EFFECTS)),
__metadata("design:paramtypes", [Store, Array, Injector])
], Effects);
return Effects;
}());
Effects = __decorate([
Injectable(),
__param(1, Optional()),
__param(1, Inject(STORE_EFFECTS)),
__metadata("design:paramtypes", [Store, Array, Injector])
], Effects);
export { Effects };

@@ -32,3 +32,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

}
var StoreModule = StoreModule_1 = (function () {
var StoreModule = (function () {
function StoreModule(guard, store, initialReducers, effects) {

@@ -41,2 +41,3 @@ var reducers = initialReducers.map(function (reducer) { return createReducer(reducer); });

}
StoreModule_1 = StoreModule;
StoreModule.forRoot = function (config) {

@@ -106,11 +107,11 @@ if (config === void 0) { config = {}; }

};
StoreModule = StoreModule_1 = __decorate([
NgModule(),
__param(0, Optional()), __param(0, Inject(STORE_FORROOT_GUARD)),
__param(2, Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [Object, Store, Array, Effects])
], StoreModule);
return StoreModule;
var StoreModule_1;
}());
StoreModule = StoreModule_1 = __decorate([
NgModule(),
__param(0, Optional()), __param(0, Inject(STORE_FORROOT_GUARD)),
__param(2, Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [Object, Store, Array, Effects])
], StoreModule);
export { StoreModule };
var StoreModule_1;
import { Observable } from 'rxjs/Observable';
import { Operator } from 'rxjs/Operator';
import 'rxjs/add/operator/distinctUntilChanged';

@@ -13,3 +14,3 @@ import 'rxjs/add/operator/pluck';

} | string, ...paths: string[]): StoreObservable<U>;
lift(operator: any): StoreObservable<T>;
lift<R>(operator: Operator<T, R>): StoreObservable<R>;
}
{
"name": "@ng-vcl/store",
"version": "0.3.5",
"version": "0.3.6",
"description": "ng-vcl store",

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

@@ -12,9 +12,9 @@ import 'rxjs/add/operator/filter';

commands: any[];
extras: NavigationExtras;
constructor(commands: any[], extras?: NavigationExtras);
extras: NavigationExtras | undefined;
constructor(commands: any[], extras?: NavigationExtras | undefined);
}
export declare class RouterNavigateByUrlAction {
url: string | UrlTree;
extras: NavigationExtras;
constructor(url: string | UrlTree, extras?: NavigationExtras);
extras: NavigationExtras | undefined;
constructor(url: string | UrlTree, extras?: NavigationExtras | undefined);
}

@@ -21,0 +21,0 @@ export declare class RouterUrlUpdateAction {

@@ -71,16 +71,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

};
__decorate([
Effect(),
__metadata("design:type", Object)
], StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate([
Effect(),
__metadata("design:type", Object)
], StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
StoreRouterEffects = __decorate([
Injectable(),
__metadata("design:paramtypes", [Router, Store, StoreActions])
], StoreRouterEffects);
return StoreRouterEffects;
}());
__decorate([
Effect(),
__metadata("design:type", Object)
], StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate([
Effect(),
__metadata("design:type", Object)
], StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
StoreRouterEffects = __decorate([
Injectable(),
__metadata("design:paramtypes", [Router, Store, StoreActions])
], StoreRouterEffects);
export { StoreRouterEffects };

@@ -97,8 +97,8 @@ var StoreRouter = (function () {

};
StoreRouter = __decorate([
Injectable(),
__metadata("design:paramtypes", [Store])
], StoreRouter);
return StoreRouter;
}());
StoreRouter = __decorate([
Injectable(),
__metadata("design:paramtypes", [Store])
], StoreRouter);
export { StoreRouter };

@@ -105,0 +105,0 @@ export var routerReducer = combineReducers({

@@ -67,8 +67,8 @@ import { Inject, Injectable, Injector, NgModule, OpaqueToken, Optional, SkipSelf } from '@angular/core';

StoreActions.prototype.complete = function () { };
StoreActions = __decorate$2([
Injectable(),
__metadata$2("design:paramtypes", [])
], StoreActions);
return StoreActions;
}(Observable));
StoreActions = __decorate$2([
Injectable(),
__metadata$2("design:paramtypes", [])
], StoreActions);

@@ -293,9 +293,9 @@ var __extends$2 = (this && this.__extends) || (function () {

};
Store = __decorate$1([
Injectable(),
__param$1(1, Inject(STORE_INITIAL_STATE)),
__metadata$1("design:paramtypes", [StoreActions, Object])
], Store);
return Store;
}(Observable));
Store = __decorate$1([
Injectable(),
__param$1(1, Inject(STORE_INITIAL_STATE)),
__metadata$1("design:paramtypes", [StoreActions, Object])
], Store);

@@ -362,10 +362,10 @@ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {

};
Effects = __decorate$3([
Injectable(),
__param$2(1, Optional()),
__param$2(1, Inject(STORE_EFFECTS)),
__metadata$3("design:paramtypes", [Store, Array, Injector])
], Effects);
return Effects;
}());
Effects = __decorate$3([
Injectable(),
__param$2(1, Optional()),
__param$2(1, Inject(STORE_EFFECTS)),
__metadata$3("design:paramtypes", [Store, Array, Injector])
], Effects);

@@ -431,16 +431,16 @@ var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {

};
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
StoreRouterEffects = __decorate$4([
Injectable(),
__metadata$4("design:paramtypes", [Router, Store, StoreActions])
], StoreRouterEffects);
return StoreRouterEffects;
}());
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
StoreRouterEffects = __decorate$4([
Injectable(),
__metadata$4("design:paramtypes", [Router, Store, StoreActions])
], StoreRouterEffects);
var StoreRouter = (function () {

@@ -456,8 +456,8 @@ function StoreRouter(store) {

};
StoreRouter = __decorate$4([
Injectable(),
__metadata$4("design:paramtypes", [Store])
], StoreRouter);
return StoreRouter;
}());
StoreRouter = __decorate$4([
Injectable(),
__metadata$4("design:paramtypes", [Store])
], StoreRouter);
var routerReducer = combineReducers({

@@ -494,3 +494,3 @@ router: function (state, action) {

}
var StoreModule = StoreModule_1 = (function () {
var StoreModule = (function () {
function StoreModule(guard, store, initialReducers, effects) {

@@ -503,2 +503,3 @@ var reducers = initialReducers.map(function (reducer) { return createReducer(reducer); });

}
StoreModule_1 = StoreModule;
StoreModule.forRoot = function (config) {

@@ -568,12 +569,12 @@ if (config === void 0) { config = {}; }

};
StoreModule = StoreModule_1 = __decorate([
NgModule(),
__param(0, Optional()), __param(0, Inject(STORE_FORROOT_GUARD)),
__param(2, Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [Object, Store, Array, Effects])
], StoreModule);
return StoreModule;
var StoreModule_1;
}());
StoreModule = StoreModule_1 = __decorate([
NgModule(),
__param(0, Optional()), __param(0, Inject(STORE_FORROOT_GUARD)),
__param(2, Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [Object, Store, Array, Effects])
], StoreModule);
var StoreModule_1;
export { STORE_FORROOT_GUARD, provideForRootGuard, StoreModule, StoreActions, compose, reduceReducers, createReducer, combineReducers, STORE_EFFECTS, Effect, getEffectsMetadata, Effects, select, StoreObservable, STORE_INITIAL_REDUCERS, STORE_INITIAL_STATE, StoreInitAction, StoreErrorAction, ReducerInitAction, Store, initialRouterState, RouterNavigateAction, RouterNavigateByUrlAction, RouterUrlUpdateAction, StoreRouterEffects, StoreRouter, routerReducer };

@@ -26,3 +26,3 @@ (function (global, factory) {

};
exports.StoreActions = (function (_super) {
var StoreActions = (function (_super) {
__extends$1(StoreActions, _super);

@@ -60,8 +60,8 @@ function StoreActions() {

StoreActions.prototype.complete = function () { };
StoreActions = __decorate$2([
_angular_core.Injectable(),
__metadata$2("design:paramtypes", [])
], StoreActions);
return StoreActions;
}(rxjs_Observable.Observable));
exports.StoreActions = __decorate$2([
_angular_core.Injectable(),
__metadata$2("design:paramtypes", [])
], exports.StoreActions);

@@ -222,3 +222,3 @@ var __extends$2 = (this && this.__extends) || (function () {

}());
exports.Store = (function (_super) {
var Store = (function (_super) {
__extends(Store, _super);

@@ -287,9 +287,9 @@ function Store(actions$, initialState) {

};
Store = __decorate$1([
_angular_core.Injectable(),
__param$1(1, _angular_core.Inject(STORE_INITIAL_STATE)),
__metadata$1("design:paramtypes", [StoreActions, Object])
], Store);
return Store;
}(rxjs_Observable.Observable));
exports.Store = __decorate$1([
_angular_core.Injectable(),
__param$1(1, _angular_core.Inject(STORE_INITIAL_STATE)),
__metadata$1("design:paramtypes", [exports.StoreActions, Object])
], exports.Store);

@@ -326,3 +326,3 @@ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {

}
exports.Effects = (function () {
var Effects = (function () {
function Effects(store, effects, injector) {

@@ -357,10 +357,10 @@ var _this = this;

};
Effects = __decorate$3([
_angular_core.Injectable(),
__param$2(1, _angular_core.Optional()),
__param$2(1, _angular_core.Inject(STORE_EFFECTS)),
__metadata$3("design:paramtypes", [Store, Array, _angular_core.Injector])
], Effects);
return Effects;
}());
exports.Effects = __decorate$3([
_angular_core.Injectable(),
__param$2(1, _angular_core.Optional()),
__param$2(1, _angular_core.Inject(STORE_EFFECTS)),
__metadata$3("design:paramtypes", [exports.Store, Array, _angular_core.Injector])
], exports.Effects);

@@ -399,3 +399,3 @@ var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {

}());
exports.StoreRouterEffects = (function () {
var StoreRouterEffects = (function () {
function StoreRouterEffects(router, store, actions$) {

@@ -427,17 +427,17 @@ var _this = this;

};
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
StoreRouterEffects = __decorate$4([
_angular_core.Injectable(),
__metadata$4("design:paramtypes", [_angular_router.Router, Store, StoreActions])
], StoreRouterEffects);
return StoreRouterEffects;
}());
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], exports.StoreRouterEffects.prototype, "navigateEffect", void 0);
__decorate$4([
Effect(),
__metadata$4("design:type", Object)
], exports.StoreRouterEffects.prototype, "navigateByUrlEffect", void 0);
exports.StoreRouterEffects = __decorate$4([
_angular_core.Injectable(),
__metadata$4("design:paramtypes", [_angular_router.Router, exports.Store, exports.StoreActions])
], exports.StoreRouterEffects);
exports.StoreRouter = (function () {
var StoreRouter = (function () {
function StoreRouter(store) {

@@ -452,8 +452,8 @@ this.store = store;

};
StoreRouter = __decorate$4([
_angular_core.Injectable(),
__metadata$4("design:paramtypes", [Store])
], StoreRouter);
return StoreRouter;
}());
exports.StoreRouter = __decorate$4([
_angular_core.Injectable(),
__metadata$4("design:paramtypes", [exports.Store])
], exports.StoreRouter);
var routerReducer = combineReducers({

@@ -490,3 +490,3 @@ router: function (state, action) {

}
exports.StoreModule = StoreModule_1 = (function () {
var StoreModule = (function () {
function StoreModule(guard, store, initialReducers, effects) {

@@ -499,2 +499,3 @@ var reducers = initialReducers.map(function (reducer) { return createReducer(reducer); });

}
StoreModule_1 = StoreModule;
StoreModule.forRoot = function (config) {

@@ -508,8 +509,8 @@ if (config === void 0) { config = {}; }

useFactory: provideForRootGuard,
deps: [[exports.Store, new _angular_core.Optional(), new _angular_core.SkipSelf()]]
deps: [[Store, new _angular_core.Optional(), new _angular_core.SkipSelf()]]
},
exports.StoreActions,
exports.Store,
exports.StoreRouter,
exports.Effects,
StoreActions,
Store,
StoreRouter,
Effects,
{

@@ -525,6 +526,6 @@ provide: STORE_INITIAL_STATE,

].concat((config.enableRouter ? [
exports.StoreRouter,
StoreRouter,
{
provide: STORE_EFFECTS,
useClass: exports.StoreRouterEffects,
useClass: StoreRouterEffects,
multi: true

@@ -551,3 +552,3 @@ },

providers: [
exports.Effects,
Effects,
{

@@ -567,14 +568,16 @@ provide: STORE_INITIAL_REDUCERS,

};
StoreModule = StoreModule_1 = __decorate([
_angular_core.NgModule(),
__param(0, _angular_core.Optional()), __param(0, _angular_core.Inject(STORE_FORROOT_GUARD)),
__param(2, _angular_core.Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [Object, Store, Array, Effects])
], StoreModule);
return StoreModule;
var StoreModule_1;
}());
exports.StoreModule = StoreModule_1 = __decorate([
_angular_core.NgModule(),
__param(0, _angular_core.Optional()), __param(0, _angular_core.Inject(STORE_FORROOT_GUARD)),
__param(2, _angular_core.Inject(STORE_INITIAL_REDUCERS)),
__metadata("design:paramtypes", [Object, exports.Store, Array, exports.Effects])
], exports.StoreModule);
var StoreModule_1;
exports.STORE_FORROOT_GUARD = STORE_FORROOT_GUARD;
exports.provideForRootGuard = provideForRootGuard;
exports.StoreModule = StoreModule;
exports.StoreActions = StoreActions;
exports.compose = compose;

@@ -587,2 +590,3 @@ exports.reduceReducers = reduceReducers;

exports.getEffectsMetadata = getEffectsMetadata;
exports.Effects = Effects;
exports.select = select;

@@ -595,2 +599,3 @@ exports.StoreObservable = StoreObservable;

exports.ReducerInitAction = ReducerInitAction;
exports.Store = Store;
exports.initialRouterState = initialRouterState;

@@ -600,2 +605,4 @@ exports.RouterNavigateAction = RouterNavigateAction;

exports.RouterUrlUpdateAction = RouterUrlUpdateAction;
exports.StoreRouterEffects = StoreRouterEffects;
exports.StoreRouter = StoreRouter;
exports.routerReducer = routerReducer;

@@ -602,0 +609,0 @@

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