From a06485f1bed0f117f8da7277b0074ae85f3b5ffa Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 9 Jul 2025 21:05:54 -0700 Subject: [PATCH] Avoid some lint errors --- package.json | 4 +- packages/skin-database/.eslintrc.js | 2 + .../skin-database/DiscordWinstonTransport.js | 2 +- packages/skin-database/data/IaItemModel.ts | 2 +- packages/skin-database/data/SkinModel.ts | 2 +- .../legacy-client/src/redux/epics.js | 2 +- packages/skin-database/package.json | 4 +- packages/skin-database/skinHash.ts | 2 +- .../skin-database/tasks/integrityCheck.ts | 2 +- packages/skin-database/tasks/refresh.ts | 2 +- packages/webamp-modern/package.json | 4 +- packages/webamp/js/components/Vis.tsx | 47 +-- packages/webamp/package.json | 4 +- pnpm-lock.yaml | 279 ++++++++++-------- 14 files changed, 190 insertions(+), 168 deletions(-) diff --git a/package.json b/package.json index 0fe20ca8..edb7328e 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "@swc/core": "^1.3.24", "@swc/jest": "^0.2.24", "@types/jest": "^30.0.0", - "@typescript-eslint/eslint-plugin": "^7.1.0", - "@typescript-eslint/parser": "^7.1.0", + "@typescript-eslint/eslint-plugin": "^8.36.0", + "@typescript-eslint/parser": "^8.36.0", "assert": "^2.0.0", "eslint": "^8.57.0", "eslint-plugin-import": "^2.25.4", diff --git a/packages/skin-database/.eslintrc.js b/packages/skin-database/.eslintrc.js index c408e0fa..08ad143d 100644 --- a/packages/skin-database/.eslintrc.js +++ b/packages/skin-database/.eslintrc.js @@ -14,6 +14,7 @@ module.exports = { rules: { // "no-console": "warn", "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/no-require-imports": "off", // Allow require() in JS files "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-explicit-any": "off", @@ -23,6 +24,7 @@ module.exports = { { argsIgnorePattern: "^_", varsIgnorePattern: "^_", + caughtErrorsIgnorePattern: "^_", }, ], }, diff --git a/packages/skin-database/DiscordWinstonTransport.js b/packages/skin-database/DiscordWinstonTransport.js index 5311f4fa..6aff500b 100644 --- a/packages/skin-database/DiscordWinstonTransport.js +++ b/packages/skin-database/DiscordWinstonTransport.js @@ -23,7 +23,7 @@ class DiscordWinstonTransport extends Transport { let dataString = null; try { dataString = JSON.stringify(rest, null, 2); - } catch (e) { + } catch (_e) { dataString = "COULD NOT STRINGIFY DATA"; } await this._channel.send(`${message} diff --git a/packages/skin-database/data/IaItemModel.ts b/packages/skin-database/data/IaItemModel.ts index 8164f99a..d8894107 100644 --- a/packages/skin-database/data/IaItemModel.ts +++ b/packages/skin-database/data/IaItemModel.ts @@ -130,7 +130,7 @@ export default class IaItemModel { } try { return JSON.parse(this.row.metadata).files; - } catch (e) { + } catch (_e) { console.warn("Could not parse", this.row.metadata); return []; } diff --git a/packages/skin-database/data/SkinModel.ts b/packages/skin-database/data/SkinModel.ts index a6e0fe7e..37e8d450 100644 --- a/packages/skin-database/data/SkinModel.ts +++ b/packages/skin-database/data/SkinModel.ts @@ -371,7 +371,7 @@ export default class SkinModel { } try { return getTransparentAreaSize(text); - } catch (e) { + } catch (_e) { console.error(`Failed: ${this.getMd5()}`); return 0; } diff --git a/packages/skin-database/legacy-client/src/redux/epics.js b/packages/skin-database/legacy-client/src/redux/epics.js index 128225d8..6dd23dfa 100644 --- a/packages/skin-database/legacy-client/src/redux/epics.js +++ b/packages/skin-database/legacy-client/src/redux/epics.js @@ -513,7 +513,7 @@ const markNsfwEpic = (actions) => { } `; await Utils.fetchGraphql(mutation, { md5: hash }); - } catch (e) { + } catch (_e) { return Actions.alert( "Oops. Something went wrong. Please try again later." ); diff --git a/packages/skin-database/package.json b/packages/skin-database/package.json index e9b914fc..f1345612 100644 --- a/packages/skin-database/package.json +++ b/packages/skin-database/package.json @@ -73,8 +73,8 @@ "@types/jest": "^30.0.0", "@types/lru-cache": "^5.1.0", "@types/node-fetch": "^2.5.7", - "@typescript-eslint/eslint-plugin": "^7.1.0", - "@typescript-eslint/parser": "^7.1.0", + "@typescript-eslint/eslint-plugin": "^8.36.0", + "@typescript-eslint/parser": "^8.36.0", "grats": "^0.0.31", "typescript": "^5.6.2" }, diff --git a/packages/skin-database/skinHash.ts b/packages/skin-database/skinHash.ts index ccb66deb..3fa8efa4 100644 --- a/packages/skin-database/skinHash.ts +++ b/packages/skin-database/skinHash.ts @@ -38,7 +38,7 @@ async function getFileData(file: JSZip.JSZipObject): Promise { uncompressedSize: file._data.uncompressedSize, isDirectory: file.dir, }; - } catch (e) { + } catch (_e) { // TODO: We could flag these. return null; } diff --git a/packages/skin-database/tasks/integrityCheck.ts b/packages/skin-database/tasks/integrityCheck.ts index 98039626..fdccca9e 100644 --- a/packages/skin-database/tasks/integrityCheck.ts +++ b/packages/skin-database/tasks/integrityCheck.ts @@ -47,7 +47,7 @@ export async function checkInternetArchiveMetadata(): Promise { continue; console.warn("Too few files", { identifier, skin_md5 }); } - } catch (e) { + } catch (_e) { console.log(metadata); } } diff --git a/packages/skin-database/tasks/refresh.ts b/packages/skin-database/tasks/refresh.ts index 9a76ad16..ac84a84b 100644 --- a/packages/skin-database/tasks/refresh.ts +++ b/packages/skin-database/tasks/refresh.ts @@ -79,7 +79,7 @@ export async function _refresh( let skinType: SkinType; try { skinType = await getSkinType(await skin.getZip()); - } catch (e) { + } catch (_e) { throw new Error("Not a skin (no main.bmp/skin.xml)"); } if (skinType !== "CLASSIC") { diff --git a/packages/webamp-modern/package.json b/packages/webamp-modern/package.json index b6cf1159..a56b14d3 100644 --- a/packages/webamp-modern/package.json +++ b/packages/webamp-modern/package.json @@ -24,8 +24,8 @@ "@babel/preset-env": "^7.17.10", "@types/estree": "^0.0.50", "@types/jest": "^30.0.0", - "@typescript-eslint/eslint-plugin": "^7.1.0", - "@typescript-eslint/parser": "^7.1.0", + "@typescript-eslint/eslint-plugin": "^8.36.0", + "@typescript-eslint/parser": "^8.36.0", "babel-jest": "^28.1.0", "eslint": "^8.57.0", "eslint-plugin-rulesdir": "^0.2.0", diff --git a/packages/webamp/js/components/Vis.tsx b/packages/webamp/js/components/Vis.tsx index 6052f6a0..39c2bbd0 100644 --- a/packages/webamp/js/components/Vis.tsx +++ b/packages/webamp/js/components/Vis.tsx @@ -17,14 +17,15 @@ type Props = { }; // Pre-render the background grid -function preRenderBg( - width: number, - height: number, - bgColor: string, - fgColor: string, - windowShade: boolean, - pixelDensity: number -): HTMLCanvasElement { +function preRenderBg(options: { + width: number; + height: number; + bgColor: string; + fgColor: string; + windowShade: boolean; + pixelDensity: number; +}): HTMLCanvasElement { + const { width, height, bgColor, fgColor, windowShade, pixelDensity } = options; // Off-screen canvas for pre-rendering the background const bgCanvas = document.createElement("canvas"); bgCanvas.width = width; @@ -67,26 +68,28 @@ export default function Vis({ analyser }: Props) { const renderHeight = smallVis ? 5 : 16; const renderWidth = 76; const pixelDensity = doubled && smallVis ? 2 : 1; - const renderWidthBG = !isMWOpen - ? renderWidth - : windowShade - ? doubled - ? renderWidth - : 38 - : renderWidth * pixelDensity; + + let renderWidthBG: number; + if (!isMWOpen) { + renderWidthBG = renderWidth; + } else if (windowShade) { + renderWidthBG = doubled ? renderWidth : 38; + } else { + renderWidthBG = renderWidth * pixelDensity; + } const width = renderWidth * pixelDensity; const height = renderHeight * pixelDensity; const bgCanvas = useMemo(() => { - return preRenderBg( - renderWidthBG, + return preRenderBg({ + width: renderWidthBG, height, - colors[0], - colors[1], - Boolean(windowShade), - pixelDensity - ); + bgColor: colors[0], + fgColor: colors[1], + windowShade: Boolean(windowShade), + pixelDensity, + }); }, [colors, height, renderWidthBG, windowShade, pixelDensity]); const [canvas, setCanvas] = useState(null); diff --git a/packages/webamp/package.json b/packages/webamp/package.json index e791d008..4c0c1bf1 100644 --- a/packages/webamp/package.json +++ b/packages/webamp/package.json @@ -88,8 +88,8 @@ "@types/fscreen": "^1.0.1", "@types/invariant": "^2.2.29", "@types/jest": "^30.0.0", - "@typescript-eslint/eslint-plugin": "^7.1.0", - "@typescript-eslint/parser": "^7.1.0", + "@typescript-eslint/eslint-plugin": "^8.36.0", + "@typescript-eslint/parser": "^8.36.0", "@types/jszip": "^3.1.5", "@types/lodash": "^4.14.116", "@types/lodash-es": "^4.17.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8d8fc265..3ed0b681 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,11 +21,11 @@ importers: specifier: ^30.0.0 version: 30.0.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.1.0 - version: 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/parser': - specifier: ^7.1.0 - version: 7.5.0(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(eslint@8.57.0)(typescript@5.6.3) assert: specifier: ^2.0.0 version: 2.1.0 @@ -34,7 +34,7 @@ importers: version: 8.57.0 eslint-plugin-import: specifier: ^2.25.4 - version: 2.29.1(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0) + version: 2.29.1(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0) eslint-plugin-prettier: specifier: ^4.0.0 version: 4.2.1(eslint@8.57.0)(prettier@2.8.8) @@ -248,11 +248,11 @@ importers: specifier: ^2.5.7 version: 2.6.11 '@typescript-eslint/eslint-plugin': - specifier: ^7.1.0 - version: 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/parser': - specifier: ^7.1.0 - version: 7.5.0(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(eslint@8.57.0)(typescript@5.6.3) grats: specifier: ^0.0.31 version: 0.0.31 @@ -424,11 +424,11 @@ importers: specifier: ^0.0.27 version: 0.0.27 '@typescript-eslint/eslint-plugin': - specifier: ^7.1.0 - version: 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/parser': - specifier: ^7.1.0 - version: 7.5.0(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(eslint@8.57.0)(typescript@5.6.3) canvas-mock: specifier: 0.0.0 version: 0.0.0 @@ -567,11 +567,11 @@ importers: specifier: ^30.0.0 version: 30.0.0 '@typescript-eslint/eslint-plugin': - specifier: ^7.1.0 - version: 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) '@typescript-eslint/parser': - specifier: ^7.1.0 - version: 7.5.0(eslint@8.57.0)(typescript@5.6.3) + specifier: ^8.36.0 + version: 8.36.0(eslint@8.57.0)(typescript@5.6.3) babel-jest: specifier: ^28.1.0 version: 28.1.3(@babel/core@7.27.4) @@ -2343,6 +2343,12 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/eslint-utils@4.7.0': + resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + '@eslint-community/regexpp@4.10.0': resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} @@ -3717,9 +3723,6 @@ packages: '@types/sax@1.2.7': resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} - '@types/semver@7.5.8': - resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - '@types/send@0.17.4': resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} @@ -3774,63 +3777,64 @@ packages: '@types/yoga-layout@1.9.2': resolution: {integrity: sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==} - '@typescript-eslint/eslint-plugin@7.5.0': - resolution: {integrity: sha512-HpqNTH8Du34nLxbKgVMGljZMG0rJd2O9ecvr2QLYp+7512ty1j42KnsFwspPXg1Vh8an9YImf6CokUBltisZFQ==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/eslint-plugin@8.36.0': + resolution: {integrity: sha512-lZNihHUVB6ZZiPBNgOQGSxUASI7UJWhT8nHyUGCnaQ28XFCw98IfrMCG3rUl1uwUWoAvodJQby2KTs79UTcrAg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/parser': ^8.36.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/parser@7.5.0': - resolution: {integrity: sha512-cj+XGhNujfD2/wzR1tabNsidnYRaFfEkcULdcIyVBYcXjBvBKOes+mpMBP7hMpOyk+gBcfXsrg4NBGAStQyxjQ==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/parser@8.36.0': + resolution: {integrity: sha512-FuYgkHwZLuPbZjQHzJXrtXreJdFMKl16BFYyRrLxDhWr6Qr7Kbcu2s1Yhu8tsiMXw1S0W1pjfFfYEt+R604s+Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/scope-manager@7.5.0': - resolution: {integrity: sha512-Z1r7uJY0MDeUlql9XJ6kRVgk/sP11sr3HKXn268HZyqL7i4cEfrdFuSSY/0tUqT37l5zT0tJOsuDP16kio85iA==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@typescript-eslint/type-utils@7.5.0': - resolution: {integrity: sha512-A021Rj33+G8mx2Dqh0nMO9GyjjIBK3MqgVgZ2qlKf6CJy51wY/lkkFqq3TqqnH34XyAHUkq27IjlUkWlQRpLHw==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/project-service@8.36.0': + resolution: {integrity: sha512-JAhQFIABkWccQYeLMrHadu/fhpzmSQ1F1KXkpzqiVxA/iYI6UnRt2trqXHt1sYEcw1mxLnB9rKMsOxXPxowN/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/types@7.5.0': - resolution: {integrity: sha512-tv5B4IHeAdhR7uS4+bf8Ov3k793VEVHd45viRRkehIUZxm0WF82VPiLgHzA/Xl4TGPg1ZD49vfxBKFPecD5/mg==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/scope-manager@8.36.0': + resolution: {integrity: sha512-wCnapIKnDkN62fYtTGv2+RY8FlnBYA3tNm0fm91kc2BjPhV2vIjwwozJ7LToaLAyb1ca8BxrS7vT+Pvvf7RvqA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@7.5.0': - resolution: {integrity: sha512-YklQQfe0Rv2PZEueLTUffiQGKQneiIEKKnfIqPIOxgM9lKSZFCjT5Ad4VqRKj/U4+kQE3fa8YQpskViL7WjdPQ==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/tsconfig-utils@8.36.0': + resolution: {integrity: sha512-Nhh3TIEgN18mNbdXpd5Q8mSCBnrZQeY9V7Ca3dqYvNDStNIGRmJA6dmrIPMJ0kow3C7gcQbpsG2rPzy1Ks/AnA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/utils@7.5.0': - resolution: {integrity: sha512-3vZl9u0R+/FLQcpy2EHyRGNqAS/ofJ3Ji8aebilfJe+fobK8+LbIFmrHciLVDxjDoONmufDcnVSF38KwMEOjzw==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/type-utils@8.36.0': + resolution: {integrity: sha512-5aaGYG8cVDd6cxfk/ynpYzxBRZJk7w/ymto6uiyUFtdCozQIsQWh7M28/6r57Fwkbweng8qAzoMCPwSJfWlmsg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.9.0' - '@typescript-eslint/visitor-keys@7.5.0': - resolution: {integrity: sha512-mcuHM/QircmA6O7fy6nn2w/3ditQkj+SgtOc8DW3uQ10Yfj42amm2i+6F2K4YAOPNNTmE6iM1ynM6lrSwdendA==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/types@8.36.0': + resolution: {integrity: sha512-xGms6l5cTJKQPZOKM75Dl9yBfNdGeLRsIyufewnxT4vZTrjC0ImQT4fj8QmtJK84F58uSh5HVBSANwcfiXxABQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@typescript-eslint/typescript-estree@8.36.0': + resolution: {integrity: sha512-JaS8bDVrfVJX4av0jLpe4ye0BpAaUW7+tnS4Y4ETa3q7NoZgzYbN9zDQTJ8kPb5fQ4n0hliAt9tA4Pfs2zA2Hg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <5.9.0' + + '@typescript-eslint/utils@8.36.0': + resolution: {integrity: sha512-VOqmHu42aEMT+P2qYjylw6zP/3E/HvptRwdn/PZxyV27KhZg2IOszXod4NcXisWzPAGSS4trE/g4moNj6XmH2g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.9.0' + + '@typescript-eslint/visitor-keys@8.36.0': + resolution: {integrity: sha512-vZrhV2lRPWDuGoxcmrzRZyxAggPL+qp3WzUrlZD+slFueDiYHxeBa34dUXPuC0RmGKzl4lS5kFJYvKCq9cnNDA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -6200,6 +6204,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.1: + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@3.19.0: resolution: {integrity: sha512-x6LJGXWCGB/4YOBhL48yeppZTo+YQUNC37N5qqCpC1b1kkNzydlQHQAtPuUSFoZSxgIadrysQoW2Hq602P+uEA==} engines: {node: '>=4'} @@ -7389,6 +7397,10 @@ packages: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} + ignore@7.0.5: + resolution: {integrity: sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==} + engines: {node: '>= 4'} + image-size@2.0.2: resolution: {integrity: sha512-IRqXKlaXwgSMAMtpNzZa1ZAe8m+Sa1770Dhk8VkSsP9LS+iHD62Zd8FQKs8fbPiagBE7BzoFX23cxFnwshpV6w==} engines: {node: '>=16.x'} @@ -9088,10 +9100,6 @@ packages: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} - minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.4: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'} @@ -12275,11 +12283,11 @@ packages: trough@2.2.0: resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} - ts-api-utils@1.3.0: - resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} - engines: {node: '>=16'} + ts-api-utils@2.1.0: + resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==} + engines: {node: '>=18.12'} peerDependencies: - typescript: '>=4.2.0' + typescript: '>=4.8.4' ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} @@ -15519,6 +15527,11 @@ snapshots: eslint: 8.57.0 eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.7.0(eslint@8.57.0)': + dependencies: + eslint: 8.57.0 + eslint-visitor-keys: 3.4.3 + '@eslint-community/regexpp@4.10.0': {} '@eslint/eslintrc@2.1.4': @@ -17086,8 +17099,6 @@ snapshots: dependencies: '@types/node': 24.0.10 - '@types/semver@7.5.8': {} - '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 @@ -17144,91 +17155,97 @@ snapshots: '@types/yoga-layout@1.9.2': {} - '@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/eslint-plugin@8.36.0(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/type-utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.4.1 + '@typescript-eslint/parser': 8.36.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.36.0 + '@typescript-eslint/type-utils': 8.36.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/utils': 8.36.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 8.36.0 eslint: 8.57.0 graphemer: 1.4.0 - ignore: 5.3.1 + ignore: 7.0.5 natural-compare: 1.4.0 - semver: 7.7.2 - ts-api-utils: 1.3.0(typescript@5.6.3) - optionalDependencies: + ts-api-utils: 2.1.0(typescript@5.6.3) typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3)': dependencies: - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 7.5.0 + '@typescript-eslint/scope-manager': 8.36.0 + '@typescript-eslint/types': 8.36.0 + '@typescript-eslint/typescript-estree': 8.36.0(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 8.36.0 debug: 4.4.1 eslint: 8.57.0 - optionalDependencies: typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.5.0': + '@typescript-eslint/project-service@8.36.0(typescript@5.6.3)': dependencies: - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/visitor-keys': 7.5.0 + '@typescript-eslint/tsconfig-utils': 8.36.0(typescript@5.6.3) + '@typescript-eslint/types': 8.36.0 + debug: 4.4.1 + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color - '@typescript-eslint/type-utils@7.5.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/scope-manager@8.36.0': dependencies: - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/types': 8.36.0 + '@typescript-eslint/visitor-keys': 8.36.0 + + '@typescript-eslint/tsconfig-utils@8.36.0(typescript@5.6.3)': + dependencies: + typescript: 5.6.3 + + '@typescript-eslint/type-utils@8.36.0(eslint@8.57.0)(typescript@5.6.3)': + dependencies: + '@typescript-eslint/typescript-estree': 8.36.0(typescript@5.6.3) + '@typescript-eslint/utils': 8.36.0(eslint@8.57.0)(typescript@5.6.3) debug: 4.4.1 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.6.3) - optionalDependencies: + ts-api-utils: 2.1.0(typescript@5.6.3) typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/types@7.5.0': {} + '@typescript-eslint/types@8.36.0': {} - '@typescript-eslint/typescript-estree@7.5.0(typescript@5.6.3)': + '@typescript-eslint/typescript-estree@8.36.0(typescript@5.6.3)': dependencies: - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/visitor-keys': 7.5.0 + '@typescript-eslint/project-service': 8.36.0(typescript@5.6.3) + '@typescript-eslint/tsconfig-utils': 8.36.0(typescript@5.6.3) + '@typescript-eslint/types': 8.36.0 + '@typescript-eslint/visitor-keys': 8.36.0 debug: 4.4.1 - globby: 11.1.0 + fast-glob: 3.3.2 is-glob: 4.0.3 - minimatch: 9.0.3 + minimatch: 9.0.4 semver: 7.7.2 - ts-api-utils: 1.3.0(typescript@5.6.3) - optionalDependencies: + ts-api-utils: 2.1.0(typescript@5.6.3) typescript: 5.6.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.5.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/utils@8.36.0(eslint@8.57.0)(typescript@5.6.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) + '@eslint-community/eslint-utils': 4.7.0(eslint@8.57.0) + '@typescript-eslint/scope-manager': 8.36.0 + '@typescript-eslint/types': 8.36.0 + '@typescript-eslint/typescript-estree': 8.36.0(typescript@5.6.3) eslint: 8.57.0 - semver: 7.7.2 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - - typescript - '@typescript-eslint/visitor-keys@7.5.0': + '@typescript-eslint/visitor-keys@8.36.0': dependencies: - '@typescript-eslint/types': 7.5.0 - eslint-visitor-keys: 3.4.3 + '@typescript-eslint/types': 8.36.0 + eslint-visitor-keys: 4.2.1 '@ungap/structured-clone@1.2.0': {} @@ -20093,17 +20110,17 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.5.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/parser': 8.36.0(eslint@8.57.0)(typescript@5.6.3) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -20113,7 +20130,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.36.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -20124,7 +20141,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.5.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/parser': 8.36.0(eslint@8.57.0)(typescript@5.6.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -20176,6 +20193,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.1: {} + eslint@3.19.0: dependencies: babel-code-frame: 6.26.0 @@ -21809,6 +21828,8 @@ snapshots: ignore@5.3.1: {} + ignore@7.0.5: {} + image-size@2.0.2: {} imagemin-optipng@6.0.0: @@ -24236,10 +24257,6 @@ snapshots: dependencies: brace-expansion: 2.0.1 - minimatch@9.0.3: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.4: dependencies: brace-expansion: 2.0.1 @@ -27898,7 +27915,7 @@ snapshots: trough@2.2.0: {} - ts-api-utils@1.3.0(typescript@5.6.3): + ts-api-utils@2.1.0(typescript@5.6.3): dependencies: typescript: 5.6.3