Skip to content
Open
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
1 change: 0 additions & 1 deletion e2e/react-start/basic-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"start": "node .output/server/index.mjs"
},
"dependencies": {
"@babel/plugin-syntax-typescript": "^7.25.9",
"@tanstack/react-router": "workspace:^",
"@tanstack/react-router-devtools": "workspace:^",
"@tanstack/react-start": "workspace:^",
Expand Down
1 change: 0 additions & 1 deletion examples/react/start-basic-rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"start": "pnpx srvx --prod -s ../client dist/server/server.js"
},
"dependencies": {
"@babel/plugin-syntax-typescript": "^7.25.9",
"@tanstack/react-router": "^1.142.11",
"@tanstack/react-router-devtools": "^1.142.11",
"@tanstack/react-start": "^1.142.11",
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/quickstart-webpack-file-based/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-typescript": "^7.27.1",
"@babel/preset-typescript": "^7.28.5",
"@tanstack/router-plugin": "^1.142.11",
"babel-loader": "^10.0.0",
"babel-preset-solid": "^1.9.10",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
},
"pnpm": {
"overrides": {
"@babel/parser": "^7.28.5",
"@babel/types": "^7.28.5",
"vite-plugin-dts": "4.0.3",
"solid-js": "1.9.10",
"react": "$react",
Expand Down
10 changes: 5 additions & 5 deletions packages/directive-functions-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
"node": ">=12"
},
"dependencies": {
"@babel/code-frame": "7.27.1",
"@babel/core": "^7.27.7",
"@babel/traverse": "^7.27.7",
"@babel/types": "^7.27.7",
"@babel/code-frame": "^7.27.1",
"@babel/core": "^7.28.5",
"@babel/traverse": "^7.28.5",
"@babel/types": "^7.28.5",
"@tanstack/router-utils": "workspace:*",
"babel-dead-code-elimination": "^1.0.10",
"babel-dead-code-elimination": "^1.0.11",
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 packages/directive-functions-plugin/package.json | head -80 | tail -20

Repository: TanStack/router

Length of output: 567


Fix version specification: babel-dead-code-elimination does not have a 1.0.11 release.

The latest available version of babel-dead-code-elimination is 1.0.10, not 1.0.11. Change the dependency to "babel-dead-code-elimination": "^1.0.10" to resolve the version correctly. The package is maintained with MIT license and has 26 dependents, so no security concerns exist once the version is corrected.

🤖 Prompt for AI Agents
In packages/directive-functions-plugin/package.json around line 73 the
dependency version for babel-dead-code-elimination is incorrect (1.0.11 does not
exist); update the version specifier to the latest published release by
replacing "babel-dead-code-elimination": "^1.0.11" with
"babel-dead-code-elimination": "^1.0.10" and run npm install (or yarn) to update
lockfiles accordingly.

"pathe": "^2.0.3",
"tiny-invariant": "^1.3.3"
},
Expand Down
10 changes: 4 additions & 6 deletions packages/router-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,15 @@
"node": ">=12"
},
"dependencies": {
"@babel/core": "^7.27.7",
"@babel/plugin-syntax-jsx": "^7.27.1",
"@babel/plugin-syntax-typescript": "^7.27.1",
"@babel/core": "^7.28.5",
"@babel/template": "^7.27.2",
"@babel/traverse": "^7.27.7",
"@babel/types": "^7.27.7",
"@babel/traverse": "^7.28.5",
"@babel/types": "^7.28.5",
"@tanstack/router-core": "workspace:*",
"@tanstack/router-generator": "workspace:*",
"@tanstack/router-utils": "workspace:*",
"@tanstack/virtual-file-routes": "workspace:*",
"babel-dead-code-elimination": "^1.0.10",
"babel-dead-code-elimination": "^1.0.11",
"chokidar": "^3.6.0",
"unplugin": "^2.1.2",
"zod": "^3.24.2"
Expand Down
18 changes: 0 additions & 18 deletions ...e-splitter/snapshots/react/1-default/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
const App = () => {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
};
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
18 changes: 0 additions & 18 deletions ...plitter/snapshots/react/1-default/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
const App = () => {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
};
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
18 changes: 0 additions & 18 deletions ...ts/code-splitter/snapshots/react/1-default/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
function App() {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
}
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
18 changes: 0 additions & 18 deletions ...code-splitter/snapshots/react/1-default/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
function App() {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
}
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
18 changes: 0 additions & 18 deletions .../react/2-components-combined-loader-separate/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
const App = () => {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
};
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
function App() {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
}
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
18 changes: 0 additions & 18 deletions ...all-combined-errorComponent-separate/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
const App = () => {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
};
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
18 changes: 0 additions & 18 deletions ...act/3-all-combined-errorComponent-separate/[email protected]
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
function getComponentName(obj: Record<string, unknown>): string {
return Object.keys(obj)[0];
}
function App() {
const componentName = getComponentName({
App
});
return <div>
Component Name is {componentName}
<OtherComponent />
</div>;
}
function OtherComponent() {
const componentName = getComponentName({
App
});
return <div>App component name is {componentName}</div>;
}
9 changes: 4 additions & 5 deletions packages/router-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,16 @@
"node": ">=12"
},
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/generator": "^7.27.5",
"@babel/parser": "^7.27.5",
"@babel/preset-typescript": "^7.27.1",
"@babel/core": "^7.28.5",
"@babel/generator": "^7.28.5",
"@babel/parser": "^7.28.5",
"ansis": "^4.1.0",
"diff": "^8.0.2",
"pathe": "^2.0.3",
"tinyglobby": "^0.2.15"
},
"devDependencies": {
"@babel/types": "^7.27.6",
"@babel/types": "^7.28.5",
"@types/babel__core": "^7.20.5",
"@types/babel__generator": "^7.27.0",
"@types/diff": "^7.0.2"
Expand Down
12 changes: 5 additions & 7 deletions packages/server-functions-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@
},
"dependencies": {
"@tanstack/directive-functions-plugin": "workspace:*",
"@babel/code-frame": "7.27.1",
"@babel/core": "^7.27.7",
"@babel/plugin-syntax-jsx": "^7.27.1",
"@babel/plugin-syntax-typescript": "^7.27.1",
"@babel/code-frame": "^7.27.1",
"@babel/core": "^7.28.5",
"@babel/template": "^7.27.2",
"@babel/traverse": "^7.27.7",
"@babel/types": "^7.27.7",
"babel-dead-code-elimination": "^1.0.9",
"@babel/traverse": "^7.28.5",
"@babel/types": "^7.28.5",
"babel-dead-code-elimination": "^1.0.11",
"tiny-invariant": "^1.3.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/start-plugin-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@tanstack/server-functions-plugin": "workspace:*",
"@tanstack/start-client-core": "workspace:*",
"@tanstack/start-server-core": "workspace:*",
"babel-dead-code-elimination": "^1.0.9",
"babel-dead-code-elimination": "^1.0.11",
"cheerio": "^1.0.0",
"exsolve": "^1.0.7",
"pathe": "^2.0.3",
Expand Down
Loading
Loading