You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@tanstack/router-core

Package Overview
Dependencies
Maintainers
6
Versions
435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/router-core - npm Package Compare versions

Comparing version
1.159.4
to
1.159.6
+2
-2
dist/cjs/router.cjs

@@ -112,3 +112,3 @@ "use strict";

let processRouteTreeResult;
if ((isServer.isServer ?? this.isServer) && globalThis.__TSR_CACHE__ && globalThis.__TSR_CACHE__.routeTree === this.routeTree) {
if ((isServer.isServer ?? this.isServer) && process.env.NODE_ENV !== "development" && globalThis.__TSR_CACHE__ && globalThis.__TSR_CACHE__.routeTree === this.routeTree) {
const cached = globalThis.__TSR_CACHE__;

@@ -120,3 +120,3 @@ this.resolvePathCache = cached.resolvePathCache;

processRouteTreeResult = this.buildRouteTree();
if ((isServer.isServer ?? this.isServer) && globalThis.__TSR_CACHE__ === void 0) {
if ((isServer.isServer ?? this.isServer) && process.env.NODE_ENV !== "development" && globalThis.__TSR_CACHE__ === void 0) {
globalThis.__TSR_CACHE__ = {

@@ -123,0 +123,0 @@ routeTree: this.routeTree,

@@ -110,3 +110,3 @@ import { Store } from "@tanstack/store";

let processRouteTreeResult;
if ((isServer ?? this.isServer) && globalThis.__TSR_CACHE__ && globalThis.__TSR_CACHE__.routeTree === this.routeTree) {
if ((isServer ?? this.isServer) && process.env.NODE_ENV !== "development" && globalThis.__TSR_CACHE__ && globalThis.__TSR_CACHE__.routeTree === this.routeTree) {
const cached = globalThis.__TSR_CACHE__;

@@ -118,3 +118,3 @@ this.resolvePathCache = cached.resolvePathCache;

processRouteTreeResult = this.buildRouteTree();
if ((isServer ?? this.isServer) && globalThis.__TSR_CACHE__ === void 0) {
if ((isServer ?? this.isServer) && process.env.NODE_ENV !== "development" && globalThis.__TSR_CACHE__ === void 0) {
globalThis.__TSR_CACHE__ = {

@@ -121,0 +121,0 @@ routeTree: this.routeTree,

{
"name": "@tanstack/router-core",
"version": "1.159.4",
"version": "1.159.6",
"description": "Modern and scalable routing for React applications",

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

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

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

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