Skip to content

Commit 62b9090

Browse files
Update dependencies (#3697)
* Update dependencies * Downgrade vitest * downgrade eslint * Update package.json Co-authored-by: Nicolas Stepien <[email protected]> * Update rolldown.config.js Co-authored-by: Nicolas Stepien <[email protected]> * Enable `scrollRestoration` --------- Co-authored-by: Nicolas Stepien <[email protected]>
1 parent 3703f4f commit 62b9090

File tree

6 files changed

+30
-30
lines changed

6 files changed

+30
-30
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ export default [
472472
'@typescript-eslint/no-meaningless-void-operator': 0,
473473
'@typescript-eslint/no-misused-new': 1,
474474
'@typescript-eslint/no-misused-promises': 0,
475+
'@typescript-eslint/no-misused-spread': 1,
475476
'@typescript-eslint/no-mixed-enums': 1,
476477
'@typescript-eslint/no-namespace': 1,
477478
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 1,

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -57,50 +57,50 @@
5757
"devDependencies": {
5858
"@babel/preset-typescript": "^7.26.0",
5959
"@biomejs/biome": "1.9.4",
60-
"@eslint/compat": "^1.2.4",
61-
"@eslint/markdown": "^6.2.1",
62-
"@faker-js/faker": "^9.3.0",
63-
"@ianvs/prettier-plugin-sort-imports": "^4.0.2",
60+
"@eslint/compat": "^1.2.5",
61+
"@eslint/markdown": "^6.2.2",
62+
"@faker-js/faker": "^9.4.0",
63+
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
6464
"@linaria/core": "^6.0.0",
65-
"@microsoft/api-extractor": "^7.48.1",
66-
"@tanstack/react-router": "^1.85.5",
67-
"@tanstack/router-plugin": "^1.69.1",
65+
"@microsoft/api-extractor": "^7.49.2",
66+
"@tanstack/react-router": "^1.98.3",
67+
"@tanstack/router-plugin": "^1.98.3",
6868
"@testing-library/dom": "^10.1.0",
69-
"@testing-library/react": "^16.1.0",
69+
"@testing-library/react": "^16.2.0",
7070
"@testing-library/user-event": "^14.5.2",
71-
"@types/node": "^22.0.0",
71+
"@types/node": "^22.12.0",
7272
"@types/react": "^18.3.9",
7373
"@types/react-dom": "^18.3.0",
74-
"@typescript-eslint/eslint-plugin": "^8.19.1",
75-
"@typescript-eslint/parser": "^8.19.1",
74+
"@typescript-eslint/eslint-plugin": "^8.22.0",
75+
"@typescript-eslint/parser": "^8.22.0",
7676
"@vitejs/plugin-react": "^4.3.4",
77-
"@vitest/browser": "^3.0.2",
78-
"@vitest/coverage-v8": "^3.0.2",
79-
"@vitest/eslint-plugin": "^1.1.24",
77+
"@vitest/browser": "3.0.3",
78+
"@vitest/coverage-v8": "3.0.3",
79+
"@vitest/eslint-plugin": "^1.1.25",
8080
"@wyw-in-js/rollup": "^0.5.0",
8181
"@wyw-in-js/vite": "^0.5.0",
82-
"browserslist": "^4.24.3",
83-
"eslint": "^9.17.0",
82+
"browserslist": "^4.24.4",
83+
"eslint": "9.18.0",
8484
"eslint-plugin-jest-dom": "^5.5.0",
85-
"eslint-plugin-react": "^7.37.3",
86-
"eslint-plugin-react-compiler": "^19.0.0-beta-63e3235-20250105",
85+
"eslint-plugin-react": "^7.37.4",
86+
"eslint-plugin-react-compiler": "^19.0.0-beta-27714ef-20250124",
8787
"eslint-plugin-react-hooks": "^5.0.0",
88-
"eslint-plugin-react-hooks-extra": "^1.23.2",
88+
"eslint-plugin-react-hooks-extra": "^1.25.0",
8989
"eslint-plugin-sonarjs": "^3.0.1",
9090
"eslint-plugin-testing-library": "^7.1.1",
9191
"jspdf": "^2.5.1",
9292
"jspdf-autotable": "^3.5.23",
93-
"playwright": "^1.49.1",
94-
"postcss": "^8.4.25",
93+
"playwright": "^1.50.0",
94+
"postcss": "^8.5.1",
9595
"prettier": "3.4.2",
9696
"react": "^18.3.1",
9797
"react-dnd": "^16.0.1",
9898
"react-dnd-html5-backend": "^16.0.1",
9999
"react-dom": "^18.3.1",
100-
"rolldown": "^1.0.0-beta.1",
101-
"typescript": "~5.7.2",
102-
"vite": "^6.0.3",
103-
"vitest": "^3.0.2",
100+
"rolldown": "^1.0.0-beta.3",
101+
"typescript": "~5.7.3",
102+
"vite": "^6.0.11",
103+
"vitest": "3.0.3",
104104
"vitest-browser-react": "^0.0.4"
105105
},
106106
"peerDependencies": {

rolldown.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineConfig({
2323
}
2424
],
2525
platform: 'browser',
26-
external: (id) => !id.startsWith('.') && !isAbsolute(id),
26+
external: (/** @type {string} */ id) => !id.startsWith('.') && !isAbsolute(id),
2727
plugins: [
2828
// @ts-expect-error
2929
wyw({

src/DataGrid.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,6 @@ function DataGrid<R, SR, K extends Key>(
10611061
// Reset the positions if the current values are no longer valid. This can happen if a column or row is removed
10621062
if (selectedPosition.idx > maxColIdx || selectedPosition.rowIdx > maxRowIdx) {
10631063
setSelectedPosition({ idx: -1, rowIdx: minRowIdx - 1, mode: 'SELECT' });
1064-
// eslint-disable-next-line react-compiler/react-compiler
10651064
setDraggedOverRowIdx(undefined);
10661065
}
10671066

@@ -1186,7 +1185,6 @@ function DataGrid<R, SR, K extends Key>(
11861185
);
11871186
})}
11881187
<RowSelectionChangeProvider value={selectRowLatest}>
1189-
{/* eslint-disable-next-line react-compiler/react-compiler */}
11901188
{getViewportRows()}
11911189
</RowSelectionChangeProvider>
11921190
{bottomSummaryRows?.map((row, rowIdx) => {

src/TreeDataGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ function TreeDataGrid<R, SR, K extends Key>(
411411
}
412412

413413
return (
414-
<DataGrid<R, SR, Key>
414+
<DataGrid<R, SR>
415415
{...props}
416416
role="treegrid"
417417
aria-rowcount={

website/root.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const router = createRouter({
1818
defaultErrorComponent: ErrorComponent,
1919
defaultNotFoundComponent: NotFound,
2020
defaultPendingMinMs: 0,
21-
defaultPreload: 'intent'
21+
defaultPreload: 'intent',
22+
scrollRestoration: true
2223
});
2324

2425
// Register the router instance for type safety

0 commit comments

Comments
 (0)