Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@tanstack/router-generator

Package Overview
Dependencies
Maintainers
7
Versions
588
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/router-generator - npm Package Compare versions

Comparing version
1.166.32
to
1.166.33
+1
-1
dist/cjs/generator.cjs

@@ -99,3 +99,3 @@ const require_runtime = require("./_virtual/_rolldown/runtime.cjs");

getRoutesByFileMap() {
return new Map([...this.routeNodeCache.entries()].map(([filePath, cacheEntry]) => [filePath, { routePath: cacheEntry.routeId }]));
return new Map([...this.routeNodeCache.entries()].map(([filePath, cacheEntry]) => [filePath, { routeId: cacheEntry.routeId }]));
}

@@ -102,0 +102,0 @@ async run(event) {

@@ -55,4 +55,4 @@ export type RouteNode = {

export type GetRoutesByFileMapResultValue = {
routePath: string;
routeId: string;
};
export type GetRoutesByFileMapResult = Map<string, GetRoutesByFileMapResultValue>;

@@ -95,3 +95,3 @@ import { logging } from "./logger.js";

getRoutesByFileMap() {
return new Map([...this.routeNodeCache.entries()].map(([filePath, cacheEntry]) => [filePath, { routePath: cacheEntry.routeId }]));
return new Map([...this.routeNodeCache.entries()].map(([filePath, cacheEntry]) => [filePath, { routeId: cacheEntry.routeId }]));
}

@@ -98,0 +98,0 @@ async run(event) {

@@ -55,4 +55,4 @@ export type RouteNode = {

export type GetRoutesByFileMapResultValue = {
routePath: string;
routeId: string;
};
export type GetRoutesByFileMapResult = Map<string, GetRoutesByFileMapResultValue>;
{
"name": "@tanstack/router-generator",
"version": "1.166.32",
"version": "1.166.33",
"description": "Modern and scalable routing for React applications",

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

"@tanstack/router-core": "1.168.15",
"@tanstack/router-utils": "1.161.6",
"@tanstack/router-utils": "1.161.7",
"@tanstack/virtual-file-routes": "1.161.7"

@@ -65,3 +65,3 @@ },

"@types/node": ">=20",
"@tanstack/react-router": "1.168.21"
"@tanstack/react-router": "1.168.23"
},

@@ -68,0 +68,0 @@ "scripts": {

@@ -273,3 +273,3 @@ import path from 'node:path'

filePath,
{ routePath: cacheEntry.routeId },
{ routeId: cacheEntry.routeId },
]),

@@ -276,0 +276,0 @@ )

@@ -70,3 +70,3 @@ export type RouteNode = {

export type GetRoutesByFileMapResultValue = { routePath: string }
export type GetRoutesByFileMapResultValue = { routeId: string }
export type GetRoutesByFileMapResult = Map<

@@ -73,0 +73,0 @@ string,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display