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

connected-react-router

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connected-react-router - npm Package Compare versions

Comparing version 6.2.1 to 6.2.2

21

index.d.ts
declare module 'connected-react-router' {
import * as React from 'react';
import { Middleware, Reducer } from 'redux';
import { match } from 'react-router';
import {

@@ -36,2 +37,10 @@ History,

export interface RouterRootState {
router: RouterState;
}
export type matchSelectorFn<
S extends RouterRootState, Params extends { [K in keyof Params]?: string }
> = (state: S) => match<Params> | null;
export type RouterAction = LocationChangeAction | CallHistoryMethodAction;

@@ -46,6 +55,10 @@

export function goForward(): CallHistoryMethodAction;
export function getAction(state: LocationState): RouterActionType;
export function getHash(state: LocationState): string;
export function getLocation(state: LocationState): Location;
export function getSearch(state: LocationState): string;
export function getRouter<S extends RouterRootState>(state: S): RouterState;
export function getAction<S extends RouterRootState>(state: S): RouterActionType;
export function getHash<S extends RouterRootState>(state: S): string;
export function getLocation<S extends RouterRootState>(state: S): Location;
export function getSearch<S extends RouterRootState>(state: S): string;
export function createMatchSelector<
S extends RouterRootState, Params extends { [K in keyof Params]?: string }
>(path: string): matchSelectorFn<S, Params>;

@@ -52,0 +65,0 @@ export type Push = typeof push;

3

package.json
{
"name": "connected-react-router",
"version": "6.2.1",
"version": "6.2.2",
"description": "A Redux binding for React Router v4",

@@ -48,2 +48,3 @@ "main": "lib/index.js",

"@types/react": "*",
"@types/react-router": "^4.4.3",
"babel-core": "7.0.0-bridge.0",

@@ -50,0 +51,0 @@ "babel-eslint": "^10.0.1",

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