Merge branch 'lyswhut:dev' into dev

This commit is contained in:
Folltoshe 2023-06-13 23:50:24 +08:00 committed by GitHub
commit 71a850834c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1117 additions and 1152 deletions

View File

@ -7,6 +7,7 @@ module.exports = {
'comlink',
'vue',
'eslint-plugin-n',
'@types/ws',
],
// target: 'newest',

2241
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "lx-music-desktop",
"version": "2.3.0-beta.8",
"version": "2.3.0-beta.9",
"description": "一个免费的音乐查找助手",
"main": "./dist/main.js",
"productName": "lx-music-desktop",
@ -208,18 +208,19 @@
},
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
"devDependencies": {
"@babel/core": "^7.22.1",
"@babel/eslint-parser": "^7.21.8",
"@babel/core": "^7.22.5",
"@babel/eslint-parser": "^7.22.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-umd": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.22.4",
"@babel/preset-env": "^7.22.4",
"@babel/preset-typescript": "^7.21.5",
"@babel/plugin-transform-modules-umd": "^7.22.5",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@tsconfig/recommended": "^1.0.2",
"@types/better-sqlite3": "^7.6.4",
"@types/needle": "^3.2.0",
"@types/tunnel": "^0.0.3",
"@types/ws": "8.5.4",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"@volar/vue-language-plugin-pug": "^1.6.5",
@ -237,7 +238,7 @@
"electron-builder": "^24.4.0",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.2.0",
"electron-to-chromium": "^1.4.425",
"electron-to-chromium": "^1.4.427",
"electron-updater": "^6.1.0",
"eslint": "^8.42.0",
"eslint-config-standard": "^17.1.0",
@ -250,13 +251,13 @@
"eslint-plugin-vue": "^9.14.1",
"eslint-plugin-vue-pug": "^0.6.0",
"eslint-webpack-plugin": "^4.0.1",
"html-webpack-plugin": "^5.5.1",
"html-webpack-plugin": "^5.5.2",
"less": "^4.1.3",
"less-loader": "^11.1.2",
"less-loader": "^11.1.3",
"mini-css-extract-plugin": "^2.7.6",
"node-loader": "^2.0.0",
"postcss": "^8.4.24",
"postcss-loader": "^7.3.2",
"postcss-loader": "^7.3.3",
"postcss-pxtorem": "^6.0.0",
"pug": "^3.0.2",
"pug-plain-loader": "^1.1.0",
@ -274,7 +275,7 @@
"vue-template-compiler": "^2.7.14",
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.0",
"webpack-dev-server": "^4.15.1",
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
"webpack-merge": "^5.9.0"
},

View File

@ -28,7 +28,7 @@ export const queryAllUserList = () => {
const list = createListQueryStatement().all() as LX.DBService.UserListInfo[]
for (const info of list) {
// 兼容v2.3.0之前版本插入数字类型的ID导致其意外在末尾追加 .0 的问题
if (info.sourceListId?.endsWith('.0')) {
if (info.sourceListId?.endsWith?.('.0')) {
info.sourceListId = info.sourceListId.replace(idFixRxp, '')
}
}