diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 2b96939c..d09545b1 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -29,7 +29,7 @@ jobs: # uses: denoland/setup-deno@v1 uses: denoland/setup-deno@d4873ceeec10de6275fecd1f94b6985369d40231 with: - deno-version: v1.27.2 + deno-version: v1.28.1 - name: Run build run: deno task build diff --git a/build.ts b/build.ts index 34fa622c..0968a772 100644 --- a/build.ts +++ b/build.ts @@ -3,14 +3,14 @@ import * as esbuildWasm from "https://deno.land/x/esbuild@v0.14.54/wasm.js"; import * as esbuildNative from "https://deno.land/x/esbuild@v0.14.54/mod.js"; import { denoPlugin } from "https://deno.land/x/esbuild_deno_loader@0.6.0/mod.ts"; //"./esbuild_deno_loader/mod.ts"; -import { copy } from "https://deno.land/std@0.158.0/fs/copy.ts"; +import { copy } from "https://deno.land/std@0.165.0/fs/copy.ts"; import sass from "https://deno.land/x/denosass@1.0.4/mod.ts"; import { bundleFolder } from "./plugos/asset_bundle/builder.ts"; import { patchDenoLibJS } from "./plugos/hack.ts"; import { bundle as plugOsBundle } from "./plugos/bin/plugos-bundle.ts"; -import * as flags from "https://deno.land/std@0.158.0/flags/mod.ts"; +import * as flags from "https://deno.land/std@0.165.0/flags/mod.ts"; // @ts-ignore trust me const esbuild: typeof esbuildWasm = Deno.run === undefined diff --git a/common/deps.ts b/common/deps.ts index 6c34fcc0..fc6f61b4 100644 --- a/common/deps.ts +++ b/common/deps.ts @@ -15,10 +15,10 @@ export type { Completion, CompletionResult } from "@codemirror/autocomplete"; export { styleTags, Tag, tagHighlighter, tags } from "@lezer/highlight"; -export * as YAML from "https://deno.land/std@0.158.0/encoding/yaml.ts"; -export * as path from "https://deno.land/std@0.158.0/path/mod.ts"; +export * as YAML from "https://deno.land/std@0.165.0/encoding/yaml.ts"; +export * as path from "https://deno.land/std@0.165.0/path/mod.ts"; -export { readAll } from "https://deno.land/std@0.158.0/streams/conversion.ts"; +export { readAll } from "https://deno.land/std@0.165.0/streams/conversion.ts"; export type { BlockContext, diff --git a/plugos/deps.ts b/plugos/deps.ts index 2dbbadf8..aaeae33d 100644 --- a/plugos/deps.ts +++ b/plugos/deps.ts @@ -1,6 +1,6 @@ -export { globToRegExp } from "https://deno.land/std@0.158.0/path/glob.ts"; -export { walk } from "https://deno.land/std@0.159.0/fs/mod.ts"; -export * as path from "https://deno.land/std@0.158.0/path/mod.ts"; +export { globToRegExp } from "https://deno.land/std@0.165.0/path/glob.ts"; +export { walk } from "https://deno.land/std@0.165.0/fs/mod.ts"; +export * as path from "https://deno.land/std@0.165.0/path/mod.ts"; export { mime } from "https://deno.land/x/mimetypes@v1.0.0/mod.ts"; export { default as cacheDir } from "https://deno.land/x/cache_dir@0.2.0/mod.ts"; -export * as flags from "https://deno.land/std@0.158.0/flags/mod.ts"; +export * as flags from "https://deno.land/std@0.165.0/flags/mod.ts"; diff --git a/plugos/forked/esbuild_deno_loader/deps.ts b/plugos/forked/esbuild_deno_loader/deps.ts index bce59f83..43326b87 100644 --- a/plugos/forked/esbuild_deno_loader/deps.ts +++ b/plugos/forked/esbuild_deno_loader/deps.ts @@ -5,7 +5,7 @@ export { resolve, toFileUrl, } from "https://deno.land/std@0.150.0/path/mod.ts"; -export { basename, extname } from "https://deno.land/std@0.150.0/path/mod.ts"; +export { basename, extname } from "https://deno.land/std@0.165.0/path/mod.ts"; export { resolveImportMap, resolveModuleSpecifier, diff --git a/plugos/plug.ts b/plugos/plug.ts index bbb9bdad..0de4f659 100644 --- a/plugos/plug.ts +++ b/plugos/plug.ts @@ -2,7 +2,6 @@ import { Manifest, RuntimeEnvironment } from "./types.ts"; import { Sandbox } from "./sandbox.ts"; import { System } from "./system.ts"; import { AssetBundle, AssetJson } from "./asset_bundle/bundle.ts"; -import { resolve } from "https://deno.land/std@0.158.0/path/win32.ts"; export class Plug { system: System; diff --git a/plugos/runtime.test.ts b/plugos/runtime.test.ts index 5ea028f6..9fa680c9 100644 --- a/plugos/runtime.test.ts +++ b/plugos/runtime.test.ts @@ -4,7 +4,7 @@ import { System } from "./system.ts"; import { assert, assertEquals, -} from "https://deno.land/std@0.158.0/testing/asserts.ts"; +} from "https://deno.land/std@0.165.0/testing/asserts.ts"; Deno.test("Run a deno sandbox", async () => { const system = new System("server"); diff --git a/plugs/core/template.ts b/plugs/core/template.ts index 692c3413..ed9e28f8 100644 --- a/plugs/core/template.ts +++ b/plugs/core/template.ts @@ -3,7 +3,6 @@ import { extractMeta } from "../directive/data.ts"; import { renderToText } from "$sb/lib/tree.ts"; import { niceDate } from "$sb/lib/dates.ts"; import { readSettings } from "$sb/lib/settings_page.ts"; -import { regexp } from "https://deno.land/std@0.163.0/encoding/_yaml/type/regexp.ts"; export async function instantiateTemplateCommand() { const allPages = await space.listPages(); diff --git a/plugs/global.plug.yaml b/plugs/global.plug.yaml index e4a5c384..3b17bb8c 100644 --- a/plugs/global.plug.yaml +++ b/plugs/global.plug.yaml @@ -1,5 +1,5 @@ name: global dependencies: "https://esm.sh/handlebars": "https://esm.sh/handlebars@4.7.7" - "https://deno.land/std/encoding/yaml.ts": "https://deno.land/std@0.158.0/encoding/yaml.ts" + "https://deno.land/std/encoding/yaml.ts": "https://deno.land/std@0.165.0/encoding/yaml.ts" "https://esm.sh/@lezer/lr": "https://esm.sh/@lezer/lr@1.2.3" diff --git a/plugs/markdown/html_render.test.ts b/plugs/markdown/html_render.test.ts index 379e4f72..824b1c3b 100644 --- a/plugs/markdown/html_render.test.ts +++ b/plugs/markdown/html_render.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.152.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import { renderHtml } from "./html_render.ts"; Deno.test("HTML Render", () => { diff --git a/plugs/markdown/markdown_render.test.ts b/plugs/markdown/markdown_render.test.ts index 6fdc0eb7..2596b92b 100644 --- a/plugs/markdown/markdown_render.test.ts +++ b/plugs/markdown/markdown_render.test.ts @@ -12,7 +12,7 @@ import tasksPlug from "../../dist_bundle/_plug/tasks.plug.json" assert { import { createSandbox } from "../../plugos/environments/deno_sandbox.ts"; import { loadMarkdownExtensions } from "../../common/markdown_ext.ts"; import { renderMarkdownToHtml } from "./markdown_render.ts"; -import { assertEquals } from "https://deno.land/std@0.152.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; Deno.test("Markdown render", async () => { const system = new System("server"); diff --git a/scripts/generate_fs_list.ts b/scripts/generate_fs_list.ts index 9cc4d8ec..0adbb12a 100644 --- a/scripts/generate_fs_list.ts +++ b/scripts/generate_fs_list.ts @@ -1,7 +1,7 @@ import type { FileMeta } from "../common/types.ts"; -import { walk } from "https://deno.land/std@0.159.0/fs/mod.ts"; -import { resolve } from "https://deno.land/std@0.159.0/path/mod.ts"; +import { walk } from "https://deno.land/std@0.165.0/fs/mod.ts"; +import { resolve } from "https://deno.land/std@0.165.0/path/mod.ts"; import { mime } from "https://deno.land/x/mimetypes@v1.0.0/mod.ts"; const rootDir = resolve("website_build/fs"); diff --git a/server/syscalls/index.test.ts b/server/syscalls/index.test.ts index 441c3e9e..84fb0278 100644 --- a/server/syscalls/index.test.ts +++ b/server/syscalls/index.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.152.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import { AsyncSQLite } from "../../plugos/sqlite/async_sqlite.ts"; import { ensureTable, pageIndexSyscalls } from "./index.ts"; diff --git a/test_deps.ts b/test_deps.ts index 42f1d284..4671ca7c 100644 --- a/test_deps.ts +++ b/test_deps.ts @@ -9,4 +9,4 @@ export { fail, unimplemented, unreachable, -} from "https://deno.land/std@0.158.0/testing/asserts.ts"; +} from "https://deno.land/std@0.165.0/testing/asserts.ts";