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

@tanstack/react-router

Package Overview
Dependencies
Maintainers
2
Versions
649
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/react-router - npm Package Compare versions

Comparing version 1.46.4 to 1.46.6

7

dist/esm/link.d.ts

@@ -119,2 +119,5 @@ import { AnyRouter, ParsedLocation } from '.';

export type ActiveLinkOptions<TRouter extends AnyRouter = RegisteredRouter, TFrom extends string = string, TTo extends string = '', TMaskFrom extends string = TFrom, TMaskTo extends string = ''> = LinkOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo> & ActiveLinkOptionProps;
type ActiveLinkAnchorProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement> & {
[key: `data-${string}`]: unknown;
}, 'children'>;
export interface ActiveLinkOptionProps {

@@ -125,3 +128,3 @@ /**

*/
activeProps?: React.AnchorHTMLAttributes<HTMLAnchorElement> | (() => React.AnchorHTMLAttributes<HTMLAnchorElement>);
activeProps?: ActiveLinkAnchorProps | (() => ActiveLinkAnchorProps);
/**

@@ -131,3 +134,3 @@ * A function that returns additional props for the `inactive` state of this link.

*/
inactiveProps?: React.AnchorHTMLAttributes<HTMLAnchorElement> | (() => React.AnchorHTMLAttributes<HTMLAnchorElement>);
inactiveProps?: ActiveLinkAnchorProps | (() => ActiveLinkAnchorProps);
}

@@ -134,0 +137,0 @@ export type LinkProps<TRouter extends AnyRouter = RegisteredRouter, TFrom extends string = string, TTo extends string = '', TMaskFrom extends string = TFrom, TMaskTo extends string = ''> = ActiveLinkOptions<TRouter, TFrom, TTo, TMaskFrom, TMaskTo> & LinkPropsChildren;

{
"name": "@tanstack/react-router",
"version": "1.46.4",
"version": "1.46.6",
"description": "Modern and scalable routing for React applications",

@@ -5,0 +5,0 @@ "author": "Tanner Linsley",

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