Skip to content

Commit

Permalink
upgrade: use std 0.70 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wooseok Lee committed Sep 19, 2020
1 parent 0c16bc6 commit 68fbc9e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 19 deletions.
49 changes: 32 additions & 17 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
export {
serve,
serveTLS,
} from "https://deno.land/std@0.70.0/http/server.ts";

export type {
ServerRequest,
Server,
Response
} from "https://deno.land/std@0.65.0/http/server.ts";
export { Status, STATUS_TEXT } from "https://deno.land/std@0.65.0/http/http_status.ts";
Response,
} from "https://deno.land/std@0.70.0/http/server.ts";


export {
Status,
STATUS_TEXT,
} from "https://deno.land/std@0.70.0/http/http_status.ts";

export {
contentType,
Expand All @@ -16,12 +23,13 @@ export {

export {
deferred,
Deferred
} from "https://deno.land/std@0.65.0/async/mod.ts";
} from "https://deno.land/std@0.70.0/async/mod.ts";

export type { Deferred } from "https://deno.land/std@0.70.0/async/mod.ts";

export {
Sha1,
} from "https://deno.land/std@0.65.0/hash/sha1.ts";
} from "https://deno.land/std@0.70.0/hash/sha1.ts";

export {
pathToRegexp,
Expand All @@ -36,22 +44,29 @@ export {
bold,
blue,
magenta,
} from "https://deno.land/std@0.65.0/fmt/colors.ts";
} from "https://deno.land/std@0.70.0/fmt/colors.ts";

export { default as isEmpty } from "https://raw.githubusercontent.com/lodash/lodash/master/isEmpty.js";

export { extname } from "https://deno.land/std@0.65.0/path/mod.ts";
export { extname } from "https://deno.land/std@0.70.0/path/mod.ts";

export { parse } from "https://deno.land/std@0.65.0/flags/mod.ts";
export { ensureDir } from "https://deno.land/std@0.65.0/fs/mod.ts";
export { EventEmitter } from "https://deno.land/std@0.65.0/node/events.ts";
export { listenAndServe } from "https://deno.land/std@0.65.0/http/server.ts";
export { acceptWebSocket, acceptable, isWebSocketCloseEvent } from "https://deno.land/std@0.65.0/ws/mod.ts";
export { parse as yamlParse, stringify as yamlStringify } from "https://deno.land/std@0.65.0/encoding/yaml.ts";
export { parse } from "https://deno.land/std@0.70.0/flags/mod.ts";
export { ensureDir } from "https://deno.land/std@0.70.0/fs/mod.ts";
export { EventEmitter } from "https://deno.land/std@0.70.0/node/events.ts";
export { listenAndServe } from "https://deno.land/std@0.70.0/http/server.ts";
export {
acceptWebSocket,
acceptable,
isWebSocketCloseEvent,
} from "https://deno.land/std@0.70.0/ws/mod.ts";
export {
parse as yamlParse,
stringify as yamlStringify,
} from "https://deno.land/std@0.70.0/encoding/yaml.ts";

export { assert } from "https://deno.land/std@0.65.0/testing/asserts.ts";
export { assert } from "https://deno.land/std@0.70.0/testing/asserts.ts";

export { copyBytes, equal } from "https://deno.land/std@0.65.0/bytes/mod.ts";
export { copyBytes, equal } from "https://deno.land/std@0.70.0/bytes/mod.ts";
export {
posix,
} from "https://deno.land/std@0.65.0/path/mod.ts";
} from "https://deno.land/std@0.70.0/path/mod.ts";
4 changes: 2 additions & 2 deletions test/test_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export {
assertStrictEquals,
assertThrows,
assertThrowsAsync,
} from "https://deno.land/std@0.65.0/testing/asserts.ts";
} from "https://deno.land/std@0.70.0/testing/asserts.ts";

export { runBenchmarks, bench } from "https://deno.land/std@0.65.0/testing/bench.ts";
export { runBenchmarks, bench } from "https://deno.land/std@0.70.0/testing/bench.ts";

0 comments on commit 68fbc9e

Please sign in to comment.