@tanstack/router-generator
Advanced tools
@@ -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>; |
+3
-3
| { | ||
| "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": { |
+1
-1
@@ -273,3 +273,3 @@ import path from 'node:path' | ||
| filePath, | ||
| { routePath: cacheEntry.routeId }, | ||
| { routeId: cacheEntry.routeId }, | ||
| ]), | ||
@@ -276,0 +276,0 @@ ) |
+1
-1
@@ -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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
867623
0+ Added
- Removed