fix: update dependency recommendations (#2320)

closes https://github.com/denoland/fresh/issues/2319

The issue is because `imports.ts` wasn't changed before releasing. I
thought I would go through and bump some other versions as well. This
handles everything except the esbuild stuff and `tests/`.
This commit is contained in:
Reed von Redwitz
2024-02-19 10:33:04 +01:00
committed by GitHub
parent bf0e33eda1
commit 82c75f85e9
69 changed files with 198 additions and 186 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { contentType, extname, SEP, STATUS_CODE } from "./deps.ts";
import { contentType, extname, SEPARATOR, STATUS_CODE } from "./deps.ts";
import * as router from "./router.ts";
import { FreshConfig, FreshContext, Manifest } from "./mod.ts";
import {
@@ -353,7 +353,7 @@ export class ServerContext {
const { localUrl, path, size, contentType, etag } of this.#extractResult
.staticFiles
) {
staticRoutes[path.replaceAll(SEP, "/")] = {
staticRoutes[path.replaceAll(SEPARATOR, "/")] = {
baseRoute: toBaseRoute(path),
methods: {
"HEAD": this.#staticFileHandler(