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.8 to 5.1.9

6

react-router-dom/index.d.ts

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

export interface NavLinkProps<S = H.LocationState> extends LinkProps<S> {
export interface NavLinkProps<S = H.LocationState> extends Omit<LinkProps<S>, "className" | "style"> {
activeClassName?: string | undefined;

@@ -82,2 +82,6 @@ activeStyle?: React.CSSProperties | undefined;

location?: H.Location<S> | undefined;
className?: string | ((isActive: boolean) => string);
style?:
| React.CSSProperties
| ((isActive: boolean) => React.CSSProperties);
}

@@ -84,0 +88,0 @@ export function NavLink<S = H.LocationState>(

6

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

@@ -52,4 +52,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-dom",

},
"typesPublisherContentHash": "a9c4ee6f58ce26a4d68b5b190543904889265b7ea7713a642bf99d73a2c07e9a",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "5e0901cfbc4350ef57cf07c56c5c4ac2290dcbb8f803f384ea37ca3ee01a8e0b",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:33:59 GMT
* Last updated: Tue, 14 Sep 2021 14:31:38 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