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:
@@ -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 {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user