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
@@ -7,8 +7,8 @@
"$fresh/": "../../",
"twind": "https://esm.sh/twind@0.16.19",
"twind/": "https://esm.sh/twind@0.16.19/",
"preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact": "https://esm.sh/preact@10.19.5",
"preact/": "https://esm.sh/preact@10.19.5/",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3"
},
@@ -1,11 +1,11 @@
import { RouteContext } from "../../../../server.ts";
import { delay, relative, SEP } from "../../../deps.ts";
import { delay, relative, SEPARATOR } from "../../../deps.ts";
export default async function Foo(_req: Request, context: RouteContext) {
await delay(1);
const value = JSON.stringify(context, (key, value) => {
if (key === "outDir" || key == "staticDir") {
return relative(Deno.cwd(), value).split(SEP).join("/");
return relative(Deno.cwd(), value).split(SEPARATOR).join("/");
} else if (key === "entrypoints") {
return {};
}