chore: update dependencies

This commit is contained in:
ryan-0324 2024-07-29 05:28:35 -04:00
parent bb6287563f
commit b81b56126c
8 changed files with 104 additions and 221 deletions

View file

@ -126,6 +126,7 @@ export default tseslint.config(
"@typescript-eslint/no-non-null-asserted-optional-chain": "error", "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"@typescript-eslint/no-unnecessary-condition": ["error", { allowConstantLoopConditions: true }], "@typescript-eslint/no-unnecessary-condition": ["error", { allowConstantLoopConditions: true }],
"@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unnecessary-type-parameters": "error",
"@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-function-type": "error",
"@typescript-eslint/no-unused-expressions": ["error", { enforceForJSX: true }], "@typescript-eslint/no-unused-expressions": ["error", { enforceForJSX: true }],
"@typescript-eslint/no-wrapper-object-types": "error", "@typescript-eslint/no-wrapper-object-types": "error",

View file

@ -75,7 +75,7 @@
"tsx": "^4.16.2", "tsx": "^4.16.2",
"type-fest": "^4.23.0", "type-fest": "^4.23.0",
"typescript": "^5.5.4", "typescript": "^5.5.4",
"typescript-eslint": "^8.0.0-alpha.53", "typescript-eslint": "^8.0.0-alpha.55",
"typescript-transform-paths": "^3.4.7", "typescript-transform-paths": "^3.4.7",
"zip-local": "^0.3.5" "zip-local": "^0.3.5"
}, },

View file

@ -1,9 +1,9 @@
import stylistic from "@stylistic/eslint-plugin"; import stylistic from "@stylistic/eslint-plugin";
// @ts-expect-error: No types // @ts-expect-error: No types
import checkFile from "eslint-plugin-check-file"; import checkFile from "eslint-plugin-check-file";
// @ts-expect-error: No types
import eslintPluginHeaders from "eslint-plugin-headers";
import eslintPluginImport from "eslint-plugin-import-x"; import eslintPluginImport from "eslint-plugin-import-x";
// @ts-expect-error: No types
import simpleHeader from "eslint-plugin-simple-header";
import simpleImportSort from "eslint-plugin-simple-import-sort"; import simpleImportSort from "eslint-plugin-simple-import-sort";
import eslintPluginUnicorn from "eslint-plugin-unicorn"; import eslintPluginUnicorn from "eslint-plugin-unicorn";
// @ts-expect-error: No types // @ts-expect-error: No types
@ -25,8 +25,8 @@ export default tseslint.config(
"@stylistic": stylistic, "@stylistic": stylistic,
"@typescript-eslint": tseslint.plugin, "@typescript-eslint": tseslint.plugin,
"check-file": checkFile, "check-file": checkFile,
headers: eslintPluginHeaders,
import: eslintPluginImport, import: eslintPluginImport,
"simple-header": simpleHeader,
"simple-import-sort": simpleImportSort, "simple-import-sort": simpleImportSort,
unicorn: eslintPluginUnicorn, unicorn: eslintPluginUnicorn,
"unused-imports": unusedImports, "unused-imports": unusedImports,
@ -118,6 +118,7 @@ export default tseslint.config(
"@typescript-eslint/no-unnecessary-type-arguments": "error", "@typescript-eslint/no-unnecessary-type-arguments": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error", "@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unnecessary-type-constraint": "error", "@typescript-eslint/no-unnecessary-type-constraint": "error",
"@typescript-eslint/no-unnecessary-type-parameters": "error",
"@typescript-eslint/no-unsafe-declaration-merging": "error", "@typescript-eslint/no-unsafe-declaration-merging": "error",
"@typescript-eslint/no-unsafe-function-type": "error", "@typescript-eslint/no-unsafe-function-type": "error",
"@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-unused-expressions": "error",
@ -145,6 +146,7 @@ export default tseslint.config(
"import/no-self-import": "error", "import/no-self-import": "error",
"import/no-unassigned-import": "error", "import/no-unassigned-import": "error",
"import/no-useless-path-segments": "error", "import/no-useless-path-segments": "error",
"no-useless-computed-key": "error",
"simple-import-sort/exports": "error", "simple-import-sort/exports": "error",
"simple-import-sort/imports": ["error", { groups: [["^[^.]"]] }], "simple-import-sort/imports": ["error", { groups: [["^[^.]"]] }],
"unicorn/escape-case": "error", "unicorn/escape-case": "error",
@ -176,18 +178,14 @@ export default tseslint.config(
{ {
files: ["scripts/**", "src/**"], files: ["scripts/**", "src/**"],
rules: { rules: {
"headers/header-format": ["error", { "simple-header/header": ["error", {
source: "string", text: [
content: [
"discord-types", "discord-types",
"Copyright (C) {year} {author}", "Copyright (C) {year} Vencord project contributors",
"SPDX-License-Identifier: GPL-3.0-or-later" "SPDX-License-Identifier: GPL-3.0-or-later"
].join("\n"), ],
blockPrefix: "\n", templates: {
trailingNewlines: 2, year: ["\\d+(-\\d+)?(, \\d+(-\\d+)?)*", `${new Date().getFullYear()}`]
variables: {
year: "2024",
author: "Vencord project contributors"
} }
}], }],
} }
@ -228,8 +226,6 @@ export default tseslint.config(
"[declare=true] *", "[declare=true] *",
// Allow enums, interfaces, and type aliases // Allow enums, interfaces, and type aliases
"[type=/^TS/] *", "[type=/^TS/] *",
// Allow re-exporting of all named exports
"ExportAllDeclaration *",
// Allow imports // Allow imports
"ImportDeclaration *", "ImportDeclaration *",
].join(", ")})`, ].join(", ")})`,
@ -243,6 +239,8 @@ export default tseslint.config(
"ClassDeclaration[superClass=null] MethodDefinition[kind=constructor][value.params.length=0]", "ClassDeclaration[superClass=null] MethodDefinition[kind=constructor][value.params.length=0]",
// Disallow enums that are const or ambient since package consumers cannot use them // Disallow enums that are const or ambient since package consumers cannot use them
"TSEnumDeclaration:matches([const=true], [declare=true])", "TSEnumDeclaration:matches([const=true], [declare=true])",
// Disallow variance annotations
"TSTypeParameter:matches([in=true], [out=true])",
], ],
"unicorn/numeric-separators-style": ["error", { number: { minimumDigits: 0 } }], "unicorn/numeric-separators-style": ["error", { number: { minimumDigits: 0 } }],
} }
@ -255,4 +253,15 @@ export default tseslint.config(
"import/no-unused-modules": ["error", { missingExports: true }], "import/no-unused-modules": ["error", { missingExports: true }],
} }
}, },
{
files: ["src/**/index.ts"],
rules: {
"no-restricted-syntax": [
"error",
// Only allow re-exporting of all named exports
"Program[comments.length!=1]",
"Program > :not(ExportAllDeclaration[exported=null])",
],
}
},
); );

