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

@district01/ng-redux-router

Package Overview
Dependencies
Maintainers
6
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@district01/ng-redux-router - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

6

CHANGELOG.md

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

<a name="2.0.7"></a>
# [2.0.7](https://bitbucket.org/tom_opdebeeck/ng-redux-router/commits/tag/v2.0.7) (2018-01-31)
### Bugfixes
* **BUGFIX:** fix path ([0cc797b](https://bitbucket.org/tom_opdebeeck/ng-redux-router/commits/0cc797bd7359c7279434989887c85038c6a5d7f7))
<a name="2.0.6"></a>

@@ -2,0 +8,0 @@ # [2.0.6](https://bitbucket.org/tom_opdebeeck/ng-redux-router/commits/tag/v2.0.6) (2018-01-31)

3

dist/redux-router.actions.js
import { ROUTE_PENDING, ROUTE_UPDATE, ROUTE_CANCEL, } from "./redux-router.actiontypes";
import { rebuildStateTree, getFragment, } from "./redux-router.helpers";
import { rebuildStateTree, getFragment, getPath, } from "./redux-router.helpers";
export var initRouteChange = function (route) {

@@ -8,2 +8,3 @@ return {

url: route.urlAfterRedirects || route.url,
path: getPath(route.urlAfterRedirects || route.url),
params: rebuildStateTree(route.state.root, "params"),

@@ -10,0 +11,0 @@ query: rebuildStateTree(route.state.root, "queryParams"),

{
"name": "@district01/ng-redux-router",
"version": "2.0.6",
"version": "2.0.7",
"description": "Sync Angular (2+) router state with redux, including: current path, current url, query params, route params, fragment, previous route.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -42,5 +42,5 @@ # Angular Redux Router

* frament: the current active fragment
* queryParams: all queryParams found on the route
* query: all queryParams found on the route
* params: all route params found on the route
The `ROUTE_UPDATE` action will only be dispatched once the `NavigationEnd` event is triggered.
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