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,5 +1,5 @@
import { Handlers } from 'fresh/server.ts';
import { join } from 'std/path/join.ts';
import { join } from '@std/path';
import { FreshContextState } from '/lib/types.ts';
import { ensureFileSharePathIsValidAndSecurelyAccessible, FileModel, FileShareModel } from '/lib/models/files.ts';
@@ -70,7 +70,7 @@ export const handler: Handlers<Data, FreshContextState> = {
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',