New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ngrx/router-store

Package Overview
Dependencies
Maintainers
4
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/router-store - npm Package Compare versions

Comparing version 12.3.0 to 12.4.0

5

bundles/ngrx-router-store.umd.js

@@ -701,3 +701,7 @@ (function (global, factory) {

function createRouterSelector() {
return store.createFeatureSelector(DEFAULT_ROUTER_FEATURENAME);
}
function getSelectors(selectState) {
if (selectState === void 0) { selectState = createRouterSelector(); }
var selectRouterState = store.createSelector(selectState, function (router) { return router && router.state; });

@@ -755,2 +759,3 @@ var selectRootRoute = store.createSelector(selectRouterState, function (routerState) { return routerState && routerState.root; });

exports.StoreRouterConnectingModule = StoreRouterConnectingModule;
exports.createRouterSelector = createRouterSelector;
exports.getSelectors = getSelectors;

@@ -757,0 +762,0 @@ exports.routerCancelAction = routerCancelAction;

4

esm2015/src/index.js

@@ -7,3 +7,3 @@ export { ROUTER_ERROR, ROUTER_CANCEL, ROUTER_NAVIGATION, ROUTER_NAVIGATED, ROUTER_REQUEST, routerCancelAction, routerErrorAction, routerNavigatedAction, routerNavigationAction, routerRequestAction, } from './actions';

export { MinimalRouterStateSerializer, } from './serializers/minimal_serializer';
export { getSelectors } from './router_selectors';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3JvdXRlci1zdG9yZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFlBQVksRUFDWixhQUFhLEVBQ2IsaUJBQWlCLEVBQ2pCLGdCQUFnQixFQUNoQixjQUFjLEVBWWQsa0JBQWtCLEVBQ2xCLGlCQUFpQixFQUNqQixxQkFBcUIsR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ectors, createRouterSelector } from './router_selectors';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3JvdXRlci1zdG9yZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFlBQVksRUFDWixhQUFhLEVBQ2IsaUJBQWlCLEVBQ2pCLGdCQUFnQixFQUNoQixjQUFjLEVBWWQsa0JBQWtCLEVBQ2xCLGlCQUFpQixFQUNqQixxQkFBcUIsRUFDckIsc0JBQXNCLEVBQ3RCLG1CQUFtQixHQUNwQixNQUFNLFdBQVcsQ0FBQztBQUNuQixPQUFPLEVBQUUsYUFBYSxFQUFzQixNQUFNLFdBQVcsQ0FBQztBQUM5RCxPQUFPLEVBRUwsMkJBQTJCLEVBRTNCLHNCQUFzQixFQUN0QixhQUFhLEVBQ2IsMEJBQTBCLEdBRTNCLE1BQU0sdUJBQXVCLENBQUM7QUFDL0IsT0FBTyxFQUNMLHFCQUFxQixHQUV0QixNQUFNLG9CQUFvQixDQUFDO0FBQzVCLE9BQU8sRUFDTCw0QkFBNEIsR0FFN0IsTUFBTSxrQ0FBa0MsQ0FBQztBQUMxQyxPQUFPLEVBR0wsNEJBQTRCLEdBQzdCLE1BQU0sa0NBQWtDLENBQUM7QUFDMUMsT0FBTyxFQUFFLFlBQVksRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHtcbiAgUk9VVEVSX0VSUk9SLFxuICBST1VURVJfQ0FOQ0VMLFxuICBST1VURVJfTkFWSUdBVElPTixcbiAgUk9VVEVSX05BVklHQVRFRCxcbiAgUk9VVEVSX1JFUVVFU1QsXG4gIFJvdXRlckFjdGlvbixcbiAgUm91dGVyQ2FuY2VsQWN0aW9uL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l6ZWRSb3V0ZXJTdGF0ZVNuYXBzaG90LFxufSBmcm9tICcuL3NlcmlhbGl6ZXJzL2RlZmF1bHRfc2VyaWFsaXplcic7XG5leHBvcnQge1xuICBNaW5pbWFsQWN0aXZhdGVkUm91dGVTbmFwc2hvdCxcbiAgTWluaW1hbFJvdXRlclN0YXRlU25hcHNob3QsXG4gIE1pbmltYWxSb3V0ZXJTdGF0ZVNlcmlhbGl6ZXIsXG59IGZyb20gJy4vc2VyaWFsaXplcnMvbWluaW1hbF9zZXJpYWxpemVyJztcbmV4cG9ydCB7IGdldFNlbGVjdG9ycywgY3JlYXRlUm91dGVyU2VsZWN0b3IgfSBmcm9tICcuL3JvdXRlcl9zZWxlY3RvcnMnO1xuIl19

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

import { createSelector } from '@ngrx/store';
export function getSelectors(selectState) {
import { createFeatureSelector, createSelector, } from '@ngrx/store';
import { DEFAULT_ROUTER_FEATURENAME } from './router_store_module';
export function createRouterSelector() {
return createFeatureSelector(DEFAULT_ROUTER_FEATURENAME);
}
export function getSelectors(selectState = createRouterSelector()) {
const selectRouterState = createSelector(selectState, (router) => router && router.state);

@@ -33,2 +37,2 @@ const selectRootRoute = createSelector(selectRouterState, (routerState) => routerState && routerState.root);

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

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

import { createAction, props, isNgrxMockEnvironment, select, Store, ACTIVE_RUNTIME_CHECKS, createSelector } from '@ngrx/store';
import { createAction, props, isNgrxMockEnvironment, select, Store, ACTIVE_RUNTIME_CHECKS, createFeatureSelector, createSelector } from '@ngrx/store';
import { InjectionToken, isDevMode, NgModule, ErrorHandler, Inject } from '@angular/core';

@@ -370,3 +370,6 @@ import { NavigationStart, RoutesRecognized, NavigationCancel, NavigationError, NavigationEnd, Router } from '@angular/router';

function getSelectors(selectState) {
function createRouterSelector() {
return createFeatureSelector(DEFAULT_ROUTER_FEATURENAME);
}
function getSelectors(selectState = createRouterSelector()) {
const selectRouterState = createSelector(selectState, (router) => router && router.state);

@@ -413,3 +416,3 @@ const selectRootRoute = createSelector(selectRouterState, (routerState) => routerState && routerState.root);

export { DEFAULT_ROUTER_FEATURENAME, DefaultRouterStateSerializer, MinimalRouterStateSerializer, NavigationActionTiming, ROUTER_CANCEL, ROUTER_CONFIG, ROUTER_ERROR, ROUTER_NAVIGATED, ROUTER_NAVIGATION, ROUTER_REQUEST, RouterStateSerializer, StoreRouterConnectingModule, getSelectors, routerCancelAction, routerErrorAction, routerNavigatedAction, routerNavigationAction, routerReducer, routerRequestAction, _ROUTER_CONFIG as ɵa, _createRouterConfig as ɵb };
export { DEFAULT_ROUTER_FEATURENAME, DefaultRouterStateSerializer, MinimalRouterStateSerializer, NavigationActionTiming, ROUTER_CANCEL, ROUTER_CONFIG, ROUTER_ERROR, ROUTER_NAVIGATED, ROUTER_NAVIGATION, ROUTER_REQUEST, RouterStateSerializer, StoreRouterConnectingModule, createRouterSelector, getSelectors, routerCancelAction, routerErrorAction, routerNavigatedAction, routerNavigationAction, routerReducer, routerRequestAction, _ROUTER_CONFIG as ɵa, _createRouterConfig as ɵb };
//# sourceMappingURL=ngrx-router-store.js.map

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

{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":91,"character":34},"arguments":["@ngrx/router-store Internal Configuration"]},"ɵb":{"__symbolic":"function","parameters":["config"],"value":{"stateKey":{"__symbolic":"reference","name":"DEFAULT_ROUTER_FEATURENAME"},"serializer":{"__symbolic":"reference","name":"MinimalRouterStateSerializer"},"navigationActionTiming":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"NavigationActionTiming"},"member":"PreActivation"}}},"ROUTER_ERROR":"@ngrx/router-store/error","ROUTER_CANCEL":"@ngrx/router-store/cancel","ROUTER_NAVIGATION":"@ngrx/router-store/navigation","ROUTER_NAVIGATED":"@ngrx/router-store/navigated","ROUTER_REQUEST":"@ngrx/router-store/request","RouterAction":{"__symbolic":"interface"},"RouterCancelAction":{"__symbolic":"interface"},"RouterCancelPayload":{"__symbolic":"interface"},"RouterErrorAction":{"__symbolic":"interface"},"RouterErrorPayload":{"__symbolic":"interface"},"RouterNavigatedAction":{"__symbolic":"interface"},"RouterNavigatedPayload":{"__symbolic":"interface"},"RouterNavigationAction":{"__symbolic":"interface"},"RouterNavigationPayload":{"__symbolic":"interface"},"RouterRequestAction":{"__symbolic":"interface"},"RouterRequestPayload":{"__symbolic":"interface"},"routerCancelAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":99,"character":34},"arguments":["@ngrx/router-store/cancel",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":101,"character":2}}]},"routerErrorAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":132,"character":33},"arguments":["@ngrx/router-store/error",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":134,"character":2}}]},"routerNavigatedAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":162,"character":37},"arguments":["@ngrx/router-store/navigated",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":164,"character":2}}]},"routerNavigationAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":66,"character":38},"arguments":["@ngrx/router-store/navigation",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":68,"character":2}}]},"routerRequestAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":37,"character":35},"arguments":["@ngrx/router-store/request",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":39,"character":2}}]},"routerReducer":{"__symbolic":"function"},"RouterReducerState":{"__symbolic":"interface"},"StateKeyOrSelector":{"__symbolic":"interface"},"StoreRouterConnectingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":158,"character":1},"arguments":[{}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":197,"character":5},"arguments":[{"__symbolic":"reference","name":"ROUTER_CONFIG"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":198,"character":5},"arguments":[{"__symbolic":"reference","module":"@ngrx/store","name":"ACTIVE_RUNTIME_CHECKS","line":198,"character":12}]}]],"parameters":[{"__symbolic":"reference","name":"Store","module":"@ngrx/store","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":194,"character":20},{"__symbolic":"reference","name":"RouterStateSerializer"},{"__symbolic":"reference","module":"@angular/core","name":"ErrorHandler","line":196,"character":26},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@ngrx/store","name":"RuntimeChecks","line":198,"character":64}]}],"setUpStoreStateListener":[{"__symbolic":"method"}],"navigateIfNeeded":[{"__symbolic":"method"}],"setUpRouterEventsListener":[{"__symbolic":"method"}],"dispatchRouterRequest":[{"__symbolic":"method"}],"dispatchRouterNavigation":[{"__symbolic":"method"}],"dispatchRouterCancel":[{"__symbolic":"method"}],"dispatchRouterError":[{"__symbolic":"method"}],"dispatchRouterNavigated":[{"__symbolic":"method"}],"dispatchRouterAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"StoreRouterConnectingModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵa"},"useValue":{"__symbolic":"reference","name":"config"}},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIG"},"useFactory":{"__symbolic":"reference","name":"ɵb"},"deps":[{"__symbolic":"reference","name":"ɵa"}]},{"provide":{"__symbolic":"reference","name":"RouterStateSerializer"},"useClass":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"elseExpression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"routerState"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"RouterState"},"member":"Full"}},"thenExpression":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"},"elseExpression":{"__symbolic":"reference","name":"MinimalRouterStateSerializer"}}}}]}}}},"StoreRouterConfig":{"__symbolic":"interface"},"NavigationActionTiming":{"PreActivation":1,"PostActivation":2},"ROUTER_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":94,"character":33},"arguments":["@ngrx/router-store Configuration"]},"DEFAULT_ROUTER_FEATURENAME":"router","RouterState":{"Full":0,"Minimal":1},"RouterStateSerializer":{"__symbolic":"class","arity":1,"members":{"serialize":[{"__symbolic":"method"}]}},"BaseRouterStoreState":{"__symbolic":"interface"},"DefaultRouterStateSerializer":{"__symbolic":"class","members":{"serialize":[{"__symbolic":"method"}],"serializeRoute":[{"__symbolic":"method"}]}},"SerializedRouterStateSnapshot":{"__symbolic":"interface"},"MinimalActivatedRouteSnapshot":{"__symbolic":"interface"},"MinimalRouterStateSnapshot":{"__symbolic":"interface"},"MinimalRouterStateSerializer":{"__symbolic":"class","members":{"serialize":[{"__symbolic":"method"}],"serializeRoute":[{"__symbolic":"method"}]}},"getSelectors":{"__symbolic":"function"}},"origins":{"ɵa":"./src/router_store_module","ɵb":"./src/router_store_module","ROUTER_ERROR":"./src/actions","ROUTER_CANCEL":"./src/actions","ROUTER_NAVIGATION":"./src/actions","ROUTER_NAVIGATED":"./src/actions","ROUTER_REQUEST":"./src/actions","RouterAction":"./src/actions","RouterCancelAction":"./src/actions","RouterCancelPayload":"./src/actions","RouterErrorAction":"./src/actions","RouterErrorPayload":"./src/actions","RouterNavigatedAction":"./src/actions","RouterNavigatedPayload":"./src/actions","RouterNavigationAction":"./src/actions","RouterNavigationPayload":"./src/actions","RouterRequestAction":"./src/actions","RouterRequestPayload":"./src/actions","routerCancelAction":"./src/actions","routerErrorAction":"./src/actions","routerNavigatedAction":"./src/actions","routerNavigationAction":"./src/actions","routerRequestAction":"./src/actions","routerReducer":"./src/reducer","RouterReducerState":"./src/reducer","StateKeyOrSelector":"./src/router_store_module","StoreRouterConnectingModule":"./src/router_store_module","StoreRouterConfig":"./src/router_store_module","NavigationActionTiming":"./src/router_store_module","ROUTER_CONFIG":"./src/router_store_module","DEFAULT_ROUTER_FEATURENAME":"./src/router_store_module","RouterState":"./src/router_store_module","RouterStateSerializer":"./src/serializers/base","BaseRouterStoreState":"./src/serializers/base","DefaultRouterStateSerializer":"./src/serializers/default_serializer","SerializedRouterStateSnapshot":"./src/serializers/default_serializer","MinimalActivatedRouteSnapshot":"./src/serializers/minimal_serializer","MinimalRouterStateSnapshot":"./src/serializers/minimal_serializer","MinimalRouterStateSerializer":"./src/serializers/minimal_serializer","getSelectors":"./src/router_selectors"},"importAs":"@ngrx/router-store"}
{"__symbolic":"module","version":4,"metadata":{"ɵa":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":91,"character":34},"arguments":["@ngrx/router-store Internal Configuration"]},"ɵb":{"__symbolic":"function","parameters":["config"],"value":{"stateKey":{"__symbolic":"reference","name":"DEFAULT_ROUTER_FEATURENAME"},"serializer":{"__symbolic":"reference","name":"MinimalRouterStateSerializer"},"navigationActionTiming":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"NavigationActionTiming"},"member":"PreActivation"}}},"ROUTER_ERROR":"@ngrx/router-store/error","ROUTER_CANCEL":"@ngrx/router-store/cancel","ROUTER_NAVIGATION":"@ngrx/router-store/navigation","ROUTER_NAVIGATED":"@ngrx/router-store/navigated","ROUTER_REQUEST":"@ngrx/router-store/request","RouterAction":{"__symbolic":"interface"},"RouterCancelAction":{"__symbolic":"interface"},"RouterCancelPayload":{"__symbolic":"interface"},"RouterErrorAction":{"__symbolic":"interface"},"RouterErrorPayload":{"__symbolic":"interface"},"RouterNavigatedAction":{"__symbolic":"interface"},"RouterNavigatedPayload":{"__symbolic":"interface"},"RouterNavigationAction":{"__symbolic":"interface"},"RouterNavigationPayload":{"__symbolic":"interface"},"RouterRequestAction":{"__symbolic":"interface"},"RouterRequestPayload":{"__symbolic":"interface"},"routerCancelAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":99,"character":34},"arguments":["@ngrx/router-store/cancel",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":101,"character":2}}]},"routerErrorAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":132,"character":33},"arguments":["@ngrx/router-store/error",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":134,"character":2}}]},"routerNavigatedAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":162,"character":37},"arguments":["@ngrx/router-store/navigated",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":164,"character":2}}]},"routerNavigationAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":66,"character":38},"arguments":["@ngrx/router-store/navigation",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":68,"character":2}}]},"routerRequestAction":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createAction","line":37,"character":35},"arguments":["@ngrx/router-store/request",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"props","line":39,"character":2}}]},"routerReducer":{"__symbolic":"function"},"RouterReducerState":{"__symbolic":"interface"},"StateKeyOrSelector":{"__symbolic":"interface"},"StoreRouterConnectingModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":158,"character":1},"arguments":[{}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":197,"character":5},"arguments":[{"__symbolic":"reference","name":"ROUTER_CONFIG"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":198,"character":5},"arguments":[{"__symbolic":"reference","module":"@ngrx/store","name":"ACTIVE_RUNTIME_CHECKS","line":198,"character":12}]}]],"parameters":[{"__symbolic":"reference","name":"Store","module":"@ngrx/store","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":194,"character":20},{"__symbolic":"reference","name":"RouterStateSerializer"},{"__symbolic":"reference","module":"@angular/core","name":"ErrorHandler","line":196,"character":26},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@ngrx/store","name":"RuntimeChecks","line":198,"character":64}]}],"setUpStoreStateListener":[{"__symbolic":"method"}],"navigateIfNeeded":[{"__symbolic":"method"}],"setUpRouterEventsListener":[{"__symbolic":"method"}],"dispatchRouterRequest":[{"__symbolic":"method"}],"dispatchRouterNavigation":[{"__symbolic":"method"}],"dispatchRouterCancel":[{"__symbolic":"method"}],"dispatchRouterError":[{"__symbolic":"method"}],"dispatchRouterNavigated":[{"__symbolic":"method"}],"dispatchRouterAction":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]},"statics":{"forRoot":{"__symbolic":"function","parameters":["config"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"StoreRouterConnectingModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵa"},"useValue":{"__symbolic":"reference","name":"config"}},{"provide":{"__symbolic":"reference","name":"ROUTER_CONFIG"},"useFactory":{"__symbolic":"reference","name":"ɵb"},"deps":[{"__symbolic":"reference","name":"ɵa"}]},{"provide":{"__symbolic":"reference","name":"RouterStateSerializer"},"useClass":{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"thenExpression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"serializer"},"elseExpression":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"config"},"member":"routerState"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"RouterState"},"member":"Full"}},"thenExpression":{"__symbolic":"reference","name":"DefaultRouterStateSerializer"},"elseExpression":{"__symbolic":"reference","name":"MinimalRouterStateSerializer"}}}}]}}}},"StoreRouterConfig":{"__symbolic":"interface"},"NavigationActionTiming":{"PreActivation":1,"PostActivation":2},"ROUTER_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":94,"character":33},"arguments":["@ngrx/router-store Configuration"]},"DEFAULT_ROUTER_FEATURENAME":"router","RouterState":{"Full":0,"Minimal":1},"RouterStateSerializer":{"__symbolic":"class","arity":1,"members":{"serialize":[{"__symbolic":"method"}]}},"BaseRouterStoreState":{"__symbolic":"interface"},"DefaultRouterStateSerializer":{"__symbolic":"class","members":{"serialize":[{"__symbolic":"method"}],"serializeRoute":[{"__symbolic":"method"}]}},"SerializedRouterStateSnapshot":{"__symbolic":"interface"},"MinimalActivatedRouteSnapshot":{"__symbolic":"interface"},"MinimalRouterStateSnapshot":{"__symbolic":"interface"},"MinimalRouterStateSerializer":{"__symbolic":"class","members":{"serialize":[{"__symbolic":"method"}],"serializeRoute":[{"__symbolic":"method"}]}},"getSelectors":{"__symbolic":"function"},"createRouterSelector":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ngrx/store","name":"createFeatureSelector","line":13,"character":9},"arguments":[{"__symbolic":"reference","name":"DEFAULT_ROUTER_FEATURENAME"}]}}},"origins":{"ɵa":"./src/router_store_module","ɵb":"./src/router_store_module","ROUTER_ERROR":"./src/actions","ROUTER_CANCEL":"./src/actions","ROUTER_NAVIGATION":"./src/actions","ROUTER_NAVIGATED":"./src/actions","ROUTER_REQUEST":"./src/actions","RouterAction":"./src/actions","RouterCancelAction":"./src/actions","RouterCancelPayload":"./src/actions","RouterErrorAction":"./src/actions","RouterErrorPayload":"./src/actions","RouterNavigatedAction":"./src/actions","RouterNavigatedPayload":"./src/actions","RouterNavigationAction":"./src/actions","RouterNavigationPayload":"./src/actions","RouterRequestAction":"./src/actions","RouterRequestPayload":"./src/actions","routerCancelAction":"./src/actions","routerErrorAction":"./src/actions","routerNavigatedAction":"./src/actions","routerNavigationAction":"./src/actions","routerRequestAction":"./src/actions","routerReducer":"./src/reducer","RouterReducerState":"./src/reducer","StateKeyOrSelector":"./src/router_store_module","StoreRouterConnectingModule":"./src/router_store_module","StoreRouterConfig":"./src/router_store_module","NavigationActionTiming":"./src/router_store_module","ROUTER_CONFIG":"./src/router_store_module","DEFAULT_ROUTER_FEATURENAME":"./src/router_store_module","RouterState":"./src/router_store_module","RouterStateSerializer":"./src/serializers/base","BaseRouterStoreState":"./src/serializers/base","DefaultRouterStateSerializer":"./src/serializers/default_serializer","SerializedRouterStateSnapshot":"./src/serializers/default_serializer","MinimalActivatedRouteSnapshot":"./src/serializers/minimal_serializer","MinimalRouterStateSnapshot":"./src/serializers/minimal_serializer","MinimalRouterStateSerializer":"./src/serializers/minimal_serializer","getSelectors":"./src/router_selectors","createRouterSelector":"./src/router_selectors"},"importAs":"@ngrx/router-store"}
{
"name": "@ngrx/router-store",
"version": "12.3.0",
"version": "12.4.0",
"description": "Bindings to connect @angular/router to @ngrx/store",

@@ -26,3 +26,3 @@ "repository": {

"@angular/router": "^12.0.0",
"@ngrx/store": "12.3.0",
"@ngrx/store": "12.4.0",
"rxjs": "^6.5.3"

@@ -29,0 +29,0 @@ },

"use strict";
exports.__esModule = true;
exports.platformVersion = void 0;
exports.platformVersion = '^12.3.0';
exports.platformVersion = '^12.4.0';
//# sourceMappingURL=libs-version.js.map

@@ -7,2 +7,2 @@ export { ROUTER_ERROR, ROUTER_CANCEL, ROUTER_NAVIGATION, ROUTER_NAVIGATED, ROUTER_REQUEST, RouterAction, RouterCancelAction, RouterCancelPayload, RouterErrorAction, RouterErrorPayload, RouterNavigatedAction, RouterNavigatedPayload, RouterNavigationAction, RouterNavigationPayload, RouterRequestAction, RouterRequestPayload, routerCancelAction, routerErrorAction, routerNavigatedAction, routerNavigationAction, routerRequestAction, } from './actions';

export { MinimalActivatedRouteSnapshot, MinimalRouterStateSnapshot, MinimalRouterStateSerializer, } from './serializers/minimal_serializer';
export { getSelectors } from './router_selectors';
export { getSelectors, createRouterSelector } from './router_selectors';

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

import { MemoizedSelector } from '@ngrx/store';
import { RouterStateSelectors } from './models';
import { RouterReducerState } from './reducer';
export declare function getSelectors<V>(selectState: (state: V) => RouterReducerState<any>): RouterStateSelectors<V>;
export declare function createRouterSelector<State extends Record<string, any>>(): MemoizedSelector<State, RouterReducerState>;
export declare function getSelectors<V>(selectState?: (state: V) => RouterReducerState<any>): RouterStateSelectors<V>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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