Skip to content

Commit

Permalink
Bump @tanstack/react-virtual (#3588)
Browse files Browse the repository at this point in the history
`@tanstack/react-virtual` added peer deps support for React 19 in
[v3.11.0](https://github.com/TanStack/virtual/releases/tag/v3.11.0)
(TanStack/virtual#893)

This PR upgrades the packages. This can resolve some warnings on some
React 19 projects, e.g.:

```
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @tanstack/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn   peer react@"^18 || ^19 || ^19.0.0-rc" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn     @headlessui/react@"^2.2.0" from the root project
npm warn   15 more (@floating-ui/react, @floating-ui/react-dom, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn   @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn   peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn   node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn     @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn     node_modules/@headlessui/react
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @tanstack/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react-dom
npm warn   peer react-dom@"^18 || ^19 || ^19.0.0-rc" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn     @headlessui/react@"^2.2.0" from the root project
npm warn   5 more (@floating-ui/react, @floating-ui/react-dom, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn   @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react-dom
npm warn   peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn   node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn     @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn     node_modules/@headlessui/react
```
  • Loading branch information
kchung authored Dec 12, 2024
1 parent 03fe3c5 commit 058a14b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/@headlessui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"@floating-ui/react": "^0.26.16",
"@react-aria/focus": "^3.17.1",
"@react-aria/interactions": "^3.21.3",
"@tanstack/react-virtual": "^3.8.1"
"@tanstack/react-virtual": "^3.11.1"
}
}

0 comments on commit 058a14b

Please sign in to comment.