New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redux-first-history

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-first-history - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

2

build/es5/create.d.ts

@@ -21,4 +21,4 @@ import type { History } from 'history';

routerMiddleware: Middleware;
routerReducer: Reducer;
routerReducer: Reducer<RouterState>;
}
export declare const createReduxHistoryContext: ({ history, routerReducerKey, reduxTravelling, showHistoryAction, selectRouterState, savePreviousLocations, batch, reachGlobalHistory, }: IHistoryContextOptions) => IHistoryContext;

@@ -13,2 +13,2 @@ import { Action, Location } from 'history';

savePreviousLocations?: number | undefined;
}) => Reducer;
}) => Reducer<RouterState>;

@@ -21,4 +21,4 @@ import type { History } from 'history';

routerMiddleware: Middleware;
routerReducer: Reducer;
routerReducer: Reducer<RouterState>;
}
export declare const createReduxHistoryContext: ({ history, routerReducerKey, reduxTravelling, showHistoryAction, selectRouterState, savePreviousLocations, batch, reachGlobalHistory, }: IHistoryContextOptions) => IHistoryContext;

@@ -13,2 +13,2 @@ import { Action, Location } from 'history';

savePreviousLocations?: number | undefined;
}) => Reducer;
}) => Reducer<RouterState>;
{
"name": "redux-first-history",
"version": "5.0.2",
"version": "5.0.3",
"description": "Redux First History - Redux history binding support react-router - @reach/router - wouter",

@@ -5,0 +5,0 @@ "main": "build/es5/index.js",

@@ -32,3 +32,3 @@ import type { History, Location } from 'history';

routerMiddleware: Middleware;
routerReducer: Reducer;
routerReducer: Reducer<RouterState>;
}

@@ -35,0 +35,0 @@

@@ -39,3 +39,3 @@ /* eslint-disable consistent-return,indent */

//@ts-ignore //support history 5.x
history.back && history.back(...(args as Parameters<History['goBack']>));
history.back && history.back(...(args as Parameters<History['back']>));
break;

@@ -47,3 +47,3 @@ case 'forward':

//@ts-ignore //support history 5.x
history.forward && history.forward(...(args as Parameters<History['goForward']>));
history.forward && history.forward(...(args as Parameters<History['forward']>));
break;

@@ -50,0 +50,0 @@ }

@@ -11,3 +11,3 @@ import { Action, Location } from 'history';

export const createRouterReducer = ({ savePreviousLocations = 0 }): Reducer => {
export const createRouterReducer = ({ savePreviousLocations = 0 }): Reducer<RouterState> => {
const initialState: RouterState = {

@@ -14,0 +14,0 @@ location: null,

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