web: update dependencies to svelte 5

just updating the dependencies for now, will migrate components gradually over time
This commit is contained in:
wukko 2025-04-28 22:52:22 +06:00
parent f9aaacb3ca
commit 76b04aabf0
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2
3 changed files with 185 additions and 390 deletions

518
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -31,8 +31,8 @@
"@imput/libav.js-remux-cli": "^6.5.7", "@imput/libav.js-remux-cli": "^6.5.7",
"@imput/version-info": "workspace:^", "@imput/version-info": "workspace:^",
"@sveltejs/adapter-static": "^3.0.6", "@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.9.1", "@sveltejs/kit": "^2.20.7",
"@sveltejs/vite-plugin-svelte": "^3.0.0", "@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tabler/icons-svelte": "3.6.0", "@tabler/icons-svelte": "3.6.0",
"@types/eslint__js": "^8.42.3", "@types/eslint__js": "^8.42.3",
"@types/fluent-ffmpeg": "^2.1.25", "@types/fluent-ffmpeg": "^2.1.25",
@ -44,16 +44,16 @@
"glob": "^11.0.0", "glob": "^11.0.0",
"mdsvex": "^0.11.2", "mdsvex": "^0.11.2",
"mime": "^4.0.4", "mime": "^4.0.4",
"svelte": "^4.2.19", "svelte": "^5.0.0",
"svelte-check": "^3.6.0", "svelte-check": "^4.0.0",
"svelte-preprocess": "^6.0.2", "svelte-preprocess": "^6.0.2",
"svelte-sitemap": "2.6.0", "svelte-sitemap": "2.6.0",
"sveltekit-i18n": "^2.4.2", "sveltekit-i18n": "^2.4.2",
"ts-deepmerge": "^7.0.1", "ts-deepmerge": "^7.0.1",
"tslib": "^2.4.1", "tslib": "^2.4.1",
"turnstile-types": "^1.2.2", "turnstile-types": "^1.2.2",
"typescript": "^5.4.5", "typescript": "^5.5.0",
"typescript-eslint": "^8.18.0", "typescript-eslint": "^8.18.0",
"vite": "^5.3.6" "vite": "^5.4.4"
} }
} }

View File

@ -1,7 +1,9 @@
<script lang="ts"> <script lang="ts">
import { browser } from "$app/environment";
import SmallDialog from "$components/dialog/SmallDialog.svelte"; import SmallDialog from "$components/dialog/SmallDialog.svelte";
</script> </script>
{#if !browser}
<noscript style="display: contents"> <noscript style="display: contents">
<div id="nojs-ack"> <div id="nojs-ack">
<SmallDialog <SmallDialog
@ -23,6 +25,7 @@
<div id="nojs-dialog-backdrop"></div> <div id="nojs-dialog-backdrop"></div>
</div> </div>
</noscript> </noscript>
{/if}
<style> <style>
:global(#nojs-ack) { :global(#nojs-ack) {