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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user