improve eslint config
This commit is contained in:
@@ -6,17 +6,34 @@
|
|||||||
|
|
||||||
//@ts-check
|
//@ts-check
|
||||||
|
|
||||||
|
import { defineConfig } from "eslint/config";
|
||||||
import stylistic from "@stylistic/eslint-plugin";
|
import stylistic from "@stylistic/eslint-plugin";
|
||||||
import pathAlias from "eslint-plugin-path-alias";
|
import pathAlias from "eslint-plugin-path-alias";
|
||||||
|
import react from "eslint-plugin-react";
|
||||||
import simpleHeader from "eslint-plugin-simple-header";
|
import simpleHeader from "eslint-plugin-simple-header";
|
||||||
import importSort from "eslint-plugin-simple-import-sort";
|
import importSort from "eslint-plugin-simple-import-sort";
|
||||||
import unusedImports from "eslint-plugin-unused-imports";
|
import unusedImports from "eslint-plugin-unused-imports";
|
||||||
import tseslint from "typescript-eslint";
|
import tseslint from "typescript-eslint";
|
||||||
import prettier from "eslint-plugin-prettier";
|
import prettier from "eslint-plugin-prettier";
|
||||||
|
|
||||||
export default tseslint.config(
|
export default defineConfig(
|
||||||
{ ignores: ["dist"] },
|
{ ignores: ["dist"] },
|
||||||
|
{
|
||||||
|
files: ["src/**/*.{tsx,ts,mts,mjs,js,jsx}"],
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: "19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
...react.configs.flat.recommended,
|
||||||
|
rules: {
|
||||||
|
...react.configs.flat.recommended.rules,
|
||||||
|
"react/react-in-jsx-scope": "off",
|
||||||
|
"react/prop-types": "off",
|
||||||
|
"react/display-name": "off",
|
||||||
|
"react/no-unescaped-entities": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
files: ["src/**/*.{tsx,ts,mts,mjs,js,jsx}"],
|
files: ["src/**/*.{tsx,ts,mts,mjs,js,jsx}"],
|
||||||
plugins: {
|
plugins: {
|
||||||
@@ -24,8 +41,10 @@ export default tseslint.config(
|
|||||||
stylistic,
|
stylistic,
|
||||||
importSort,
|
importSort,
|
||||||
unusedImports,
|
unusedImports,
|
||||||
|
// @ts-expect-error Missing types
|
||||||
pathAlias,
|
pathAlias,
|
||||||
prettier
|
prettier,
|
||||||
|
"@typescript-eslint": tseslint.plugin
|
||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
"import/resolver": {
|
"import/resolver": {
|
||||||
@@ -51,7 +70,6 @@ export default tseslint.config(
|
|||||||
],
|
],
|
||||||
|
|
||||||
// ESLint Rules
|
// ESLint Rules
|
||||||
|
|
||||||
yoda: "error",
|
yoda: "error",
|
||||||
eqeqeq: ["error", "always", { null: "ignore" }],
|
eqeqeq: ["error", "always", { null: "ignore" }],
|
||||||
"prefer-destructuring": [
|
"prefer-destructuring": [
|
||||||
@@ -67,8 +85,19 @@ export default tseslint.config(
|
|||||||
"no-invalid-regexp": "error",
|
"no-invalid-regexp": "error",
|
||||||
"no-constant-condition": ["error", { checkLoops: false }],
|
"no-constant-condition": ["error", { checkLoops: false }],
|
||||||
"no-duplicate-imports": "error",
|
"no-duplicate-imports": "error",
|
||||||
"dot-notation": "error",
|
"@typescript-eslint/dot-notation": [
|
||||||
"no-useless-escape": "error",
|
"error",
|
||||||
|
{
|
||||||
|
allowPrivateClassPropertyAccess: true,
|
||||||
|
allowProtectedClassPropertyAccess: true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"no-useless-escape": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
allowRegexCharacters: ["i"]
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-fallthrough": "error",
|
"no-fallthrough": "error",
|
||||||
"for-direction": "error",
|
"for-direction": "error",
|
||||||
"no-async-promise-executor": "error",
|
"no-async-promise-executor": "error",
|
||||||
@@ -85,7 +114,7 @@ export default tseslint.config(
|
|||||||
"no-unsafe-optional-chaining": "error",
|
"no-unsafe-optional-chaining": "error",
|
||||||
"no-useless-backreference": "error",
|
"no-useless-backreference": "error",
|
||||||
"use-isnan": "error",
|
"use-isnan": "error",
|
||||||
"prefer-const": "error",
|
"prefer-const": ["error", { destructuring: "all" }],
|
||||||
"prefer-spread": "error",
|
"prefer-spread": "error",
|
||||||
|
|
||||||
// Styling Rules
|
// Styling Rules
|
||||||
|
|||||||
@@ -35,18 +35,19 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
||||||
"@stylistic/eslint-plugin": "^5.5.0",
|
"@stylistic/eslint-plugin": "^5.6.1",
|
||||||
"@types/node": "^24.10.1",
|
"@types/node": "^24.10.1",
|
||||||
"@types/react": "19.2.1",
|
"@types/react": "19.2.1",
|
||||||
"@vencord/types": "^1.13.2",
|
"@vencord/types": "^1.13.2",
|
||||||
"dotenv": "^17.2.3",
|
"dotenv": "^17.2.3",
|
||||||
"electron": "^39.2.1",
|
"electron": "^39.2.3",
|
||||||
"electron-builder": "^26.0.12",
|
"electron-builder": "^26.0.12",
|
||||||
"esbuild": "^0.27.0",
|
"esbuild": "^0.27.0",
|
||||||
"eslint": "^9.39.1",
|
"eslint": "^9.39.1",
|
||||||
"eslint-import-resolver-alias": "^1.1.2",
|
"eslint-import-resolver-alias": "^1.1.2",
|
||||||
"eslint-plugin-path-alias": "^2.1.0",
|
"eslint-plugin-path-alias": "^2.1.0",
|
||||||
"eslint-plugin-prettier": "^5.5.4",
|
"eslint-plugin-prettier": "^5.5.4",
|
||||||
|
"eslint-plugin-react": "^7.37.5",
|
||||||
"eslint-plugin-simple-header": "^1.2.2",
|
"eslint-plugin-simple-header": "^1.2.2",
|
||||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"eslint-plugin-unused-imports": "^4.3.0",
|
"eslint-plugin-unused-imports": "^4.3.0",
|
||||||
|
|||||||
221
pnpm-lock.yaml
generated
221
pnpm-lock.yaml
generated
@@ -27,8 +27,8 @@ importers:
|
|||||||
specifier: ^2.1.2
|
specifier: ^2.1.2
|
||||||
version: 2.1.2
|
version: 2.1.2
|
||||||
'@stylistic/eslint-plugin':
|
'@stylistic/eslint-plugin':
|
||||||
specifier: ^5.5.0
|
specifier: ^5.6.1
|
||||||
version: 5.5.0(eslint@9.39.1)
|
version: 5.6.1(eslint@9.39.1)
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^24.10.1
|
specifier: ^24.10.1
|
||||||
version: 24.10.1
|
version: 24.10.1
|
||||||
@@ -42,8 +42,8 @@ importers:
|
|||||||
specifier: ^17.2.3
|
specifier: ^17.2.3
|
||||||
version: 17.2.3
|
version: 17.2.3
|
||||||
electron:
|
electron:
|
||||||
specifier: ^39.2.1
|
specifier: ^39.2.3
|
||||||
version: 39.2.1
|
version: 39.2.3
|
||||||
electron-builder:
|
electron-builder:
|
||||||
specifier: ^26.0.12
|
specifier: ^26.0.12
|
||||||
version: 26.0.12(electron-builder-squirrel-windows@25.1.8)
|
version: 26.0.12(electron-builder-squirrel-windows@25.1.8)
|
||||||
@@ -62,6 +62,9 @@ importers:
|
|||||||
eslint-plugin-prettier:
|
eslint-plugin-prettier:
|
||||||
specifier: ^5.5.4
|
specifier: ^5.5.4
|
||||||
version: 5.5.4(eslint@9.39.1)(prettier@3.6.2)
|
version: 5.5.4(eslint@9.39.1)(prettier@3.6.2)
|
||||||
|
eslint-plugin-react:
|
||||||
|
specifier: ^7.37.5
|
||||||
|
version: 7.37.5(eslint@9.39.1)
|
||||||
eslint-plugin-simple-header:
|
eslint-plugin-simple-header:
|
||||||
specifier: ^1.2.2
|
specifier: ^1.2.2
|
||||||
version: 1.2.2(eslint@9.39.1)
|
version: 1.2.2(eslint@9.39.1)
|
||||||
@@ -579,8 +582,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
|
resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
'@stylistic/eslint-plugin@5.5.0':
|
'@stylistic/eslint-plugin@5.6.1':
|
||||||
resolution: {integrity: sha512-IeZF+8H0ns6prg4VrkhgL+yrvDXWDH2cKchrbh80ejG9dQgZWp10epHMbgRuQvgchLII/lfh6Xn3lu6+6L86Hw==}
|
resolution: {integrity: sha512-JCs+MqoXfXrRPGbGmho/zGS/jMcn3ieKl/A8YImqib76C8kjgZwq5uUFzc30lJkMvcchuRn6/v8IApLxli3Jyw==}
|
||||||
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: '>=9.0.0'
|
eslint: '>=9.0.0'
|
||||||
@@ -685,10 +688,6 @@ packages:
|
|||||||
eslint: ^8.57.0 || ^9.0.0
|
eslint: ^8.57.0 || ^9.0.0
|
||||||
typescript: '>=4.8.4 <6.0.0'
|
typescript: '>=4.8.4 <6.0.0'
|
||||||
|
|
||||||
'@typescript-eslint/types@8.46.2':
|
|
||||||
resolution: {integrity: sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==}
|
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
|
||||||
|
|
||||||
'@typescript-eslint/types@8.47.0':
|
'@typescript-eslint/types@8.47.0':
|
||||||
resolution: {integrity: sha512-nHAE6bMKsizhA2uuYZbEbmp5z2UpffNrPEqiKIeN7VsV6UY/roxanWfoRrf6x/k9+Obf+GQdkm0nPU+vnMXo9A==}
|
resolution: {integrity: sha512-nHAE6bMKsizhA2uuYZbEbmp5z2UpffNrPEqiKIeN7VsV6UY/roxanWfoRrf6x/k9+Obf+GQdkm0nPU+vnMXo9A==}
|
||||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||||
@@ -846,6 +845,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==}
|
resolution: {integrity: sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
|
array.prototype.findlast@1.2.5:
|
||||||
|
resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}
|
||||||
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
array.prototype.findlastindex@1.2.6:
|
array.prototype.findlastindex@1.2.6:
|
||||||
resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}
|
resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
@@ -858,6 +861,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==}
|
resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
|
array.prototype.tosorted@1.1.4:
|
||||||
|
resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==}
|
||||||
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
arraybuffer.prototype.slice@1.0.4:
|
arraybuffer.prototype.slice@1.0.4:
|
||||||
resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}
|
resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
@@ -1279,8 +1286,8 @@ packages:
|
|||||||
electron-updater@6.6.2:
|
electron-updater@6.6.2:
|
||||||
resolution: {integrity: sha512-Cr4GDOkbAUqRHP5/oeOmH/L2Bn6+FQPxVLZtPbcmKZC63a1F3uu5EefYOssgZXG3u/zBlubbJ5PJdITdMVggbw==}
|
resolution: {integrity: sha512-Cr4GDOkbAUqRHP5/oeOmH/L2Bn6+FQPxVLZtPbcmKZC63a1F3uu5EefYOssgZXG3u/zBlubbJ5PJdITdMVggbw==}
|
||||||
|
|
||||||
electron@39.2.1:
|
electron@39.2.3:
|
||||||
resolution: {integrity: sha512-5oSki3qzLBsJAcXl0yWOLRArkufugbXd1qBb2UNZRrrKkYiVhM8GLE+KE3P16PC8UxGxGqCCfaB3Y1TK1dUuHg==}
|
resolution: {integrity: sha512-j7k7/bj3cNA29ty54FzEMRUoqirE+RBQPhPFP+XDuM93a1l2WcDPiYumxKWz+iKcXxBJLFdMIAlvtLTB/RfCkg==}
|
||||||
engines: {node: '>= 12.20.55'}
|
engines: {node: '>= 12.20.55'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
@@ -1315,6 +1322,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
|
resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
|
es-iterator-helpers@1.2.1:
|
||||||
|
resolution: {integrity: sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==}
|
||||||
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
es-object-atoms@1.1.1:
|
es-object-atoms@1.1.1:
|
||||||
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
|
resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
@@ -1411,6 +1422,12 @@ packages:
|
|||||||
eslint-config-prettier:
|
eslint-config-prettier:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
eslint-plugin-react@7.37.5:
|
||||||
|
resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}
|
||||||
|
engines: {node: '>=4'}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
|
||||||
|
|
||||||
eslint-plugin-simple-header@1.2.2:
|
eslint-plugin-simple-header@1.2.2:
|
||||||
resolution: {integrity: sha512-LO4PejdYPraY5GKd9hutst82yAAL21MGIiFbHKIpoPDOWOW8zz3ZaDdQB3vx/yQGjWd5GifyQ/AGfNkr5c9kPw==}
|
resolution: {integrity: sha512-LO4PejdYPraY5GKd9hutst82yAAL21MGIiFbHKIpoPDOWOW8zz3ZaDdQB3vx/yQGjWd5GifyQ/AGfNkr5c9kPw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -2048,6 +2065,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==}
|
resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
|
iterator.prototype@1.1.5:
|
||||||
|
resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==}
|
||||||
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
jackspeak@3.4.3:
|
jackspeak@3.4.3:
|
||||||
resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
|
resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}
|
||||||
|
|
||||||
@@ -2056,6 +2077,9 @@ packages:
|
|||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
js-tokens@4.0.0:
|
||||||
|
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
|
||||||
|
|
||||||
js-yaml@4.1.0:
|
js-yaml@4.1.0:
|
||||||
resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
|
resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@@ -2091,6 +2115,10 @@ packages:
|
|||||||
jsonfile@6.2.0:
|
jsonfile@6.2.0:
|
||||||
resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
|
resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
|
||||||
|
|
||||||
|
jsx-ast-utils@3.3.5:
|
||||||
|
resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}
|
||||||
|
engines: {node: '>=4.0'}
|
||||||
|
|
||||||
keyv@4.5.4:
|
keyv@4.5.4:
|
||||||
resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
|
resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
|
||||||
|
|
||||||
@@ -2153,6 +2181,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==}
|
resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
loose-envify@1.4.0:
|
||||||
|
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
lowercase-keys@2.0.0:
|
lowercase-keys@2.0.0:
|
||||||
resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==}
|
resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@@ -2355,6 +2387,10 @@ packages:
|
|||||||
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
|
||||||
deprecated: This package is no longer supported.
|
deprecated: This package is no longer supported.
|
||||||
|
|
||||||
|
object-assign@4.1.1:
|
||||||
|
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
|
||||||
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
object-copy@0.1.0:
|
object-copy@0.1.0:
|
||||||
resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==}
|
resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
@@ -2375,6 +2411,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}
|
resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
|
object.entries@1.1.9:
|
||||||
|
resolution: {integrity: sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==}
|
||||||
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
object.fromentries@2.0.8:
|
object.fromentries@2.0.8:
|
||||||
resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}
|
resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
@@ -2527,6 +2567,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==}
|
resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
prop-types@15.8.1:
|
||||||
|
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
|
||||||
|
|
||||||
proxy-from-env@1.1.0:
|
proxy-from-env@1.1.0:
|
||||||
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
|
resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==}
|
||||||
|
|
||||||
@@ -2548,6 +2591,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==}
|
resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
react-is@16.13.1:
|
||||||
|
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
|
||||||
|
|
||||||
read-binary-file-arch@1.0.6:
|
read-binary-file-arch@1.0.6:
|
||||||
resolution: {integrity: sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==}
|
resolution: {integrity: sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@@ -2605,6 +2651,10 @@ packages:
|
|||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
resolve@2.0.0-next.5:
|
||||||
|
resolution: {integrity: sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
responselike@2.0.1:
|
responselike@2.0.1:
|
||||||
resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==}
|
resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==}
|
||||||
|
|
||||||
@@ -2823,6 +2873,13 @@ packages:
|
|||||||
resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
|
resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
|
string.prototype.matchall@4.0.12:
|
||||||
|
resolution: {integrity: sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==}
|
||||||
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
|
string.prototype.repeat@1.0.0:
|
||||||
|
resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==}
|
||||||
|
|
||||||
string.prototype.trim@1.2.10:
|
string.prototype.trim@1.2.10:
|
||||||
resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}
|
resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
@@ -3179,7 +3236,7 @@ snapshots:
|
|||||||
make-fetch-happen: 10.2.1
|
make-fetch-happen: 10.2.1
|
||||||
nopt: 6.0.0
|
nopt: 6.0.0
|
||||||
proc-log: 2.0.1
|
proc-log: 2.0.1
|
||||||
semver: 7.7.2
|
semver: 7.7.3
|
||||||
tar: 6.2.1
|
tar: 6.2.1
|
||||||
which: 2.0.2
|
which: 2.0.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
@@ -3517,7 +3574,7 @@ snapshots:
|
|||||||
'@npmcli/fs@2.1.2':
|
'@npmcli/fs@2.1.2':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@gar/promisify': 1.1.3
|
'@gar/promisify': 1.1.3
|
||||||
semver: 7.7.2
|
semver: 7.7.3
|
||||||
|
|
||||||
'@npmcli/move-file@2.0.1':
|
'@npmcli/move-file@2.0.1':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -3533,10 +3590,10 @@ snapshots:
|
|||||||
|
|
||||||
'@sindresorhus/is@4.6.0': {}
|
'@sindresorhus/is@4.6.0': {}
|
||||||
|
|
||||||
'@stylistic/eslint-plugin@5.5.0(eslint@9.39.1)':
|
'@stylistic/eslint-plugin@5.6.1(eslint@9.39.1)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1)
|
'@eslint-community/eslint-utils': 4.9.0(eslint@9.39.1)
|
||||||
'@typescript-eslint/types': 8.46.2
|
'@typescript-eslint/types': 8.47.0
|
||||||
eslint: 9.39.1
|
eslint: 9.39.1
|
||||||
eslint-visitor-keys: 4.2.1
|
eslint-visitor-keys: 4.2.1
|
||||||
espree: 10.4.0
|
espree: 10.4.0
|
||||||
@@ -3673,8 +3730,6 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@typescript-eslint/types@8.46.2': {}
|
|
||||||
|
|
||||||
'@typescript-eslint/types@8.47.0': {}
|
'@typescript-eslint/types@8.47.0': {}
|
||||||
|
|
||||||
'@typescript-eslint/typescript-estree@8.47.0(typescript@5.9.3)':
|
'@typescript-eslint/typescript-estree@8.47.0(typescript@5.9.3)':
|
||||||
@@ -3936,6 +3991,15 @@ snapshots:
|
|||||||
|
|
||||||
array-unique@0.3.2: {}
|
array-unique@0.3.2: {}
|
||||||
|
|
||||||
|
array.prototype.findlast@1.2.5:
|
||||||
|
dependencies:
|
||||||
|
call-bind: 1.0.8
|
||||||
|
define-properties: 1.2.1
|
||||||
|
es-abstract: 1.24.0
|
||||||
|
es-errors: 1.3.0
|
||||||
|
es-object-atoms: 1.1.1
|
||||||
|
es-shim-unscopables: 1.1.0
|
||||||
|
|
||||||
array.prototype.findlastindex@1.2.6:
|
array.prototype.findlastindex@1.2.6:
|
||||||
dependencies:
|
dependencies:
|
||||||
call-bind: 1.0.8
|
call-bind: 1.0.8
|
||||||
@@ -3960,6 +4024,14 @@ snapshots:
|
|||||||
es-abstract: 1.24.0
|
es-abstract: 1.24.0
|
||||||
es-shim-unscopables: 1.1.0
|
es-shim-unscopables: 1.1.0
|
||||||
|
|
||||||
|
array.prototype.tosorted@1.1.4:
|
||||||
|
dependencies:
|
||||||
|
call-bind: 1.0.8
|
||||||
|
define-properties: 1.2.1
|
||||||
|
es-abstract: 1.24.0
|
||||||
|
es-errors: 1.3.0
|
||||||
|
es-shim-unscopables: 1.1.0
|
||||||
|
|
||||||
arraybuffer.prototype.slice@1.0.4:
|
arraybuffer.prototype.slice@1.0.4:
|
||||||
dependencies:
|
dependencies:
|
||||||
array-buffer-byte-length: 1.0.2
|
array-buffer-byte-length: 1.0.2
|
||||||
@@ -4521,7 +4593,7 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
electron@39.2.1:
|
electron@39.2.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@electron/get': 2.0.3
|
'@electron/get': 2.0.3
|
||||||
'@types/node': 22.19.1
|
'@types/node': 22.19.1
|
||||||
@@ -4607,6 +4679,25 @@ snapshots:
|
|||||||
|
|
||||||
es-errors@1.3.0: {}
|
es-errors@1.3.0: {}
|
||||||
|
|
||||||
|
es-iterator-helpers@1.2.1:
|
||||||
|
dependencies:
|
||||||
|
call-bind: 1.0.8
|
||||||
|
call-bound: 1.0.4
|
||||||
|
define-properties: 1.2.1
|
||||||
|
es-abstract: 1.24.0
|
||||||
|
es-errors: 1.3.0
|
||||||
|
es-set-tostringtag: 2.1.0
|
||||||
|
function-bind: 1.1.2
|
||||||
|
get-intrinsic: 1.3.0
|
||||||
|
globalthis: 1.0.4
|
||||||
|
gopd: 1.2.0
|
||||||
|
has-property-descriptors: 1.0.2
|
||||||
|
has-proto: 1.2.0
|
||||||
|
has-symbols: 1.1.0
|
||||||
|
internal-slot: 1.1.0
|
||||||
|
iterator.prototype: 1.1.5
|
||||||
|
safe-array-concat: 1.1.3
|
||||||
|
|
||||||
es-object-atoms@1.1.1:
|
es-object-atoms@1.1.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
es-errors: 1.3.0
|
es-errors: 1.3.0
|
||||||
@@ -4760,6 +4851,28 @@ snapshots:
|
|||||||
prettier-linter-helpers: 1.0.0
|
prettier-linter-helpers: 1.0.0
|
||||||
synckit: 0.11.11
|
synckit: 0.11.11
|
||||||
|
|
||||||
|
eslint-plugin-react@7.37.5(eslint@9.39.1):
|
||||||
|
dependencies:
|
||||||
|
array-includes: 3.1.9
|
||||||
|
array.prototype.findlast: 1.2.5
|
||||||
|
array.prototype.flatmap: 1.3.3
|
||||||
|
array.prototype.tosorted: 1.1.4
|
||||||
|
doctrine: 2.1.0
|
||||||
|
es-iterator-helpers: 1.2.1
|
||||||
|
eslint: 9.39.1
|
||||||
|
estraverse: 5.3.0
|
||||||
|
hasown: 2.0.2
|
||||||
|
jsx-ast-utils: 3.3.5
|
||||||
|
minimatch: 3.1.2
|
||||||
|
object.entries: 1.1.9
|
||||||
|
object.fromentries: 2.0.8
|
||||||
|
object.values: 1.2.1
|
||||||
|
prop-types: 15.8.1
|
||||||
|
resolve: 2.0.0-next.5
|
||||||
|
semver: 6.3.1
|
||||||
|
string.prototype.matchall: 4.0.12
|
||||||
|
string.prototype.repeat: 1.0.0
|
||||||
|
|
||||||
eslint-plugin-simple-header@1.2.2(eslint@9.39.1):
|
eslint-plugin-simple-header@1.2.2(eslint@9.39.1):
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint: 9.39.1
|
eslint: 9.39.1
|
||||||
@@ -5473,6 +5586,15 @@ snapshots:
|
|||||||
|
|
||||||
isobject@3.0.1: {}
|
isobject@3.0.1: {}
|
||||||
|
|
||||||
|
iterator.prototype@1.1.5:
|
||||||
|
dependencies:
|
||||||
|
define-data-property: 1.1.4
|
||||||
|
es-object-atoms: 1.1.1
|
||||||
|
get-intrinsic: 1.3.0
|
||||||
|
get-proto: 1.0.1
|
||||||
|
has-symbols: 1.1.0
|
||||||
|
set-function-name: 2.0.2
|
||||||
|
|
||||||
jackspeak@3.4.3:
|
jackspeak@3.4.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@isaacs/cliui': 8.0.2
|
'@isaacs/cliui': 8.0.2
|
||||||
@@ -5485,6 +5607,8 @@ snapshots:
|
|||||||
filelist: 1.0.4
|
filelist: 1.0.4
|
||||||
picocolors: 1.1.1
|
picocolors: 1.1.1
|
||||||
|
|
||||||
|
js-tokens@4.0.0: {}
|
||||||
|
|
||||||
js-yaml@4.1.0:
|
js-yaml@4.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
argparse: 2.0.1
|
argparse: 2.0.1
|
||||||
@@ -5518,6 +5642,13 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
graceful-fs: 4.2.11
|
graceful-fs: 4.2.11
|
||||||
|
|
||||||
|
jsx-ast-utils@3.3.5:
|
||||||
|
dependencies:
|
||||||
|
array-includes: 3.1.9
|
||||||
|
array.prototype.flat: 1.3.3
|
||||||
|
object.assign: 4.1.7
|
||||||
|
object.values: 1.2.1
|
||||||
|
|
||||||
keyv@4.5.4:
|
keyv@4.5.4:
|
||||||
dependencies:
|
dependencies:
|
||||||
json-buffer: 3.0.1
|
json-buffer: 3.0.1
|
||||||
@@ -5570,6 +5701,10 @@ snapshots:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
is-unicode-supported: 0.1.0
|
is-unicode-supported: 0.1.0
|
||||||
|
|
||||||
|
loose-envify@1.4.0:
|
||||||
|
dependencies:
|
||||||
|
js-tokens: 4.0.0
|
||||||
|
|
||||||
lowercase-keys@2.0.0: {}
|
lowercase-keys@2.0.0: {}
|
||||||
|
|
||||||
lru-cache@10.4.3: {}
|
lru-cache@10.4.3: {}
|
||||||
@@ -5735,7 +5870,7 @@ snapshots:
|
|||||||
|
|
||||||
node-abi@3.78.0:
|
node-abi@3.78.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
semver: 7.7.2
|
semver: 7.7.3
|
||||||
|
|
||||||
node-abi@3.85.0:
|
node-abi@3.85.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -5752,7 +5887,7 @@ snapshots:
|
|||||||
|
|
||||||
node-api-version@0.2.1:
|
node-api-version@0.2.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
semver: 7.7.2
|
semver: 7.7.3
|
||||||
|
|
||||||
node-gyp@9.4.1:
|
node-gyp@9.4.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -5786,6 +5921,8 @@ snapshots:
|
|||||||
gauge: 4.0.4
|
gauge: 4.0.4
|
||||||
set-blocking: 2.0.0
|
set-blocking: 2.0.0
|
||||||
|
|
||||||
|
object-assign@4.1.1: {}
|
||||||
|
|
||||||
object-copy@0.1.0:
|
object-copy@0.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
copy-descriptor: 0.1.1
|
copy-descriptor: 0.1.1
|
||||||
@@ -5809,6 +5946,13 @@ snapshots:
|
|||||||
has-symbols: 1.1.0
|
has-symbols: 1.1.0
|
||||||
object-keys: 1.1.1
|
object-keys: 1.1.1
|
||||||
|
|
||||||
|
object.entries@1.1.9:
|
||||||
|
dependencies:
|
||||||
|
call-bind: 1.0.8
|
||||||
|
call-bound: 1.0.4
|
||||||
|
define-properties: 1.2.1
|
||||||
|
es-object-atoms: 1.1.1
|
||||||
|
|
||||||
object.fromentries@2.0.8:
|
object.fromentries@2.0.8:
|
||||||
dependencies:
|
dependencies:
|
||||||
call-bind: 1.0.8
|
call-bind: 1.0.8
|
||||||
@@ -5949,6 +6093,12 @@ snapshots:
|
|||||||
err-code: 2.0.3
|
err-code: 2.0.3
|
||||||
retry: 0.12.0
|
retry: 0.12.0
|
||||||
|
|
||||||
|
prop-types@15.8.1:
|
||||||
|
dependencies:
|
||||||
|
loose-envify: 1.4.0
|
||||||
|
object-assign: 4.1.1
|
||||||
|
react-is: 16.13.1
|
||||||
|
|
||||||
proxy-from-env@1.1.0:
|
proxy-from-env@1.1.0:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
@@ -5971,6 +6121,8 @@ snapshots:
|
|||||||
strip-json-comments: 2.0.1
|
strip-json-comments: 2.0.1
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
react-is@16.13.1: {}
|
||||||
|
|
||||||
read-binary-file-arch@1.0.6:
|
read-binary-file-arch@1.0.6:
|
||||||
dependencies:
|
dependencies:
|
||||||
debug: 4.4.3
|
debug: 4.4.3
|
||||||
@@ -6047,6 +6199,12 @@ snapshots:
|
|||||||
path-parse: 1.0.7
|
path-parse: 1.0.7
|
||||||
supports-preserve-symlinks-flag: 1.0.0
|
supports-preserve-symlinks-flag: 1.0.0
|
||||||
|
|
||||||
|
resolve@2.0.0-next.5:
|
||||||
|
dependencies:
|
||||||
|
is-core-module: 2.16.1
|
||||||
|
path-parse: 1.0.7
|
||||||
|
supports-preserve-symlinks-flag: 1.0.0
|
||||||
|
|
||||||
responselike@2.0.1:
|
responselike@2.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
lowercase-keys: 2.0.0
|
lowercase-keys: 2.0.0
|
||||||
@@ -6297,6 +6455,27 @@ snapshots:
|
|||||||
emoji-regex: 9.2.2
|
emoji-regex: 9.2.2
|
||||||
strip-ansi: 7.1.2
|
strip-ansi: 7.1.2
|
||||||
|
|
||||||
|
string.prototype.matchall@4.0.12:
|
||||||
|
dependencies:
|
||||||
|
call-bind: 1.0.8
|
||||||
|
call-bound: 1.0.4
|
||||||
|
define-properties: 1.2.1
|
||||||
|
es-abstract: 1.24.0
|
||||||
|
es-errors: 1.3.0
|
||||||
|
es-object-atoms: 1.1.1
|
||||||
|
get-intrinsic: 1.3.0
|
||||||
|
gopd: 1.2.0
|
||||||
|
has-symbols: 1.1.0
|
||||||
|
internal-slot: 1.1.0
|
||||||
|
regexp.prototype.flags: 1.5.4
|
||||||
|
set-function-name: 2.0.2
|
||||||
|
side-channel: 1.1.0
|
||||||
|
|
||||||
|
string.prototype.repeat@1.0.0:
|
||||||
|
dependencies:
|
||||||
|
define-properties: 1.2.1
|
||||||
|
es-abstract: 1.24.0
|
||||||
|
|
||||||
string.prototype.trim@1.2.10:
|
string.prototype.trim@1.2.10:
|
||||||
dependencies:
|
dependencies:
|
||||||
call-bind: 1.0.8
|
call-bind: 1.0.8
|
||||||
|
|||||||
@@ -580,11 +580,15 @@ function AudioSourcePickerLinux({
|
|||||||
return (
|
return (
|
||||||
<Forms.FormText>
|
<Forms.FormText>
|
||||||
Failed to retrieve Audio Sources because your C++ library is too old to run
|
Failed to retrieve Audio Sources because your C++ library is too old to run
|
||||||
<a href="https://github.com/Vencord/venmic" target="_blank">
|
<a href="https://github.com/Vencord/venmic" target="_blank" rel="noreferrer">
|
||||||
venmic
|
venmic
|
||||||
</a>
|
</a>
|
||||||
. See{" "}
|
. See{" "}
|
||||||
<a href="https://gist.github.com/Vendicated/b655044ffbb16b2716095a448c6d827a" target="_blank">
|
<a
|
||||||
|
href="https://gist.github.com/Vendicated/b655044ffbb16b2716095a448c6d827a"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
this guide
|
this guide
|
||||||
</a>{" "}
|
</a>{" "}
|
||||||
for possible solutions.
|
for possible solutions.
|
||||||
@@ -596,7 +600,11 @@ function AudioSourcePickerLinux({
|
|||||||
return (
|
return (
|
||||||
<Text variant="text-sm/normal">
|
<Text variant="text-sm/normal">
|
||||||
Could not find pipewire-pulse. See{" "}
|
Could not find pipewire-pulse. See{" "}
|
||||||
<a href="https://gist.github.com/the-spyke/2de98b22ff4f978ebf0650c90e82027e#install" target="_blank">
|
<a
|
||||||
|
href="https://gist.github.com/the-spyke/2de98b22ff4f978ebf0650c90e82027e#install"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
this guide
|
this guide
|
||||||
</a>{" "}
|
</a>{" "}
|
||||||
on how to switch to pipewire. <br />
|
on how to switch to pipewire. <br />
|
||||||
|
|||||||
@@ -154,8 +154,8 @@ function SettingsSections() {
|
|||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<div className={cl("category-content")}>
|
<div className={cl("category-content")}>
|
||||||
{settings.map(Setting => {
|
{settings.map((Setting, i) => {
|
||||||
if (typeof Setting === "function") return <Setting settings={Settings} />;
|
if (typeof Setting === "function") return <Setting key={`Custom-${i}`} settings={Settings} />;
|
||||||
|
|
||||||
const { defaultValue, title, description, key, disabled, invisible } = Setting;
|
const { defaultValue, title, description, key, disabled, invisible } = Setting;
|
||||||
if (invisible?.()) return null;
|
if (invisible?.()) return null;
|
||||||
|
|||||||
@@ -26,12 +26,10 @@ addPatch({
|
|||||||
group: true,
|
group: true,
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /if\(null!=(\i)\)(?=.{0,50}\1\.window\.setDevtoolsCallbacks)/,
|
match: /if\(null!=(\i)\)(?=.{0,50}\1\.window\.setDevtoolsCallbacks)/,
|
||||||
replace: "if(true)"
|
replace: "if(true)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /\b\i\.window\.setDevtoolsCallbacks/g,
|
match: /\b\i\.window\.setDevtoolsCallbacks/g,
|
||||||
replace: "VesktopNative.win.setDevtoolsCallbacks"
|
replace: "VesktopNative.win.setDevtoolsCallbacks"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,8 +11,6 @@ addPatch({
|
|||||||
{
|
{
|
||||||
find: '"NotificationSettingsStore',
|
find: '"NotificationSettingsStore',
|
||||||
replacement: {
|
replacement: {
|
||||||
// FIXME: fix eslint rule
|
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /\.isPlatformEmbedded(?=\?\i\.\i\.ALL)/g,
|
match: /\.isPlatformEmbedded(?=\?\i\.\i\.ALL)/g,
|
||||||
replace: "$&||true"
|
replace: "$&||true"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ addPatch({
|
|||||||
{
|
{
|
||||||
find: "lastOutputSystemDevice.justChanged",
|
find: "lastOutputSystemDevice.justChanged",
|
||||||
replacement: {
|
replacement: {
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /(\i)\.\i\.getState\(\).neverShowModal/,
|
match: /(\i)\.\i\.getState\(\).neverShowModal/,
|
||||||
replace: "$& || $self.shouldIgnoreDevice($1)"
|
replace: "$& || $self.shouldIgnoreDevice($1)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ addPatch({
|
|||||||
{
|
{
|
||||||
find: 'setSinkId"in',
|
find: 'setSinkId"in',
|
||||||
replacement: {
|
replacement: {
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /return (\i)\?navigator\.mediaDevices\.enumerateDevices/,
|
match: /return (\i)\?navigator\.mediaDevices\.enumerateDevices/,
|
||||||
replace: "return $1 ? $self.filteredDevices"
|
replace: "return $1 ? $self.filteredDevices"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ addPatch({
|
|||||||
{
|
{
|
||||||
find: "platform-web",
|
find: "platform-web",
|
||||||
replacement: {
|
replacement: {
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /(?<=" platform-overlay"\):)\i/,
|
match: /(?<=" platform-overlay"\):)\i/,
|
||||||
replace: "$self.getPlatformClass()"
|
replace: "$self.getPlatformClass()"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ addContextMenuPatch("textarea-context", children => {
|
|||||||
<>
|
<>
|
||||||
{corrections.map(c => (
|
{corrections.map(c => (
|
||||||
<Menu.MenuItem
|
<Menu.MenuItem
|
||||||
|
key={c}
|
||||||
id={"vcd-spellcheck-suggestion-" + c}
|
id={"vcd-spellcheck-suggestion-" + c}
|
||||||
label={c}
|
label={c}
|
||||||
action={() => VesktopNative.spellcheck.replaceMisspelling(c)}
|
action={() => VesktopNative.spellcheck.replaceMisspelling(c)}
|
||||||
@@ -95,6 +96,7 @@ addContextMenuPatch("textarea-context", children => {
|
|||||||
const isEnabled = spellCheckLanguages.includes(lang);
|
const isEnabled = spellCheckLanguages.includes(lang);
|
||||||
return (
|
return (
|
||||||
<Menu.MenuCheckboxItem
|
<Menu.MenuCheckboxItem
|
||||||
|
key={lang}
|
||||||
id={"vcd-spellcheck-lang-" + lang}
|
id={"vcd-spellcheck-lang-" + lang}
|
||||||
label={lang}
|
label={lang}
|
||||||
checked={isEnabled}
|
checked={isEnabled}
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ addPatch({
|
|||||||
find: ".STREAMER_MODE_ENABLE,",
|
find: ".STREAMER_MODE_ENABLE,",
|
||||||
replacement: {
|
replacement: {
|
||||||
// remove if (platformEmbedded) check from streamer mode toggle
|
// remove if (platformEmbedded) check from streamer mode toggle
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /if\(\i\.\i\)(?=return.{0,200}?"autoToggle")/g,
|
match: /if\(\i\.\i\)(?=return.{0,200}?"autoToggle")/g,
|
||||||
replace: ""
|
replace: ""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,13 +12,10 @@ addPatch({
|
|||||||
find: ",setSystemTrayApplications",
|
find: ",setSystemTrayApplications",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /\i\.window\.(close|minimize|maximize)/g,
|
match: /\i\.window\.(close|minimize|maximize)/g,
|
||||||
replace: `VesktopNative.win.$1`
|
replace: `VesktopNative.win.$1`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TODO: Fix eslint rule
|
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /(focus(\(\i\)){).{0,150}?\.focus\(\i,\i\)/,
|
match: /(focus(\(\i\)){).{0,150}?\.focus\(\i,\i\)/,
|
||||||
replace: "$1VesktopNative.win.focus$2"
|
replace: "$1VesktopNative.win.focus$2"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,8 +15,6 @@ if (Settings.store.customTitleBar)
|
|||||||
find: ".wordmarkWindows",
|
find: ".wordmarkWindows",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
// TODO: Fix eslint rule
|
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /case \i\.\i\.WINDOWS:/,
|
match: /case \i\.\i\.WINDOWS:/,
|
||||||
replace: 'case "WEB":'
|
replace: 'case "WEB":'
|
||||||
}
|
}
|
||||||
@@ -27,14 +25,10 @@ if (Settings.store.customTitleBar)
|
|||||||
find: ".systemBar,",
|
find: ".systemBar,",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
// TODO: Fix eslint rule
|
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /\i===\i\.PlatformTypes\.WINDOWS/g,
|
match: /\i===\i\.PlatformTypes\.WINDOWS/g,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TODO: Fix eslint rule
|
|
||||||
// eslint-disable-next-line no-useless-escape
|
|
||||||
match: /\i===\i\.PlatformTypes\.WEB/g,
|
match: /\i===\i\.PlatformTypes\.WEB/g,
|
||||||
replace: "false"
|
replace: "false"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user