chore(deps): update to latest deps

This commit is contained in:
--remove-section committed 2026-01-09 21:35:44 +05:30
1 parent d6c1b0992e
commit 8519c12c45
4 files changed
+784 -800

No files matched your search

+21 -21
View File
@@ -24,25 +24,25 @@
"@fontsource-variable/plus-jakarta-sans": "^5.2.8", "@fontsource-variable/plus-jakarta-sans": "^5.2.8",
"@fontsource-variable/space-grotesk": "^5.2.10", "@fontsource-variable/space-grotesk": "^5.2.10",
"@jellyfin/sdk": "0.13.0", "@jellyfin/sdk": "0.13.0",
"@mui/lab": "7.0.1-beta.20", "@mui/lab": "7.0.1-beta.21",
"@mui/material": "7.3.6", "@mui/material": "7.3.7",
"@popperjs/core": "^2.11.8", "@popperjs/core": "^2.11.8",
"@react-spring/web": "^10.0.3", "@react-spring/web": "^10.0.3",
"@tanem/react-nprogress": "^5.0.56", "@tanem/react-nprogress": "^5.0.56",
"@tanstack/react-form": "^1.27.5", "@tanstack/react-form": "^1.27.7",
"@tanstack/react-query": "^5.90.12", "@tanstack/react-query": "^5.90.16",
"@tanstack/react-query-devtools": "^5.91.1", "@tanstack/react-query-devtools": "^5.91.2",
"@tanstack/react-router": "^1.141.8", "@tanstack/react-router": "^1.146.2",
"@tanstack/react-router-devtools": "^1.141.8", "@tanstack/react-router-devtools": "^1.146.2",
"@tanstack/react-virtual": "^3.13.13", "@tanstack/react-virtual": "^3.13.18",
"@tauri-apps/api": "2.9.1", "@tauri-apps/api": "2.9.1",
"@tauri-apps/plugin-clipboard-manager": "2.3.2", "@tauri-apps/plugin-clipboard-manager": "2.3.2",
"@tauri-apps/plugin-dialog": "2.4.2", "@tauri-apps/plugin-dialog": "2.5.0",
"@tauri-apps/plugin-notification": "2.3.3", "@tauri-apps/plugin-notification": "2.3.3",
"@tauri-apps/plugin-process": "2.3.1", "@tauri-apps/plugin-process": "2.3.1",
"@tauri-apps/plugin-store": "github:tauri-apps/tauri-plugin-store#v2", "@tauri-apps/plugin-store": "github:tauri-apps/tauri-plugin-store#v2",
"@tauri-apps/plugin-updater": "2.9.0", "@tauri-apps/plugin-updater": "2.9.0",
"@tauri-apps/plugin-upload": "2.3.2", "@tauri-apps/plugin-upload": "2.4.0",
"@tauri-apps/plugin-window-state": "~2.4.1", "@tauri-apps/plugin-window-state": "~2.4.1",
"@types/node": "^25.0.3", "@types/node": "^25.0.3",
"@types/react": "^19.2.7", "@types/react": "^19.2.7",
@@ -51,19 +51,19 @@
"axios-tauri-api-adapter": "^2.0.6", "axios-tauri-api-adapter": "^2.0.6",
"blurhash": "^2.0.5", "blurhash": "^2.0.5",
"blurhash-wasm": "^0.2.0", "blurhash-wasm": "^0.2.0",
"immer": "^11.1.0", "immer": "^11.1.3",
"jassub": "^1.8.6", "jassub": "^2.0.20",
"libpgs": "^0.8.1", "libpgs": "^0.8.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"material-symbols": "^0.40.2", "material-symbols": "^0.40.2",
"motion": "^12.23.26", "motion": "^12.25.0",
"notistack": "^3.0.2", "notistack": "^3.0.2",
"react": "^19.2.3", "react": "^19.2.3",
"react-blurhash": "^0.3.0", "react-blurhash": "^0.3.0",
"react-dnd": "^16.0.1", "react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1", "react-dnd-html5-backend": "^16.0.1",
"react-dom": "^19.2.3", "react-dom": "^19.2.3",
"react-error-boundary": "^6.0.0", "react-error-boundary": "^6.0.3",
"react-intersection-observer": "^10.0.0", "react-intersection-observer": "^10.0.0",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
"react-multi-carousel": "^2.8.6", "react-multi-carousel": "^2.8.6",
@@ -72,23 +72,23 @@
"typescript": "^5.9.3", "typescript": "^5.9.3",
"vite-plugin-svgr": "^4.5.0", "vite-plugin-svgr": "^4.5.0",
"wavesurfer.js": "^7.12.1", "wavesurfer.js": "^7.12.1",
"zod": "^4.2.1", "zod": "^4.3.5",
"zustand": "5.0.9" "zustand": "5.0.9"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-proposal-optional-chaining-assign": "^7.27.1", "@babel/plugin-proposal-optional-chaining-assign": "^7.27.1",
"@biomejs/biome": "^2.3.10", "@biomejs/biome": "^2.3.11",
"@tanstack/router-cli": "^1.142.0", "@tanstack/router-cli": "^1.146.2",
"@tanstack/router-devtools": "^1.141.8", "@tanstack/router-devtools": "^1.146.2",
"@tanstack/router-vite-plugin": "^1.142.0", "@tanstack/router-vite-plugin": "^1.146.3",
"@tauri-apps/cli": "2.9.6", "@tauri-apps/cli": "2.9.6",
"@types/lodash": "^4.17.21", "@types/lodash": "^4.17.21",
"@vitejs/plugin-react": "^5.1.2", "@vitejs/plugin-react": "^5.1.2",
"babel-plugin-react-compiler": "19.1.0-rc.3", "babel-plugin-react-compiler": "19.1.0-rc.3",
"eslint-plugin-react-hooks": "7.0.1", "eslint-plugin-react-hooks": "7.0.1",
"prop-types": "^15.8.1", "prop-types": "^15.8.1",
"sass": "^1.97.1", "sass": "^1.97.2",
"vite": "^7.3.0", "vite": "^7.3.1",
"vite-plugin-wasm": "^3.5.0" "vite-plugin-wasm": "^3.5.0"
}, },
"license": "GPL-3.0-only" "license": "GPL-3.0-only"
+562 -519
View File
File diff suppressed because it is too large. Load diff
+187 -252
View File
File diff suppressed because it is too large. Load diff
+14 -8
View File
@@ -12,10 +12,12 @@ import { RepeatMode } from "@jellyfin/sdk/lib/generated-client";
import { useMutation } from "@tanstack/react-query"; import { useMutation } from "@tanstack/react-query";
import { createFileRoute, useRouter } from "@tanstack/react-router"; import { createFileRoute, useRouter } from "@tanstack/react-router";
import JASSUB from "jassub"; import JASSUB from "jassub";
//@ts-expect-error // @ts-expect-error
import workerUrl from "jassub/dist/jassub-worker.js?url"; import wasmUrl from "jassub/dist/wasm/jassub-worker.wasm?url"; // non-SIMD fallback
//@ts-expect-error // @ts-expect-error
import wasmUrl from "jassub/dist/jassub-worker.wasm?url"; import modernWasmUrl from "jassub/dist/wasm/jassub-worker-modern.wasm?url"; // SIMD
// @ts-expect-error
import workerUrl from "jassub/dist/worker/worker.js?url"; // Web Worker
import { PgsRenderer } from "libpgs"; import { PgsRenderer } from "libpgs";
//@ts-expect-error //@ts-expect-error
import pgsWorkerUrl from "libpgs/dist/libpgs.worker.js?url"; import pgsWorkerUrl from "libpgs/dist/libpgs.worker.js?url";
@@ -469,11 +471,15 @@ export function VideoPlayer() {
) { ) {
jassubRenderer = new JASSUB({ jassubRenderer = new JASSUB({
video: internalPlayer, video: internalPlayer,
workerUrl, subUrl: `${api?.basePath}${mediaSource.subtitle.url}`,
wasmUrl,
subUrl: `${api?.basePath}${mediaSource.subtitle.url}${urlParams}`,
availableFonts: { "noto sans": font }, availableFonts: { "noto sans": font },
fallbackFont: "noto sans", fallbackFont: "noto sans",
workerUrl,
wasmUrl,
modernWasmUrl,
});
jassubRenderer.ready.then(() => {
console.log("JASSUB subtitle renderer is ready");
}); });
} else if ( } else if (
mediaSource.subtitle.format === "subrip" || mediaSource.subtitle.format === "subrip" ||
@@ -633,7 +639,7 @@ export function VideoPlayer() {
height="100vh" height="100vh"
style={{ style={{
position: "fixed", position: "fixed",
zIndex: 1, zIndex: 0,
}} }}
volume={isPlayerMuted ? 0 : volume} volume={isPlayerMuted ? 0 : volume}
onWaiting={handleOnBuffer} onWaiting={handleOnBuffer}