mirror of
https://github.com/aculix/negotium.git
synced 2026-09-11 07:28:17 +00:00
chore: upgrade to svelte 5 and vite 8
Svelte 4.2 to 5.56, Vite 5 to 8, vite-plugin-svelte 3 to 7. The old tree wouldn't resolve incrementally, because a stale vite-plugin-svelte-inspector pinned the v3 peer, so this is a clean reinstall. Clears all 7 npm audit advisories, including a high-severity Rollup path traversal. Reactivity moves to runes: $state, $derived, $effect. Event directives become properties, and main.js uses mount(). Also drops inputElement, a bind:this target nothing ever read.
This commit is contained in:
+3
-3
@@ -12,9 +12,9 @@
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"svelte": "^4.2.0",
|
||||
"vite": "^5.0.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
||||
"svelte": "^5.56.9",
|
||||
"vite": "^8.2.1",
|
||||
"vitest": "^4.1.10"
|
||||
},
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user