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.18.0 (#1634)
homarr-renovate[bot]3bee3fe3f64c
diff --git a/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/_components/_profile-avatar-form.tsx b/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/_components/_profile-avatar-form.tsxindex 00b7c0deb..b510f37dc 100644--- a/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/_components/_profile-avatar-form.tsx+++ b/apps/nextjs/src/app/[locale]/manage/users/[userId]/general/_components/_profile-avatar-form.tsx@@ -149,6 +149,9 @@ const fileToBase64Async = async (file: File): Promise<string> =>new Promise((resolve, reject) => {const reader = new FileReader();reader.readAsDataURL(file);++ // The functionality below works as expected and doesn't result in [object Object].+ // eslint-disable-next-line @typescript-eslint/no-base-to-stringreader.onload = () => resolve(reader.result?.toString() ?? "");reader.onerror = reject;});diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex fb7ce7ffa..1de05dbf9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1757,7 +1757,7 @@ importers:version: 2.3.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])@@ -1768,8 +1768,8 @@ importers:specifier: ^5.1.0version: 5.1.0([email protected])typescript-eslint:- specifier: ^8.17.0- version: 8.17.0([email protected])([email protected])+ specifier: ^8.18.0+ version: 8.18.0([email protected])([email protected])devDependencies:'@homarr/prettier-config':specifier: workspace:^0.1.0@@ -3867,66 +3867,51 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-4YnrRemBShWRO2QjvUin8ESA41rH+9nQGLUGZV/1IDhi3SL9OhdpNC/MrulTWuptXKwhx/aDxE7toV0f/ypIXQ==}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-HU1KAdW3Tt8zQkdvNoIijfWDMvdSweFYm4hWh+KwhPstv+sCmWb89hCIP8msFm9N1R/ooh9honpSuvqKWlYy3w==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-NR2yS7qUqCL7AIxdJUQf2MKKNDVNaig/dEB0GBLU7D+ZdHgK1NoH/3wsgO3OnPVipn51tG3MAwaODEGil70WEw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0eslint: ^8.57.0 || ^9.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true+ typescript: '>=4.8.4 <5.8.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-hgUZ3kTEpVzKaK3uNibExUYm6SKKOmTU2BOxBSvOYwtJEPdVQ70kZJpPjstlnhCHcuc2WGfSbpKlb/69ttyN5Q==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true+ typescript: '>=4.8.4 <5.8.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-/ewp4XjvnxaREtqsZjF4Mfn078RD/9GmiEAtTeLQ7yFdKnqwTOgRMSvFz4et9U5RiJQ15WTGXPLj89zGusvxBg==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-PNGcHop0jkK2WVYGotk/hxj+UFLhXtGPiGtiaWgVBVP1jhMoMCHlTyJA+hEj4rszoSdLTK3fN4oOatrL0Cp+Xw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-q38llWJYPd63rRnJ6wY/ZQqIzPrBCkPdpIsaCfkR3Q4t3p6sb422zougfad4TFW9+ElIFLVDzWGiGAfbb/v2qw==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-er224jRepVAVLnMF2Q7MZJCq5CsdH2oqjP4dT7K6ij09Kyd+R21r7UVJrF0buMVdZS5QRhDzpvzAxHxabQadow==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true+ typescript: '>=4.8.4 <5.8.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-gY2TVzeve3z6crqh2Ic7Cr+CAv6pfb0Egee7J5UAVWCpVvDI/F71wNfolIim4FE6hT15EbpZFVUj9j5i38jYXA==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-FNYxgyTCAnFwTrzpBGq+zrnoTO4x0c1CKYY5MuUTzpScqmY5fmsh2o3+57lqdI3NZucBDCzDgdEbIaNfAjAHQA==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-JqkOopc1nRKZpX+opvKqnM3XUlM7LpFMD0lYxTqOTKQfCWAmxw45e3qlOCsEqEB2yuacujivudOFpCnqkBDNMw==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-rqQgFRu6yPkauz+ms3nQpohwejS8bvgbPyIDq13cgEDbkXt4LH4OkDMT0/fN1RUtzG8e8AKJyDBoocuQh8qNeg==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true+ typescript: '>=4.8.4 <5.8.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-bQC8BnEkxqG8HBGKwG9wXlZqg37RKSMY7v/X8VEWD8JG2JuTHuNK0VFvMPMUKQcbk6B+tf05k+4AShAEtCtJ/w==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-p6GLdY383i7h5b0Qrfbix3Vc3+J2k6QWw6UMUeY5JGfm3C5LbZ4QIZzJNoNOfgyRe0uuYKjvVOsO/jD4SJO+xg==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true+ typescript: '>=4.8.4 <5.8.0'- '@typescript-eslint/[email protected]':- resolution: {integrity: sha512-1Hm7THLpO6ww5QU6H/Qp+AusUUl+z/CAm3cNZZ0jQvon9yicgO7Rwd+/WWRpMKLYV6p2UvdbR27c86rzCPpreg==}+ '@typescript-eslint/[email protected]':+ resolution: {integrity: sha512-pCh/qEA8Lb1wVIqNvBke8UaRjJ6wrAWkJO5yyIbs8Yx6TNGYyfNjOo61tLv+WwLvoLPp4BQ8B7AHKijl8NGUfw==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}'@umami/[email protected]':@@ -7877,15 +7862,12 @@ packages:resolution: {integrity: sha512-1HTsf5/QVRmLzcGfldPFvkVsAdi1db1BBKzi7iW3KBUlOICg/nKnFS+jGqDJS3YD8VsWbAh7JiHeBvbsw8RPxA==}- resolution: {integrity: sha512-409VXvFd/f1br1DCbuKNFqQpXICoTB+V51afcwG1pn1a3Cp92MqAUges3YjwEdQ0cMUoCIodjVDAYzyD8h3SYA==}+ resolution: {integrity: sha512-Xq2rRjn6tzVpAyHr3+nmSg1/9k9aIHnJ2iZeOH7cfGOWqTkXTm3kwpQglEuLGdNrYvPF+2gtAs+/KF5rjVo+WQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}peerDependencies:eslint: ^8.57.0 || ^9.0.0- typescript: '*'- peerDependenciesMeta:- typescript:- optional: true+ typescript: '>=4.8.4 <5.8.0'resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==}@@ -10435,86 +10417,81 @@ snapshots:dependencies:'@types/node': 22.10.1- '@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.12.1- '@typescript-eslint/parser': 8.17.0([email protected])([email protected])- '@typescript-eslint/scope-manager': 8.17.0- '@typescript-eslint/type-utils': 8.17.0([email protected])([email protected])- '@typescript-eslint/utils': 8.17.0([email protected])([email protected])- '@typescript-eslint/visitor-keys': 8.17.0+ '@typescript-eslint/parser': 8.18.0([email protected])([email protected])+ '@typescript-eslint/scope-manager': 8.18.0+ '@typescript-eslint/type-utils': 8.18.0([email protected])([email protected])+ '@typescript-eslint/utils': 8.18.0([email protected])([email protected])+ '@typescript-eslint/visitor-keys': 8.18.0eslint: 9.16.0graphemer: 1.4.0ignore: 5.3.2natural-compare: 1.4.0ts-api-utils: 1.3.0([email protected])- optionalDependencies:typescript: 5.7.2transitivePeerDependencies:- supports-colordependencies:- '@typescript-eslint/scope-manager': 8.17.0- '@typescript-eslint/types': 8.17.0- '@typescript-eslint/typescript-estree': 8.17.0([email protected])- '@typescript-eslint/visitor-keys': 8.17.0+ '@typescript-eslint/scope-manager': 8.18.0+ '@typescript-eslint/types': 8.18.0+ '@typescript-eslint/typescript-estree': 8.18.0([email protected])+ '@typescript-eslint/visitor-keys': 8.18.0debug: 4.3.7eslint: 9.16.0- optionalDependencies:typescript: 5.7.2transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected]':+ '@typescript-eslint/[email protected]':dependencies:- '@typescript-eslint/types': 8.17.0- '@typescript-eslint/visitor-keys': 8.17.0+ '@typescript-eslint/types': 8.18.0+ '@typescript-eslint/visitor-keys': 8.18.0dependencies:- '@typescript-eslint/typescript-estree': 8.17.0([email protected])- '@typescript-eslint/utils': 8.17.0([email protected])([email protected])+ '@typescript-eslint/typescript-estree': 8.18.0([email protected])+ '@typescript-eslint/utils': 8.18.0([email protected])([email protected])debug: 4.3.7eslint: 9.16.0ts-api-utils: 1.3.0([email protected])- optionalDependencies:typescript: 5.7.2transitivePeerDependencies:- 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.17.0- '@typescript-eslint/visitor-keys': 8.17.0+ '@typescript-eslint/types': 8.18.0+ '@typescript-eslint/visitor-keys': 8.18.0debug: 4.3.7fast-glob: 3.3.2is-glob: 4.0.3minimatch: 9.0.5semver: 7.6.3ts-api-utils: 1.3.0([email protected])- optionalDependencies:typescript: 5.7.2transitivePeerDependencies:- supports-colordependencies:'@eslint-community/eslint-utils': 4.4.0([email protected])- '@typescript-eslint/scope-manager': 8.17.0- '@typescript-eslint/types': 8.17.0- '@typescript-eslint/typescript-estree': 8.17.0([email protected])+ '@typescript-eslint/scope-manager': 8.18.0+ '@typescript-eslint/types': 8.18.0+ '@typescript-eslint/typescript-estree': 8.18.0([email protected])eslint: 9.16.0- optionalDependencies:typescript: 5.7.2transitivePeerDependencies:- supports-color- '@typescript-eslint/[email protected]':+ '@typescript-eslint/[email protected]':dependencies:- '@typescript-eslint/types': 8.17.0+ '@typescript-eslint/types': 8.18.0eslint-visitor-keys: 4.2.0'@umami/[email protected]': {}@@ -11924,17 +11901,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.17.0([email protected])([email protected])+ '@typescript-eslint/parser': 8.18.0([email protected])([email protected])eslint: 9.16.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@@ -11945,7 +11922,7 @@ snapshots:doctrine: 2.1.0eslint: 9.16.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@@ -11957,7 +11934,7 @@ snapshots:string.prototype.trimend: 1.0.8tsconfig-paths: 3.15.0optionalDependencies:- '@typescript-eslint/parser': 8.17.0([email protected])([email protected])+ '@typescript-eslint/parser': 8.18.0([email protected])([email protected])transitivePeerDependencies:- eslint-import-resolver-typescript- eslint-import-resolver-webpack@@ -15000,13 +14977,12 @@ snapshots:dependencies:ts-toolbelt: 9.6.0dependencies:- '@typescript-eslint/eslint-plugin': 8.17.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])- '@typescript-eslint/parser': 8.17.0([email protected])([email protected])- '@typescript-eslint/utils': 8.17.0([email protected])([email protected])+ '@typescript-eslint/eslint-plugin': 8.18.0(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])+ '@typescript-eslint/parser': 8.18.0([email protected])([email protected])+ '@typescript-eslint/utils': 8.18.0([email protected])([email protected])eslint: 9.16.0- optionalDependencies:typescript: 5.7.2transitivePeerDependencies:- supports-colordiff --git a/tooling/eslint/package.json b/tooling/eslint/package.jsonindex 02c23bbe1..c8a0dec2a 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.2","eslint-plugin-react-hooks": "^5.1.0",- "typescript-eslint": "^8.17.0"+ "typescript-eslint": "^8.18.0"},"devDependencies": {"@homarr/prettier-config": "workspace:^0.1.0",