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.16 to 5.1.17

3

react-router/index.d.ts

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

export interface MemoryRouterProps {
children?: React.ReactNode;
initialEntries?: H.LocationDescriptor[] | undefined;

@@ -106,2 +107,3 @@ initialIndex?: number | undefined;

export interface RouterProps {
children?: React.ReactNode;
history: H.History;

@@ -118,2 +120,3 @@ }

basename?: string | undefined;
children?: React.ReactNode;
location?: string | object | undefined;

@@ -120,0 +123,0 @@ context?: StaticRouterContext | undefined;

6

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

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

},
"typesPublisherContentHash": "446625c9bcb8136264005b26bc1f43afe252bb5fa2145fedc3a17a71285a6bc3",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "ed1e94ba609b2703ee57b3c7ab7e1ee7327cdac5414bb35da6dab52fabecc924",
"typeScriptVersion": "3.7"
}

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

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:33:57 GMT
* Last updated: Wed, 06 Oct 2021 20:31:29 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

@@ -16,2 +16,3 @@ import * as React from 'react';

export interface MemoryRouterProps {
children?: React.ReactNode;
initialEntries?: H.LocationDescriptor[];

@@ -75,2 +76,3 @@ initialIndex?: number;

export interface RouterProps {
children?: React.ReactNode;
history: H.History;

@@ -87,2 +89,3 @@ }

basename?: string;
children?: React.ReactNode;
location?: string | object;

@@ -89,0 +92,0 @@ context?: StaticRouterContext;

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