react-router-maa
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "react-router-maa", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "state based react router linked to url through parseUrl and toUrl functions, has working route blocking control mechanisim, and async initialisation phase", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -288,3 +288,4 @@ import * as historyCreator from 'history'; | ||
export const pushRouterStateThroughChange = function(change, locationState) { | ||
const newState = mergeRouterStateChange(routerStates[routerStatesLocation].state, change); | ||
const oldState = (routerStates[routerStatesLocation] && routerStates[routerStatesLocation].state) || {}; | ||
const newState = mergeRouterStateChange(oldState, change); | ||
return pushRouterState(newState, locationState); | ||
@@ -321,3 +322,4 @@ }; | ||
export const replaceRouterStateThroughChange = function(change, locationState) { | ||
const newState = mergeRouterStateChange(routerStates[routerStatesLocation].state, change); | ||
const oldState = (routerStates[routerStatesLocation] && routerStates[routerStatesLocation].state) || {}; | ||
const newState = mergeRouterStateChange(oldState, change); | ||
return replaceRouterState(newState, locationState); | ||
@@ -324,0 +326,0 @@ }; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
310813
42
4487
2