diff --git a/components/button.tsx b/components/button.tsx index 487d35223..c40c2b16c 100644 --- a/components/button.tsx +++ b/components/button.tsx @@ -1,4 +1,4 @@ -import type { ComponentChildren } from "https://esm.sh/preact@10.24.0"; +import type { ComponentChildren } from "preact"; export default function Button(props: { children: ComponentChildren }) { return ( diff --git a/core/server/deps.ts b/core/server/deps.ts index a1fbf1825..7776e9198 100644 --- a/core/server/deps.ts +++ b/core/server/deps.ts @@ -1,21 +1,19 @@ -export { STATUS_CODE, STATUS_TEXT } from "jsr:@std/http@^1.0.6"; +export { STATUS_CODE, STATUS_TEXT } from "jsr:@std/http@^1.0.7"; -export * from "jsr:@std/media-types@^1.0.2"; +export * from "jsr:@std/media-types@^1.0.3"; export * from "jsr:@std/path@^1.0.1"; -export { encodeHex } from "jsr:@std/encoding@^1.0.1/hex"; -export { assertEquals } from "jsr:@std/assert@^1.0.5"; -export { assertExists } from "jsr:@std/assert@^1.0.5"; -export { assert } from "jsr:@std/assert@^1.0.5"; +export { encodeHex } from "jsr:@std/encoding@^1.0.5/hex"; +export { assert, assertEquals, assertExists } from "jsr:@std/assert@^1.0.6"; -export { h } from "https://esm.sh/preact@10.24.0"; +export { h } from "https://esm.sh/preact@10.24.1"; export type { ComponentChild, ComponentChildren, JSX, VNode, -} from "https://esm.sh/preact@10.24.0"; +} from "https://esm.sh/preact@10.24.1"; export { renderToString, renderToStringAsync, -} from "https://esm.sh/preact-render-to-string@6.5.9?deps=preact@10.24.0"; +} from "https://esm.sh/preact-render-to-string@6.5.9?deps=preact@10.24.1"; diff --git a/core/server/mod.ts b/core/server/mod.ts index 9379cec34..28fbf64dd 100644 --- a/core/server/mod.ts +++ b/core/server/mod.ts @@ -219,8 +219,7 @@ export default class Server implements Fastro { }; #build = async () => { - // deno-lint-ignore no-deprecated-deno-api - if (Deno.run === undefined) { + if (Deno.Command === undefined) { return []; } for (const [_key, page] of Object.entries(this.#routePage)) { diff --git a/deno.json b/deno.json index c4cc4cbc3..0dec0ba7f 100644 --- a/deno.json +++ b/deno.json @@ -12,13 +12,13 @@ }, "imports": { "@app/": "./", - "preact": "npm:preact@^10.24.0" + "preact": "npm:preact@^10.24.1" }, "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, - "nodeModulesDir": true, + "nodeModulesDir": "auto", "tasks": { "start": "ENV=DEVELOPMENT deno run --env --unstable-kv -A --watch modules/app/main.ts", "build": "deno run --env -A --unstable-kv modules/app/main.ts --build ",