diff --git a/.vscode/import_map.json b/.vscode/import_map.json index f7937c91..8710ecb0 100644 --- a/.vscode/import_map.json +++ b/.vscode/import_map.json @@ -11,6 +11,6 @@ "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.6", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3", - "$std/": "https://deno.land/std@0.178.0/" + "$std/": "https://deno.land/std@0.189.0/" } } diff --git a/src/dev/deps.ts b/src/dev/deps.ts index b6f819b9..d4da586b 100644 --- a/src/dev/deps.ts +++ b/src/dev/deps.ts @@ -6,10 +6,10 @@ export { join, resolve, toFileUrl, -} from "https://deno.land/std@0.178.0/path/mod.ts"; -export { walk } from "https://deno.land/std@0.178.0/fs/walk.ts"; -export { parse } from "https://deno.land/std@0.178.0/flags/mod.ts"; -export { gte } from "https://deno.land/std@0.178.0/semver/mod.ts"; +} from "https://deno.land/std@0.189.0/path/mod.ts"; +export { walk } from "https://deno.land/std@0.189.0/fs/walk.ts"; +export { parse } from "https://deno.land/std@0.189.0/flags/mod.ts"; +export { gte } from "https://deno.land/std@0.189.0/semver/mod.ts"; // ts-morph export { Node, Project } from "https://deno.land/x/ts_morph@17.0.1/mod.ts"; diff --git a/src/dev/imports.ts b/src/dev/imports.ts index 692bb7d5..54ff3b4b 100644 --- a/src/dev/imports.ts +++ b/src/dev/imports.ts @@ -3,7 +3,7 @@ export const RECOMMENDED_PREACT_RTS_VERSION = "5.2.6"; export const RECOMMENDED_PREACT_SIGNALS_VERSION = "1.1.3"; export const RECOMMENDED_PREACT_SIGNALS_CORE_VERSION = "1.2.3"; export const RECOMMENDED_TWIND_VERSION = "0.16.19"; -export const RECOMMENDED_STD_VERSION = "0.187.0"; +export const RECOMMENDED_STD_VERSION = "0.189.0"; export function freshImports(imports: Record) { imports["$fresh/"] = new URL("../../", import.meta.url).href; diff --git a/src/server/deps.ts b/src/server/deps.ts index f333b97a..0d160ad7 100644 --- a/src/server/deps.ts +++ b/src/server/deps.ts @@ -3,19 +3,19 @@ export { extname, fromFileUrl, toFileUrl, -} from "https://deno.land/std@0.178.0/path/mod.ts"; -export { walk } from "https://deno.land/std@0.178.0/fs/walk.ts"; -export { serve } from "https://deno.land/std@0.178.0/http/server.ts"; +} from "https://deno.land/std@0.189.0/path/mod.ts"; +export { walk } from "https://deno.land/std@0.189.0/fs/walk.ts"; +export { serve } from "https://deno.land/std@0.189.0/http/server.ts"; export type { ConnInfo, Handler as RequestHandler, ServeInit, -} from "https://deno.land/std@0.178.0/http/server.ts"; -export { Status } from "https://deno.land/std@0.178.0/http/http_status.ts"; +} from "https://deno.land/std@0.189.0/http/server.ts"; +export { Status } from "https://deno.land/std@0.189.0/http/http_status.ts"; export { typeByExtension, -} from "https://deno.land/std@0.178.0/media_types/mod.ts"; -export { toHashString } from "https://deno.land/std@0.178.0/crypto/to_hash_string.ts"; +} from "https://deno.land/std@0.189.0/media_types/mod.ts"; +export { toHashString } from "https://deno.land/std@0.189.0/crypto/to_hash_string.ts"; // -- esbuild -- // @deno-types="https://deno.land/x/esbuild@v0.17.11/mod.d.ts" diff --git a/tests/cli_test.ts b/tests/cli_test.ts index a3c06f0d..7f9538c5 100644 --- a/tests/cli_test.ts +++ b/tests/cli_test.ts @@ -9,7 +9,7 @@ import { TextLineStream, } from "./deps.ts"; import * as path from "$std/path/mod.ts"; -import { assertNotMatch } from "https://deno.land/std@0.178.0/testing/asserts.ts"; +import { assertNotMatch } from "https://deno.land/std@0.189.0/testing/asserts.ts"; type FileTree = { type: "file"; diff --git a/tests/deps.ts b/tests/deps.ts index 22f8b1ab..c0903d7a 100644 --- a/tests/deps.ts +++ b/tests/deps.ts @@ -8,12 +8,12 @@ export { assert, assertEquals, assertStringIncludes, -} from "https://deno.land/std@0.178.0/testing/asserts.ts"; +} from "https://deno.land/std@0.189.0/testing/asserts.ts"; export { TextLineStream, -} from "https://deno.land/std@0.178.0/streams/text_line_stream.ts"; -export { delay } from "https://deno.land/std@0.178.0/async/delay.ts"; -export { retry } from "https://deno.land/std@0.178.0/async/retry.ts"; +} from "https://deno.land/std@0.189.0/streams/text_line_stream.ts"; +export { delay } from "https://deno.land/std@0.189.0/async/delay.ts"; +export { retry } from "https://deno.land/std@0.189.0/async/retry.ts"; export { default as puppeteer, Page, diff --git a/www/import_map.json b/www/import_map.json index 8a2dcbab..40fa9f89 100644 --- a/www/import_map.json +++ b/www/import_map.json @@ -8,7 +8,7 @@ "preact-render-to-string": "https://esm.sh/*preact-render-to-string@5.2.6", "@preact/signals": "https://esm.sh/*@preact/signals@1.1.3", "@preact/signals-core": "https://esm.sh/@preact/signals-core@1.2.3", - "$std/": "https://deno.land/std@0.178.0/", + "$std/": "https://deno.land/std@0.189.0/", "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts" } } diff --git a/www/utils/markdown.ts b/www/utils/markdown.ts index e3da90d4..26fc1b27 100644 --- a/www/utils/markdown.ts +++ b/www/utils/markdown.ts @@ -4,4 +4,4 @@ import "https://esm.sh/prismjs@1.29.0/components/prism-typescript.js?no-check"; import "https://esm.sh/prismjs@1.29.0/components/prism-tsx.js?no-check"; import "https://esm.sh/prismjs@1.29.0/components/prism-diff.js?no-check"; -export { extract as frontMatter } from "$std/encoding/front_matter/yaml.ts"; +export { extract as frontMatter } from "$std/front_matter/yaml.ts"; diff --git a/www/utils/screenshot.ts b/www/utils/screenshot.ts index aa287b02..b70423d1 100644 --- a/www/utils/screenshot.ts +++ b/www/utils/screenshot.ts @@ -1,6 +1,6 @@ import puppeteer from "https://deno.land/x/puppeteer@16.2.0/mod.ts"; import { Image } from "https://deno.land/x/imagescript@1.2.15/mod.ts"; -import { join } from "https://deno.land/std@0.178.0/path/mod.ts"; +import { join } from "https://deno.land/std@0.189.0/path/mod.ts"; const url = Deno.args[0]; const id = Deno.args[1];