diff --git a/deno.lock b/deno.lock index 6c100c2..943efba 100644 --- a/deno.lock +++ b/deno.lock @@ -4,6 +4,10 @@ "specifiers": { "jsr:@discord-applications/app@^0.0.4": "jsr:@discord-applications/app@0.0.4", "jsr:@fartlabs/rt@^0.0.3": "jsr:@fartlabs/rt@0.0.3", + "jsr:@std/assert@^0.225.3": "jsr:@std/assert@0.225.3", + "jsr:@std/datetime@^0.224.0": "jsr:@std/datetime@0.224.0", + "jsr:@std/internal@^1.0.0": "jsr:@std/internal@1.0.0", + "jsr:@std/ulid@^0.224.0": "jsr:@std/ulid@0.224.0", "npm:discord-api-types@0.37.79": "npm:discord-api-types@0.37.79", "npm:tweetnacl@^1.0.3": "npm:tweetnacl@1.0.3" }, @@ -17,6 +21,21 @@ }, "@fartlabs/rt@0.0.3": { "integrity": "a94851f8a185f64b884120bb1d53fb203b62e8f98a27879ffa615560ef6ba806" + }, + "@std/assert@0.225.3": { + "integrity": "b3c2847aecf6955b50644cdb9cf072004ea3d1998dd7579fc0acb99dbb23bd4f", + "dependencies": [ + "jsr:@std/internal@^1.0.0" + ] + }, + "@std/datetime@0.224.0": { + "integrity": "7b2e41f44a241a2205a113d2931c536fa384e79d58298bd133ae003ef06637bb" + }, + "@std/internal@1.0.0": { + "integrity": "ac6a6dfebf838582c4b4f61a6907374e27e05bedb6ce276e0f1608fe84e7cd9a" + }, + "@std/ulid@0.224.0": { + "integrity": "1b5622ac78ccdbca72dd8da40b2b3b29e6062e1eb3267973f2e60e871e6683de" } }, "npm": { diff --git a/lib/lc/client_test.ts b/lib/lc/client_test.ts index ed2324a..ee19d8a 100644 --- a/lib/lc/client_test.ts +++ b/lib/lc/client_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "lc-dailies/deps.ts"; +import { assertEquals } from "@std/assert"; import { makeQuestionURL, parseSubmissionID } from "./urls.ts"; Deno.test("makeQuestionURL", () => { diff --git a/lib/leaderboard/denokv/denokv_leaderboard_client.ts b/lib/leaderboard/denokv/denokv_leaderboard_client.ts index 86610fa..f4df14f 100644 --- a/lib/leaderboard/denokv/denokv_leaderboard_client.ts +++ b/lib/leaderboard/denokv/denokv_leaderboard_client.ts @@ -1,4 +1,5 @@ -import { DAY, ulid, WEEK } from "lc-dailies/deps.ts"; +import { DAY, WEEK } from "@std/datetime"; +import { ulid } from "@std/ulid"; import type * as api from "lc-dailies/lib/api/mod.ts"; import type { LeaderboardClient } from "lc-dailies/lib/leaderboard/mod.ts"; import { sync } from "lc-dailies/lib/leaderboard/mod.ts"; diff --git a/lib/leaderboard/denokv/denokv_leaderboard_client_test.ts b/lib/leaderboard/denokv/denokv_leaderboard_client_test.ts index dabedcc..665f5bc 100644 --- a/lib/leaderboard/denokv/denokv_leaderboard_client_test.ts +++ b/lib/leaderboard/denokv/denokv_leaderboard_client_test.ts @@ -1,4 +1,5 @@ -import { assertEquals, assertRejects, DAY, WEEK } from "lc-dailies/deps.ts"; +import { assertEquals, assertRejects } from "@std/assert"; +import { DAY, WEEK } from "@std/datetime"; import * as fake_lc from "lc-dailies/lib/lc/fake_client.ts"; import type { Season } from "lc-dailies/lib/api/mod.ts"; import { DenoKvLeaderboardClient } from "./denokv_leaderboard_client.ts"; diff --git a/lib/leaderboard/scores_test.ts b/lib/leaderboard/scores_test.ts index a40e0b4..d0f3e29 100644 --- a/lib/leaderboard/scores_test.ts +++ b/lib/leaderboard/scores_test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "lc-dailies/deps.ts"; +import { assertEquals } from "@std/assert"; import { calculatePlayerScore, calculateScores, diff --git a/lib/leaderboard/sync.ts b/lib/leaderboard/sync.ts index 9f01ba3..81c0908 100644 --- a/lib/leaderboard/sync.ts +++ b/lib/leaderboard/sync.ts @@ -1,4 +1,4 @@ -import { SECOND, WEEK } from "lc-dailies/deps.ts"; +import { SECOND, WEEK } from "@std/datetime"; import type * as api from "lc-dailies/lib/api/mod.ts"; import type { LCClientInterface } from "lc-dailies/lib/lc/mod.ts"; import { diff --git a/lib/leaderboard/sync_test.ts b/lib/leaderboard/sync_test.ts index a8d1bd2..7c47359 100644 --- a/lib/leaderboard/sync_test.ts +++ b/lib/leaderboard/sync_test.ts @@ -1,6 +1,5 @@ -import { assertEquals } from "lc-dailies/deps.ts"; +import { assertEquals } from "@std/assert"; import type { LCSubmission } from "lc-dailies/lib/lc/mod.ts"; -// import type { SyncOptions } from "./sync.ts"; import { sync } from "./sync.ts"; const FAKE_UNSYNCED_SEASON = {