Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Sep 28, 2024
1 parent 55e592c commit f0ca81b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion components/button.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
16 changes: 7 additions & 9 deletions core/server/deps.ts
Original file line number Diff line number Diff line change
@@ -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/[email protected].0";
export { h } from "https://esm.sh/[email protected].1";
export type {
ComponentChild,
ComponentChildren,
JSX,
VNode,
} from "https://esm.sh/[email protected].0";
} from "https://esm.sh/[email protected].1";
export {
renderToString,
renderToStringAsync,
} from "https://esm.sh/[email protected][email protected].0";
} from "https://esm.sh/[email protected][email protected].1";
3 changes: 1 addition & 2 deletions core/server/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ",
Expand Down

0 comments on commit f0ca81b

Please sign in to comment.