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.5 to 5.1.6

2

react-router/index.d.ts

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

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

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

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

@@ -125,4 +125,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "0327e56382d7b8ec57ea1275cf88f63b068ec69a45cdf3e825368238b7e73868",
"typesPublisherContentHash": "aa4902cf5fcf8add9ba07733d41e08ea65c04f7a234a04299c7808397697c493",
"typeScriptVersion": "2.8"
}

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

### Additional Details
* Last updated: Tue, 31 Mar 2020 23:35:04 GMT
* Last updated: Sun, 26 Apr 2020 17:18:08 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/history](https://npmjs.com/package/@types/history)

@@ -14,0 +14,0 @@ * Global values: none

Sorry, the diff of this file is not supported yet

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