Skip to content

Commit

Permalink
chore: update to std 0.212.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Jan 26, 2024
1 parent 09fd336 commit a854c72
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion _build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

import { build, emptyDir } from "https://deno.land/x/dnt@0.39.0/mod.ts";
import { copy } from "https://deno.land/std@0.211.0/fs/copy.ts";
import { copy } from "https://deno.land/std@0.212.0/fs/copy.ts";

async function start() {
await emptyDir("./npm");
Expand Down
26 changes: 13 additions & 13 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@

// `std` dependencies

export { concat } from "https://deno.land/std@0.211.0/bytes/concat.ts";
export { copy as copyBytes } from "https://deno.land/std@0.211.0/bytes/copy.ts";
export { timingSafeEqual } from "https://deno.land/std@0.211.0/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.211.0/crypto/unstable_keystack.ts";
export { encodeBase64 } from "https://deno.land/std@0.211.0/encoding/base64.ts";
export { concat } from "https://deno.land/std@0.212.0/bytes/concat.ts";
export { copy as copyBytes } from "https://deno.land/std@0.212.0/bytes/copy.ts";
export { timingSafeEqual } from "https://deno.land/std@0.212.0/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.212.0/crypto/unstable_keystack.ts";
export { encodeBase64 } from "https://deno.land/std@0.212.0/encoding/base64.ts";
export {
calculate,
type ETagOptions,
type FileInfo,
ifMatch,
ifNoneMatch,
} from "https://deno.land/std@0.211.0/http/etag.ts";
} from "https://deno.land/std@0.212.0/http/etag.ts";
export {
accepts,
acceptsEncodings,
acceptsLanguages,
} from "https://deno.land/std@0.211.0/http/negotiation.ts";
export { UserAgent } from "https://deno.land/std@0.211.0/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.211.0/io/mod.ts";
export { contentType } from "https://deno.land/std@0.211.0/media_types/content_type.ts";
export { typeByExtension } from "https://deno.land/std@0.211.0/media_types/type_by_extension.ts";
export { readAll } from "https://deno.land/std@0.211.0/streams/mod.ts";
} from "https://deno.land/std@0.212.0/http/negotiation.ts";
export { UserAgent } from "https://deno.land/std@0.212.0/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.212.0/io/mod.ts";
export { contentType } from "https://deno.land/std@0.212.0/media_types/content_type.ts";
export { typeByExtension } from "https://deno.land/std@0.212.0/media_types/type_by_extension.ts";
export { readAll } from "https://deno.land/std@0.212.0/streams/mod.ts";
export {
basename,
extname,
Expand All @@ -34,7 +34,7 @@ export {
normalize,
parse,
SEP,
} from "https://deno.land/std@0.211.0/path/mod.ts";
} from "https://deno.land/std@0.212.0/path/mod.ts";

// 3rd party dependencies

Expand Down
2 changes: 1 addition & 1 deletion examples/closeServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import { Application, Context, Router, Status } from "../mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion examples/cookieServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import { Application } from "../mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion examples/countingServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import {
Application,
Expand Down
2 changes: 1 addition & 1 deletion examples/httpsServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import { Application } from "../mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion examples/proxyServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
green,
red,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import { Application, HttpError, proxy, Status } from "../mod.ts";

Expand Down
4 changes: 2 additions & 2 deletions examples/readerServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*/

// Importing some console colors
import { bold, yellow } from "https://deno.land/std@0.211.0/fmt/colors.ts";
import { StringReader } from "https://deno.land/std@0.211.0/io/string_reader.ts";
import { bold, yellow } from "https://deno.land/std@0.212.0/fmt/colors.ts";
import { StringReader } from "https://deno.land/std@0.212.0/io/string_reader.ts";

import { Application } from "../mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion examples/routingServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import {
Application,
Expand Down
2 changes: 1 addition & 1 deletion examples/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import { Application } from "../mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion examples/sseServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
cyan,
green,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import {
Application,
Expand Down
2 changes: 1 addition & 1 deletion examples/staticServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
green,
red,
yellow,
} from "https://deno.land/std@0.211.0/fmt/colors.ts";
} from "https://deno.land/std@0.212.0/fmt/colors.ts";

import { Application, HttpError, Status } from "../mod.ts";

Expand Down
2 changes: 1 addition & 1 deletion request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class Request {
/** An object representing the requesting user agent. If the `User-Agent`
* header isn't defined in the request, all the properties will be undefined.
*
* See [std/http/user_agent#UserAgent](https://deno.land/std@0.211.0/http/user_agent.ts?s=UserAgent)
* See [std/http/user_agent#UserAgent](https://deno.land/std@0.212.0/http/user_agent.ts?s=UserAgent)
* for more information.
*/
get userAgent(): UserAgent {
Expand Down
14 changes: 7 additions & 7 deletions test_deps.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright 2018-2023 the oak authors. All rights reserved. MIT license.

export { assert } from "https://deno.land/std@0.211.0/assert/assert.ts";
export { assertEquals } from "https://deno.land/std@0.211.0/assert/assert_equals.ts";
export { assertInstanceOf } from "https://deno.land/std@0.211.0/assert/assert_instance_of.ts";
export { assertRejects } from "https://deno.land/std@0.211.0/assert/assert_rejects.ts";
export { assertStrictEquals } from "https://deno.land/std@0.211.0/assert/assert_strict_equals.ts";
export { assertThrows } from "https://deno.land/std@0.211.0/assert/assert_throws.ts";
export { unreachable } from "https://deno.land/std@0.211.0/assert/unreachable.ts";
export { assert } from "https://deno.land/std@0.212.0/assert/assert.ts";
export { assertEquals } from "https://deno.land/std@0.212.0/assert/assert_equals.ts";
export { assertInstanceOf } from "https://deno.land/std@0.212.0/assert/assert_instance_of.ts";
export { assertRejects } from "https://deno.land/std@0.212.0/assert/assert_rejects.ts";
export { assertStrictEquals } from "https://deno.land/std@0.212.0/assert/assert_strict_equals.ts";
export { assertThrows } from "https://deno.land/std@0.212.0/assert/assert_throws.ts";
export { unreachable } from "https://deno.land/std@0.212.0/assert/unreachable.ts";

0 comments on commit a854c72

Please sign in to comment.