From 6980fb2488b8efaeef87f0043797fa66e88c3304 Mon Sep 17 00:00:00 2001 From: Stuart Rackham Date: Thu, 21 Sep 2023 10:36:14 +1200 Subject: [PATCH] build: update Deno to deno_std 0.202.0, deno 1.37.0 --- .github/workflows/test.yml | 2 +- examples/dynamic-tasks.ts | 2 +- lib/deps.ts | 6 +++--- lib/tasks.ts | 2 +- tests/deps.ts | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70c8cb3..11cba0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - deno-version: [1.34.1] + deno-version: [1.37.0] os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Checkout repository diff --git a/examples/dynamic-tasks.ts b/examples/dynamic-tasks.ts index 899559f..09cb86a 100644 --- a/examples/dynamic-tasks.ts +++ b/examples/dynamic-tasks.ts @@ -1,4 +1,4 @@ -import * as path from "https://deno.land/std@0.190.0/path/mod.ts"; +import * as path from "https://deno.land/std@0.202.0/path/mod.ts"; import { desc, env, diff --git a/lib/deps.ts b/lib/deps.ts index 28d8cec..cf67704 100644 --- a/lib/deps.ts +++ b/lib/deps.ts @@ -1,3 +1,3 @@ -export * as colors from "https://deno.land/std@0.190.0/fmt/colors.ts"; -export { walkSync } from "https://deno.land/std@0.190.0/fs/walk.ts"; -export * as path from "https://deno.land/std@0.190.0/path/mod.ts"; +export * as colors from "https://deno.land/std@0.202.0/fmt/colors.ts"; +export { walkSync } from "https://deno.land/std@0.202.0/fs/walk.ts"; +export * as path from "https://deno.land/std@0.202.0/path/mod.ts"; diff --git a/lib/tasks.ts b/lib/tasks.ts index f8b0d92..14168eb 100644 --- a/lib/tasks.ts +++ b/lib/tasks.ts @@ -490,7 +490,7 @@ export function isFileTask(name: string): boolean { export function normalizePath(name: string): string { name = path.normalize(name); if (isNormalTask(name)) { - name = "." + path.sep + name; + name = "." + path.SEP + name; } return name; } diff --git a/tests/deps.ts b/tests/deps.ts index 95871d8..5fd28b9 100644 --- a/tests/deps.ts +++ b/tests/deps.ts @@ -1,4 +1,4 @@ -export * as path from "https://deno.land/std@0.190.0/path/mod.ts"; +export * as path from "https://deno.land/std@0.202.0/path/mod.ts"; export { assert, assertEquals, @@ -6,4 +6,4 @@ export { assertRejects, assertStringIncludes, assertThrows, -} from "https://deno.land/std@0.190.0/testing/asserts.ts"; +} from "https://deno.land/std@0.202.0/testing/asserts.ts";