New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/router-generator

Package Overview
Dependencies
Maintainers
2
Versions
200
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

to
1.111.12

2

dist/esm/generator.js

@@ -262,3 +262,3 @@ import path from "node:path";

{
tsrImports: "import { createAPIFileRoute } from '@tanstack/start/api';",
tsrImports: "import { createAPIFileRoute } from '@tanstack/react-start/api';",
tsrPath: escapedRoutePath,

@@ -265,0 +265,0 @@ tsrExportStart: `export const ${CONSTANTS.APIRouteExportVariable} = createAPIFileRoute('${escapedRoutePath}')(`,

@@ -108,3 +108,3 @@ import { format } from "./utils.js";

const defaultAPIRouteTemplate = [
'import { json } from "@tanstack/start";\n',
'import { json } from "@tanstack/react-start";\n',
"%%tsrImports%%",

@@ -111,0 +111,0 @@ "\n\n",

{
"name": "@tanstack/router-generator",
"version": "1.111.11",
"version": "1.111.12",
"description": "Modern and scalable routing for React applications",

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

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

tsrImports:
"import { createAPIFileRoute } from '@tanstack/start/api';",
"import { createAPIFileRoute } from '@tanstack/react-start/api';",
tsrPath: escapedRoutePath,

@@ -396,0 +396,0 @@ tsrExportStart: `export const ${CONSTANTS.APIRouteExportVariable} = createAPIFileRoute('${escapedRoutePath}')(`,

@@ -163,3 +163,3 @@ import { format } from './utils'

export const defaultAPIRouteTemplate = [
'import { json } from "@tanstack/start";\n',
'import { json } from "@tanstack/react-start";\n',
'%%tsrImports%%',

@@ -166,0 +166,0 @@ '\n\n',

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