From 51e5e1973fa5cf1d24dc46ed2feb00f8b1f5fc54 Mon Sep 17 00:00:00 2001 From: Daniel <790119+DanTheMan827@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:56:18 -0500 Subject: [PATCH] fix: update taglib-ts --- bun.lock | 4 ++-- js/api.test.ts | 6 +++--- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bun.lock b/bun.lock index a66978e..c0e23a9 100644 --- a/bun.lock +++ b/bun.lock @@ -10,7 +10,6 @@ "@capacitor/core": "^8.2.0", "@capacitor/haptics": "^8.0.1", "@capacitor/ios": "^8.2.0", - "@dantheman827/taglib-ts": "https://github.com/DanTheMan827/taglib-ts/archive/b4238b2627aceb97f58813258046f1259f68cab7.tar.gz", "@ffmpeg/core": "^0.12.10", "@ffmpeg/ffmpeg": "^0.12.15", "@ffmpeg/util": "^0.12.2", @@ -27,6 +26,7 @@ "events": "^3.3.0", "fuse.js": "^7.1.0", "hls.js": "^1.6.15", + "@dantheman827/taglib-ts": "https://github.com/DanTheMan827/taglib-ts/archive/ebd0e369b706c127a280d4ad631977f8d12ff88f.tar.gz", "jose": "^6.2.0", "lucide-static": "^0.577.0", "mime": "^4.1.0", @@ -292,7 +292,7 @@ "@csstools/selector-specificity": ["@csstools/selector-specificity@5.0.0", "", { "peerDependencies": { "postcss-selector-parser": "^7.0.0" } }, "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw=="], - "@dantheman827/taglib-ts": ["@dantheman827/taglib-ts@https://github.com/DanTheMan827/taglib-ts/archive/b4238b2627aceb97f58813258046f1259f68cab7.tar.gz", {}, "sha512-rvQOn9GDEj2sH4yV6oUTMMG9+rJbFG7tQkiP6/bhGJARg1Vmdy283j4YFCl+ubkqsMQ+UfAhEWSw5d5lfPVfwQ=="], + "@dantheman827/taglib-ts": ["@dantheman827/taglib-ts@https://github.com/DanTheMan827/taglib-ts/archive/ebd0e369b706c127a280d4ad631977f8d12ff88f.tar.gz", {}, "sha512-QPl5eWhFqP716VKIX5t7x39eRswRHG+5RpQ9wW6cNbDh1QSa/gWpPyvwP55O+/qCV7VjLepZI1/XFoxMO8jK7w=="], "@dual-bundle/import-meta-resolve": ["@dual-bundle/import-meta-resolve@4.2.1", "", {}, "sha512-id+7YRUgoUX6CgV0DtuhirQWodeeA7Lf4i2x71JS/vtA5pRb/hIGWlw+G6MeXvsM+MXrz0VAydTGElX1rAfgPg=="], diff --git a/js/api.test.ts b/js/api.test.ts index 2320b5f..6bb12ad 100644 --- a/js/api.test.ts +++ b/js/api.test.ts @@ -430,7 +430,7 @@ suite('Track Downloads', async () => { expect(file.file()).toBeInstanceOf(OggFile); const ogg = file.file() as OggFile; expect(ogg.audioProperties().sampleRate).toBe(44100); - //expect(ogg.audioProperties().bitrate).toBe(320); + expect(ogg.audioProperties().bitrate).toBe(314); break; } @@ -438,7 +438,7 @@ suite('Track Downloads', async () => { expect(file.file()).toBeInstanceOf(OggFile); const ogg = file.file() as OggFile; expect(ogg.audioProperties().sampleRate).toBe(44100); - //expect(ogg.audioProperties().bitrate).toBe(256); + expect(ogg.audioProperties().bitrate).toBe(253); break; } @@ -446,7 +446,7 @@ suite('Track Downloads', async () => { expect(file.file()).toBeInstanceOf(OggFile); const ogg = file.file() as OggFile; expect(ogg.audioProperties().sampleRate).toBe(44100); - //expect(ogg.audioProperties().bitrate).toBe(128); + expect(ogg.audioProperties().bitrate).toBe(130); break; } diff --git a/package.json b/package.json index be101bb..859a6c2 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@capacitor/core": "^8.2.0", "@capacitor/haptics": "^8.0.1", "@capacitor/ios": "^8.2.0", - "@dantheman827/taglib-ts": "https://github.com/DanTheMan827/taglib-ts/archive/b4238b2627aceb97f58813258046f1259f68cab7.tar.gz", + "@dantheman827/taglib-ts": "https://github.com/DanTheMan827/taglib-ts/archive/ebd0e369b706c127a280d4ad631977f8d12ff88f.tar.gz", "@ffmpeg/core": "^0.12.10", "@ffmpeg/ffmpeg": "^0.12.15", "@ffmpeg/util": "^0.12.2",