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.12.2 (#1381)
homarr-renovate[bot]17401d1d7284
diff --git a/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/_rename-group-form.tsx b/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/_rename-group-form.tsxindex 5f71808d4..407ee2429 100644--- a/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/_rename-group-form.tsx+++ b/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/_rename-group-form.tsx@@ -58,7 +58,7 @@ export const RenameGroupForm = ({ group, disabled }: RenameGroupFormProps) => {},);},- [group.id, mutate, t],+ [group.id, mutate, t, disabled],);return (diff --git a/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/permissions/_group-permission-form.tsx b/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/permissions/_group-permission-form.tsxindex ef5906354..bcf0d3639 100644--- a/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/permissions/_group-permission-form.tsx+++ b/apps/nextjs/src/app/[locale]/manage/users/groups/[id]/permissions/_group-permission-form.tsx@@ -45,9 +45,7 @@ export const PermissionForm = ({ children, initialPermissions }: PropsWithChildr);};-type FormType = {- [key in GroupPermissionKey]: boolean;-};+type FormType = Record<GroupPermissionKey, boolean>;export const PermissionSwitch = ({ name }: { name: GroupPermissionKey }) => {const form = useFormContext();diff --git a/apps/nextjs/src/versions/package-reader.ts b/apps/nextjs/src/versions/package-reader.tsindex c61da286b..25976619e 100644--- a/apps/nextjs/src/versions/package-reader.ts+++ b/apps/nextjs/src/versions/package-reader.ts@@ -29,7 +29,7 @@ export const getPackageAttributesAsync = async () => {};};-type PackageJsonDependencies = { [key in string]: string };+type PackageJsonDependencies = Record<string, string>;interface PackageJson {dependencies: PackageJsonDependencies | undefined;}diff --git a/packages/server-settings/src/index.ts b/packages/server-settings/src/index.tsindex ee5a6ade8..7934dc0da 100644--- a/packages/server-settings/src/index.ts+++ b/packages/server-settings/src/index.ts@@ -1,8 +1,6 @@export const defaultServerSettingsKeys = ["analytics", "crawlingAndIndexing"] as const;-export type ServerSettingsRecord = {- [key in (typeof defaultServerSettingsKeys)[number]]: Record<string, unknown>;-};+export type ServerSettingsRecord = Record<(typeof defaultServerSettingsKeys)[number], Record<string, unknown>>;export const defaultServerSettings = {analytics: {diff --git a/packages/widgets/src/import.ts b/packages/widgets/src/import.tsindex 2868bb32e..911871a38 100644--- a/packages/widgets/src/import.ts+++ b/packages/widgets/src/import.ts@@ -1,5 +1,3 @@import type { WidgetKind } from "@homarr/definitions";-export type WidgetImportRecord = {- [K in WidgetKind]: unknown;-};+export type WidgetImportRecord = Record<WidgetKind, unknown>;diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 19ad1320d..9c1dbcb3f 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1668,7 +1668,7 @@ importers:version: 2.2.3([email protected])eslint-plugin-import:specifier: ^2.31.0- version: 2.31.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])+ version: 2.31.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])eslint-plugin-jsx-a11y:specifier: ^6.10.2version: 6.10.2([email protected])@@ -1679,8 +1679,8 @@ importers:specifier: ^5.0.0version: 5.0.0([email protected])typescript-eslint:- specifier: ^8.11.0- version: 8.11.0([email protected])([email protected])+ specifier: ^8.12.2+ version: 8.12.2([email protected])([email protected])devDependencies:'@homarr/prettier-config':specifier: workspace:^0.1.0@@ -3709,8 +3709,8 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-4YnrRemBShWRO2QjvUin8ESA41rH+9nQGLUGZV/1IDhi3SL9OhdpNC/MrulTWuptXKwhx/aDxE7toV0f/ypIXQ==}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-KhGn2LjW1PJT2A/GfDpiyOfS4a8xHQv2myUagTM5+zsormOmBlYsnQ6pobJ8XxJmh6hnHwa2Mbe3fPrDJoDhbA==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0@@ -3720,8 +3720,8 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-lmt73NeHdy1Q/2ul295Qy3uninSqi6wQI18XwSpm8w0ZbQXUpjCAWP1Vlv/obudoBiIjJVjlztjQ+d/Md98Yxg==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0@@ -3730,12 +3730,12 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-ItiMfJS6pQU0NIKAaybBKkuVzo6IdnAhPFZA/2Mba/uBjuPQPet/8+zh5GtLHwmuFRShZx+8lhIs7/QeDHflOg==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:typescript: '*'@@ -3743,12 +3743,12 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:typescript: '*'@@ -3756,14 +3756,14 @@ packages:typescript:optional: true- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}'@umami/[email protected]':@@ -7630,8 +7630,8 @@ packages:resolution: {integrity: sha512-1HTsf5/QVRmLzcGfldPFvkVsAdi1db1BBKzi7iW3KBUlOICg/nKnFS+jGqDJS3YD8VsWbAh7JiHeBvbsw8RPxA==}- resolution: {integrity: sha512-cBRGnW3FSlxaYwU8KfAewxFK5uzeOAp0l2KebIlPDOT5olVi65KDG/yjBooPBG0kGW/HLkoz1c/iuBFehcS3IA==}+ resolution: {integrity: sha512-UbuVUWSrHVR03q9CWx+JDHeO6B/Hr9p4U5lRH++5tq/EbFq1faYZe50ZSBePptgfIKLEti0aPQ3hFgnPVcd8ZQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:typescript: '*'@@ -10132,14 +10132,14 @@ snapshots:dependencies:'@types/node': 22.8.5- '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])':+ '@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:'@eslint-community/regexpp': 4.11.1- '@typescript-eslint/parser': 8.11.0([email protected])([email protected])- '@typescript-eslint/scope-manager': 8.11.0- '@typescript-eslint/type-utils': 8.11.0([email protected])([email protected])- '@typescript-eslint/utils': 8.11.0([email protected])([email protected])- '@typescript-eslint/visitor-keys': 8.11.0+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])+ '@typescript-eslint/scope-manager': 8.12.2+ '@typescript-eslint/type-utils': 8.12.2([email protected])([email protected])+ '@typescript-eslint/utils': 8.12.2([email protected])([email protected])+ '@typescript-eslint/visitor-keys': 8.12.2eslint: 9.13.0graphemer: 1.4.0ignore: 5.3.2@@ -10150,12 +10150,12 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:- '@typescript-eslint/scope-manager': 8.11.0- '@typescript-eslint/types': 8.11.0- '@typescript-eslint/typescript-estree': 8.11.0([email protected])- '@typescript-eslint/visitor-keys': 8.11.0+ '@typescript-eslint/scope-manager': 8.12.2+ '@typescript-eslint/types': 8.12.2+ '@typescript-eslint/typescript-estree': 8.12.2([email protected])+ '@typescript-eslint/visitor-keys': 8.12.2debug: 4.3.7eslint: 9.13.0optionalDependencies:@@ -10163,15 +10163,15 @@ snapshots:transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected]':+ '@typescript-eslint/[email protected]':dependencies:- '@typescript-eslint/types': 8.11.0- '@typescript-eslint/visitor-keys': 8.11.0+ '@typescript-eslint/types': 8.12.2+ '@typescript-eslint/visitor-keys': 8.12.2dependencies:- '@typescript-eslint/typescript-estree': 8.11.0([email protected])- '@typescript-eslint/utils': 8.11.0([email protected])([email protected])+ '@typescript-eslint/typescript-estree': 8.12.2([email protected])+ '@typescript-eslint/utils': 8.12.2([email protected])([email protected])debug: 4.3.7ts-api-utils: 1.3.0([email protected])optionalDependencies:@@ -10180,12 +10180,12 @@ snapshots:- eslint- 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/types': 8.11.0- '@typescript-eslint/visitor-keys': 8.11.0+ '@typescript-eslint/types': 8.12.2+ '@typescript-eslint/visitor-keys': 8.12.2debug: 4.3.7fast-glob: 3.3.2is-glob: 4.0.3@@ -10197,20 +10197,20 @@ snapshots:transitivePeerDependencies:- supports-colordependencies:'@eslint-community/eslint-utils': 4.4.0([email protected])- '@typescript-eslint/scope-manager': 8.11.0- '@typescript-eslint/types': 8.11.0- '@typescript-eslint/typescript-estree': 8.11.0([email protected])+ '@typescript-eslint/scope-manager': 8.12.2+ '@typescript-eslint/types': 8.12.2+ '@typescript-eslint/typescript-estree': 8.12.2([email protected])eslint: 9.13.0transitivePeerDependencies:- supports-color- typescript- '@typescript-eslint/[email protected]':+ '@typescript-eslint/[email protected]':dependencies:- '@typescript-eslint/types': 8.11.0+ '@typescript-eslint/types': 8.12.2eslint-visitor-keys: 3.4.3'@umami/[email protected]': {}@@ -11582,17 +11582,17 @@ snapshots:transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected]):dependencies:debug: 3.2.7optionalDependencies:- '@typescript-eslint/parser': 8.11.0([email protected])([email protected])+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])eslint: 9.13.0eslint-import-resolver-node: 0.3.9transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]):+ [email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]):dependencies:'@rtsao/scc': 1.1.0array-includes: 3.1.8@@ -11603,7 +11603,7 @@ snapshots:doctrine: 2.1.0eslint: 9.13.0eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.12.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])+ eslint-module-utils: 2.12.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])hasown: 2.0.2is-core-module: 2.15.1is-glob: 4.0.3@@ -11615,7 +11615,7 @@ snapshots:string.prototype.trimend: 1.0.8tsconfig-paths: 3.15.0optionalDependencies:- '@typescript-eslint/parser': 8.11.0([email protected])([email protected])+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])transitivePeerDependencies:- eslint-import-resolver-typescript- eslint-import-resolver-webpack@@ -14586,11 +14586,11 @@ snapshots:dependencies:ts-toolbelt: 9.6.0dependencies:- '@typescript-eslint/eslint-plugin': 8.11.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])- '@typescript-eslint/parser': 8.11.0([email protected])([email protected])- '@typescript-eslint/utils': 8.11.0([email protected])([email protected])+ '@typescript-eslint/eslint-plugin': 8.12.2(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])+ '@typescript-eslint/parser': 8.12.2([email protected])([email protected])+ '@typescript-eslint/utils': 8.12.2([email protected])([email protected])optionalDependencies:typescript: 5.6.3transitivePeerDependencies:diff --git a/tooling/eslint/package.json b/tooling/eslint/package.jsonindex ae728a643..b9d146c5a 100644--- a/tooling/eslint/package.json+++ b/tooling/eslint/package.json@@ -23,7 +23,7 @@"eslint-plugin-jsx-a11y": "^6.10.2","eslint-plugin-react": "^7.37.2","eslint-plugin-react-hooks": "^5.0.0",- "typescript-eslint": "^8.11.0"+ "typescript-eslint": "^8.12.2"},"devDependencies": {"@homarr/prettier-config": "workspace:^0.1.0",