Update all dependencies

This takes part of the work being done in #96 that was reverted but still useful.

Note Tailwind and Fresh weren't upgraded because there's no security vulnerability in either, and I have found the new versions to be worse in performance. Thos will likely stay at those fixed versions going forward.
This commit is contained in:
Bruno Bernardino
2025-09-27 19:39:09 +01:00
parent ba2103afa9
commit 6734e9557b
45 changed files with 11027 additions and 127 deletions

View File

@@ -1,6 +1,6 @@
import { Handler, RouteConfig } from 'fresh/server.ts';
import { join } from 'std/path/join.ts';
import { parse, stringify } from 'xml';
import { join } from '@std/path';
import { parse, stringify } from '@libs/xml';
import { FreshContextState } from '/lib/types.ts';
import { AppConfig } from '/lib/config.ts';
@@ -59,7 +59,7 @@ export const handler: Handler<Data, FreshContextState> = async (request, context
return new Response('Not Found', { status: 404 });
}
return new Response(fileResult.contents!, {
return new Response(fileResult.contents! as BodyInit, {
status: 200,
headers: {
'cache-control': 'no-cache, no-store, must-revalidate',