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

react-router-dom

Package Overview
Dependencies
Maintainers
3
Versions
474
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom - npm Package Compare versions

Comparing version 6.2.2 to 6.3.0

6

index.d.ts

@@ -0,1 +1,5 @@

/**
* NOTE: If you refactor this to split up the modules into separate files,
* you'll need to update the rollup config for react-router-dom-v5-compat.
*/
import * as React from "react";

@@ -56,3 +60,3 @@ import type { History } from "history";

export interface NavLinkProps extends Omit<LinkProps, "className" | "style" | "children"> {
children: React.ReactNode | ((props: {
children?: React.ReactNode | ((props: {
isActive: boolean;

@@ -59,0 +63,0 @@ }) => React.ReactNode);

2

index.js
/**
* React Router DOM v6.2.2
* React Router DOM v6.3.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* React Router DOM v6.2.2
* React Router DOM v6.3.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

{
"name": "react-router-dom",
"version": "6.2.2",
"version": "6.3.0",
"author": "Remix Software <hello@remix.run>",

@@ -17,3 +17,3 @@ "description": "Declarative routing for React web applications",

"dependencies": {
"react-router": "6.2.2",
"react-router": "6.3.0",
"history": "^5.2.0"

@@ -20,0 +20,0 @@ },

/**
* React Router DOM v6.2.2
* React Router DOM v6.3.0
*

@@ -16,2 +16,7 @@ * Copyright (c) Remix Software Inc.

/**
* NOTE: If you refactor this to split up the modules into separate files,
* you'll need to update the rollup config for react-router-dom-v5-compat.
*/
function warning(cond, message) {

@@ -18,0 +23,0 @@ if (!cond) {

/**
* React Router DOM v6.2.2
* React Router DOM v6.3.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* React Router DOM v6.2.2
* React Router DOM v6.3.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

/**
* React Router DOM v6.2.2
* React Router DOM v6.3.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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