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.5.0 to 12.5.1

2

bundles/ngrx-router-store.umd.js

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

function stripTrailingSlash(text) {
if (text.length > 0 && text[text.length - 1] === '/') {
if ((text === null || text === void 0 ? void 0 : text.length) > 0 && text[text.length - 1] === '/') {
return text.substring(0, text.length - 1);

@@ -705,0 +705,0 @@ }

@@ -260,3 +260,3 @@ import { Inject, InjectionToken, NgModule, ErrorHandler, isDevMode, } from '@angular/core';

function stripTrailingSlash(text) {
if (text.length > 0 && text[text.length - 1] === '/') {
if ((text === null || text === void 0 ? void 0 : text.length) > 0 && text[text.length - 1] === '/') {
return text.substring(0, text.length - 1);

@@ -266,2 +266,2 @@ }

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

@@ -371,3 +371,3 @@ import { createAction, props, isNgrxMockEnvironment, select, Store, ACTIVE_RUNTIME_CHECKS, createFeatureSelector, createSelector } from '@ngrx/store';

function stripTrailingSlash(text) {
if (text.length > 0 && text[text.length - 1] === '/') {
if ((text === null || text === void 0 ? void 0 : text.length) > 0 && text[text.length - 1] === '/') {
return text.substring(0, text.length - 1);

@@ -374,0 +374,0 @@ }

@@ -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"},"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"}
{"__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":199,"character":42}]}],"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.5.0",
"version": "12.5.1",
"description": "Bindings to connect @angular/router to @ngrx/store",

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

"@angular/router": "^12.0.0",
"@ngrx/store": "12.5.0",
"@ngrx/store": "12.5.1",
"rxjs": "^6.5.3 || ^7.0.0"

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

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

@@ -89,4 +89,4 @@ import { InjectionToken, ModuleWithProviders, ErrorHandler } from '@angular/core';

private errorHandler;
private config;
private activeRuntimeChecks;
private readonly config;
private readonly activeRuntimeChecks;
private lastEvent;

@@ -96,3 +96,3 @@ private routerState;

private trigger;
private stateKey;
private readonly stateKey;
static forRoot<T extends BaseRouterStoreState = SerializedRouterStateSnapshot>(config?: StoreRouterConfig<T>): ModuleWithProviders<StoreRouterConnectingModule>;

@@ -99,0 +99,0 @@ constructor(store: Store<any>, router: Router, serializer: RouterStateSerializer<SerializedRouterStateSnapshot>, errorHandler: ErrorHandler, config: StoreRouterConfig, activeRuntimeChecks: RuntimeChecks);

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