Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Command } from "https://deno.land/x/cliffy@v0.25.7/command/mod.ts";
import { basename, join } from "https://deno.land/std@0.192.0/path/mod.ts";
import { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.4/command/mod.ts";
import { basename, join } from "https://deno.land/std@0.224.0/path/mod.ts";
import { findAndReplace } from "./change.ts";

/**
Expand Down
2 changes: 1 addition & 1 deletion test/change.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
assert,
assertEquals,
assertNotEquals,
} from "https://deno.land/std@0.192.0/testing/asserts.ts";
} from "https://deno.land/std@0.224.0/testing/asserts.ts";

Deno.test("Source code translation works", async () => {
const source = "const x = 'https://deno.land/[email protected]/testing/asserts.ts'"; // i-deno-outdated
Expand Down
2 changes: 1 addition & 1 deletion test/redirect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { checkRedirect } from "../redirect.ts";
import {
assertEquals,
assertNotEquals,
} from "https://deno.land/std@0.192.0/testing/asserts.ts";
} from "https://deno.land/std@0.224.0/testing/asserts.ts";

Deno.test("Redirects redirect to another URL (against deno.land/x)", async () => {
const redirect = await checkRedirect("https://deno.land/x/cliffy/mod.ts"); // i-deno-outdated
Expand Down
6 changes: 3 additions & 3 deletions test/regex.test.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { apply } from "../regex.ts";
import { assertEquals } from "https://deno.land/std@0.192.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts";

Deno.test("Removal works (deno.land/x)", () => {
const url = "https://deno.land/x/cliffy@v0.25.7/mod.ts";
const url = "https://deno.land/x/cliffy@v1.0.0-rc.4/mod.ts";

assertEquals(apply(url), "https://deno.land/x/cliffy/mod.ts"); // i-deno-outdated
});

Deno.test("Removal works (esm.sh)", () => {
const url = "https://esm.sh/react@18.2.0";
const url = "https://esm.sh/react@18.3.1";

assertEquals(apply(url), "https://esm.sh/react"); // i-deno-outdated
});
Expand Down