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

@tanstack/react-router

Package Overview
Dependencies
Maintainers
2
Versions
620
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.69.0 to 1.69.1

6

dist/esm/fileRoute.js

@@ -71,8 +71,4 @@ import warning from "tiny-warning";

}
const routeGroupPatternRegex = /\(.+\)/g;
function removeGroups(s) {
return s.replaceAll(routeGroupPatternRegex, "").replaceAll("//", "/");
}
function createLazyFileRoute(id) {
return (opts) => new LazyRoute({ id: removeGroups(id), ...opts });
return (opts) => new LazyRoute({ id, ...opts });
}

@@ -79,0 +75,0 @@ export {

4

package.json
{
"name": "@tanstack/react-router",
"version": "1.69.0",
"version": "1.69.1",
"description": "Modern and scalable routing for React applications",

@@ -69,3 +69,3 @@ "author": "Tanner Linsley",

"react-dom": ">=18",
"@tanstack/router-generator": "1.65.0"
"@tanstack/router-generator": "1.69.1"
},

@@ -72,0 +72,0 @@ "peerDependenciesMeta": {

@@ -268,8 +268,2 @@ import warning from 'tiny-warning'

const routeGroupPatternRegex = /\(.+\)/g
function removeGroups(s: string) {
return s.replaceAll(routeGroupPatternRegex, '').replaceAll('//', '/')
}
export function createLazyFileRoute<

@@ -279,4 +273,3 @@ TFilePath extends keyof FileRoutesByPath,

>(id: TFilePath) {
return (opts: LazyRouteOptions) =>
new LazyRoute<TRoute>({ id: removeGroups(id), ...opts })
return (opts: LazyRouteOptions) => new LazyRoute<TRoute>({ id, ...opts })
}

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