Skip to content

Commit

Permalink
chore(deno): update deno/std to v0.61.0 and deno ci version to v1.2.0 (
Browse files Browse the repository at this point in the history
…#45)

Cliffy requires now deno v1.2.0
  • Loading branch information
notfilippo authored Jul 14, 2020
1 parent d661cc4 commit f23da64
Show file tree
Hide file tree
Showing 40 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
deno_version: [ 'v1.0.0', 'v1.1.0', 'v1.1.2' ]
deno_version: [ 'v1.2.0' ]

steps:
- name: Configure git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
2 changes: 1 addition & 1 deletion packages/ansi-escape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github&color=blue" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
2 changes: 1 addition & 1 deletion packages/ansi-escape/lib/ansi-escape.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { cursor, erase, image, ImageOptions, link, scroll } from './csi.ts';

export class AnsiEscape {
Expand Down
2 changes: 1 addition & 1 deletion packages/command/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github&color=blue" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
2 changes: 1 addition & 1 deletion packages/command/commands/completions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, dim, italic } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, dim, italic } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Command } from '../lib/command.ts';
import { BashCompletionsCommand } from './completions/bash.ts';
import { CompleteCommand } from './completions/complete.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/command/commands/completions/complete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { IFlags } from '../../../flags/lib/types.ts';
import { Command } from '../../lib/command.ts';
import { ICompleteSettings } from '../../lib/types.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/command/lib/arguments-parser.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { green, magenta, red, yellow } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { green, magenta, red, yellow } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { OptionType } from '../../flags/lib/types.ts';
import { IArgumentDetails } from './types.ts';

