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
2 changes: 1 addition & 1 deletion apps/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@sentry/vite-plugin": "^4.6.1",
"@tanstack/query-async-storage-persister": "^5.90.21",
"@tanstack/react-query": "^5.90.19",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Peer dependency version mismatch

@tanstack/[email protected] declares "@tanstack/react-query": "^5.99.0" as a peer dependency, but @tanstack/react-query is still pinned to ^5.90.19 in this file (and resolves to 5.90.19 in the lockfile). Bun/npm will silently accept the mismatch, but the combination is untested by the library authors and may surface type errors or subtle behavioral differences as the API evolved between minor versions. @tanstack/query-async-storage-persister is also still at ^5.90.21, so the three sibling packages are now at different minor versions. Consider bumping @tanstack/react-query and @tanstack/query-async-storage-persister to ^5.99.0 in the same PR to keep the TanStack Query ecosystem in sync.

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/agent/package.json
Line: 48

Comment:
**Peer dependency version mismatch**

`@tanstack/[email protected]` declares `"@tanstack/react-query": "^5.99.0"` as a peer dependency, but `@tanstack/react-query` is still pinned to `^5.90.19` in this file (and resolves to `5.90.19` in the lockfile). Bun/npm will silently accept the mismatch, but the combination is untested by the library authors and may surface type errors or subtle behavioral differences as the API evolved between minor versions. `@tanstack/query-async-storage-persister` is also still at `^5.90.21`, so the three sibling packages are now at different minor versions. Consider bumping `@tanstack/react-query` and `@tanstack/query-async-storage-persister` to `^5.99.0` in the same PR to keep the TanStack Query ecosystem in sync.

How can I resolve this? If you propose a fix, please make it concise.

"@tanstack/react-query-persist-client": "^5.90.21",
"@tanstack/react-query-persist-client": "^5.99.0",
"@types/cytoscape": "^3.31.0",
"@types/dompurify": "^3.2.0",
"@webext-core/messaging": "^2.3.0",
Expand Down
10 changes: 7 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading