Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(deps): update dependency typescript-eslint to ^8.51.0 (#4795)

homarr-renovate[bot]f0a2551fdf5b
diff --git a/packages/api/src/router/widgets/notebook.ts b/packages/api/src/router/widgets/notebook.ts
index 2f7229601..de89059d4 100644
--- a/packages/api/src/router/widgets/notebook.ts
+++ b/packages/api/src/router/widgets/notebook.ts
@@ -24,7 +24,7 @@ export const notebookRouter = createTRPCRouter({
where: eq(items.id, input.itemId),
});
- if (!item || item.boardId !== input.boardId) {
+ if (item?.boardId !== input.boardId) {
throw new TRPCError({
code: "NOT_FOUND",
message: "Specified item was not found",
diff --git a/packages/integrations/src/truenas/truenas-integration.ts b/packages/integrations/src/truenas/truenas-integration.ts
index 206f033a0..8b0a79b89 100644
--- a/packages/integrations/src/truenas/truenas-integration.ts
+++ b/packages/integrations/src/truenas/truenas-integration.ts
@@ -261,7 +261,7 @@ export class TrueNasIntegration extends Integration implements ISystemHealthMoni
*/
private async requestAsync(method: string, params: unknown[] = [], webSocketOverride?: WebSocket) {
let webSocket = webSocketOverride ?? this.webSocket;
- if (!webSocket || webSocket.readyState !== WebSocket.OPEN) {
+ if (webSocket?.readyState !== WebSocket.OPEN) {
logger.debug("Connecting to websocket", {
url: this.wsUrl(),
});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index db6aa9e02..3c19196c9 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2347,7 +2347,7 @@ importers:
eslint-plugin-import:
specifier: ^2.32.0
eslint-plugin-jsx-a11y:
specifier: ^6.10.2
version: 6.10.2([email protected])
@@ -2358,8 +2358,8 @@ importers:
specifier: ^6.1.1
version: 6.1.1([email protected])
typescript-eslint:
- specifier: ^8.50.1
+ specifier: ^8.51.0
devDependencies:
'@homarr/prettier-config':
specifier: workspace:^0.1.0
@@ -5002,63 +5002,63 @@ packages:
resolution: {integrity: sha512-4YnrRemBShWRO2QjvUin8ESA41rH+9nQGLUGZV/1IDhi3SL9OhdpNC/MrulTWuptXKwhx/aDxE7toV0f/ypIXQ==}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-PKhLGDq3JAg0Jk/aK890knnqduuI/Qj+udH7wCf0217IGi4gt+acgCyPVe79qoT+qKUvHMDQkwJeKW9fwl8Cyw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-XtssGWJvypyM2ytBnSnKtHYOGT+4ZwTnBVl36TA4nRO2f4PRNGz5/1OszHzcZCvcBMh+qb7I06uoCmLTRdR9og==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- '@typescript-eslint/parser': ^8.50.1
+ '@typescript-eslint/parser': ^8.51.0
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-hM5faZwg7aVNa819m/5r7D0h0c9yC4DUlWAOvHAtISdFTc8xB86VmX5Xqabrama3wIPJ/q9RbGS1worb6JfnMg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-3xP4XzzDNQOIqBMWogftkwxhg5oMKApqY0BAflmLZiFYHqyhSOxv/cd/zPQLTcCXr4AkaKb25joocY0BD1WC6A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-E1ur1MCVf+YiP89+o4Les/oBAVzmSbeRB0MQLfSlYtbWU17HPxZ6Bhs5iYmKZRALvEuBoXIZMOIRRc/P++Ortg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-Luv/GafO07Z7HpiI7qeEW5NW8HUtZI/fo/kE0YbtQEFpJRUuR0ajcWfCE5bnMvL7QQFrmT/odMe8QZww8X2nfQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-mfRx06Myt3T4vuoHaKi8ZWNTPdzKPNBhiblze5N50//TSHOAQQevl/aolqA/BcqqbJ88GUnLqjjcBc8EWdBcVw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-JhhJDVwsSx4hiOEQPeajGhCWgBMBwVkxC/Pet53EpBVs7zHHtayKefw1jtPaNRXpI9RA2uocdmpdfE7T+NrizA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-ooHmotT/lCWLXi55G4mvaUF60aJa012QzvLK0Y+Mp4WdSt17QhMhWOaBWeGTFVkb2gDgBe19Cxy1elPXylslDw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-Qi5bSy/vuHeWyir2C8u/uqGMIlIDu8fuiYWv48ZGlZ/k+PRPHtaAu7erpc7p5bzw2WNNSniuxoMSO4Ar6V9OXw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-7J3bf022QZE42tYMO6SL+6lTPKFk/WphhRPe9Tw/el+cEwzLz1Jjz2PX3GtGQVxooLDKeMVmMt7fWpYRdG5Etg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-0XVtYzxnobc9K0VU7wRWg1yiUrw4oQzexCG2V2IDxxCxhqBMSMbjB+6o91A+Uc0GWtgjCa3Y8bi7hwI0Tu4n5Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-v5lFIS2feTkNyMhd7AucE/9j/4V9v5iIbpVRncjk/K0sQ6Sb+Np9fgYS/63n6nwqahHQvbmujeBL7mp07Q9mlA==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-TizAvWYFM6sSscmEakjY3sPqGwxZRSywSsPEiuZF6d5GmGD9Gvlsv0f6N8FvAAA0CD06l3rIcWNbsN1e5F/9Ag==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-woHPdW+0gj53aM+cxchymJCrh0cyS7BTIdcDxWUNsclr9VDkOSbqC13juHzxOmQ22dDkMZEpZB+3X1WpUvzgVQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-1qNjGqFRmlq0VW5iVlcyHBbCjPB7y6SxpBkrbhNWMy/65ZoncXCEPJxkRZL8McrseNH6lFhaxCIaX+vBuFnRng==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-lCLp8H1T9T7gPbEuJSnHwnSuO9mDf8mfK/Nion5mZmiEaQD9sWf9W4dfeFqRyqRjF06/kBuTmAqcs9sewM2NbQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-11rZYxSe0zabiKaCP2QAwRf/dnmgFgvTmeDTtZvUvXG3UuAdg/GU02NExmmIXzz3vLGgMdtrIosI84jITQOxUA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <6.0.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-IrDKrw7pCRUR94zeuCSUWQ+w8JEf5ZX5jl/e6AHGSLi1/zIr0lgutfn/7JpfCey+urpgQEdrZVYzCaVVKiTwhQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-mM/JRQOzhVN1ykejrvwnBRV3+7yTKK8tVANVN3o1O0t0v7o+jqdVu9crPy5Y9dov15TJk/FTIgoUGHrTOVL3Zg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -10309,8 +10309,8 @@ packages:
zod: ^4.0.0
zod-openapi: ^5.0.1
- resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
+ resolution: {integrity: sha512-6eg3Y9SF7SsAvGzRHQvvc1skDAhwI4YQ32ui1scxD1Ccr0G5qIIbUBT3pFTKX8kmWIQClHobtUdNuaBgwdfdWg==}
engines: {node: '>=18.12'}
peerDependencies:
typescript: '>=4.8.4'
@@ -10490,8 +10490,8 @@ packages:
resolution: {integrity: sha512-1HTsf5/QVRmLzcGfldPFvkVsAdi1db1BBKzi7iW3KBUlOICg/nKnFS+jGqDJS3YD8VsWbAh7JiHeBvbsw8RPxA==}
- resolution: {integrity: sha512-ytTHO+SoYSbhAH9CrYnMhiLx8To6PSSvqnvXyPUgPETCvB6eBKmTI9w6XMPS3HsBRGkwTVBX+urA8dYQx6bHfQ==}
+ resolution: {integrity: sha512-jh8ZuM5oEh2PSdyQG9YAEM1TCGuWenLSuSUhf/irbVUNW9O5FhbFVONviN2TgMTBnUmyHv7E56rYnfLZK6TkiA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -14008,95 +14008,95 @@ snapshots:
dependencies:
'@types/node': 24.10.4
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.50.1([email protected])([email protected])
- '@typescript-eslint/scope-manager': 8.50.1
- '@typescript-eslint/type-utils': 8.50.1([email protected])([email protected])
- '@typescript-eslint/utils': 8.50.1([email protected])([email protected])
- '@typescript-eslint/visitor-keys': 8.50.1
+ '@typescript-eslint/parser': 8.51.0([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.51.0
+ '@typescript-eslint/type-utils': 8.51.0([email protected])([email protected])
+ '@typescript-eslint/utils': 8.51.0([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 8.51.0
eslint: 9.39.2
ignore: 7.0.4
natural-compare: 1.4.0
- ts-api-utils: 2.1.0([email protected])
+ ts-api-utils: 2.3.0([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/scope-manager': 8.50.1
- '@typescript-eslint/types': 8.50.1
- '@typescript-eslint/typescript-estree': 8.50.1([email protected])
- '@typescript-eslint/visitor-keys': 8.50.1
+ '@typescript-eslint/scope-manager': 8.51.0
+ '@typescript-eslint/types': 8.51.0
+ '@typescript-eslint/typescript-estree': 8.51.0([email protected])
+ '@typescript-eslint/visitor-keys': 8.51.0
debug: 4.4.3
eslint: 9.39.2
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/tsconfig-utils': 8.50.1([email protected])
- '@typescript-eslint/types': 8.50.1
+ '@typescript-eslint/tsconfig-utils': 8.51.0([email protected])
+ '@typescript-eslint/types': 8.51.0
debug: 4.4.3
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.50.1
- '@typescript-eslint/visitor-keys': 8.50.1
+ '@typescript-eslint/types': 8.51.0
+ '@typescript-eslint/visitor-keys': 8.51.0
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
typescript: 5.9.3
dependencies:
- '@typescript-eslint/types': 8.50.1
- '@typescript-eslint/typescript-estree': 8.50.1([email protected])
- '@typescript-eslint/utils': 8.50.1([email protected])([email protected])
+ '@typescript-eslint/types': 8.51.0
+ '@typescript-eslint/typescript-estree': 8.51.0([email protected])
+ '@typescript-eslint/utils': 8.51.0([email protected])([email protected])
debug: 4.4.3
eslint: 9.39.2
- ts-api-utils: 2.1.0([email protected])
+ ts-api-utils: 2.3.0([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/project-service': 8.50.1([email protected])
- '@typescript-eslint/tsconfig-utils': 8.50.1([email protected])
- '@typescript-eslint/types': 8.50.1
- '@typescript-eslint/visitor-keys': 8.50.1
+ '@typescript-eslint/project-service': 8.51.0([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.51.0([email protected])
+ '@typescript-eslint/types': 8.51.0
+ '@typescript-eslint/visitor-keys': 8.51.0
debug: 4.4.3
minimatch: 9.0.5
semver: 7.7.3
tinyglobby: 0.2.15
- ts-api-utils: 2.1.0([email protected])
+ ts-api-utils: 2.3.0([email protected])
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
dependencies:
'@eslint-community/eslint-utils': 4.9.0([email protected])
- '@typescript-eslint/scope-manager': 8.50.1
- '@typescript-eslint/types': 8.50.1
- '@typescript-eslint/typescript-estree': 8.50.1([email protected])
+ '@typescript-eslint/scope-manager': 8.51.0
+ '@typescript-eslint/types': 8.51.0
+ '@typescript-eslint/typescript-estree': 8.51.0([email protected])
eslint: 9.39.2
typescript: 5.9.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.50.1
+ '@typescript-eslint/types': 8.51.0
eslint-visitor-keys: 4.2.1
'@umami/[email protected]': {}
@@ -15900,17 +15900,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 8.50.1([email protected])([email protected])
+ '@typescript-eslint/parser': 8.51.0([email protected])([email protected])
eslint: 9.39.2
eslint-import-resolver-node: 0.3.9
transitivePeerDependencies:
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@ -15921,7 +15921,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.39.2
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -15933,7 +15933,7 @@ snapshots:
string.prototype.trimend: 1.0.9
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 8.50.1([email protected])([email protected])
+ '@typescript-eslint/parser': 8.51.0([email protected])([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -20213,7 +20213,7 @@ snapshots:
optionalDependencies:
'@rollup/rollup-linux-x64-gnu': 4.6.1
dependencies:
typescript: 5.9.3
@@ -20418,12 +20418,12 @@ snapshots:
dependencies:
ts-toolbelt: 9.6.0
dependencies:
- '@typescript-eslint/eslint-plugin': 8.50.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
- '@typescript-eslint/parser': 8.50.1([email protected])([email protected])
- '@typescript-eslint/typescript-estree': 8.50.1([email protected])
- '@typescript-eslint/utils': 8.50.1([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 8.51.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/parser': 8.51.0([email protected])([email protected])
+ '@typescript-eslint/typescript-estree': 8.51.0([email protected])
+ '@typescript-eslint/utils': 8.51.0([email protected])([email protected])
eslint: 9.39.2
typescript: 5.9.3
transitivePeerDependencies:
diff --git a/tooling/eslint/package.json b/tooling/eslint/package.json
index c795b706d..3214ec298 100644
--- a/tooling/eslint/package.json
+++ b/tooling/eslint/package.json
@@ -24,7 +24,7 @@
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.1.1",
- "typescript-eslint": "^8.50.1"
+ "typescript-eslint": "^8.51.0"
},
"devDependencies": {
"@homarr/prettier-config": "workspace:^0.1.0",