更新依赖
This commit is contained in:
@@ -6,6 +6,7 @@ module.exports = {
|
|||||||
'del',
|
'del',
|
||||||
'comlink',
|
'comlink',
|
||||||
'vue',
|
'vue',
|
||||||
|
'vue-router',
|
||||||
'image-size',
|
'image-size',
|
||||||
'message2call',
|
'message2call',
|
||||||
'@types/ws',
|
'@types/ws',
|
||||||
@@ -29,11 +30,12 @@ module.exports = {
|
|||||||
// filter: [
|
// filter: [
|
||||||
// 'electron',
|
// 'electron',
|
||||||
// 'vue',
|
// 'vue',
|
||||||
|
// 'vue-router',
|
||||||
// ],
|
// ],
|
||||||
|
|
||||||
// target: 'minor',
|
// target: 'minor',
|
||||||
// filter: [
|
// filter: [
|
||||||
// 'electron',
|
// // 'electron',
|
||||||
// 'eslint',
|
// 'eslint',
|
||||||
// 'eslint-webpack-plugin',
|
// 'eslint-webpack-plugin',
|
||||||
// 'electron-debug',
|
// 'electron-debug',
|
||||||
|
|||||||
Generated
+674
-659
File diff suppressed because it is too large
Load Diff
+20
-20
@@ -107,38 +107,38 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
|
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.28.4",
|
"@babel/core": "^7.28.5",
|
||||||
"@babel/eslint-parser": "^7.28.4",
|
"@babel/eslint-parser": "^7.28.5",
|
||||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||||
"@babel/plugin-transform-class-properties": "^7.27.1",
|
"@babel/plugin-transform-class-properties": "^7.27.1",
|
||||||
"@babel/plugin-transform-modules-umd": "^7.27.1",
|
"@babel/plugin-transform-modules-umd": "^7.27.1",
|
||||||
"@babel/plugin-transform-runtime": "^7.28.3",
|
"@babel/plugin-transform-runtime": "^7.28.5",
|
||||||
"@babel/preset-env": "^7.28.3",
|
"@babel/preset-env": "^7.28.5",
|
||||||
"@babel/preset-typescript": "^7.27.1",
|
"@babel/preset-typescript": "^7.28.5",
|
||||||
"@babel/runtime": "^7.28.4",
|
"@babel/runtime": "^7.28.4",
|
||||||
"@tsconfig/recommended": "^1.0.10",
|
"@tsconfig/recommended": "^1.0.13",
|
||||||
"@types/better-sqlite3": "^7.6.13",
|
"@types/better-sqlite3": "^7.6.13",
|
||||||
"@types/needle": "^3.3.0",
|
"@types/needle": "^3.3.0",
|
||||||
"@types/node": "^20.19.17",
|
"@types/node": "^20.19.25",
|
||||||
"@types/tunnel": "^0.0.7",
|
"@types/tunnel": "^0.0.7",
|
||||||
"@types/ws": "8.5.4",
|
"@types/ws": "8.5.4",
|
||||||
"@vue/language-plugin-pug": "^3.1.0",
|
"@vue/language-plugin-pug": "^3.1.3",
|
||||||
"babel-loader": "^10.0.0",
|
"babel-loader": "^10.0.0",
|
||||||
"browserslist": "^4.26.2",
|
"browserslist": "^4.28.0",
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"changelog-parser": "^3.0.1",
|
"changelog-parser": "^3.0.1",
|
||||||
"copy-webpack-plugin": "^13.0.1",
|
"copy-webpack-plugin": "^13.0.1",
|
||||||
"core-js": "^3.45.1",
|
"core-js": "^3.46.0",
|
||||||
"cross-env": "^10.0.0",
|
"cross-env": "^10.1.0",
|
||||||
"css-loader": "^7.1.2",
|
"css-loader": "^7.1.2",
|
||||||
"css-minimizer-webpack-plugin": "^7.0.2",
|
"css-minimizer-webpack-plugin": "^7.0.2",
|
||||||
"del": "^6.1.1",
|
"del": "^6.1.1",
|
||||||
"electron": "37.6.0",
|
"electron": "37.6.0",
|
||||||
"electron-builder": "^26.0.20",
|
"electron-builder": "^26.1.0",
|
||||||
"electron-debug": "^3.2.0",
|
"electron-debug": "^3.2.0",
|
||||||
"electron-devtools-installer": "github:lyswhut/electron-devtools-installer#64596d615c1fc891eefd8aef1dfcb2c87aaadf03",
|
"electron-devtools-installer": "github:lyswhut/electron-devtools-installer#64596d615c1fc891eefd8aef1dfcb2c87aaadf03",
|
||||||
"electron-to-chromium": "^1.5.227",
|
"electron-to-chromium": "^1.5.252",
|
||||||
"electron-updater": "6.6.8",
|
"electron-updater": "6.7.0",
|
||||||
"eslint": "^8.57.1",
|
"eslint": "^8.57.1",
|
||||||
"eslint-config-standard": "^17.1.0",
|
"eslint-config-standard": "^17.1.0",
|
||||||
"eslint-config-standard-with-typescript": "^43.0.1",
|
"eslint-config-standard-with-typescript": "^43.0.1",
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
"eslint-plugin-vue-pug": "^0.6.2",
|
"eslint-plugin-vue-pug": "^0.6.2",
|
||||||
"eslint-webpack-plugin": "^4.2.0",
|
"eslint-webpack-plugin": "^4.2.0",
|
||||||
"html-webpack-plugin": "^5.6.4",
|
"html-webpack-plugin": "^5.6.4",
|
||||||
"less": "^4.4.1",
|
"less": "^4.4.2",
|
||||||
"less-loader": "^12.3.0",
|
"less-loader": "^12.3.0",
|
||||||
"mini-css-extract-plugin": "^2.9.4",
|
"mini-css-extract-plugin": "^2.9.4",
|
||||||
"node-loader": "^2.1.0",
|
"node-loader": "^2.1.0",
|
||||||
@@ -157,19 +157,19 @@
|
|||||||
"postcss-pxtorem": "^6.1.0",
|
"postcss-pxtorem": "^6.1.0",
|
||||||
"pug": "^3.0.3",
|
"pug": "^3.0.3",
|
||||||
"pug-plain-loader": "^1.1.0",
|
"pug-plain-loader": "^1.1.0",
|
||||||
"rimraf": "^6.0.1",
|
"rimraf": "^6.1.0",
|
||||||
"spinnies": "github:lyswhut/spinnies#233305c58694aa3b053e3ab9af9049993f918b9d",
|
"spinnies": "github:lyswhut/spinnies#233305c58694aa3b053e3ab9af9049993f918b9d",
|
||||||
"svg-sprite-loader": "^6.0.11",
|
"svg-sprite-loader": "^6.0.11",
|
||||||
"svg-transform-loader": "^2.0.13",
|
"svg-transform-loader": "^2.0.13",
|
||||||
"svgo-loader": "^4.0.0",
|
"svgo-loader": "^4.0.0",
|
||||||
"terser": "^5.44.0",
|
"terser": "^5.44.1",
|
||||||
"terser-webpack-plugin": "^5.3.14",
|
"terser-webpack-plugin": "^5.3.14",
|
||||||
"tree-kill": "^1.2.2",
|
"tree-kill": "^1.2.2",
|
||||||
"ts-loader": "^9.5.4",
|
"ts-loader": "^9.5.4",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.3",
|
||||||
"vue-eslint-parser": "^9.4.3",
|
"vue-eslint-parser": "^9.4.3",
|
||||||
"vue-loader": "^17.4.2",
|
"vue-loader": "^17.4.2",
|
||||||
"webpack": "^5.101.3",
|
"webpack": "^5.102.1",
|
||||||
"webpack-cli": "^6.0.1",
|
"webpack-cli": "^6.0.1",
|
||||||
"webpack-dev-server": "5.2.2",
|
"webpack-dev-server": "5.2.2",
|
||||||
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
|
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
|
||||||
@@ -188,7 +188,7 @@
|
|||||||
"jschardet": "^3.1.4",
|
"jschardet": "^3.1.4",
|
||||||
"long": "^5.3.2",
|
"long": "^5.3.2",
|
||||||
"message2call": "^0.1.3",
|
"message2call": "^0.1.3",
|
||||||
"music-metadata": "^11.9.0",
|
"music-metadata": "^11.10.0",
|
||||||
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
|
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
|
||||||
"node-id3": "^0.2.9",
|
"node-id3": "^0.2.9",
|
||||||
"sortablejs": "^1.15.6",
|
"sortablejs": "^1.15.6",
|
||||||
|
|||||||
@@ -210,15 +210,15 @@ export const getLocalMusicFileLyric = async(path: string): Promise<LX.Music.Lyri
|
|||||||
const metadata = await getFileMetadata(path)
|
const metadata = await getFileMetadata(path)
|
||||||
// console.log(metadata?.common)
|
// console.log(metadata?.common)
|
||||||
if (!metadata) return null
|
if (!metadata) return null
|
||||||
let lyricInfo = metadata.common.lyrics?.[0]
|
// let lyricInfo = metadata.common.lyrics?.[0]
|
||||||
if (lyricInfo) {
|
// if (lyricInfo) {
|
||||||
let lyric: string | undefined
|
// let lyric: string | undefined
|
||||||
if (typeof lyricInfo == 'object') lyric = lyricInfo.text
|
// if (typeof lyricInfo == 'object') lyric = lyricInfo.text
|
||||||
else if (typeof lyricInfo == 'string') lyric = lyricInfo
|
// else if (typeof lyricInfo == 'string') lyric = lyricInfo
|
||||||
if (lyric && lyric.length > 10) {
|
// if (lyric && lyric.length > 10) {
|
||||||
return { lyric }
|
// return { lyric }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
// console.log(metadata)
|
// console.log(metadata)
|
||||||
for (const info of Object.values(metadata.native)) {
|
for (const info of Object.values(metadata.native)) {
|
||||||
for (const ust of info) {
|
for (const ust of info) {
|
||||||
|
|||||||
Reference in New Issue
Block a user