Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/router/framework/react/guide/custom-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ import * as React from 'react'
import { createLink, LinkComponent } from '@tanstack/react-router'
import { Link } from '@chakra-ui/react'

interface ChakraLinkProps
extends Omit<React.ComponentPropsWithoutRef<typeof Link>, 'href'> {
interface ChakraLinkProps extends Omit<
React.ComponentPropsWithoutRef<typeof Link>,
'href'
> {
// Add any additional props you want to pass to the link
}

Expand Down
2 changes: 1 addition & 1 deletion e2e/react-router/basepath-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/basic-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"combinate": "^1.1.11",
"vite": "^7.1.7"
"vite": "^7.3.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

cat e2e/react-router/basic-file-based/package.json

Repository: TanStack/router

Length of output: 174


🌐 Web query:

Vite 7.3.1 release notes breaking changes

💡 Result:

There are no breaking changes listed for Vite v7.3.1 — it’s a patch release (adds an optimizeDeps.ignoreOutdatedRequests option plus fixes). See the v7.3.1 changelog/release note. [1][2]

Sources

  • Vite releases (GitHub releases listing). [1]
  • packages/vite CHANGELOG.md (v7.3.1). [2]

🌐 Web query:

@vitejs/plugin-react 4.3.4 peer dependency vite version range

💡 Result:

@vitejs/plugin-react@4.3.4 declares Vite as a peer dependency: "vite": "^4.2.0 || ^5.0.0 || ^6.0.0". [1][2]

Sources:

  • Release / changelog noting Vite 6 added to peerDependencies. [1]
  • npm package listing for @vitejs/plugin-react v4.3.4 (peerDependency range shown). [2]

@vitejs/plugin-react 4.3.4 does not support Vite 7.3.1.

The plugin's peer dependency range is "vite": "^4.2.0 || ^5.0.0 || ^6.0.0", which excludes Vite 7.x. Either upgrade @vitejs/plugin-react to a version supporting Vite 7, or downgrade vite to ^6.

🤖 Prompt for AI Agents
In `@e2e/react-router/basic-file-based/package.json` at line 33, The package.json
currently pins "vite": "^7.3.1" which is incompatible with the installed
"@vitejs/plugin-react" peer range; update the dependency pair so they match:
either upgrade "@vitejs/plugin-react" to a release that supports Vite 7.x or
change "vite" to a compatible ^6.x range; edit the package.json entries for
"vite" and/or "@vitejs/plugin-react" (referencing those exact keys) and run
install to ensure peer versions align and tests pass.

}
}
2 changes: 1 addition & 1 deletion e2e/react-router/basic-react-query-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/basic-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/basic-scroll-restoration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/basic-virtual-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/escaped-special-strings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/generator-cli-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/i18n-paraglide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/js-only-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/sentry-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-router/view-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.2",
"vite": "^7.1.7"
"vite": "^7.3.1"
}
}
2 changes: 1 addition & 1 deletion e2e/react-start/basic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
"tailwind-merge": "^2.6.0",
"vite": "^7.1.7"
"vite": "^7.3.1"
},
"devDependencies": {
"@playwright/test": "^1.50.1",
Expand Down
8 changes: 4 additions & 4 deletions e2e/react-start/basic-auth/src/prisma-generated/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export * from './enums'
export const PrismaClient = $Class.getPrismaClientClass()
export type PrismaClient<
LogOpts extends Prisma.LogLevel = never,
OmitOpts extends
Prisma.PrismaClientOptions['omit'] = Prisma.PrismaClientOptions['omit'],
ExtArgs extends
runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
OmitOpts extends Prisma.PrismaClientOptions['omit'] =
Prisma.PrismaClientOptions['omit'],
ExtArgs extends runtime.Types.Extensions.InternalArgs =
runtime.Types.Extensions.DefaultArgs,
> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
export { Prisma }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ config.compilerWasm = {
await import('@prisma/client/runtime/query_compiler_bg.sqlite.mjs'),

getQueryCompilerWasmModule: async () => {
const { wasm } = await import(
'@prisma/client/runtime/query_compiler_bg.sqlite.wasm-base64.mjs'
)
const { wasm } =
await import('@prisma/client/runtime/query_compiler_bg.sqlite.wasm-base64.mjs')
return await decodeBase64AsWasm(wasm)
},
}
Expand Down Expand Up @@ -81,8 +80,8 @@ export interface PrismaClientConstructor {
}
? U
: Prisma.PrismaClientOptions['omit'],
ExtArgs extends
runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
ExtArgs extends runtime.Types.Extensions.InternalArgs =
runtime.Types.Extensions.DefaultArgs,
>(
options: Prisma.Subset<Options, Prisma.PrismaClientOptions>,
): PrismaClient<LogOpts, OmitOpts, ExtArgs>
Expand All @@ -105,8 +104,8 @@ export interface PrismaClientConstructor {
export interface PrismaClient<
in LogOpts extends Prisma.LogLevel = never,
in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined,
in out ExtArgs extends
runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
in out ExtArgs extends runtime.Types.Extensions.InternalArgs =
runtime.Types.Extensions.DefaultArgs,
> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,17 +417,17 @@ export const ModelName = {

export type ModelName = (typeof ModelName)[keyof typeof ModelName]

export interface TypeMapCb<GlobalOmitOptions = {}>
extends runtime.Types.Utils.Fn<
{ extArgs: runtime.Types.Extensions.InternalArgs },
runtime.Types.Utils.Record<string, any>
> {
export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils
.Fn<
{ extArgs: runtime.Types.Extensions.InternalArgs },
runtime.Types.Utils.Record<string, any>
> {
returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>
}

export type TypeMap<
ExtArgs extends
runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
ExtArgs extends runtime.Types.Extensions.InternalArgs =
runtime.Types.Extensions.DefaultArgs,
GlobalOmitOptions = {},
> = {
globalOmitOptions: {
Expand Down
Loading
Loading