Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#763)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* Fix prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
  • Loading branch information
renovate[bot] and lachlancollins authored Jul 14, 2024
1 parent d4b4666 commit 30a34fb
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 89 deletions.
2 changes: 1 addition & 1 deletion examples/react/infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@tanstack/react-virtual": "^3.8.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"@tanstack/react-query": "^5.50.1"
"@tanstack/react-query": "^5.51.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
"@tanstack/svelte-query": "^5.50.3",
"@tanstack/svelte-query": "^5.51.1",
"@tanstack/svelte-virtual": "^3.8.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/infinite-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/vue-query": "^5.51.0",
"@tanstack/vue-query": "^5.51.1",
"@tanstack/vue-virtual": "^3.8.3",
"vue": "^3.4.31"
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"@types/node": "^18.19.3",
"eslint": "^8.57.0",
"jsdom": "^24.1.0",
"knip": "^5.25.1",
"nx": "^19.4.2",
"prettier": "^3.3.2",
"knip": "^5.26.0",
"nx": "^19.4.3",
"prettier": "^3.3.3",
"publint": "^0.2.8",
"rimraf": "^5.0.9",
"sherif": "^0.10.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/virtual-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ export class Virtualizer<
// If lanes is 1, use the last measurement's end, otherwise find the maximum end value among all measurements
end =
this.options.lanes === 1
? measurements[measurements.length - 1]?.end ?? 0
? (measurements[measurements.length - 1]?.end ?? 0)
: Math.max(
...measurements.slice(-this.options.lanes).map((m) => m.end),
)
Expand Down
Loading

0 comments on commit 30a34fb

Please sign in to comment.