View file

@ -31,13 +31,13 @@
}, },
"devDependencies": { "devDependencies": {
"@stylistic/eslint-plugin": "^2.4.0", "@stylistic/eslint-plugin": "^2.4.0",
"@types/node": "^20.14.12", "@types/node": "^20.14.13",
"@types/semver": "^7.5.8", "@types/semver": "^7.5.8",
"@typescript-eslint/typescript-estree": "^8.0.0-alpha.54", "@typescript-eslint/typescript-estree": "^8.0.0-alpha.55",
"eslint": "^9.8.0", "eslint": "^9.8.0",
"eslint-plugin-check-file": "^2.8.0", "eslint-plugin-check-file": "^2.8.0",
"eslint-plugin-headers": "^1.1.2",
"eslint-plugin-import-x": "^3.1.0", "eslint-plugin-import-x": "^3.1.0",
"eslint-plugin-simple-header": "^1.1.1",
"eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^55.0.0", "eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unused-imports": "^4.0.1", "eslint-plugin-unused-imports": "^4.0.1",
@ -45,6 +45,6 @@
"semver": "^7.6.3", "semver": "^7.6.3",
"tsx": "^4.16.2", "tsx": "^4.16.2",
"typescript": "^5.5.4", "typescript": "^5.5.4",
"typescript-eslint": "^8.0.0-alpha.53" "typescript-eslint": "^8.0.0-alpha.55"
} }
} }

View file

