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

@types/react-router-dom

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-router-dom - npm Package Compare versions

Comparing version 5.1.5 to 5.1.6

6

react-router-dom/index.d.ts

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

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
// TypeScript Version: 3.1

@@ -63,5 +63,5 @@ import { match } from 'react-router';

export function Link<S = H.LocationState>(
// TODO: Define this as ...params: Parameters<Link<S>> when only TypeScript >= 3.1 support is needed.
props: React.PropsWithoutRef<LinkProps<S>> & React.RefAttributes<HTMLAnchorElement>,
...params: Parameters<Link<S>>
): ReturnType<Link<S>>;
export interface Link<S = H.LocationState>

@@ -68,0 +68,0 @@ extends React.ForwardRefExoticComponent<

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

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

},
"typesPublisherContentHash": "db19b62f12be68f935a34ddaf0ef22d129e734ba5e711b9869ed2a395c65a52f",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "2791a6cf56eeaaf5ab5683fa38f7948190889da47cc8af3ddc0520c4a0611c35",
"typeScriptVersion": "3.2"
}

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

### Additional Details
* Last updated: Sun, 26 Apr 2020 17:18:08 GMT
* Last updated: Tue, 06 Oct 2020 15:25:29 GMT
* Dependencies: [@types/react-router](https://npmjs.com/package/@types/react-router), [@types/react](https://npmjs.com/package/@types/react), [@types/history](https://npmjs.com/package/@types/history)

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

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