From 050b641d79eb52eec44ac93cff63782d3aa90e62 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Tue, 12 Dec 2023 14:00:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96&=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=EF=BC=882.6.0-beta.5=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.base.cjs | 1 + package-lock.json | 578 +++++++++--------- package.json | 18 +- src/common/utils/download/request.ts | 2 +- src/main/modules/sync/server/server/auth.ts | 2 +- src/main/modules/sync/server/server/server.ts | 6 +- src/main/utils/index.ts | 4 +- src/main/worker/dbService/migrate.ts | 2 +- .../worker/dbService/modules/list/index.ts | 2 +- src/renderer/core/music/utils.ts | 6 +- src/renderer/core/useApp/listAutoUpdate.ts | 2 +- .../core/useApp/usePlayer/useSoundEffect.ts | 2 +- src/renderer/plugins/player/index.ts | 12 +- src/renderer/store/hotSearch.ts | 2 +- src/renderer/store/list/listManage/action.ts | 2 +- .../list/listManage/rendererListManage.ts | 2 +- src/renderer/store/search/music/action.ts | 6 +- src/renderer/store/search/songlist/action.ts | 10 +- src/renderer/store/utils.ts | 2 +- src/renderer/views/List/MyList/useEditList.ts | 2 +- src/renderer/worker/main/list.ts | 6 +- 21 files changed, 335 insertions(+), 334 deletions(-) diff --git a/.eslintrc.base.cjs b/.eslintrc.base.cjs index 5544e8e98d..68879d61ee 100644 --- a/.eslintrc.base.cjs +++ b/.eslintrc.base.cjs @@ -42,6 +42,7 @@ const typescriptRule = { '@typescript-eslint/return-await': 'off', '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/comma-dangle': 'off', + '@typescript-eslint/no-unsafe-argument': 'off', } const vueRule = { ...typescriptRule, diff --git a/package-lock.json b/package-lock.json index 7e95946535..5a97454c77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lx-music-desktop", - "version": "2.6.0-beta.4", + "version": "2.6.0-beta.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lx-music-desktop", - "version": "2.6.0-beta.4", + "version": "2.6.0-beta.5", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -28,18 +28,18 @@ "sortablejs": "^1.15.1", "tunnel": "^0.0.6", "utf-8-validate": "^6.0.3", - "vue": "^3.3.10", + "vue": "^3.3.11", "vue-router": "^4.2.5", - "ws": "^8.14.2" + "ws": "^8.15.0" }, "devDependencies": { - "@babel/core": "^7.23.5", + "@babel/core": "^7.23.6", "@babel/eslint-parser": "^7.23.3", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-modules-umd": "^7.23.3", - "@babel/plugin-transform-runtime": "^7.23.4", - "@babel/preset-env": "^7.23.5", + "@babel/plugin-transform-runtime": "^7.23.6", + "@babel/preset-env": "^7.23.6", "@babel/preset-typescript": "^7.23.3", "@tsconfig/recommended": "^1.0.3", "@types/better-sqlite3": "^7.6.8", @@ -59,14 +59,14 @@ "css-minimizer-webpack-plugin": "^5.0.1", "del": "^6.1.1", "electron": "^25.9.8", - "electron-builder": "^24.9.3", + "electron-builder": "^24.9.4", "electron-debug": "^3.2.0", "electron-devtools-installer": "^3.2.0", - "electron-to-chromium": "^1.4.608", + "electron-to-chromium": "^1.4.610", "electron-updater": "^6.1.7", "eslint": "^8.55.0", "eslint-config-standard": "^17.1.0", - "eslint-config-standard-with-typescript": "^40.0.0", + "eslint-config-standard-with-typescript": "^42.0.0", "eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53", "eslint-plugin-html": "^7.1.0", "eslint-plugin-vue": "^9.19.2", @@ -221,21 +221,21 @@ } }, "node_modules/@babel/core": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.5.tgz", - "integrity": "sha512-Cwc2XjUrG4ilcfOw4wBAK+enbdgwAcAJCfGUItPBKR7Mjw4aEfAFYrLxeRp4jWgtNIKn3n2AlBOfwwafl+42/g==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz", + "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/generator": "^7.23.6", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.5", - "@babel/parser": "^7.23.5", + "@babel/helpers": "^7.23.6", + "@babel/parser": "^7.23.6", "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.5", - "@babel/types": "^7.23.5", + "@babel/traverse": "^7.23.6", + "@babel/types": "^7.23.6", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -269,12 +269,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.5.tgz", - "integrity": "sha512-BPssCHrBD+0YrxviOa3QzpqwhNIXKEtOa2jQrm4FlmkC2apYgRnQcmPWiGZDlGxiNtltnUFolMe8497Esry+jA==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", "dev": true, "dependencies": { - "@babel/types": "^7.23.5", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -322,14 +322,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", - "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -603,14 +603,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.5.tgz", - "integrity": "sha512-oO7us8FzTEsG3U6ag9MfdF1iA/7Z6dz+MtFhifZk8C8o453rGJFFWUP1t+ULM9TUIAzC9uxXEiXjOiVMyd7QPg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz", + "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==", "dev": true, "dependencies": { "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.5", - "@babel/types": "^7.23.5" + "@babel/traverse": "^7.23.6", + "@babel/types": "^7.23.6" }, "engines": { "node": ">=6.9.0" @@ -702,9 +702,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.5.tgz", - "integrity": "sha512-hOOqoiNXrmGdFbhgCzu6GiURxUgM27Xwd/aPuu8RfHEZPBzL1Z54okAHAQjXfcQNwvrlkAmAp4SlRTZ45vlthQ==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", "bin": { "parser": "bin/babel-parser.js" }, @@ -1300,12 +1300,13 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz", - "integrity": "sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz", + "integrity": "sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1687,9 +1688,9 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.4.tgz", - "integrity": "sha512-ITwqpb6V4btwUG0YJR82o2QvmWrLgDnx/p2A3CTPYGaRgULkDiC0DRA2C4jlRB9uXGUEfaSS/IGHfVW+ohzYDw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.6.tgz", + "integrity": "sha512-kF1Zg62aPseQ11orDhFRw+aPG/eynNQtI+TyY+m33qJa2cJ5EEvza2P2BNTIA9E5MyqFABHEyY6CPHwgdy9aNg==", "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.22.15", @@ -1864,13 +1865,13 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.5.tgz", - "integrity": "sha512-0d/uxVD6tFGWXGDSfyMD1p2otoaKmu6+GD+NfAx0tMaH+dxORnp7T9TaVQ6mKyya7iBtCIVxHjWT7MuzzM9z+A==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.6.tgz", + "integrity": "sha512-2XPn/BqKkZCpzYhUUNZ1ssXw7DcXfKQEjv/uXZUXgaebCMYmkEsfZ2yY+vv+xtXv50WmL5SGhyB6/xsWxIvvOQ==", "dev": true, "dependencies": { "@babel/compat-data": "^7.23.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-option": "^7.23.5", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.23.3", @@ -1910,7 +1911,7 @@ "@babel/plugin-transform-dynamic-import": "^7.23.4", "@babel/plugin-transform-exponentiation-operator": "^7.23.3", "@babel/plugin-transform-export-namespace-from": "^7.23.4", - "@babel/plugin-transform-for-of": "^7.23.3", + "@babel/plugin-transform-for-of": "^7.23.6", "@babel/plugin-transform-function-name": "^7.23.3", "@babel/plugin-transform-json-strings": "^7.23.4", "@babel/plugin-transform-literals": "^7.23.3", @@ -2023,20 +2024,20 @@ } }, "node_modules/@babel/traverse": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.5.tgz", - "integrity": "sha512-czx7Xy5a6sapWWRx61m1Ke1Ra4vczu1mCTtJam5zRTBOonfdJ+S/B6HYmGYu3fJtr8GGET3si6IhgWVBhJ/m8w==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", + "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", "dev": true, "dependencies": { "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.5", + "@babel/generator": "^7.23.6", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.5", - "@babel/types": "^7.23.5", - "debug": "^4.1.0", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -2044,9 +2045,9 @@ } }, "node_modules/@babel/types": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.5.tgz", - "integrity": "sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.23.4", @@ -3506,36 +3507,36 @@ "dev": true }, "node_modules/@vue/compiler-core": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.10.tgz", - "integrity": "sha512-doe0hODR1+i1menPkRzJ5MNR6G+9uiZHIknK3Zn5OcIztu6GGw7u0XUzf3AgB8h/dfsZC9eouzoLo3c3+N/cVA==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz", + "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==", "dependencies": { "@babel/parser": "^7.23.5", - "@vue/shared": "3.3.10", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-dom": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.10.tgz", - "integrity": "sha512-NCrqF5fm10GXZIK0GrEAauBqdy+F2LZRt3yNHzrYjpYBuRssQbuPLtSnSNjyR9luHKkWSH8we5LMB3g+4z2HvA==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz", + "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==", "dependencies": { - "@vue/compiler-core": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.10.tgz", - "integrity": "sha512-xpcTe7Rw7QefOTRFFTlcfzozccvjM40dT45JtrE3onGm/jBLZ0JhpKu3jkV7rbDFLeeagR/5RlJ2Y9SvyS0lAg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz", + "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==", "dependencies": { "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.10", - "@vue/compiler-dom": "3.3.10", - "@vue/compiler-ssr": "3.3.10", - "@vue/reactivity-transform": "3.3.10", - "@vue/shared": "3.3.10", + "@vue/compiler-core": "3.3.11", + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-ssr": "3.3.11", + "@vue/reactivity-transform": "3.3.11", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "magic-string": "^0.30.5", "postcss": "^8.4.32", @@ -3543,12 +3544,12 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.10.tgz", - "integrity": "sha512-12iM4jA4GEbskwXMmPcskK5wImc2ohKm408+o9iox3tfN9qua8xL0THIZtoe9OJHnXP4eOWZpgCAAThEveNlqQ==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz", + "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==", "dependencies": { - "@vue/compiler-dom": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-dom": "3.3.11", + "@vue/shared": "3.3.11" } }, "node_modules/@vue/devtools-api": { @@ -3582,60 +3583,60 @@ "dev": true }, "node_modules/@vue/reactivity": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.10.tgz", - "integrity": "sha512-H5Z7rOY/JLO+e5a6/FEXaQ1TMuOvY4LDVgT+/+HKubEAgs9qeeZ+NhADSeEtrNQeiKLDuzeKc8v0CUFpB6Pqgw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz", + "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==", "dependencies": { - "@vue/shared": "3.3.10" + "@vue/shared": "3.3.11" } }, "node_modules/@vue/reactivity-transform": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.10.tgz", - "integrity": "sha512-0xBdk+CKHWT+Gev8oZ63Tc0qFfj935YZx+UAynlutnrDZ4diFCVFMWixn65HzjE3S1iJppWOo6Tt1OzASH7VEg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz", + "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==", "dependencies": { "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.10", - "@vue/shared": "3.3.10", + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "magic-string": "^0.30.5" } }, "node_modules/@vue/runtime-core": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.10.tgz", - "integrity": "sha512-DZ0v31oTN4YHX9JEU5VW1LoIVgFovWgIVb30bWn9DG9a7oA415idcwsRNNajqTx8HQJyOaWfRKoyuP2P2TYIag==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz", + "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==", "dependencies": { - "@vue/reactivity": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/reactivity": "3.3.11", + "@vue/shared": "3.3.11" } }, "node_modules/@vue/runtime-dom": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.10.tgz", - "integrity": "sha512-c/jKb3ny05KJcYk0j1m7Wbhrxq7mZYr06GhKykDMNRRR9S+/dGT8KpHuNQjv3/8U4JshfkAk6TpecPD3B21Ijw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz", + "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==", "dependencies": { - "@vue/runtime-core": "3.3.10", - "@vue/shared": "3.3.10", + "@vue/runtime-core": "3.3.11", + "@vue/shared": "3.3.11", "csstype": "^3.1.2" } }, "node_modules/@vue/server-renderer": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.10.tgz", - "integrity": "sha512-0i6ww3sBV3SKlF3YTjSVqKQ74xialMbjVYGy7cOTi7Imd8ediE7t72SK3qnvhrTAhOvlQhq6Bk6nFPdXxe0sAg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz", + "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==", "dependencies": { - "@vue/compiler-ssr": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-ssr": "3.3.11", + "@vue/shared": "3.3.11" }, "peerDependencies": { - "vue": "3.3.10" + "vue": "3.3.11" } }, "node_modules/@vue/shared": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.10.tgz", - "integrity": "sha512-2y3Y2J1a3RhFa0WisHvACJR2ncvWiVHcP8t0Inxo+NKz+8RKO4ZV8eZgCxRgQoA6ITfV12L4E6POOL9HOU5nqw==" + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz", + "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw==" }, "node_modules/@webassemblyjs/ast": { "version": "1.11.5", @@ -4190,9 +4191,9 @@ "dev": true }, "node_modules/app-builder-lib": { - "version": "24.9.3", - "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.3.tgz", - "integrity": "sha512-qQLkbR+1yDXMY+Vq3gNORDG1vp44qUAIy7EqUH0y+S1fs0C1g13e31f7Wr7UAAp0fGT8tkFpDWnD1as1gHwvVA==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.4.tgz", + "integrity": "sha512-V52ikQoqkWbuL6k9tWHJgJpQiD0407XgjkNnGeAux+rKygXgOSRn0vmK2FdzMd4wtdKHhhTIcIA0JrIdqcthAg==", "dev": true, "dependencies": { "@develar/schema-utils": "~2.6.5", @@ -4201,15 +4202,14 @@ "@electron/universal": "1.4.1", "@malept/flatpak-bundler": "^0.4.0", "@types/fs-extra": "9.0.13", - "7zip-bin": "~5.2.0", "async-exit-hook": "^2.0.1", "bluebird-lst": "^1.0.9", - "builder-util": "24.8.1", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "chromium-pickle-js": "^0.2.0", "debug": "^4.3.4", "ejs": "^3.1.8", - "electron-publish": "24.8.1", + "electron-publish": "24.9.4", "form-data": "^4.0.0", "fs-extra": "^10.1.0", "hosted-git-info": "^4.1.0", @@ -5048,9 +5048,9 @@ } }, "node_modules/builder-util": { - "version": "24.8.1", - "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.8.1.tgz", - "integrity": "sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.9.4.tgz", + "integrity": "sha512-YNon3rYjPSm4XDDho9wD6jq7vLRJZUy9FR+yFZnHoWvvdVCnZakL4BctTlPABP41MvIH5yk2cTZ2YfkOhGistQ==", "dev": true, "dependencies": { "@types/debug": "^4.1.6", @@ -6593,13 +6593,13 @@ } }, "node_modules/dmg-builder": { - "version": "24.9.3", - "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.3.tgz", - "integrity": "sha512-Oft9t6g8etIJQ7rHNbX0fmuwEMP9cUNV6fJdqCHXiR13pEloTu3gcutfDEodXrR7W+VhvMMiYepBrRnkk9CFsQ==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.4.tgz", + "integrity": "sha512-fifxbQeOMkPgRrKqjkRdRYHt8ssWJh3J4DkYsA163nOMt/waUs5AgPsS4d1sX4dTPRD7Jfo4vb4wmmHjhgs8nA==", "dev": true, "dependencies": { - "app-builder-lib": "24.9.3", - "builder-util": "24.8.1", + "app-builder-lib": "24.9.4", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "fs-extra": "^10.1.0", "iconv-lite": "^0.6.2", @@ -6847,16 +6847,16 @@ } }, "node_modules/electron-builder": { - "version": "24.9.3", - "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.3.tgz", - "integrity": "sha512-yHkUmE2ZSTA0MlrPjrLmFlyQB/zAqAmavvfFUb+Cnz8gCvOVHT8bMyaucYfNaDgxL4yrBznqeU9kE40DwPiTeQ==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.4.tgz", + "integrity": "sha512-jN07OQixVt0wxvRZB4lKAsDUwPIyChhwf3CEExhCDnrIYWciw92yhIHbZkNwebuNcLxScVzH5xsCUVNrYY/LZg==", "dev": true, "dependencies": { - "app-builder-lib": "24.9.3", - "builder-util": "24.8.1", + "app-builder-lib": "24.9.4", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", - "dmg-builder": "24.9.3", + "dmg-builder": "24.9.4", "fs-extra": "^10.1.0", "is-ci": "^3.0.0", "lazy-val": "^1.0.5", @@ -6980,13 +6980,13 @@ } }, "node_modules/electron-publish": { - "version": "24.8.1", - "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.8.1.tgz", - "integrity": "sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.9.4.tgz", + "integrity": "sha512-FghbeVMfxHneHjsG2xUSC0NMZYWOOWhBxfZKPTbibcJ0CjPH0Ph8yb5CUO62nqywXfA5u1Otq6K8eOdOixxmNg==", "dev": true, "dependencies": { "@types/fs-extra": "^9.0.11", - "builder-util": "24.8.1", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", "fs-extra": "^10.1.0", @@ -7030,9 +7030,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.608", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.608.tgz", - "integrity": "sha512-J2f/3iIIm3Mo0npneITZ2UPe4B1bg8fTNrFjD8715F/k1BvbviRuqYGkET1PgprrczXYTHFvotbBOmUp6KE0uA==", + "version": "1.4.610", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.610.tgz", + "integrity": "sha512-mqi2oL1mfeHYtOdCxbPQYV/PL7YrQlxbvFEZ0Ee8GbDdShimqt2/S6z2RWqysuvlwdOrQdqvE0KZrBTipAeJzg==", "dev": true }, "node_modules/electron-updater": { @@ -7413,9 +7413,9 @@ } }, "node_modules/eslint-config-standard-with-typescript": { - "version": "40.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-40.0.0.tgz", - "integrity": "sha512-GXUJcwIXiTQaS3H4etv8a1lejVVdZYaxZNz3g7vt6GoJosQqMTurbmSC4FVGyHiGT/d1TjFr3+47A3xsHhsG+Q==", + "version": "42.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-42.0.0.tgz", + "integrity": "sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==", "dev": true, "dependencies": { "@typescript-eslint/parser": "^6.4.0", @@ -16815,15 +16815,15 @@ "dev": true }, "node_modules/vue": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.10.tgz", - "integrity": "sha512-zg6SIXZdTBwiqCw/1p+m04VyHjLfwtjwz8N57sPaBhEex31ND0RYECVOC1YrRwMRmxFf5T1dabl6SGUbMKKuVw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz", + "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==", "dependencies": { - "@vue/compiler-dom": "3.3.10", - "@vue/compiler-sfc": "3.3.10", - "@vue/runtime-dom": "3.3.10", - "@vue/server-renderer": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-sfc": "3.3.11", + "@vue/runtime-dom": "3.3.11", + "@vue/server-renderer": "3.3.11", + "@vue/shared": "3.3.11" }, "peerDependencies": { "typescript": "*" @@ -17393,9 +17393,9 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/ws": { - "version": "8.14.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", - "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.15.0.tgz", + "integrity": "sha512-H/Z3H55mrcrgjFwI+5jKavgXvwQLtfPCUEp6pi35VhoB0pfcHnSoyuTzkBEZpzq49g1193CUEwIvmsjcotenYw==", "engines": { "node": ">=10.0.0" }, @@ -17593,21 +17593,21 @@ "dev": true }, "@babel/core": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.5.tgz", - "integrity": "sha512-Cwc2XjUrG4ilcfOw4wBAK+enbdgwAcAJCfGUItPBKR7Mjw4aEfAFYrLxeRp4jWgtNIKn3n2AlBOfwwafl+42/g==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz", + "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==", "dev": true, "requires": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/generator": "^7.23.6", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.5", - "@babel/parser": "^7.23.5", + "@babel/helpers": "^7.23.6", + "@babel/parser": "^7.23.6", "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.5", - "@babel/types": "^7.23.5", + "@babel/traverse": "^7.23.6", + "@babel/types": "^7.23.6", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -17627,12 +17627,12 @@ } }, "@babel/generator": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.5.tgz", - "integrity": "sha512-BPssCHrBD+0YrxviOa3QzpqwhNIXKEtOa2jQrm4FlmkC2apYgRnQcmPWiGZDlGxiNtltnUFolMe8497Esry+jA==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", "dev": true, "requires": { - "@babel/types": "^7.23.5", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -17670,14 +17670,14 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", - "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", "dev": true, "requires": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "latest" } @@ -17873,14 +17873,14 @@ } }, "@babel/helpers": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.5.tgz", - "integrity": "sha512-oO7us8FzTEsG3U6ag9MfdF1iA/7Z6dz+MtFhifZk8C8o453rGJFFWUP1t+ULM9TUIAzC9uxXEiXjOiVMyd7QPg==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz", + "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==", "dev": true, "requires": { "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.5", - "@babel/types": "^7.23.5" + "@babel/traverse": "^7.23.6", + "@babel/types": "^7.23.6" } }, "@babel/highlight": { @@ -17953,9 +17953,9 @@ } }, "@babel/parser": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.5.tgz", - "integrity": "sha512-hOOqoiNXrmGdFbhgCzu6GiURxUgM27Xwd/aPuu8RfHEZPBzL1Z54okAHAQjXfcQNwvrlkAmAp4SlRTZ45vlthQ==" + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", + "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==" }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.23.3", @@ -18342,12 +18342,13 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz", - "integrity": "sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz", + "integrity": "sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" } }, "@babel/plugin-transform-function-name": { @@ -18585,9 +18586,9 @@ } }, "@babel/plugin-transform-runtime": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.4.tgz", - "integrity": "sha512-ITwqpb6V4btwUG0YJR82o2QvmWrLgDnx/p2A3CTPYGaRgULkDiC0DRA2C4jlRB9uXGUEfaSS/IGHfVW+ohzYDw==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.6.tgz", + "integrity": "sha512-kF1Zg62aPseQ11orDhFRw+aPG/eynNQtI+TyY+m33qJa2cJ5EEvza2P2BNTIA9E5MyqFABHEyY6CPHwgdy9aNg==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.22.15", @@ -18696,13 +18697,13 @@ } }, "@babel/preset-env": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.5.tgz", - "integrity": "sha512-0d/uxVD6tFGWXGDSfyMD1p2otoaKmu6+GD+NfAx0tMaH+dxORnp7T9TaVQ6mKyya7iBtCIVxHjWT7MuzzM9z+A==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.6.tgz", + "integrity": "sha512-2XPn/BqKkZCpzYhUUNZ1ssXw7DcXfKQEjv/uXZUXgaebCMYmkEsfZ2yY+vv+xtXv50WmL5SGhyB6/xsWxIvvOQ==", "dev": true, "requires": { "@babel/compat-data": "^7.23.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-option": "^7.23.5", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.23.3", @@ -18742,7 +18743,7 @@ "@babel/plugin-transform-dynamic-import": "^7.23.4", "@babel/plugin-transform-exponentiation-operator": "^7.23.3", "@babel/plugin-transform-export-namespace-from": "^7.23.4", - "@babel/plugin-transform-for-of": "^7.23.3", + "@babel/plugin-transform-for-of": "^7.23.6", "@babel/plugin-transform-function-name": "^7.23.3", "@babel/plugin-transform-json-strings": "^7.23.4", "@babel/plugin-transform-literals": "^7.23.3", @@ -18834,27 +18835,27 @@ } }, "@babel/traverse": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.5.tgz", - "integrity": "sha512-czx7Xy5a6sapWWRx61m1Ke1Ra4vczu1mCTtJam5zRTBOonfdJ+S/B6HYmGYu3fJtr8GGET3si6IhgWVBhJ/m8w==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", + "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", "dev": true, "requires": { "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.5", + "@babel/generator": "^7.23.6", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.5", - "@babel/types": "^7.23.5", - "debug": "^4.1.0", + "@babel/parser": "^7.23.6", + "@babel/types": "^7.23.6", + "debug": "^4.3.1", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.5.tgz", - "integrity": "sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w==", + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", + "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", "dev": true, "requires": { "@babel/helper-string-parser": "^7.23.4", @@ -20001,36 +20002,36 @@ "dev": true }, "@vue/compiler-core": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.10.tgz", - "integrity": "sha512-doe0hODR1+i1menPkRzJ5MNR6G+9uiZHIknK3Zn5OcIztu6GGw7u0XUzf3AgB8h/dfsZC9eouzoLo3c3+N/cVA==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz", + "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==", "requires": { "@babel/parser": "^7.23.5", - "@vue/shared": "3.3.10", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } }, "@vue/compiler-dom": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.10.tgz", - "integrity": "sha512-NCrqF5fm10GXZIK0GrEAauBqdy+F2LZRt3yNHzrYjpYBuRssQbuPLtSnSNjyR9luHKkWSH8we5LMB3g+4z2HvA==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz", + "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==", "requires": { - "@vue/compiler-core": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11" } }, "@vue/compiler-sfc": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.10.tgz", - "integrity": "sha512-xpcTe7Rw7QefOTRFFTlcfzozccvjM40dT45JtrE3onGm/jBLZ0JhpKu3jkV7rbDFLeeagR/5RlJ2Y9SvyS0lAg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz", + "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==", "requires": { "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.10", - "@vue/compiler-dom": "3.3.10", - "@vue/compiler-ssr": "3.3.10", - "@vue/reactivity-transform": "3.3.10", - "@vue/shared": "3.3.10", + "@vue/compiler-core": "3.3.11", + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-ssr": "3.3.11", + "@vue/reactivity-transform": "3.3.11", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "magic-string": "^0.30.5", "postcss": "^8.4.32", @@ -20038,12 +20039,12 @@ } }, "@vue/compiler-ssr": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.10.tgz", - "integrity": "sha512-12iM4jA4GEbskwXMmPcskK5wImc2ohKm408+o9iox3tfN9qua8xL0THIZtoe9OJHnXP4eOWZpgCAAThEveNlqQ==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz", + "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==", "requires": { - "@vue/compiler-dom": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-dom": "3.3.11", + "@vue/shared": "3.3.11" } }, "@vue/devtools-api": { @@ -20079,57 +20080,57 @@ } }, "@vue/reactivity": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.10.tgz", - "integrity": "sha512-H5Z7rOY/JLO+e5a6/FEXaQ1TMuOvY4LDVgT+/+HKubEAgs9qeeZ+NhADSeEtrNQeiKLDuzeKc8v0CUFpB6Pqgw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz", + "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==", "requires": { - "@vue/shared": "3.3.10" + "@vue/shared": "3.3.11" } }, "@vue/reactivity-transform": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.10.tgz", - "integrity": "sha512-0xBdk+CKHWT+Gev8oZ63Tc0qFfj935YZx+UAynlutnrDZ4diFCVFMWixn65HzjE3S1iJppWOo6Tt1OzASH7VEg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz", + "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==", "requires": { "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.10", - "@vue/shared": "3.3.10", + "@vue/compiler-core": "3.3.11", + "@vue/shared": "3.3.11", "estree-walker": "^2.0.2", "magic-string": "^0.30.5" } }, "@vue/runtime-core": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.10.tgz", - "integrity": "sha512-DZ0v31oTN4YHX9JEU5VW1LoIVgFovWgIVb30bWn9DG9a7oA415idcwsRNNajqTx8HQJyOaWfRKoyuP2P2TYIag==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz", + "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==", "requires": { - "@vue/reactivity": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/reactivity": "3.3.11", + "@vue/shared": "3.3.11" } }, "@vue/runtime-dom": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.10.tgz", - "integrity": "sha512-c/jKb3ny05KJcYk0j1m7Wbhrxq7mZYr06GhKykDMNRRR9S+/dGT8KpHuNQjv3/8U4JshfkAk6TpecPD3B21Ijw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz", + "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==", "requires": { - "@vue/runtime-core": "3.3.10", - "@vue/shared": "3.3.10", + "@vue/runtime-core": "3.3.11", + "@vue/shared": "3.3.11", "csstype": "^3.1.2" } }, "@vue/server-renderer": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.10.tgz", - "integrity": "sha512-0i6ww3sBV3SKlF3YTjSVqKQ74xialMbjVYGy7cOTi7Imd8ediE7t72SK3qnvhrTAhOvlQhq6Bk6nFPdXxe0sAg==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz", + "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==", "requires": { - "@vue/compiler-ssr": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-ssr": "3.3.11", + "@vue/shared": "3.3.11" } }, "@vue/shared": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.10.tgz", - "integrity": "sha512-2y3Y2J1a3RhFa0WisHvACJR2ncvWiVHcP8t0Inxo+NKz+8RKO4ZV8eZgCxRgQoA6ITfV12L4E6POOL9HOU5nqw==" + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz", + "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw==" }, "@webassemblyjs/ast": { "version": "1.11.5", @@ -20583,9 +20584,9 @@ "dev": true }, "app-builder-lib": { - "version": "24.9.3", - "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.3.tgz", - "integrity": "sha512-qQLkbR+1yDXMY+Vq3gNORDG1vp44qUAIy7EqUH0y+S1fs0C1g13e31f7Wr7UAAp0fGT8tkFpDWnD1as1gHwvVA==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.4.tgz", + "integrity": "sha512-V52ikQoqkWbuL6k9tWHJgJpQiD0407XgjkNnGeAux+rKygXgOSRn0vmK2FdzMd4wtdKHhhTIcIA0JrIdqcthAg==", "dev": true, "requires": { "@develar/schema-utils": "~2.6.5", @@ -20594,15 +20595,14 @@ "@electron/universal": "1.4.1", "@malept/flatpak-bundler": "^0.4.0", "@types/fs-extra": "9.0.13", - "7zip-bin": "~5.2.0", "async-exit-hook": "^2.0.1", "bluebird-lst": "^1.0.9", - "builder-util": "24.8.1", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "chromium-pickle-js": "^0.2.0", "debug": "^4.3.4", "ejs": "^3.1.8", - "electron-publish": "24.8.1", + "electron-publish": "24.9.4", "form-data": "^4.0.0", "fs-extra": "^10.1.0", "hosted-git-info": "^4.1.0", @@ -21229,9 +21229,9 @@ } }, "builder-util": { - "version": "24.8.1", - "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.8.1.tgz", - "integrity": "sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.9.4.tgz", + "integrity": "sha512-YNon3rYjPSm4XDDho9wD6jq7vLRJZUy9FR+yFZnHoWvvdVCnZakL4BctTlPABP41MvIH5yk2cTZ2YfkOhGistQ==", "dev": true, "requires": { "@types/debug": "^4.1.6", @@ -22375,13 +22375,13 @@ } }, "dmg-builder": { - "version": "24.9.3", - "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.3.tgz", - "integrity": "sha512-Oft9t6g8etIJQ7rHNbX0fmuwEMP9cUNV6fJdqCHXiR13pEloTu3gcutfDEodXrR7W+VhvMMiYepBrRnkk9CFsQ==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.4.tgz", + "integrity": "sha512-fifxbQeOMkPgRrKqjkRdRYHt8ssWJh3J4DkYsA163nOMt/waUs5AgPsS4d1sX4dTPRD7Jfo4vb4wmmHjhgs8nA==", "dev": true, "requires": { - "app-builder-lib": "24.9.3", - "builder-util": "24.8.1", + "app-builder-lib": "24.9.4", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "dmg-license": "^1.0.11", "fs-extra": "^10.1.0", @@ -22572,16 +22572,16 @@ } }, "electron-builder": { - "version": "24.9.3", - "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.3.tgz", - "integrity": "sha512-yHkUmE2ZSTA0MlrPjrLmFlyQB/zAqAmavvfFUb+Cnz8gCvOVHT8bMyaucYfNaDgxL4yrBznqeU9kE40DwPiTeQ==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.4.tgz", + "integrity": "sha512-jN07OQixVt0wxvRZB4lKAsDUwPIyChhwf3CEExhCDnrIYWciw92yhIHbZkNwebuNcLxScVzH5xsCUVNrYY/LZg==", "dev": true, "requires": { - "app-builder-lib": "24.9.3", - "builder-util": "24.8.1", + "app-builder-lib": "24.9.4", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", - "dmg-builder": "24.9.3", + "dmg-builder": "24.9.4", "fs-extra": "^10.1.0", "is-ci": "^3.0.0", "lazy-val": "^1.0.5", @@ -22682,13 +22682,13 @@ "integrity": "sha512-x4wnwHg00h/onWQgjmvcdLV7Mrd9TZjxNs8LmXVpqvANDf4FsSs5wLlzOykWLcaFzR3+5hdVEQ8ctmrUxgHlPA==" }, "electron-publish": { - "version": "24.8.1", - "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.8.1.tgz", - "integrity": "sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==", + "version": "24.9.4", + "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.9.4.tgz", + "integrity": "sha512-FghbeVMfxHneHjsG2xUSC0NMZYWOOWhBxfZKPTbibcJ0CjPH0Ph8yb5CUO62nqywXfA5u1Otq6K8eOdOixxmNg==", "dev": true, "requires": { "@types/fs-extra": "^9.0.11", - "builder-util": "24.8.1", + "builder-util": "24.9.4", "builder-util-runtime": "9.2.3", "chalk": "^4.1.2", "fs-extra": "^10.1.0", @@ -22726,9 +22726,9 @@ } }, "electron-to-chromium": { - "version": "1.4.608", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.608.tgz", - "integrity": "sha512-J2f/3iIIm3Mo0npneITZ2UPe4B1bg8fTNrFjD8715F/k1BvbviRuqYGkET1PgprrczXYTHFvotbBOmUp6KE0uA==", + "version": "1.4.610", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.610.tgz", + "integrity": "sha512-mqi2oL1mfeHYtOdCxbPQYV/PL7YrQlxbvFEZ0Ee8GbDdShimqt2/S6z2RWqysuvlwdOrQdqvE0KZrBTipAeJzg==", "dev": true }, "electron-updater": { @@ -23060,9 +23060,9 @@ "requires": {} }, "eslint-config-standard-with-typescript": { - "version": "40.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-40.0.0.tgz", - "integrity": "sha512-GXUJcwIXiTQaS3H4etv8a1lejVVdZYaxZNz3g7vt6GoJosQqMTurbmSC4FVGyHiGT/d1TjFr3+47A3xsHhsG+Q==", + "version": "42.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-42.0.0.tgz", + "integrity": "sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==", "dev": true, "requires": { "@typescript-eslint/parser": "^6.4.0", @@ -30199,15 +30199,15 @@ "dev": true }, "vue": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.10.tgz", - "integrity": "sha512-zg6SIXZdTBwiqCw/1p+m04VyHjLfwtjwz8N57sPaBhEex31ND0RYECVOC1YrRwMRmxFf5T1dabl6SGUbMKKuVw==", + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz", + "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==", "requires": { - "@vue/compiler-dom": "3.3.10", - "@vue/compiler-sfc": "3.3.10", - "@vue/runtime-dom": "3.3.10", - "@vue/server-renderer": "3.3.10", - "@vue/shared": "3.3.10" + "@vue/compiler-dom": "3.3.11", + "@vue/compiler-sfc": "3.3.11", + "@vue/runtime-dom": "3.3.11", + "@vue/server-renderer": "3.3.11", + "@vue/shared": "3.3.11" } }, "vue-eslint-parser": { @@ -30602,9 +30602,9 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "ws": { - "version": "8.14.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", - "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.15.0.tgz", + "integrity": "sha512-H/Z3H55mrcrgjFwI+5jKavgXvwQLtfPCUEp6pi35VhoB0pfcHnSoyuTzkBEZpzq49g1193CUEwIvmsjcotenYw==", "requires": {} }, "xml-name-validator": { diff --git a/package.json b/package.json index 10cf63e758..33673905d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lx-music-desktop", - "version": "2.6.0-beta.4", + "version": "2.6.0-beta.5", "description": "一个免费的音乐查找助手", "main": "./dist/main.js", "productName": "lx-music-desktop", @@ -108,13 +108,13 @@ }, "homepage": "https://github.com/lyswhut/lx-music-desktop#readme", "devDependencies": { - "@babel/core": "^7.23.5", + "@babel/core": "^7.23.6", "@babel/eslint-parser": "^7.23.3", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-modules-umd": "^7.23.3", - "@babel/plugin-transform-runtime": "^7.23.4", - "@babel/preset-env": "^7.23.5", + "@babel/plugin-transform-runtime": "^7.23.6", + "@babel/preset-env": "^7.23.6", "@babel/preset-typescript": "^7.23.3", "@tsconfig/recommended": "^1.0.3", "@types/better-sqlite3": "^7.6.8", @@ -134,14 +134,14 @@ "css-minimizer-webpack-plugin": "^5.0.1", "del": "^6.1.1", "electron": "^25.9.8", - "electron-builder": "^24.9.3", + "electron-builder": "^24.9.4", "electron-debug": "^3.2.0", "electron-devtools-installer": "^3.2.0", - "electron-to-chromium": "^1.4.608", + "electron-to-chromium": "^1.4.610", "electron-updater": "^6.1.7", "eslint": "^8.55.0", "eslint-config-standard": "^17.1.0", - "eslint-config-standard-with-typescript": "^40.0.0", + "eslint-config-standard-with-typescript": "^42.0.0", "eslint-formatter-friendly": "github:lyswhut/eslint-friendly-formatter#2170d1320e2fad13615a9dcf229669f0bb473a53", "eslint-plugin-html": "^7.1.0", "eslint-plugin-vue": "^9.19.2", @@ -194,9 +194,9 @@ "sortablejs": "^1.15.1", "tunnel": "^0.0.6", "utf-8-validate": "^6.0.3", - "vue": "^3.3.10", + "vue": "^3.3.11", "vue-router": "^4.2.5", - "ws": "^8.14.2" + "ws": "^8.15.0" }, "overrides": { "got": "^11", diff --git a/src/common/utils/download/request.ts b/src/common/utils/download/request.ts index 151333be39..e4cc2ba67a 100644 --- a/src/common/utils/download/request.ts +++ b/src/common/utils/download/request.ts @@ -27,7 +27,7 @@ const sendRequest = (url: string, options: Options, callback?: HttpCallback) => } if (options.params) { - (httpOptions.path as string) += `${urlParse.search ? '&' : '?'}${Object.entries(options.params) + (httpOptions.path!) += `${urlParse.search ? '&' : '?'}${Object.entries(options.params) .map(([key, value]) => `${key}=${encodeURIComponent(value)}`) .join('&')}` } diff --git a/src/main/modules/sync/server/server/auth.ts b/src/main/modules/sync/server/server/auth.ts index 01e4a58275..df15d0d2c1 100644 --- a/src/main/modules/sync/server/server/auth.ts +++ b/src/main/modules/sync/server/server/auth.ts @@ -117,7 +117,7 @@ const verifyConnection = (encryptMsg: string, userId: string) => { export const authConnect = async(req: http.IncomingMessage) => { let ip = getAvailableIP(req) if (ip) { - const query = querystring.parse((req.url as string).split('?')[1]) + const query = querystring.parse((req.url!).split('?')[1]) const i = query.i const t = query.t if (typeof i == 'string' && typeof t == 'string' && verifyConnection(t, i)) return diff --git a/src/main/modules/sync/server/server/server.ts b/src/main/modules/sync/server/server/server.ts index 3e28e031d5..e757fe601b 100644 --- a/src/main/modules/sync/server/server/server.ts +++ b/src/main/modules/sync/server/server/server.ts @@ -56,7 +56,7 @@ const checkDuplicateClient = (newSocket: LX.Sync.Server.Socket) => { } const handleConnection = async(socket: LX.Sync.Server.Socket, request: IncomingMessage) => { - const queryData = new URL(request.url as string, host).searchParams + const queryData = new URL(request.url!, host).searchParams const clientId = queryData.get('i') // // if (typeof socket.handshake.query.i != 'string') return socket.disconnect(true) @@ -232,7 +232,7 @@ const handleStartServer = async(port = 9527, ip = '0.0.0.0') => await new Promis // events = {} if (!status.devices.length) handleUnconnection() } else { - const queryData = new URL(request.url as string, host).searchParams + const queryData = new URL(request.url!, host).searchParams log.info('deconnection', queryData.get('i')) } }) @@ -301,7 +301,7 @@ const handleStartServer = async(port = 9527, ip = '0.0.0.0') => await new Promis const bind = typeof addr == 'string' ? `pipe ${addr}` : `port ${addr.port}` log.info(`Listening on ${ip} ${bind}`) resolve(null) - void registerLocalSyncEvent(wss as LX.Sync.Server.SocketServer) + void registerLocalSyncEvent(wss!) }) host = `http://${ip}:${port}` diff --git a/src/main/utils/index.ts b/src/main/utils/index.ts index 976c5d5c31..a5ba563054 100644 --- a/src/main/utils/index.ts +++ b/src/main/utils/index.ts @@ -178,8 +178,8 @@ export const initHotKey = async() => { } return { - local: localConfig as LX.HotKeyConfig, - global: globalConfig as LX.HotKeyConfig, + local: localConfig!, + global: globalConfig!, } } diff --git a/src/main/worker/dbService/migrate.ts b/src/main/worker/dbService/migrate.ts index 901d1b6f90..ef1aa2267c 100644 --- a/src/main/worker/dbService/migrate.ts +++ b/src/main/worker/dbService/migrate.ts @@ -30,7 +30,7 @@ const migrateV1 = (db: Database.Database) => { // 修复 v2.4.0 的默认数据库版本号不对的问题 const existsTable = db.prepare('SELECT name FROM "main".sqlite_master WHERE type=\'table\' AND name=\'dislike_list\';').get() if (!existsTable) { - const sql = tables.get('dislike_list') as string + const sql = tables.get('dislike_list')! db.exec(sql) } } diff --git a/src/main/worker/dbService/modules/list/index.ts b/src/main/worker/dbService/modules/list/index.ts index ccaefa6c7d..b53cdec1ce 100644 --- a/src/main/worker/dbService/modules/list/index.ts +++ b/src/main/worker/dbService/modules/list/index.ts @@ -322,7 +322,7 @@ export const musicsPositionUpdate = (listId: string, position: number, ids: stri const map = new Map() for (const item of newTargetList) map.set(item.id, item) for (const id of ids) { - infos.push(map.get(id) as LX.Music.MusicInfo) + infos.push(map.get(id)!) map.delete(id) } newTargetList = newTargetList.filter(mInfo => map.has(mInfo.id)) diff --git a/src/renderer/core/music/utils.ts b/src/renderer/core/music/utils.ts index 9119482d7f..a66b928369 100644 --- a/src/renderer/core/music/utils.ts +++ b/src/renderer/core/music/utils.ts @@ -169,7 +169,7 @@ export const getOnlineOtherSourceMusicUrl = async({ musicInfos, quality, onToggl let musicInfo: LX.Music.MusicInfoOnline | null = null let itemQuality: LX.Quality | null = null // eslint-disable-next-line no-cond-assign - while (musicInfo = (musicInfos.shift() as LX.Music.MusicInfoOnline)) { + while (musicInfo = (musicInfos.shift()!)) { if (retryedSource.includes(musicInfo.source)) continue retryedSource.push(musicInfo.source) if (!assertApiSupport(musicInfo.source)) continue @@ -263,7 +263,7 @@ export const getOnlineOtherSourcePicUrl = async({ musicInfos, onToggleSource, is }> => { let musicInfo: LX.Music.MusicInfoOnline | null = null // eslint-disable-next-line no-cond-assign - while (musicInfo = (musicInfos.shift() as LX.Music.MusicInfoOnline)) { + while (musicInfo = (musicInfos.shift()!)) { if (retryedSource.includes(musicInfo.source)) continue retryedSource.push(musicInfo.source) // if (!assertApiSupport(musicInfo.source)) continue @@ -346,7 +346,7 @@ export const getOnlineOtherSourceLyricInfo = async({ musicInfos, onToggleSource, }> => { let musicInfo: LX.Music.MusicInfoOnline | null = null // eslint-disable-next-line no-cond-assign - while (musicInfo = (musicInfos.shift() as LX.Music.MusicInfoOnline)) { + while (musicInfo = (musicInfos.shift()!)) { if (retryedSource.includes(musicInfo.source)) continue retryedSource.push(musicInfo.source) // if (!assertApiSupport(musicInfo.source)) continue diff --git a/src/renderer/core/useApp/listAutoUpdate.ts b/src/renderer/core/useApp/listAutoUpdate.ts index ab60348bd1..7e10e03789 100644 --- a/src/renderer/core/useApp/listAutoUpdate.ts +++ b/src/renderer/core/useApp/listAutoUpdate.ts @@ -4,7 +4,7 @@ import syncSourceList from '@renderer/store/list/syncSourceList' const handleSyncSourceList = async(waitUpdateLists: LX.List.UserListInfo[]) => { if (!waitUpdateLists.length) return - const targetListInfo = waitUpdateLists.shift() as LX.List.UserListInfo + const targetListInfo = waitUpdateLists.shift()! // console.log(targetListInfo) try { await syncSourceList(targetListInfo) diff --git a/src/renderer/core/useApp/usePlayer/useSoundEffect.ts b/src/renderer/core/useApp/usePlayer/useSoundEffect.ts index 0feecb757f..efc028e665 100644 --- a/src/renderer/core/useApp/usePlayer/useSoundEffect.ts +++ b/src/renderer/core/useApp/usePlayer/useSoundEffect.ts @@ -20,7 +20,7 @@ const loadBuffer = async(name: string) => new Promise((resolve, rej // eslint-disable-next-line @typescript-eslint/no-var-requires const path = require('@renderer/assets/medias/filters/' + name) as string if (cache.has(path)) { - resolve(cache.get(path) as AudioBuffer) + resolve(cache.get(path)!) return } // Load buffer asynchronously diff --git a/src/renderer/plugins/player/index.ts b/src/renderer/plugins/player/index.ts index 1841855121..f3ebf89717 100644 --- a/src/renderer/plugins/player/index.ts +++ b/src/renderer/plugins/player/index.ts @@ -82,7 +82,7 @@ const initBiquadFilter = () => { } for (i = 1; i < freqs.length; i++) { - (biquads.get(`hz${freqs[i - 1]}`) as BiquadFilterNode).connect(biquads.get(`hz${freqs[i]}`) as BiquadFilterNode) + (biquads.get(`hz${freqs[i - 1]}`)!).connect(biquads.get(`hz${freqs[i]}`)!) } } @@ -117,8 +117,8 @@ const initAdvancedAudioFeatures = () => { // source -> analyser -> biquadFilter -> [(convolver & convolverSource)->convolverDynamicsCompressor] -> panner -> gain mediaSource = audioContext.createMediaElementSource(audio) mediaSource.connect(analyser) - analyser.connect(biquads.get(`hz${freqs[0]}`) as BiquadFilterNode) - const lastBiquadFilter = (biquads.get(`hz${freqs.at(-1) as Freqs}`) as BiquadFilterNode) + analyser.connect(biquads.get(`hz${freqs[0]}`)!) + const lastBiquadFilter = (biquads.get(`hz${freqs.at(-1)!}`)!) lastBiquadFilter.connect(convolverSourceGainNode) lastBiquadFilter.connect(convolver) convolverDynamicsCompressor.connect(panner) @@ -223,7 +223,7 @@ let isConnected = true const connectNode = () => { if (isConnected) return console.log('connect Node') - analyser?.connect(biquads.get(`hz${freqs[0]}`) as BiquadFilterNode) + analyser?.connect(biquads.get(`hz${freqs[0]}`)!) isConnected = true if (pitchShifterNodeTempValue == 1 && pitchShifterNodeLoadStatus == 'connected') { disconnectPitchShifterNode() @@ -246,7 +246,7 @@ const connectPitchShifterNode = () => { audio!.addEventListener('emptied', disconnectNode) if (audio!.paused) disconnectNode() - const lastBiquadFilter = (biquads.get(`hz${freqs.at(-1) as Freqs}`) as BiquadFilterNode) + const lastBiquadFilter = (biquads.get(`hz${freqs.at(-1)!}`)!) lastBiquadFilter.disconnect() lastBiquadFilter.connect(pitchShifterNode) @@ -260,7 +260,7 @@ const connectPitchShifterNode = () => { } const disconnectPitchShifterNode = () => { console.log('disconnect Pitch Shifter Node') - const lastBiquadFilter = (biquads.get(`hz${freqs.at(-1) as Freqs}`) as BiquadFilterNode) + const lastBiquadFilter = (biquads.get(`hz${freqs.at(-1)!}`)!) lastBiquadFilter.disconnect() lastBiquadFilter.connect(convolver) lastBiquadFilter.connect(convolverSourceGainNode) diff --git a/src/renderer/store/hotSearch.ts b/src/renderer/store/hotSearch.ts index 4da7b4607b..25571e8e7f 100644 --- a/src/renderer/store/hotSearch.ts +++ b/src/renderer/store/hotSearch.ts @@ -62,7 +62,7 @@ export const getList = async(source: Source): Promise => { return setLists(results) }) } else { - if (sourceList[source]?.length) return Promise.resolve(sourceList[source] as string[]) + if (sourceList[source]?.length) return Promise.resolve(sourceList[source]!) if (!music[source]?.hotSearch) { setList(source, []) return Promise.resolve([]) diff --git a/src/renderer/store/list/listManage/action.ts b/src/renderer/store/list/listManage/action.ts index 4645a677ca..295836b487 100644 --- a/src/renderer/store/list/listManage/action.ts +++ b/src/renderer/store/list/listManage/action.ts @@ -193,7 +193,7 @@ export const userListsUpdatePosition = (position: number, ids: string[]) => { const map = new Map() for (const item of newUserLists) map.set(item.id, item) for (const id of ids) { - const listInfo = map.get(id) as LX.List.UserListInfo + const listInfo = map.get(id)! listInfo.locationUpdateTime = Date.now() updateLists.push(listInfo) map.delete(id) diff --git a/src/renderer/store/list/listManage/rendererListManage.ts b/src/renderer/store/list/listManage/rendererListManage.ts index c1d88dd0c2..b50b666138 100644 --- a/src/renderer/store/list/listManage/rendererListManage.ts +++ b/src/renderer/store/list/listManage/rendererListManage.ts @@ -68,7 +68,7 @@ export const updateUserListPosition = async(data: LX.List.ListActionUpdatePositi */ export const getListMusics = async(listId: string | null): Promise => { if (!listId) return [] - if (allMusicList.has(listId)) return allMusicList.get(listId) as LX.Music.MusicInfo[] + if (allMusicList.has(listId)) return allMusicList.get(listId)! const list = await rendererInvoke(PLAYER_EVENT_NAME.list_music_get, listId) return setMusicList(listId, list) } diff --git a/src/renderer/store/search/music/action.ts b/src/renderer/store/search/music/action.ts index 0155c97db1..7f92df5f58 100644 --- a/src/renderer/store/search/music/action.ts +++ b/src/renderer/store/search/music/action.ts @@ -3,7 +3,7 @@ import music from '@renderer/utils/musicSdk' import { deduplicationList, toNewMusicInfo } from '@renderer/utils' import { sortInsert, similar } from '@common/utils/common' -import { sources, maxPages, listInfos, type ListInfo } from './state' +import { sources, maxPages, listInfos } from './state' interface SearchResult { list: LX.Music.MusicInfo[] @@ -61,7 +61,7 @@ const setLists = (results: SearchResult[], page: number, text: string): LX.Music const setList = (datas: SearchResult, page: number, text: string): LX.Music.MusicInfo[] => { // console.log(datas.source, datas.list) - let listInfo = listInfos[datas.source] as ListInfo + let listInfo = listInfos[datas.source]! listInfo.list = deduplicationList(datas.list.map(s => markRaw(toNewMusicInfo(s)))) if (page == 1 || (datas.total && datas.list.length)) listInfo.total = datas.total else listInfo.total = datas.limit * page @@ -74,7 +74,7 @@ const setList = (datas: SearchResult, page: number, text: string): LX.Music.Musi } export const resetListInfo = (sourceId: LX.OnlineSource | 'all'): [] => { - let listInfo = listInfos[sourceId] as ListInfo + let listInfo = listInfos[sourceId]! listInfo.list = [] listInfo.page = 0 listInfo.maxPage = 0 diff --git a/src/renderer/store/search/songlist/action.ts b/src/renderer/store/search/songlist/action.ts index d8855588c7..ae9274bec3 100644 --- a/src/renderer/store/search/songlist/action.ts +++ b/src/renderer/store/search/songlist/action.ts @@ -2,7 +2,7 @@ import { markRawList } from '@common/utils/vueTools' import music from '@renderer/utils/musicSdk' import { sortInsert, similar } from '@common/utils/common' -import type { ListInfoItem, SearchListInfo } from './state' +import type { ListInfoItem } from './state' import { sources, maxPages, listInfos } from './state' interface SearchResult { @@ -60,7 +60,7 @@ const setLists = (results: SearchResult[], page: number, text: string): ListInfo const setList = (datas: SearchResult, page: number, text: string): ListInfoItem[] => { // console.log(datas.source, datas.list) - let listInfo = listInfos[datas.source] as SearchListInfo + let listInfo = listInfos[datas.source]! listInfo.list = markRawList(datas.list) if (page == 1 || (datas.total && datas.list.length)) listInfo.total = datas.total else listInfo.total = datas.limit * page @@ -72,7 +72,7 @@ const setList = (datas: SearchResult, page: number, text: string): ListInfoItem[ } export const resetListInfo = (sourceId: LX.OnlineSource | 'all'): [] => { - let listInfo = listInfos[sourceId] as SearchListInfo + let listInfo = listInfos[sourceId]! listInfo.page = 1 listInfo.limit = 20 listInfo.total = 0 @@ -85,7 +85,7 @@ export const resetListInfo = (sourceId: LX.OnlineSource | 'all'): [] => { } export const search = async(text: string, page: number, sourceId: LX.OnlineSource | 'all'): Promise => { - const listInfo = listInfos[sourceId] as SearchListInfo + const listInfo = listInfos[sourceId]! if (!text) return resetListInfo(sourceId) const key = `${page}__${sourceId}__${text}` if (listInfo.key == key && listInfo.list.length) return listInfo.list @@ -94,7 +94,7 @@ export const search = async(text: string, page: number, sourceId: LX.OnlineSourc listInfo.key = key let task = [] for (const source of sources) { - if (source == 'all' || (page > 1 && page > (maxPages[source] as number))) continue + if (source == 'all' || (page > 1 && page > (maxPages[source]!))) continue task.push((music[source]?.songList.search(text, page, listInfos.all.limit) ?? Promise.reject(new Error('source not found: ' + source))).catch((error: any) => { console.log(error) return { diff --git a/src/renderer/store/utils.ts b/src/renderer/store/utils.ts index d510f70454..fe57030609 100644 --- a/src/renderer/store/utils.ts +++ b/src/renderer/store/utils.ts @@ -75,7 +75,7 @@ export const applyTheme = (id: string, lightId: string, darkId: string, dataPath let theme = findTheme(themeInfo, themeId) if (!theme) { themeId = id == 'auto' && themeShouldUseDarkColors.value ? 'black' : 'green' - theme = themeInfo.themes.find(theme => theme.id == themeId) as LX.Theme + theme = themeInfo.themes.find(theme => theme.id == themeId)! } window.setTheme(buildThemeColors(theme, dataPath)) }) diff --git a/src/renderer/views/List/MyList/useEditList.ts b/src/renderer/views/List/MyList/useEditList.ts index 050d0c9c6e..7fb443df16 100644 --- a/src/renderer/views/List/MyList/useEditList.ts +++ b/src/renderer/views/List/MyList/useEditList.ts @@ -23,7 +23,7 @@ export default ({ dom_lists_list }: { const handleSaveListName = async() => { let dom_target = dom_lists_list.value?.querySelector('.' + styles.editing) as HTMLElement if (!dom_target) return - const dom_input = dom_target.querySelector('.' + styles.listsInput) as HTMLInputElement + const dom_input = dom_target.querySelector('.' + styles.listsInput)! if (!dom_input) return let name = dom_input.value.trim() if (dom_target.dataset.index == null) return diff --git a/src/renderer/worker/main/list.ts b/src/renderer/worker/main/list.ts index cb1b7b388c..55aca4e385 100644 --- a/src/renderer/worker/main/list.ts +++ b/src/renderer/worker/main/list.ts @@ -112,7 +112,7 @@ const getIntv = (musicInfo: LX.Music.MusicInfo) => { let intv = 0 let unit = 1 while (intvArr.length) { - intv += parseInt(intvArr.pop() as string) * unit + intv += parseInt(intvArr.pop()!) * unit unit *= 60 } return intv @@ -237,7 +237,7 @@ export const filterDuplicateMusic = async(list: LX.Music.MusicInfo[], isFilterVa // console.log(duplicateList) const duplicateNames = Array.from(duplicateList) duplicateNames.sort((a, b) => a.localeCompare(b)) - return duplicateNames.map(name => listMap.get(name) as ListMapValue).flat() + return duplicateNames.map(name => listMap.get(name)!).flat() } export const searchListMusic = (list: LX.Music.MusicInfo[], text: string) => { @@ -271,7 +271,7 @@ export const createSortedList = (list: LX.Music.MusicInfo[], position: number, i const map = new Map() for (const item of list) map.set(item.id, item) for (const id of ids) { - infos.push(map.get(id) as LX.Music.MusicInfo) + infos.push(map.get(id)!) map.delete(id) } list = list.filter(mInfo => map.has(mInfo.id))