@ -103,7 +103,7 @@ importers:
version: 12.1.1(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) version: 12.1.1(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
eslint-plugin-unused-imports: eslint-plugin-unused-imports:
specifier: ^4.0.1 specifier: ^4.0.1
version: 4.0.1(@typescript-eslint/eslint-plugin@8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) version: 4.0.1(@typescript-eslint/eslint-plugin@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
highlight.js: highlight.js:
specifier: 11.8.0 specifier: 11.8.0
version: 11.8.0 version: 11.8.0
@ -138,8 +138,8 @@ importers:
specifier: ^5.5.4 specifier: ^5.5.4
version: 5.5.4 version: 5.5.4
typescript-eslint: typescript-eslint:
specifier: ^8.0.0-alpha.53 specifier: ^8.0.0-alpha.55
version: 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) version: 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
typescript-transform-paths: typescript-transform-paths:
specifier: ^3.4.7 specifier: ^3.4.7
version: 3.4.7(typescript@5.5.4) version: 3.4.7(typescript@5.5.4)
@ -178,26 +178,26 @@ importers:
specifier: ^2.4.0 specifier: ^2.4.0
version: 2.4.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) version: 2.4.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@types/node': '@types/node':
specifier: ^20.14.12 specifier: ^20.14.13
version: 20.14.12 version: 20.14.13
'@types/semver': '@types/semver':
specifier: ^7.5.8 specifier: ^7.5.8
version: 7.5.8 version: 7.5.8
'@typescript-eslint/typescript-estree': '@typescript-eslint/typescript-estree':
specifier: ^8.0.0-alpha.54 specifier: ^8.0.0-alpha.55
version: 8.0.0-alpha.54(typescript@5.5.4) version: 8.0.0-alpha.55(typescript@5.5.4)
eslint: eslint:
specifier: ^9.8.0 specifier: ^9.8.0
version: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi) version: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
eslint-plugin-check-file: eslint-plugin-check-file:
specifier: ^2.8.0 specifier: ^2.8.0
version: 2.8.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) version: 2.8.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
eslint-plugin-headers:
specifier: ^1.1.2
version: 1.1.2(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
eslint-plugin-import-x: eslint-plugin-import-x:
specifier: ^3.1.0 specifier: ^3.1.0
version: 3.1.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) version: 3.1.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
eslint-plugin-simple-header:
specifier: ^1.1.1
version: 1.1.1
eslint-plugin-simple-import-sort: eslint-plugin-simple-import-sort:
specifier: ^12.1.1 specifier: ^12.1.1
version: 12.1.1(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) version: 12.1.1(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
@ -206,7 +206,7 @@ importers:
version: 55.0.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) version: 55.0.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
eslint-plugin-unused-imports: eslint-plugin-unused-imports:
specifier: ^4.0.1 specifier: ^4.0.1
version: 4.0.1(@typescript-eslint/eslint-plugin@8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) version: 4.0.1(@typescript-eslint/eslint-plugin@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
puppeteer-core: puppeteer-core:
specifier: ^22.13.1 specifier: ^22.13.1
version: 22.13.1 version: 22.13.1
@ -220,8 +220,8 @@ importers:
specifier: ^5.5.4 specifier: ^5.5.4
version: 5.5.4 version: 5.5.4
typescript-eslint: typescript-eslint:
specifier: ^8.0.0-alpha.53 specifier: ^8.0.0-alpha.55
version: 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) version: 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
packages/vencord-types: packages/vencord-types:
dependencies: dependencies:
@ -753,8 +753,8 @@ packages:
'@types/node@18.19.42': '@types/node@18.19.42':
resolution: {integrity: sha512-d2ZFc/3lnK2YCYhos8iaNIYu9Vfhr92nHiyJHRltXWjXUBjEE+A4I58Tdbnw4VhggSW+2j5y5gTrLs4biNnubg==} resolution: {integrity: sha512-d2ZFc/3lnK2YCYhos8iaNIYu9Vfhr92nHiyJHRltXWjXUBjEE+A4I58Tdbnw4VhggSW+2j5y5gTrLs4biNnubg==}
'@types/node@20.14.12': '@types/node@20.14.13':
resolution: {integrity: sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==} resolution: {integrity: sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==}
'@types/normalize-package-data@2.4.1': '@types/normalize-package-data@2.4.1':
resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}
@ -780,8 +780,8 @@ packages:
'@types/yazl@2.4.5': '@types/yazl@2.4.5':
resolution: {integrity: sha512-qpmPfx32HS7vlGJf7EsoM9qJnLZhXJBf1KH0hzfdc+D794rljQWh4H0I/UrZy+6Nhqn0l2jdBZXBGZtR1vnHqw==} resolution: {integrity: sha512-qpmPfx32HS7vlGJf7EsoM9qJnLZhXJBf1KH0hzfdc+D794rljQWh4H0I/UrZy+6Nhqn0l2jdBZXBGZtR1vnHqw==}
'@typescript-eslint/eslint-plugin@8.0.0-alpha.53': '@typescript-eslint/eslint-plugin@8.0.0-alpha.55':
resolution: {integrity: sha512-gBOLc9wW6QWjAENx/SSewKnMR0csP8XRDoexuNQatfP3sFlHy6O/590lGWsmMbieSyCdlv1K2GkZNgUTVOJaLA==} resolution: {integrity: sha512-buUNiIpZP89MsixNLRiwWlTrTFmVoBceay0nDBPXnAj8MyOoyQjSlO5GlRiNioXMEh3ny0iV2XDZbfMCut9KjA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
@ -791,19 +791,8 @@ packages:
typescript: typescript:
optional: true optional: true
'@typescript-eslint/eslint-plugin@8.0.0-alpha.54': '@typescript-eslint/parser@8.0.0-alpha.55':
resolution: {integrity: sha512-JBuk5rdo9XfoAc797uPh2QdzfnbQmYTnOZ//IKiXm96a2AzS05VmXSVka4GQyrp7giGWSNjW6y2wPpsWheqd9Q==} resolution: {integrity: sha512-fkVcXhkwIU/dTRyPyH7fjkmvlWsQ2dFdFlLfegPWsstE+ammgU0Pv/n4lJ1tQm5JNzNfTMq6uZtdc9mlkKvldQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/parser@8.0.0-alpha.53':
resolution: {integrity: sha512-GLl/BVxL0GiLHWNqbkfepya/N5YRiK9mJ3xVixs85N10Y6pcjZnvchrJPTHBYi5sWot7+c012IOYQYpRvwwixQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
eslint: ^8.57.0 || ^9.0.0 eslint: ^8.57.0 || ^9.0.0
@ -816,25 +805,12 @@ packages:
resolution: {integrity: sha512-0P2jTTqyxWp9HiKLu/Vemr2Rg1Xb5B7uHItdVZ6iAenXmPo4SZ86yOPCJwMqpCyaMiEHTNqizHfsbmCFT1x9SA==} resolution: {integrity: sha512-0P2jTTqyxWp9HiKLu/Vemr2Rg1Xb5B7uHItdVZ6iAenXmPo4SZ86yOPCJwMqpCyaMiEHTNqizHfsbmCFT1x9SA==}
engines: {node: ^18.18.0 || >=20.0.0} engines: {node: ^18.18.0 || >=20.0.0}
'@typescript-eslint/scope-manager@8.0.0-alpha.53': '@typescript-eslint/scope-manager@8.0.0-alpha.55':
resolution: {integrity: sha512-8Y1DJI9rXmYFR9poYSz9uXtA+7S4MEcOdtvPAfpbICSWN42zZA4uww98IBPB868Eg3Ug4bL3/wQPscQiXk/X4A==} resolution: {integrity: sha512-Nbnlba+EcgMDxohiXTqDBVsn+izNHvKiZZJQICppaaneXtI6sytFHQScwqIwT6QEiy2YMxD/HTSHiWLwrDRUYg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/scope-manager@8.0.0-alpha.54': '@typescript-eslint/type-utils@8.0.0-alpha.55':
resolution: {integrity: sha512-z+5GlCAskUTTWOFF2G7olTyKZyn+AVdDkiNCP2fhDtOCV1ePX1EaXy1uwqRRROf8p8uryj7vR7OtIErZE5yAng==} resolution: {integrity: sha512-BtmqzLpg6tSW7DsRWJwfj3epcc4DaLcIqheVMRl4Haf+sPzjvuKGxRdUYK4QSALSeXd2WZRhoA4VTccqvBMO+w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/type-utils@8.0.0-alpha.53':
resolution: {integrity: sha512-C+7s000ohXt+ah5UYCSp2Pin+EJA9fIl6gX4wYNPotifn4UUIFcZjnC90F2n0/c+GwIeGHUha7YOaF2STPxQbA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/type-utils@8.0.0-alpha.54':
resolution: {integrity: sha512-aGqNg1vP3a1tAE7lN8VDw+JhAefhqotMEcxw+2NKQm3vG4BqzIQNeF87xle9+94t8MPPmUPzRjRmO7GySu8LRg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
typescript: '*' typescript: '*'
@ -846,12 +822,8 @@ packages:
resolution: {integrity: sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==} resolution: {integrity: sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==}
engines: {node: ^18.18.0 || >=20.0.0} engines: {node: ^18.18.0 || >=20.0.0}
'@typescript-eslint/types@8.0.0-alpha.53': '@typescript-eslint/types@8.0.0-alpha.55':
resolution: {integrity: sha512-3YWV4CpPZYZheBiMaAV0JwEiH7uG5nlLSumw1v31eUDRrpty0Ku2cJuP1hLzsIN90ad+i2H1L1UUygHq8erbnw==} resolution: {integrity: sha512-QFk6W0P3Ruf0oiww57aE9mrXJ4nrT87lMB0z79FNUiZ9FNBw/DDqDXCzV8lMn98onvmMgKd2RBfp/mVeiL9POQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/types@8.0.0-alpha.54':
resolution: {integrity: sha512-p4CGzb2UW2tJgk7zRL1Iwyd4qMuPnF2TL5/VdEcz2KANHkTReagQ6B3MzJGcuNIK7t+ysolZZILJpj+8cHBzsQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@7.17.0': '@typescript-eslint/typescript-estree@7.17.0':
@ -863,17 +835,8 @@ packages:
typescript: typescript:
optional: true optional: true
'@typescript-eslint/typescript-estree@8.0.0-alpha.53': '@typescript-eslint/typescript-estree@8.0.0-alpha.55':
resolution: {integrity: sha512-jf04EbnT/6k4jz9bSKj9IBpMHAgcs4Jbgp/d7D1VDubZGK7iW3yrjT6Uzb+h5+xXAIBTv3TMEz+D15DDAW4kWg==} resolution: {integrity: sha512-sunGQpiDvJBqb+4cthq+rVc+SFa9hkUdAB/S///n2h6c1evkXb5ISjMP3oTDd0ZqZLdfIuopx2YTU7LxG7LIbA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/typescript-estree@8.0.0-alpha.54':
resolution: {integrity: sha512-oCgHCQm88pBx9QwfGVE42LXVRG3M5PUIP4w521yGMijHn5FEt+E/NGMPU3NXWKUvp0LpEkxABSinYdz69aZITA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
typescript: '*' typescript: '*'
@ -887,14 +850,8 @@ packages:
peerDependencies: peerDependencies:
eslint: ^8.56.0 eslint: ^8.56.0
'@typescript-eslint/utils@8.0.0-alpha.53': '@typescript-eslint/utils@8.0.0-alpha.55':
resolution: {integrity: sha512-NiF75HBT4/LU/Id0/xenDqfdHa5mYOc2SXHjSJj66tMJbiBJZsf12J9ICd75JDy+IZobyIWcwZXyNYziD3XV2w==} resolution: {integrity: sha512-FfdI9bURhTepfW24dKv6lbZBSzXRwglewno30brd/HIhfJT1UGKb/cMs90Yg6s45SeXFBD+Kzp63L9wGTgRzBA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
'@typescript-eslint/utils@8.0.0-alpha.54':
resolution: {integrity: sha512-Xu+dl3SJ4NOuzSHpRj1nIJPsoNTcPuG6EFVolrEVl+GZReaiBdexwpTo4/gV64khZEVewEIdYV3FBs5elIjI0g==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
eslint: ^8.57.0 || ^9.0.0 eslint: ^8.57.0 || ^9.0.0
@ -903,12 +860,8 @@ packages:
resolution: {integrity: sha512-RVGC9UhPOCsfCdI9pU++K4nD7to+jTcMIbXTSOcrLqUEW6gF2pU1UUbYJKc9cvcRSK1UDeMJ7pdMxf4bhMpV/A==} resolution: {integrity: sha512-RVGC9UhPOCsfCdI9pU++K4nD7to+jTcMIbXTSOcrLqUEW6gF2pU1UUbYJKc9cvcRSK1UDeMJ7pdMxf4bhMpV/A==}
engines: {node: ^18.18.0 || >=20.0.0} engines: {node: ^18.18.0 || >=20.0.0}
'@typescript-eslint/visitor-keys@8.0.0-alpha.53': '@typescript-eslint/visitor-keys@8.0.0-alpha.55':
resolution: {integrity: sha512-7OrjuFjYrRDJEGmH0O/istmUe55Jd+y+/QpsLSBkPOYyPGPjaWLth+6+LLyqqRYh4dUtfC+m9ONo3pGFxl+QKw==} resolution: {integrity: sha512-0W4TxcUUBMpZHa/9W0mewu2/7zu2VC4wCJ3rmyFqVyEBNZtQVReMgS7VWBsg7Q5mmHl/gKO/tOFxJvWJ8l42uw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/visitor-keys@8.0.0-alpha.54':
resolution: {integrity: sha512-lS8wrI6Vxw6ebIi+ehocAjXLG43bN5JCC8+wtGDD3Xw9O/EVpanAVdftefJs/mlK87eyccvVIiiHgD294TpIEQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@vap/core@0.0.12': '@vap/core@0.0.12':
@ -1304,12 +1257,6 @@ packages:
peerDependencies: peerDependencies:
eslint: '>=7.28.0' eslint: '>=7.28.0'
eslint-plugin-headers@1.1.2:
resolution: {integrity: sha512-4A2B52MESwiv/pWrjNEEFI/bghbBGuDxUapjiwqJy8wC3lnginrOFKZ3cPLS9YyYbCr1R+/IeomF5ogfpyKEGA==}
engines: {node: ^16.0.0 || >= 18.0.0}
peerDependencies:
eslint: '>=7'
eslint-plugin-import-x@3.1.0: eslint-plugin-import-x@3.1.0:
resolution: {integrity: sha512-/UbPA+bYY7nIxcjL3kpcDY3UNdoLHFhyBFzHox2M0ypcUoueTn6woZUUmzzi5et/dXChksasYYFeKE2wshOrhg==} resolution: {integrity: sha512-/UbPA+bYY7nIxcjL3kpcDY3UNdoLHFhyBFzHox2M0ypcUoueTn6woZUUmzzi5et/dXChksasYYFeKE2wshOrhg==}
engines: {node: '>=16'} engines: {node: '>=16'}
@ -2411,8 +2358,8 @@ packages:
resolution: {integrity: sha512-ZiBujro2ohr5+Z/hZWHESLz3g08BBdrdLMieYFULJO+tWc437sn8kQsWLJoZErY8alNhxre9K4p3GURAG11n+w==} resolution: {integrity: sha512-ZiBujro2ohr5+Z/hZWHESLz3g08BBdrdLMieYFULJO+tWc437sn8kQsWLJoZErY8alNhxre9K4p3GURAG11n+w==}
engines: {node: '>=16'} engines: {node: '>=16'}
typescript-eslint@8.0.0-alpha.53: typescript-eslint@8.0.0-alpha.55:
resolution: {integrity: sha512-pWRI0pc1m9QGeCSbt5zNPXIUJanbKtrFhd5jpWIuIzltQxNdUUYy5VTXpn57CHE3Dy1I7avB218MFZHtpXiiJQ==} resolution: {integrity: sha512-fJYK3nHp/daeoYExmmdxiWkRFHnIK5/am6JZ4qOtWGVCvVrjKnAN/KKX3N3nQJPFHgIZPFSUC9RR4XmUu2xycw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies: peerDependencies:
typescript: '*' typescript: '*'
@ -2887,7 +2834,7 @@ snapshots:
'@types/fs-extra@11.0.4': '@types/fs-extra@11.0.4':
dependencies: dependencies:
'@types/jsonfile': 6.1.4 '@types/jsonfile': 6.1.4
'@types/node': 20.14.12 '@types/node': 20.14.13
'@types/har-format@1.2.13': {} '@types/har-format@1.2.13': {}
@ -2899,7 +2846,7 @@ snapshots:
'@types/jsonfile@6.1.4': '@types/jsonfile@6.1.4':
dependencies: dependencies:
'@types/node': 20.14.12 '@types/node': 20.14.13
'@types/lodash@4.17.7': {} '@types/lodash@4.17.7': {}
@ -2907,7 +2854,7 @@ snapshots:
dependencies: dependencies:
undici-types: 5.26.5 undici-types: 5.26.5
'@types/node@20.14.12': '@types/node@20.14.13':
dependencies: dependencies:
undici-types: 5.26.5 undici-types: 5.26.5
@ -2933,21 +2880,21 @@ snapshots:
'@types/yauzl@2.10.0': '@types/yauzl@2.10.0':
dependencies: dependencies:
'@types/node': 20.14.12 '@types/node': 20.14.13
optional: true optional: true
'@types/yazl@2.4.5': '@types/yazl@2.4.5':
dependencies: dependencies:
'@types/node': 20.14.12 '@types/node': 20.14.13
'@typescript-eslint/eslint-plugin@8.0.0-alpha.53(@typescript-eslint/parser@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)': '@typescript-eslint/eslint-plugin@8.0.0-alpha.55(@typescript-eslint/parser@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies: dependencies:
'@eslint-community/regexpp': 4.11.0 '@eslint-community/regexpp': 4.11.0
'@typescript-eslint/parser': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/parser': 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@typescript-eslint/scope-manager': 8.0.0-alpha.53 '@typescript-eslint/scope-manager': 8.0.0-alpha.55
'@typescript-eslint/type-utils': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/type-utils': 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/utils': 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.53 '@typescript-eslint/visitor-keys': 8.0.0-alpha.55
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi) eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
graphemer: 1.4.0 graphemer: 1.4.0
ignore: 5.3.1 ignore: 5.3.1
@ -2958,31 +2905,12 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/eslint-plugin@8.0.0-alpha.54(@typescript-eslint/parser@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)': '@typescript-eslint/parser@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies: dependencies:
'@eslint-community/regexpp': 4.11.0 '@typescript-eslint/scope-manager': 8.0.0-alpha.55
'@typescript-eslint/parser': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/types': 8.0.0-alpha.55
'@typescript-eslint/scope-manager': 8.0.0-alpha.54 '@typescript-eslint/typescript-estree': 8.0.0-alpha.55(typescript@5.5.4)
'@typescript-eslint/type-utils': 8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/visitor-keys': 8.0.0-alpha.55
'@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.54
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
graphemer: 1.4.0
ignore: 5.3.1
natural-compare: 1.4.0
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
optional: true
'@typescript-eslint/parser@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies:
'@typescript-eslint/scope-manager': 8.0.0-alpha.53
'@typescript-eslint/types': 8.0.0-alpha.53
'@typescript-eslint/typescript-estree': 8.0.0-alpha.53(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.53
debug: 4.3.5 debug: 4.3.5
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi) eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
optionalDependencies: optionalDependencies:
@ -2995,21 +2923,15 @@ snapshots:
'@typescript-eslint/types': 7.17.0 '@typescript-eslint/types': 7.17.0
'@typescript-eslint/visitor-keys': 7.17.0 '@typescript-eslint/visitor-keys': 7.17.0
'@typescript-eslint/scope-manager@8.0.0-alpha.53': '@typescript-eslint/scope-manager@8.0.0-alpha.55':
dependencies: dependencies:
'@typescript-eslint/types': 8.0.0-alpha.53 '@typescript-eslint/types': 8.0.0-alpha.55
'@typescript-eslint/visitor-keys': 8.0.0-alpha.53 '@typescript-eslint/visitor-keys': 8.0.0-alpha.55
'@typescript-eslint/scope-manager@8.0.0-alpha.54': '@typescript-eslint/type-utils@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies: dependencies:
'@typescript-eslint/types': 8.0.0-alpha.54 '@typescript-eslint/typescript-estree': 8.0.0-alpha.55(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.0.0-alpha.54 '@typescript-eslint/utils': 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
optional: true
'@typescript-eslint/type-utils@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies:
'@typescript-eslint/typescript-estree': 8.0.0-alpha.53(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
debug: 4.3.5 debug: 4.3.5
ts-api-utils: 1.3.0(typescript@5.5.4) ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies: optionalDependencies:
@ -3018,24 +2940,9 @@ snapshots:
- eslint - eslint
- supports-color - supports-color
'@typescript-eslint/type-utils@8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies:
'@typescript-eslint/typescript-estree': 8.0.0-alpha.54(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
debug: 4.3.5
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- eslint
- supports-color
optional: true
'@typescript-eslint/types@7.17.0': {} '@typescript-eslint/types@7.17.0': {}
'@typescript-eslint/types@8.0.0-alpha.53': {} '@typescript-eslint/types@8.0.0-alpha.55': {}
'@typescript-eslint/types@8.0.0-alpha.54': {}
'@typescript-eslint/typescript-estree@7.17.0(typescript@5.5.4)': '@typescript-eslint/typescript-estree@7.17.0(typescript@5.5.4)':
dependencies: dependencies:
@ -3052,25 +2959,10 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@typescript-eslint/typescript-estree@8.0.0-alpha.53(typescript@5.5.4)': '@typescript-eslint/typescript-estree@8.0.0-alpha.55(typescript@5.5.4)':
dependencies: dependencies:
'@typescript-eslint/types': 8.0.0-alpha.53 '@typescript-eslint/types': 8.0.0-alpha.55
'@typescript-eslint/visitor-keys': 8.0.0-alpha.53 '@typescript-eslint/visitor-keys': 8.0.0-alpha.55
debug: 4.3.5
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.4
semver: 7.6.3
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
'@typescript-eslint/typescript-estree@8.0.0-alpha.54(typescript@5.5.4)':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.54
'@typescript-eslint/visitor-keys': 8.0.0-alpha.54
debug: 4.3.5 debug: 4.3.5
globby: 11.1.0 globby: 11.1.0
is-glob: 4.0.3 is-glob: 4.0.3
@ -3093,42 +2985,25 @@ snapshots:
- supports-color - supports-color
- typescript - typescript
'@typescript-eslint/utils@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)': '@typescript-eslint/utils@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)) '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
'@typescript-eslint/scope-manager': 8.0.0-alpha.53 '@typescript-eslint/scope-manager': 8.0.0-alpha.55
'@typescript-eslint/types': 8.0.0-alpha.53 '@typescript-eslint/types': 8.0.0-alpha.55
'@typescript-eslint/typescript-estree': 8.0.0-alpha.53(typescript@5.5.4) '@typescript-eslint/typescript-estree': 8.0.0-alpha.55(typescript@5.5.4)
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi) eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- typescript - typescript
'@typescript-eslint/utils@8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))
'@typescript-eslint/scope-manager': 8.0.0-alpha.54
'@typescript-eslint/types': 8.0.0-alpha.54
'@typescript-eslint/typescript-estree': 8.0.0-alpha.54(typescript@5.5.4)
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
transitivePeerDependencies:
- supports-color
- typescript
optional: true
'@typescript-eslint/visitor-keys@7.17.0': '@typescript-eslint/visitor-keys@7.17.0':
dependencies: dependencies:
'@typescript-eslint/types': 7.17.0 '@typescript-eslint/types': 7.17.0
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
'@typescript-eslint/visitor-keys@8.0.0-alpha.53': '@typescript-eslint/visitor-keys@8.0.0-alpha.55':
dependencies: dependencies:
'@typescript-eslint/types': 8.0.0-alpha.53 '@typescript-eslint/types': 8.0.0-alpha.55
eslint-visitor-keys: 3.4.3
'@typescript-eslint/visitor-keys@8.0.0-alpha.54':
dependencies:
'@typescript-eslint/types': 8.0.0-alpha.54
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
'@vap/core@0.0.12': '@vap/core@0.0.12':
@ -3554,10 +3429,6 @@ snapshots:
is-glob: 4.0.3 is-glob: 4.0.3
micromatch: 4.0.7 micromatch: 4.0.7
eslint-plugin-headers@1.1.2(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)):
dependencies:
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
eslint-plugin-import-x@3.1.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4): eslint-plugin-import-x@3.1.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4):
dependencies: dependencies:
'@typescript-eslint/utils': 7.17.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/utils': 7.17.0(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
@ -3610,12 +3481,12 @@ snapshots:
semver: 7.6.3 semver: 7.6.3
strip-indent: 3.0.0 strip-indent: 3.0.0
eslint-plugin-unused-imports@4.0.1(@typescript-eslint/eslint-plugin@8.0.0-alpha.54(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)): eslint-plugin-unused-imports@4.0.1(@typescript-eslint/eslint-plugin@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)):
dependencies: dependencies:
eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi) eslint: 9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi)
eslint-rule-composer: 0.3.0 eslint-rule-composer: 0.3.0
optionalDependencies: optionalDependencies:
'@typescript-eslint/eslint-plugin': 8.0.0-alpha.54(@typescript-eslint/parser@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/eslint-plugin': 8.0.0-alpha.55(@typescript-eslint/parser@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
eslint-rule-composer@0.3.0: {} eslint-rule-composer@0.3.0: {}
@ -4729,11 +4600,11 @@ snapshots:
type-fest@4.23.0: {} type-fest@4.23.0: {}
typescript-eslint@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4): typescript-eslint@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4):
dependencies: dependencies:
'@typescript-eslint/eslint-plugin': 8.0.0-alpha.53(@typescript-eslint/parser@8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/eslint-plugin': 8.0.0-alpha.55(@typescript-eslint/parser@8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4))(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@typescript-eslint/parser': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/parser': 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0-alpha.53(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4) '@typescript-eslint/utils': 8.0.0-alpha.55(eslint@9.8.0(patch_hash=wy5a2dwvtxac2ygzwebqqjurgi))(typescript@5.5.4)
optionalDependencies: optionalDependencies:
typescript: 5.5.4 typescript: 5.5.4
transitivePeerDependencies: transitivePeerDependencies:

View file

@ -15,6 +15,7 @@ function invoke<T = any>(event: IpcEvents, ...args: unknown[]): Promise<T> {
return ipcRenderer.invoke(event, ...args); return ipcRenderer.invoke(event, ...args);
} }
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
export function sendSync<T = any>(event: IpcEvents, ...args: unknown[]): T { export function sendSync<T = any>(event: IpcEvents, ...args: unknown[]): T {
return ipcRenderer.sendSync(event, ...args); return ipcRenderer.sendSync(event, ...args);
} }

View file

@ -55,6 +55,7 @@ export function sendBotMessage(channelId: string, message: PartialDeep<MessageJS
* @returns Value * @returns Value
*/ */
export function findOption<T>(args: Argument[], name: string, fallbackValue: T): LiteralToPrimitive<T>; export function findOption<T>(args: Argument[], name: string, fallbackValue: T): LiteralToPrimitive<T>;
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
export function findOption<T>(args: Argument[], name: string): T | undefined; export function findOption<T>(args: Argument[], name: string): T | undefined;
export function findOption(args: Argument[], name: string, fallbackValue?: unknown) { export function findOption(args: Argument[], name: string, fallbackValue?: unknown) {
return args.find(a => a.name === name)?.value || fallbackValue; return args.find(a => a.name === name)?.value || fallbackValue;

View file

@ -126,7 +126,7 @@ function registerSubCommands(cmd: Command, plugin: string) {
}); });
} }
export function registerCommand<C extends Command>(command: C, plugin: string) { export function registerCommand(command: Command, plugin: string) {
if (!BUILT_IN) { if (!BUILT_IN) {
console.warn( console.warn(
"[CommandsAPI]", "[CommandsAPI]",