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

@types/react-router

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-router - npm Package Compare versions

Comparing version 4.0.7 to 4.0.8

19

react-router/index.d.ts

@@ -15,2 +15,3 @@ // Type definitions for React Router 4.0

// Jérémy Fauvel <https://github.com/grmiade>
// Daniel Roth <https://github.com/DaIgeb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -40,3 +41,3 @@ // TypeScript Version: 2.2

export class MemoryRouter extends React.Component<MemoryRouterProps, void> {}
export class MemoryRouter extends React.Component<MemoryRouterProps, void> { }

@@ -47,3 +48,3 @@ export interface PromptProps {

}
export class Prompt extends React.Component<PromptProps, void> {}
export class Prompt extends React.Component<PromptProps, void> { }

@@ -58,3 +59,3 @@ export interface RedirectProps {

}
export class Redirect extends React.Component<RedirectProps, void> {}
export class Redirect extends React.Component<RedirectProps, void> { }

@@ -76,3 +77,3 @@ export interface RouteComponentProps<P> {

}
export class Route extends React.Component<RouteProps, undefined> {}
export class Route extends React.Component<RouteProps, undefined> { }

@@ -82,3 +83,3 @@ export interface RouterProps {

}
export class Router extends React.Component<RouterProps, undefined> {}
export class Router extends React.Component<RouterProps, undefined> { }

@@ -91,8 +92,8 @@ export interface StaticRouterProps {

export class StaticRouter extends React.Component<StaticRouterProps, undefined> {}
export class StaticRouter extends React.Component<StaticRouterProps, undefined> { }
export interface SwitchProps {
children?: JSX.Element | JSX.Element[];
children?: React.ReactNode;
location?: H.Location;
}
export class Switch extends React.Component<SwitchProps, undefined> {}
export class Switch extends React.Component<SwitchProps, undefined> { }

@@ -107,2 +108,2 @@ export interface match<P> {

export function matchPath<P>(pathname: string, props: RouteProps): match<P> | null;
export function withRouter(component: React.SFC<RouteComponentProps<any>> | React.ComponentClass<RouteComponentProps<any>>): React.ComponentClass<any>;
export function withRouter<P>(component: React.SFC<RouteComponentProps<any> & P> | React.ComponentClass<RouteComponentProps<any> & P>): React.ComponentClass<P>;
{
"name": "@types/react-router",
"version": "4.0.7",
"version": "4.0.8",
"description": "TypeScript definitions for React Router",

@@ -54,2 +54,6 @@ "license": "MIT",

"url": "https://github.com/grmiade"
},
{
"name": "Daniel Roth",
"url": "https://github.com/DaIgeb"
}

@@ -68,4 +72,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "d0da9597e6450d6b5eb07d5e836eac5b5a719102fd87f5408d18863ef11ad5e5",
"typesPublisherContentHash": "e983b02075a23caa84958aae60ea0ed307acd9ddecb13b0831b2c4d7f6a7eadf",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 05 May 2017 04:05:52 GMT
* Last updated: Fri, 05 May 2017 17:42:54 GMT
* Dependencies: react, history

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Sergey Buturlakin <https://github.com/sergey-buturlakin>, Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>, Nathan Brown <https://github.com/ngbrown>, Alex Wendland <https://github.com/awendland>, Kostya Esmukov <https://github.com/KostyaEsmukov>, John Reilly <https://github.com/johnnyreilly>, Karol Janyst <https://github.com/LKay>, Dovydas Navickas <https://github.com/DovydasNavickas>, Tanguy Krotoff <https://github.com/tkrotoff>, Huy Nguyen <https://github.com/huy-nguyen>, Jérémy Fauvel <https://github.com/grmiade>.
These definitions were written by Sergey Buturlakin <https://github.com/sergey-buturlakin>, Yuichi Murata <https://github.com/mrk21>, Václav Ostrožlík <https://github.com/vasek17>, Nathan Brown <https://github.com/ngbrown>, Alex Wendland <https://github.com/awendland>, Kostya Esmukov <https://github.com/KostyaEsmukov>, John Reilly <https://github.com/johnnyreilly>, Karol Janyst <https://github.com/LKay>, Dovydas Navickas <https://github.com/DovydasNavickas>, Tanguy Krotoff <https://github.com/tkrotoff>, Huy Nguyen <https://github.com/huy-nguyen>, Jérémy Fauvel <https://github.com/grmiade>, Daniel Roth <https://github.com/DaIgeb>.
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