diff --git a/deps.ts b/deps.ts index 2cc6aed..c293a62 100644 --- a/deps.ts +++ b/deps.ts @@ -1,5 +1,5 @@ -export * as asserts from "https://deno.land/std@0.173.0/testing/asserts.ts"; -export * as dotenv from "https://deno.land/std@0.173.0/dotenv/mod.ts"; -export * as colors from "https://deno.land/std@0.173.0/fmt/colors.ts"; -export * as fs from "https://deno.land/std@0.173.0/fs/mod.ts"; -export * as path from "https://deno.land/std@0.173.0/path/mod.ts"; +export * as asserts from "https://deno.land/std@0.215.0/testing/asserts.ts"; +export * as dotenv from "https://deno.land/std@0.215.0/dotenv/mod.ts"; +export * as colors from "https://deno.land/std@0.215.0/fmt/colors.ts"; +export * as fs from "https://deno.land/std@0.215.0/fs/mod.ts"; +export * as path from "https://deno.land/std@0.215.0/path/mod.ts"; diff --git a/shared/constants.ts b/shared/constants.ts index 64269c5..b8c68d9 100644 --- a/shared/constants.ts +++ b/shared/constants.ts @@ -7,9 +7,9 @@ export const REPO_URL = "https://deno.land/x/sdl_ts"; export const ROOT_PATH = new URL(import.meta.url).pathname .replaceAll("/", IS_WINDOWS ? "\\" : "/") .substring(IS_WINDOWS ? 1 : 0) - .split(path.SEP) + .split(path.SEPARATOR) .slice(0, -2) - .join(path.SEP); + .join(path.SEPARATOR); export const ASSETS_PATH = path.join(ROOT_PATH, "assets");