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

react-router-maa

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-maa - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

package.json
{
"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

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