🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

alt-router

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alt-router - npm Package Compare versions

Comparing version

to
1.4.0

@@ -120,2 +120,10 @@ 'use strict';

var nextTick = function nextTick(flux, action) {
return function (state, pathname, query) {
setTimeout(function () {
return flux.dispatch(action, { state: state, pathname: pathname, query: query });
});
};
};
var AltRouter = (function (_React$Component) {

@@ -147,2 +155,4 @@ _inherits(AltRouter, _React$Component);

replaceState: dispatchable(flux, replaceState),
pushStateAsync: nextTick(flux, pushState),
replaceStateAsync: nextTick(flux, replaceState),
store: store

@@ -149,0 +159,0 @@ };

{
"name": "alt-router",
"version": "1.3.0",
"version": "1.4.0",
"description": "Connect react-router to alt",

@@ -5,0 +5,0 @@ "main": "lib/AltRouter.js",