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.2 to 4.0.3

16

react-router/index.d.ts

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

// Tanguy Krotoff <https://github.com/tkrotoff>
// Huy Nguyen <https://github.com/huy-nguyen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -21,3 +22,13 @@ // TypeScript Version: 2.2

// This is the type of the context object that will be passed down to all children of
// a `Router` component:
interface RouterChildContext<P> {
router: {
history: H.History
route: {
location: H.Location,
match: match<P>
}
}
}
interface MemoryRouterProps {

@@ -110,4 +121,5 @@ initialEntries?: H.Location[];

matchPath,
withRouter
withRouter,
RouterChildContext
}
}

8

react-router/package.json
{
"name": "@types/react-router",
"version": "4.0.2",
"version": "4.0.3",
"description": "TypeScript definitions for React Router",

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

"url": "https://github.com/tkrotoff"
},
{
"name": "Huy Nguyen",
"url": "https://github.com/huy-nguyen"
}

@@ -60,4 +64,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "7d031b25cdefd971070231448546af069783b5942bdbe265e926f1a75900da1a",
"typesPublisherContentHash": "92d9ccf0f6470270df8085c9ecf4329dced5f7fde7a1bd736ca3c7bc1e51671e",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Mon, 27 Mar 2017 16:19:52 GMT
* Last updated: Tue, 28 Mar 2017 22:11:14 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>.
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>.
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