Gathering detailed insights and metrics for @types/react-router-redux
Gathering detailed insights and metrics for @types/react-router-redux
Gathering detailed insights and metrics for @types/react-router-redux
Gathering detailed insights and metrics for @types/react-router-redux
react-redux-app-template
The template that will help you quickly start developing your project using React.
generator-tsx
CRA + TypeScript + React + Redux + Router + Testing Library
cra-template-complete-web-app
CRA template with: typescript, axios, sass, react-router, redux and much more already configured.
cra-template-rd-react
CRA template with: typescript, sass, react-router, redux.
The repository for high quality TypeScript type definitions.
npm install @types/react-router-redux
Typescript
Module System
99.3
Supply Chain
93.8
Quality
76.1
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
27,567,364
Last Day
4,512
Last Week
87,051
Last Month
336,570
Last Year
3,049,288
NOASSERTION License
49,978 Stars
89,646 Commits
30,427 Forks
641 Watchers
7 Branches
9,958 Contributors
Updated on Jul 01, 2025
Latest Version
5.0.27
Package Id
@types/react-router-redux@5.0.27
Unpacked Size
7.04 kB
Size
2.26 kB
File Count
5
Published on
Jan 02, 2024
Cumulative downloads
Total Downloads
Last Day
15.8%
4,512
Compared to previous day
Last Week
8.6%
87,051
Compared to previous week
Last Month
-3.2%
336,570
Compared to previous month
Last Year
-1.2%
3,049,288
Compared to previous year
4
npm install --save @types/react-router-redux
This package contains type definitions for react-router-redux (https://github.com/reactjs/react-router-redux).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-redux.
1import { History, Location, LocationDescriptor, LocationState, Path } from "history"; 2import * as React from "react"; 3import { match } from "react-router"; 4import { Action, Dispatch, Middleware, Reducer, Store } from "redux"; 5 6export interface ConnectedRouterProps<State> { 7 children?: React.ReactNode; 8 store?: Store<State> | undefined; 9 history: History; 10} 11export class ConnectedRouter<State> extends React.Component<ConnectedRouterProps<State>> {} 12 13export const LOCATION_CHANGE = "@@router/LOCATION_CHANGE"; 14 15export interface RouterState { 16 location: Location | null; 17} 18 19export const routerReducer: Reducer<RouterState, Action>; 20 21export const CALL_HISTORY_METHOD = "@@router/CALL_HISTORY_METHOD"; 22 23export function push(location: LocationDescriptor, state?: LocationState): RouterAction; 24export function replace(location: LocationDescriptor, state?: LocationState): RouterAction; 25export function go(n: number): RouterAction; 26export function goBack(): RouterAction; 27export function goForward(): RouterAction; 28 29export const routerActions: { 30 push: typeof push; 31 replace: typeof replace; 32 go: typeof go; 33 goBack: typeof goBack; 34 goForward: typeof goForward; 35}; 36 37export interface LocationActionPayload { 38 method: string; 39 args?: any[] | undefined; 40} 41 42export interface RouterAction { 43 type: typeof CALL_HISTORY_METHOD; 44 payload: LocationActionPayload; 45} 46 47export interface LocationChangeAction { 48 type: typeof LOCATION_CHANGE; 49 payload: Location & { 50 props?: { 51 match: { 52 path: string; 53 url: string; 54 params: any; 55 isExact: boolean; 56 }; 57 location: Location; 58 history: History; 59 } | undefined; 60 }; 61} 62 63export function routerMiddleware(history: History): Middleware; 64 65export function createMatchSelector(path: string): (state: { router: RouterState }) => match | null; 66
These definitions were written by Huy Nguyen, Shoya Tanaka, and Mykolas.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More