Skip to content

Commit

Permalink
chore(upgrade): deno/std@0.170.0 (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Dec 20, 2022
1 parent a68c9d5 commit f9d0252
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion _scripts/check_examples.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expandGlobSync } from "https://deno.land/std@0.167.0/fs/expand_glob.ts";
import { expandGlobSync } from "https://deno.land/std@0.170.0/fs/expand_glob.ts";

const MAX_PARALLEL = Number(Deno.env.get("MAX_PARALLEL")) || 8;
const files = [...expandGlobSync("./examples/**/**.ts")];
Expand Down
2 changes: 1 addition & 1 deletion ansi/colors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as stdColors from "https://deno.land/std@0.167.0/fmt/colors.ts";
import * as stdColors from "https://deno.land/std@0.170.0/fmt/colors.ts";

type ExcludedColorMethods = "setColorEnabled" | "getColorEnabled";
type PropertyNames = keyof typeof stdColors;
Expand Down
2 changes: 1 addition & 1 deletion ansi/deps.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export {
encode as encodeBase64,
} from "https://deno.land/std@0.167.0/encoding/base64.ts";
} from "https://deno.land/std@0.170.0/encoding/base64.ts";
2 changes: 1 addition & 1 deletion command/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export {
red,
setColorEnabled,
yellow,
} from "https://deno.land/std@0.167.0/fmt/colors.ts";
} from "https://deno.land/std@0.170.0/fmt/colors.ts";
18 changes: 9 additions & 9 deletions dev_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ export {
assertRejects,
assertStrictEquals,
assertThrows,
} from "https://deno.land/std@0.167.0/testing/asserts.ts";
} from "https://deno.land/std@0.170.0/testing/asserts.ts";
export {
assertSpyCalls,
spy,
} from "https://deno.land/std@0.167.0/testing/mock.ts";
export { assertSnapshot } from "https://deno.land/std@0.167.0/testing/snapshot.ts";
export { describe, it } from "https://deno.land/std@0.167.0/testing/bdd.ts";
} from "https://deno.land/std@0.170.0/testing/mock.ts";
export { assertSnapshot } from "https://deno.land/std@0.170.0/testing/snapshot.ts";
export { describe, it } from "https://deno.land/std@0.170.0/testing/bdd.ts";
export {
bold,
red,
stripColor,
} from "https://deno.land/std@0.167.0/fmt/colors.ts";
export { dirname } from "https://deno.land/std@0.167.0/path/mod.ts";
export { expandGlob } from "https://deno.land/std@0.167.0/fs/mod.ts";
export type { WalkEntry } from "https://deno.land/std@0.167.0/fs/mod.ts";
export { copy } from "https://deno.land/std@0.167.0/streams/conversion.ts";
} from "https://deno.land/std@0.170.0/fmt/colors.ts";
export { dirname } from "https://deno.land/std@0.170.0/path/mod.ts";
export { expandGlob } from "https://deno.land/std@0.170.0/fs/mod.ts";
export type { WalkEntry } from "https://deno.land/std@0.170.0/fs/mod.ts";
export { copy } from "https://deno.land/std@0.170.0/streams/conversion.ts";

/* 3rd party */
export { gt, lt } from "https://deno.land/x/semver@v1.4.1/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion examples/ansi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S deno run --unstable

import { colors, tty } from "../ansi/mod.ts";
import { delay } from "https://deno.land/std@0.167.0/async/delay.ts";
import { delay } from "https://deno.land/std@0.170.0/async/delay.ts";

const error = colors.bold.red;
const warn = colors.bold.yellow;
Expand Down
2 changes: 1 addition & 1 deletion examples/ansi/custom.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run --unstable --allow-net=deno.land

import { rgb24 } from "https://deno.land/std@0.167.0/fmt/colors.ts";
import { rgb24 } from "https://deno.land/std@0.170.0/fmt/colors.ts";
import { tty } from "../../ansi/tty.ts";

const response = await fetch("https://deno.land/images/hashrock_simple.png");
Expand Down
2 changes: 1 addition & 1 deletion examples/ansi/demo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as stdColors from "https://deno.land/std@0.167.0/fmt/colors.ts";
import * as stdColors from "https://deno.land/std@0.170.0/fmt/colors.ts";
import * as ansiEscapes from "../../ansi/ansi_escapes.ts";

const ansiEscapeNames1: Array<keyof typeof ansiEscapes> = [
Expand Down
2 changes: 1 addition & 1 deletion examples/command.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S deno run --allow-net=localhost:8080,deno.land

import { Command } from "../command/mod.ts";
import { serve } from "https://deno.land/std@0.167.0/http/server.ts";
import { serve } from "https://deno.land/std@0.170.0/http/server.ts";

await new Command()
.name("reverse-proxy")
Expand Down
2 changes: 1 addition & 1 deletion examples/command/examples.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run

import { red } from "https://deno.land/std@0.167.0/fmt/colors.ts";
import { red } from "https://deno.land/std@0.170.0/fmt/colors.ts";
import { Command } from "../../command/command.ts";

await new Command()
Expand Down
2 changes: 1 addition & 1 deletion examples/prompt/custom_prompts.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run --unstable

import { BufReader } from "https://deno.land/std@0.167.0/io/buffer.ts";
import { BufReader } from "https://deno.land/std@0.170.0/io/buffer.ts";
import { tty } from "../../ansi/tty.ts";
import { Figures } from "../../prompt/figures.ts";
import { prompt } from "../../prompt/prompt.ts";
Expand Down
2 changes: 1 addition & 1 deletion examples/prompt/prompt_demo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run --unstable

import { rgb24 } from "https://deno.land/std@0.167.0/fmt/colors.ts";
import { rgb24 } from "https://deno.land/std@0.170.0/fmt/colors.ts";
import { tty } from "../../ansi/tty.ts";
import { prompt } from "../../prompt/prompt.ts";
import { Checkbox } from "../../prompt/checkbox.ts";
Expand Down
2 changes: 1 addition & 1 deletion examples/table/random_table_demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
strikethrough,
underline,
yellow,
} from "https://deno.land/std@0.167.0/fmt/colors.ts";
} from "https://deno.land/std@0.170.0/fmt/colors.ts";
import { tty } from "../../ansi/tty.ts";
import { Cell, ICell } from "../../table/cell.ts";
import { Table } from "../../table/table.ts";
Expand Down
4 changes: 2 additions & 2 deletions prompt/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export {
stripColor,
underline,
yellow,
} from "https://deno.land/std@0.167.0/fmt/colors.ts";
} from "https://deno.land/std@0.170.0/fmt/colors.ts";
export {
dirname,
join,
normalize,
} from "https://deno.land/std@0.167.0/path/mod.ts";
} from "https://deno.land/std@0.170.0/path/mod.ts";
2 changes: 1 addition & 1 deletion table/deps.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { stripColor } from "https://deno.land/std@0.167.0/fmt/colors.ts";
export { stripColor } from "https://deno.land/std@0.170.0/fmt/colors.ts";

0 comments on commit f9d0252

Please sign in to comment.