mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 15:42:05 +00:00
feat: faster anitomy parsing
fix: donation component
This commit is contained in:
parent
d01e5b639c
commit
9c5adcc933
5 changed files with 17 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "3.1.20",
|
||||
"version": "3.1.21",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
"main": "src/index.js",
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"anitomyscript": "^2.0.4",
|
||||
"anitomyscript": "github:ThaUnknown/anitomyscript",
|
||||
"bottleneck": "^2.19.5",
|
||||
"browser-event-target-emitter": "^1.0.0",
|
||||
"discord-rpc": "4.0.1",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ lockfileVersion: 5.4
|
|||
|
||||
specifiers:
|
||||
'@sveltejs/vite-plugin-svelte': ^1.0.1
|
||||
anitomyscript: ^2.0.4
|
||||
anitomyscript: github:ThaUnknown/anitomyscript
|
||||
bottleneck: ^2.19.5
|
||||
browser-event-target-emitter: ^1.0.0
|
||||
concurrently: ^7.0.0
|
||||
|
|
@ -28,7 +28,7 @@ specifiers:
|
|||
webtorrent: ^1.8.26
|
||||
|
||||
dependencies:
|
||||
anitomyscript: 2.0.4
|
||||
anitomyscript: github.com/ThaUnknown/anitomyscript/42290c4b3f256893be08a4e89051f448ff5e9d00
|
||||
bottleneck: 2.19.5
|
||||
browser-event-target-emitter: 1.0.0
|
||||
discord-rpc: 4.0.1
|
||||
|
|
@ -325,10 +325,6 @@ packages:
|
|||
uri-js: 4.4.1
|
||||
dev: true
|
||||
|
||||
/anitomyscript/2.0.4:
|
||||
resolution: {integrity: sha512-7LJ+td+POitox9fchXpNP0IydmsuODP+q8pgVeFhiYESNFPKWA+QH5IIIk+pZA9JYao7xTP7b1mXooL3I1XOFQ==}
|
||||
dev: false
|
||||
|
||||
/ansi-align/3.0.1:
|
||||
resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==}
|
||||
dependencies:
|
||||
|
|
@ -3533,6 +3529,12 @@ packages:
|
|||
fd-slicer: 1.1.0
|
||||
dev: true
|
||||
|
||||
github.com/ThaUnknown/anitomyscript/42290c4b3f256893be08a4e89051f448ff5e9d00:
|
||||
resolution: {tarball: https://codeload.github.com/ThaUnknown/anitomyscript/tar.gz/42290c4b3f256893be08a4e89051f448ff5e9d00}
|
||||
name: anitomyscript
|
||||
version: 2.0.5
|
||||
dev: false
|
||||
|
||||
github.com/ThaUnknown/matroska-subtitles/70bee097ad540e07d9e31b8f91f1dd865f7f2b45:
|
||||
resolution: {tarball: https://codeload.github.com/ThaUnknown/matroska-subtitles/tar.gz/70bee097ad540e07d9e31b8f91f1dd865f7f2b45}
|
||||
name: matroska-subtitles
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -296,10 +296,14 @@
|
|||
<div class='h-full py-10'>
|
||||
<Search bind:media bind:search bind:current {loadCurrent} />
|
||||
<div class='container'>
|
||||
We're ${30 - $progress} short of our monthly goal! That's only {Math.ceil((30 - $progress) / 5)} people donating $5.00!
|
||||
{#if progress < 30}
|
||||
We're ${30 - $progress} short of our monthly goal! That's only {Math.ceil((30 - $progress) / 5)} people donating $5.00!
|
||||
{:else}
|
||||
We've reached the donation goal for this month! \o/
|
||||
{/if}
|
||||
<div class='progress-group py-5'>
|
||||
<div class='progress'>
|
||||
<div class='progress-bar progress-bar-animated' role='progressbar' style='width: {$progress}%;'></div>
|
||||
<div class='progress-bar progress-bar-animated' role='progressbar' style='width: {$progress / 30 * 100}%;'></div>
|
||||
</div>
|
||||
<span class='progress-group-label'>${$progress} / $30.00</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { add } from './torrent.js'
|
|||
import { DOMPARSER, PromiseBatch } from './util.js'
|
||||
import { alRequest, alSearch } from './anilist.js'
|
||||
import anitomyscript from 'anitomyscript'
|
||||
import 'anitomyscript/build/anitomyscript.wasm?url'
|
||||
import 'anitomyscript/dist/anitomyscript.wasm?url'
|
||||
import { addToast } from '@/lib/Toasts.svelte'
|
||||
import { view } from '@/App.svelte'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue