mirror of
https://github.com/NoCrypt/migu.git
synced 2026-03-11 17:45:32 +00:00
fix: parser destroy error
chore: update deps
This commit is contained in:
parent
77ec896fa2
commit
6b3d543630
3 changed files with 673 additions and 645 deletions
28
package.json
28
package.json
|
|
@ -15,27 +15,27 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@electron/notarize": "^2.1.0",
|
||||
"@fontsource-variable/material-symbols-outlined": "^5.0.7",
|
||||
"@fontsource-variable/nunito": "^5.0.9",
|
||||
"@fontsource-variable/material-symbols-outlined": "^5.0.15",
|
||||
"@fontsource-variable/nunito": "^5.0.15",
|
||||
"@fontsource/roboto": "^5.0.8",
|
||||
"@typescript-eslint/parser": "^6.5.0",
|
||||
"@typescript-eslint/parser": "^6.8.0",
|
||||
"anitomyscript": "github:ThaUnknown/anitomyscript#42290c4b3f256893be08a4e89051f448ff5e9d00",
|
||||
"bottleneck": "^2.19.5",
|
||||
"browser-event-target-emitter": "^1.0.1",
|
||||
"concurrently": "^8.2.1",
|
||||
"concurrently": "^8.2.2",
|
||||
"copy-webpack-plugin": "^11.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"css-loader": "^6.8.1",
|
||||
"discord-rpc": "4.0.1",
|
||||
"electron": "25.1.0",
|
||||
"electron-builder": "^24.6.3",
|
||||
"electron-builder": "^24.6.4",
|
||||
"electron-log": "^4.4.8",
|
||||
"electron-updater": "^6.1.1",
|
||||
"eslint": "^8.48.0",
|
||||
"electron-updater": "^6.1.4",
|
||||
"eslint": "^8.52.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-svelte": "^2.33.0",
|
||||
"eslint-plugin-svelte": "^2.34.0",
|
||||
"html-webpack-plugin": "^5.5.3",
|
||||
"jassub": "1.7.8",
|
||||
"jassub": "1.7.9",
|
||||
"js-levenshtein": "^1.1.6",
|
||||
"matroska-metadata": "^1.0.2",
|
||||
"mini-css-extract-plugin": "^2.7.6",
|
||||
|
|
@ -43,16 +43,16 @@
|
|||
"perfect-seekbar": "^1.1.0",
|
||||
"quartermoon": "^1.2.3",
|
||||
"simple-store-svelte": "^1.0.1",
|
||||
"svelte": "^4.2.0",
|
||||
"svelte-eslint-parser": "^0.32.2",
|
||||
"svelte": "^4.2.2",
|
||||
"svelte-eslint-parser": "^0.33.1",
|
||||
"svelte-keybinds": "1.0.5",
|
||||
"svelte-loader": "^3.1.9",
|
||||
"svelte-miniplayer": "1.0.3",
|
||||
"svelte-sonner": "^0.1.4",
|
||||
"webpack": "^5.88.2",
|
||||
"svelte-sonner": "^0.3.0",
|
||||
"webpack": "^5.89.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.1",
|
||||
"webtorrent": "^2.1.25"
|
||||
"webtorrent": "^2.1.27"
|
||||
},
|
||||
"dependencies": {
|
||||
"utp-native": "^2.5.3"
|
||||
|
|
|
|||
1288
pnpm-lock.yaml
1288
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
|
@ -48,7 +48,7 @@ export default class Parser {
|
|||
|
||||
if (this.file.name.endsWith('.mkv') || this.file.name.endsWith('.webm')) {
|
||||
this.file.on('iterator', ({ iterator }, cb) => {
|
||||
if (this.destroyed) cb(iterator)
|
||||
if (this.destroyed) return cb(iterator)
|
||||
cb(this.metadata.parseStream(iterator))
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue