feat: upgrade app to svelte-5

This commit is contained in:
2024-11-02 17:21:04 +01:00
parent a87add30ff
commit fa659ab74e
12 changed files with 1754 additions and 7340 deletions

View File

@ -16,6 +16,6 @@
},
"devDependencies": {
"comlink": "^4.4.1",
"vite-plugin-comlink": "^4.0.3"
"vite-plugin-comlink": "^5.1.0"
}
}

View File

@ -3,7 +3,7 @@
import type { Graph, RuntimeExecutor } from "@nodes/types";
export class WorkerRuntimeExecutor implements RuntimeExecutor {
private worker = new ComlinkWorker<typeof import('./worker-runtime-executor-backend.ts')>(new URL("./worker-runtime-executor-backend.ts", import.meta.url));
private worker = new ComlinkWorker<typeof import('./worker-runtime-executor-backend.ts')>(new URL("worker-runtime-executor-backend.ts", import.meta.url));
constructor() {
}
async execute(graph: Graph, settings: Record<string, unknown>) {