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 5.1.4 to 5.1.5

3

react-router/index.d.ts

@@ -23,2 +23,3 @@ // Type definitions for React Router 5.1

// Nicholas Hehr <https://github.com/HipsterBrown>
// Pawel Fajfer <https://github.com/pawfa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -165,3 +166,3 @@ // TypeScript Version: 2.8

export function useParams<Params extends { [K in keyof Params]?: string } = {}>(): { [p in keyof Params]: string };
export function useParams<Params extends { [K in keyof Params]?: string } = {}>(): { [p in keyof Params]: keyof Params[p] extends undefined ? string | undefined : string };

@@ -168,0 +169,0 @@ export function useRouteMatch<Params extends { [K in keyof Params]?: string } = {}>(): match<Params>;

{
"name": "@types/react-router",
"version": "5.1.4",
"version": "5.1.5",
"description": "TypeScript definitions for React Router",

@@ -106,2 +106,7 @@ "license": "MIT",

"githubUsername": "HipsterBrown"
},
{
"name": "Pawel Fajfer",
"url": "https://github.com/pawfa",
"githubUsername": "pawfa"
}

@@ -121,4 +126,4 @@ ],

},
"typesPublisherContentHash": "979e8d526ea80925376075e71fa2b48a6cc9113ddd0ce86334b3551f93291207",
"typesPublisherContentHash": "0327e56382d7b8ec57ea1275cf88f63b068ec69a45cdf3e825368238b7e73868",
"typeScriptVersion": "2.8"
}

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

### Additional Details
* Last updated: Tue, 07 Jan 2020 22:22:46 GMT
* Last updated: Tue, 31 Mar 2020 23:35:04 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/history](https://npmjs.com/package/@types/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), Huy Nguyen (https://github.com/huy-nguyen), Jérémy Fauvel (https://github.com/grmiade), Daniel Roth (https://github.com/DaIgeb), Egor Shulga (https://github.com/egorshulga), Rahul Raina (https://github.com/rraina), Maksim Sharipov (https://github.com/pret-a-porter), Duong Tran (https://github.com/t49tran), Ben Smith (https://github.com/8enSmith), Wesley Tsai (https://github.com/wezleytsai), Sebastian Silbermann (https://github.com/eps1lon), and Nicholas Hehr (https://github.com/HipsterBrown).
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), [Huy Nguyen](https://github.com/huy-nguyen), [Jérémy Fauvel](https://github.com/grmiade), [Daniel Roth](https://github.com/DaIgeb), [Egor Shulga](https://github.com/egorshulga), [Rahul Raina](https://github.com/rraina), [Maksim Sharipov](https://github.com/pret-a-porter), [Duong Tran](https://github.com/t49tran), [Ben Smith](https://github.com/8enSmith), [Wesley Tsai](https://github.com/wezleytsai), [Sebastian Silbermann](https://github.com/eps1lon), [Nicholas Hehr](https://github.com/HipsterBrown), and [Pawel Fajfer](https://github.com/pawfa).
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