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

@tanstack/router-generator

Package Overview
Dependencies
Maintainers
2
Versions
109
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.87.6 to 1.87.7

5

dist/esm/config.d.ts

@@ -95,2 +95,7 @@ import { z } from 'zod';

export type Config = z.infer<typeof configSchema>;
type ResolveParams = {
configDirectory: string;
};
export declare function resolveConfigPath({ configDirectory }: ResolveParams): string;
export declare function getConfig(inlineConfig?: Partial<Config>, configDirectory?: string): Config;
export {};

8

dist/esm/config.js

@@ -53,2 +53,5 @@ import path from "node:path";

});
function resolveConfigPath({ configDirectory }) {
return path.resolve(configDirectory, "tsr.config.json");
}
function getConfig(inlineConfig = {}, configDirectory) {

@@ -58,3 +61,3 @@ if (configDirectory === void 0) {

}
const configFilePathJson = path.resolve(configDirectory, "tsr.config.json");
const configFilePathJson = resolveConfigPath({ configDirectory });
const exists = existsSync(configFilePathJson);

@@ -128,4 +131,5 @@ let config;

configSchema,
getConfig
getConfig,
resolveConfigPath
};
//# sourceMappingURL=config.js.map

@@ -1,4 +0,4 @@

export { configSchema, getConfig } from './config.js';
export { configSchema, getConfig, resolveConfigPath } from './config.js';
export type { Config } from './config.js';
export { generator, startAPIRouteSegmentsFromTSRFilePath, CONSTANTS, } from './generator.js';
export type { StartAPIRoutePathSegment } from './generator.js';

@@ -1,2 +0,2 @@

import { configSchema, getConfig } from "./config.js";
import { configSchema, getConfig, resolveConfigPath } from "./config.js";
import { CONSTANTS, generator, startAPIRouteSegmentsFromTSRFilePath } from "./generator.js";

@@ -8,4 +8,5 @@ export {

getConfig,
resolveConfigPath,
startAPIRouteSegmentsFromTSRFilePath
};
//# sourceMappingURL=index.js.map
{
"name": "@tanstack/router-generator",
"version": "1.87.6",
"version": "1.87.7",
"description": "Modern and scalable routing for React applications",

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

@@ -70,2 +70,10 @@ import path from 'node:path'

type ResolveParams = {
configDirectory: string
}
export function resolveConfigPath({ configDirectory }: ResolveParams) {
return path.resolve(configDirectory, 'tsr.config.json')
}
export function getConfig(

@@ -78,3 +86,3 @@ inlineConfig: Partial<Config> = {},

}
const configFilePathJson = path.resolve(configDirectory, 'tsr.config.json')
const configFilePathJson = resolveConfigPath({ configDirectory })
const exists = existsSync(configFilePathJson)

@@ -81,0 +89,0 @@

@@ -1,2 +0,2 @@

export { configSchema, getConfig } from './config'
export { configSchema, getConfig, resolveConfigPath } from './config'
export type { Config } from './config'

@@ -3,0 +3,0 @@

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

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