Skip to content

Commit

Permalink
chore: migrate to jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Feb 22, 2024
1 parent f8c91eb commit 910eb4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions _test_util.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { assert } from "https://deno.land/std@0.217.0/assert/assert.ts";
export { delay } from "https://deno.land/std@0.217.0/async/delay.ts";
export { assert } from "https://deno.land/std@0.217.0/assert/assert.ts";
export { assertEquals } from "https://deno.land/std@0.217.0/assert/assert_equals.ts";
export {
assertNotEquals,
} from "https://deno.land/std@0.217.0/assert/assert_not_equals.ts";
export { timingSafeEqual } from "https://deno.land/std@0.217.0/crypto/timing_safe_equal.ts";
import { assert } from "jsr:@std/assert@0.216/assert";
export { delay } from "jsr:@std/async@0.216/delay";
export { assert } from "jsr:@std/assert@0.216/assert";
export { assertEquals } from "jsr:@std/assert@0.216/assert_equals";
export { assertNotEquals } from "jsr:@std/assert@0.216/assert_not_equals";
export { timingSafeEqual } from "jsr:@std/crypto@0.216/timing_safe_equal";

let kv: Deno.Kv | undefined;
let path: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @module
*/

import { timingSafeEqual } from "https://deno.land/std@0.217.0/crypto/timing_safe_equal.ts";
import { timingSafeEqual } from "jsr:@std/crypto@0.216/timing_safe_equal";

function addIfUnique(set: Set<Deno.KvKeyPart>, item: Uint8Array) {
for (const i of set) {
Expand Down

0 comments on commit 910eb4c

Please sign in to comment.