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.45.10 to 1.45.11

2

dist/esm/path.d.ts

@@ -25,3 +25,3 @@ import { MatchLocation } from './RouterProvider.js';

path?: string;
params: any;
params: Record<string, unknown>;
leaveWildcards?: boolean;

@@ -28,0 +28,0 @@ leaveParams?: boolean;

import { last } from "./utils.js";
function joinPaths(paths) {
return cleanPath(paths.filter(Boolean).join("/"));
return cleanPath(
paths.filter((val) => {
return val !== void 0;
}).join("/")
);
}

@@ -5,0 +9,0 @@ function cleanPath(path) {

@@ -217,2 +217,3 @@ import { Store, NoInfer } from '@tanstack/react-store';

* This is useful for providing a context to the entire router.
* Only non-DOM-rendering components like providers should be used, anything else will cause a hydration error.
* @link [API Docs](https://tanstack.com/router/latest/docs/framework/react/api/router/RouterOptionsType#wrap-property)

@@ -226,2 +227,3 @@ */

* This is useful for providing a context to the inner contents of the router where you also need access to the router context and hooks.
* Only non-DOM-rendering components like providers should be used, anything else will cause a hydration error.
* @link [API Docs](https://tanstack.com/router/latest/docs/framework/react/api/router/RouterOptionsType#innerwrap-property)

@@ -228,0 +230,0 @@ */

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

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

@@ -11,3 +11,9 @@ import { last } from './utils'

export function joinPaths(paths: Array<string | undefined>) {
return cleanPath(paths.filter(Boolean).join('/'))
return cleanPath(
paths
.filter((val) => {
return val !== undefined
})
.join('/'),
)
}

@@ -197,3 +203,3 @@

path?: string
params: any
params: Record<string, unknown>
leaveWildcards?: boolean

@@ -200,0 +206,0 @@ leaveParams?: boolean

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

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 too big to display

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