Expand Down
4 changes: 2 additions & 2 deletions packages/command/lib/command.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { stdout, stderr } = Deno;
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { dim, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { dim, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { parseFlags } from '../../flags/lib/flags.ts';
import { IFlagArgument, IFlagOptions, IFlagsResult, IFlagValue, IFlagValueHandler, IFlagValueType, ITypeHandler } from '../../flags/lib/types.ts';
import { fill } from '../../flags/lib/utils.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/command/lib/help-generator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue, bold, dim, magenta, red, yellow } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue, bold, dim, magenta, red, yellow } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { IFlagOptions } from '../../flags/lib/types.ts';
import { Table } from '../../table/lib/table.ts';
import format from '../../x/format.ts';
Expand Down
4 changes: 2 additions & 2 deletions packages/command/test/lib/assert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assert,
assertEquals,
assertStrictEq,
assertStrictEquals,
assertThrows,
assertThrowsAsync
} from 'https://deno.land/std@v0.52.0/testing/asserts.ts';
} from 'https://deno.land/std@v0.61.0/testing/asserts.ts';
2 changes: 1 addition & 1 deletion packages/flags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github&color=blue" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
4 changes: 2 additions & 2 deletions packages/flags/test/lib/assert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assert,
assertEquals,
assertStrictEq,
assertStrictEquals,
assertThrows,
assertThrowsAsync
} from 'https://deno.land/std@v0.52.0/testing/asserts.ts';
} from 'https://deno.land/std@v0.61.0/testing/asserts.ts';
2 changes: 1 addition & 1 deletion packages/keycode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github&color=blue" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
2 changes: 1 addition & 1 deletion packages/keycode/lib/key-code.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { decode, encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { decode, encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { KeyMap, KeyMapCtrl, KeyMapShift } from './key-codes.ts';
import { IKey, KeyEvent } from './key-event.ts';

Expand Down
4 changes: 2 additions & 2 deletions packages/keycode/test/lib/assert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assert,
assertEquals,
assertStrictEq,
assertStrictEquals,
assertThrows,
assertThrowsAsync
} from 'https://deno.land/std@v0.52.0/testing/asserts.ts';
} from 'https://deno.land/std@v0.61.0/testing/asserts.ts';
2 changes: 1 addition & 1 deletion packages/prompt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github&color=blue" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
4 changes: 2 additions & 2 deletions packages/prompt/lib/generic-input.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { underline } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { underline } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { KeyEvent } from '../../keycode/lib/key-event.ts';
import { stripeColors } from '../../table/lib/utils.ts';
import { GenericPrompt, GenericPromptOptions, GenericPromptSettings } from './generic-prompt.ts';
Expand Down
4 changes: 2 additions & 2 deletions packages/prompt/lib/generic-prompt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { blue, bold, dim, green, red, yellow } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { blue, bold, dim, green, red, yellow } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { AnsiEscape } from '../../ansi-escape/lib/ansi-escape.ts';
import { KeyEvent } from '../../keycode/lib/key-event.ts';
import format from '../../x/format.ts';
Expand Down
4 changes: 2 additions & 2 deletions packages/prompt/lib/read-line.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { decode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { BufReader } from 'https://deno.land/std@v0.52.0/io/bufio.ts';
import { decode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { BufReader } from 'https://deno.land/std@v0.61.0/io/bufio.ts';
import { KeyCode, KeyEvent } from '../../keycode/mod.ts';

export async function readLineSync(): Promise<string | undefined> {
Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/prompts/checkbox.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue, dim, green, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue, dim, green, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { KeyEvent } from '../../keycode/mod.ts';
import { Figures } from '../lib/figures.ts';
import { GenericList, GenericListOption, GenericListOptions, GenericListOptionSettings, GenericListSettings } from '../lib/generic-list.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/prompts/confirm.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue, bold, dim, yellow } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue, bold, dim, yellow } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Figures } from '../lib/figures.ts';
import { GenericInput, GenericInputPromptOptions, GenericInputPromptSettings } from '../lib/generic-input.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/prompts/input.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Figures } from '../lib/figures.ts';
import { GenericInput, GenericInputPromptOptions, GenericInputPromptSettings } from '../lib/generic-input.ts';

Expand Down
4 changes: 2 additions & 2 deletions packages/prompt/prompts/list.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { blue, underline } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { blue, underline } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { stripeColors } from '../../table/lib/utils.ts';
import { Figures } from '../lib/figures.ts';
import { GenericInput, GenericInputPromptOptions, GenericInputPromptSettings } from '../lib/generic-input.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/prompts/number.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { KeyEvent } from '../../keycode/lib/key-event.ts';
import { Figures } from '../lib/figures.ts';
import { GenericInput, GenericInputPromptOptions, GenericInputPromptSettings } from '../lib/generic-input.ts';
Expand Down
4 changes: 2 additions & 2 deletions packages/prompt/prompts/secret.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { blue, green, underline } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { blue, green, underline } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { stripeColors } from '../../table/lib/utils.ts';
import { Figures } from '../lib/figures.ts';
import { GenericInput, GenericInputPromptOptions, GenericInputPromptSettings } from '../lib/generic-input.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/prompts/select.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue, dim } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue, dim } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { KeyEvent } from '../../keycode/lib/key-event.ts';
import { Figures } from '../lib/figures.ts';
import { GenericList, GenericListOption, GenericListOptions, GenericListOptionSettings, GenericListSettings } from '../lib/generic-list.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/prompts/toggle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { blue, dim, underline } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { blue, dim, underline } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { KeyEvent } from '../../keycode/lib/key-event.ts';
import { Figures } from '../lib/figures.ts';
import { GenericInput, GenericInputPromptOptions, GenericInputPromptSettings } from '../lib/generic-input.ts';
Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/checkbox_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Checkbox } from '../prompts/checkbox.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/confirm_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Confirm } from '../prompts/confirm.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/input_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Input } from '../prompts/input.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
4 changes: 2 additions & 2 deletions packages/prompt/test/lib/assert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assert,
assertEquals,
assertStrictEq,
assertStrictEquals,
assertThrows,
assertThrowsAsync
} from 'https://deno.land/std@v0.52.0/testing/asserts.ts';
} from 'https://deno.land/std@v0.61.0/testing/asserts.ts';
2 changes: 1 addition & 1 deletion packages/prompt/test/list_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { List } from '../prompts/list.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/number_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Number } from '../prompts/number.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/secret_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Secret } from '../prompts/secret.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/select_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Select } from '../prompts/select.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/prompt/test/toggle_test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, red } from 'https://deno.land/std@v0.52.0/fmt/colors.ts';
import { bold, red } from 'https://deno.land/std@v0.61.0/fmt/colors.ts';
import { Toggle } from '../prompts/toggle.ts';
import { assertEquals, assertThrowsAsync } from './lib/assert.ts';

Expand Down
2 changes: 1 addition & 1 deletion packages/table/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="Release date" src="https://img.shields.io/github/release-date/c4spar/deno-cliffy?logo=github&color=blue" />
</a>
<a href="https://deno.land/">
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.0.0-blue?logo=deno" />
<img alt="Deno version" src="https://img.shields.io/badge/deno-^1.2.0-blue?logo=deno" />
</a>
<a href="https://github.com/c4spar/deno-cliffy/actions?query=workflow%3Aci">
<img alt="Build status" src="https://github.com/c4spar/deno-cliffy/workflows/ci/badge.svg?branch=master" />
Expand Down
2 changes: 1 addition & 1 deletion packages/table/lib/table.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { encode } from 'https://deno.land/std@v0.52.0/encoding/utf8.ts';
import { encode } from 'https://deno.land/std@v0.61.0/encoding/utf8.ts';
import { border } from './border.ts';
import { Cell, ICell } from './cell.ts';
import { CELL_PADDING, MAX_CELL_WIDTH, MIN_CELL_WIDTH } from './const.ts';
Expand Down
4 changes: 2 additions & 2 deletions packages/table/test/lib/assert.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assert,
assertEquals,
assertStrictEq,
assertStrictEquals,
assertThrows,
assertThrowsAsync
} from 'https://deno.land/std@v0.52.0/testing/asserts.ts';
} from 'https://deno.land/std@v0.61.0/testing/asserts.ts';

0 comments on commit f23da64

Please sign in to comment.