Skip to content

Commit

Permalink
更新依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Jan 25, 2025
1 parent 32a35c6 commit 28233fb
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 108 deletions.
1 change: 0 additions & 1 deletion .ncurc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
'@types/node',
'electron-debug',
// 'eslint-config-standard-with-typescript',
'typescript', // https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/#typedarrays-are-now-generic-over-arraybufferlike
],

// target: 'newest',
Expand Down
Binary file modified build-config/lib/better_sqlite3_electron-v128-linux-arm.node
Binary file not shown.
Binary file modified build-config/lib/better_sqlite3_electron-v128-linux-arm64.node
Binary file not shown.
Binary file modified build-config/lib/better_sqlite3_electron-v128-linux-x64.node
Binary file not shown.
180 changes: 90 additions & 90 deletions package-lock.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/eslint-parser": "^7.26.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-umd": "^7.25.9",
Expand All @@ -118,27 +118,27 @@
"@tsconfig/recommended": "^1.0.8",
"@types/better-sqlite3": "^7.6.12",
"@types/needle": "^3.3.0",
"@types/node": "^20.17.10",
"@types/node": "^20.17.14",
"@types/tunnel": "^0.0.7",
"@types/ws": "8.5.4",
"@volar/vue-language-plugin-pug": "^1.6.5",
"@vue/language-plugin-pug": "^2.2.0",
"babel-loader": "^9.2.1",
"browserslist": "^4.24.3",
"browserslist": "^4.24.4",
"chalk": "^4.1.2",
"changelog-parser": "^3.0.1",
"copy-webpack-plugin": "^12.0.2",
"core-js": "^3.39.0",
"core-js": "^3.40.0",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"del": "^6.1.1",
"electron": "^32.2.7",
"electron-builder": "^26.0.0-alpha.8",
"electron": "^32.2.8",
"electron-builder": "^26.0.0-alpha.9",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "github:lyswhut/electron-devtools-installer#64596d615c1fc891eefd8aef1dfcb2c87aaadf03",
"electron-to-chromium": "^1.5.76",
"electron-updater": "^6.4.0-alpha.2",
"electron-to-chromium": "^1.5.83",
"electron-updater": "^6.4.0-alpha.3",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
Expand All @@ -148,11 +148,11 @@
"eslint-plugin-vue-pug": "^0.6.2",
"eslint-webpack-plugin": "^4.2.0",
"html-webpack-plugin": "^5.6.3",
"less": "^4.2.1",
"less": "^4.2.2",
"less-loader": "^12.2.0",
"mini-css-extract-plugin": "^2.9.2",
"node-loader": "^2.1.0",
"postcss": "^8.4.49",
"postcss": "^8.5.1",
"postcss-loader": "^8.1.1",
"postcss-pxtorem": "^6.1.0",
"pug": "^3.0.3",
Expand All @@ -165,8 +165,8 @@
"terser": "^5.37.0",
"terser-webpack-plugin": "^5.3.11",
"tree-kill": "^1.2.2",
"ts-loader": "^9.5.1",
"typescript": "5.6.3",
"ts-loader": "^9.5.2",
"typescript": "5.7.3",
"vue-eslint-parser": "^9.4.3",
"vue-loader": "^17.4.2",
"vue-template-compiler": "^2.7.16",
Expand All @@ -178,7 +178,7 @@
},
"dependencies": {
"@simonwep/pickr": "^1.9.1",
"better-sqlite3": "^11.7.0",
"better-sqlite3": "^11.8.1",
"bufferutil": "^4.0.9",
"comlink": "~4.3.1",
"crypto-js": "^4.2.0",
Expand All @@ -187,9 +187,9 @@
"iconv-lite": "^0.6.3",
"image-size": "^1.1.0",
"jschardet": "^3.1.4",
"long": "^5.2.3",
"long": "^5.2.4",
"message2call": "^0.1.3",
"music-metadata": "^10.6.4",
"music-metadata": "^10.7.0",
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
"node-id3": "^0.2.6",
"sortablejs": "^1.15.6",
Expand Down
4 changes: 2 additions & 2 deletions src/main/modules/winMain/rendererEvent/kw_decodeLyric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const decodeLyric = async(buf: Buffer, isGetLyricx: boolean) => {
// const isLyric = info.includes('\r\nlrcx=0\r\n')
if (buf.toString('utf8', 0, 10) != 'tp=content') return ''
// const index = buf.indexOf('\r\n\r\n') + 4
const lrcData = await handleInflate(buf.slice(buf.indexOf('\r\n\r\n') + 4))
const lrcData = await handleInflate(buf.subarray(buf.indexOf('\r\n\r\n') + 4))

if (!isGetLyricx) return iconv.decode(lrcData, 'gb18030')

const buf_str = Buffer.from(lrcData.toString(), 'base64')
const buf_str_len = buf_str.length
const output = new Uint16Array(buf_str_len)
const output = new Uint8Array(buf_str_len)
let i = 0
while (i < buf_str_len) {
let j = 0
Expand Down

0 comments on commit 28233fb

Please sign in to comment.