Skip to content

Commit

Permalink
chore: update to std 0.218.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Mar 2, 2024
1 parent 6a41fff commit 298bc6f
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/[email protected]/mod.ts";
import { copy } from "https://deno.land/std@0.217.0/fs/copy.ts";
import { copy } from "https://deno.land/std@0.218.2/fs/copy.ts";

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

// `std` dependencies

export { assert } from "https://deno.land/std@0.217.0/assert/assert.ts";
export { concat } from "https://deno.land/std@0.217.0/bytes/concat.ts";
export { copy as copyBytes } from "https://deno.land/std@0.217.0/bytes/copy.ts";
export { timingSafeEqual } from "https://deno.land/std@0.217.0/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.217.0/crypto/unstable_keystack.ts";
export { encodeBase64 } from "https://deno.land/std@0.217.0/encoding/base64.ts";
export { assert } from "https://deno.land/std@0.218.2/assert/assert.ts";
export { concat } from "https://deno.land/std@0.218.2/bytes/concat.ts";
export { copy as copyBytes } from "https://deno.land/std@0.218.2/bytes/copy.ts";
export { timingSafeEqual } from "https://deno.land/std@0.218.2/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.218.2/crypto/unstable_keystack.ts";
export { encodeBase64 } from "https://deno.land/std@0.218.2/encoding/base64.ts";
export {
calculate,
type ETagOptions,
type FileInfo,
ifMatch,
ifNoneMatch,
} from "https://deno.land/std@0.217.0/http/etag.ts";
} from "https://deno.land/std@0.218.2/http/etag.ts";
export {
accepts,
acceptsEncodings,
acceptsLanguages,
} from "https://deno.land/std@0.217.0/http/negotiation.ts";
export { UserAgent } from "https://deno.land/std@0.217.0/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.217.0/io/limited_reader.ts";
export { readAll } from "https://deno.land/std@0.217.0/io/read_all.ts";
export { contentType } from "https://deno.land/std@0.217.0/media_types/content_type.ts";
export { typeByExtension } from "https://deno.land/std@0.217.0/media_types/type_by_extension.ts";
} from "https://deno.land/std@0.218.2/http/negotiation.ts";
export { UserAgent } from "https://deno.land/std@0.218.2/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.218.2/io/limited_reader.ts";
export { readAll } from "https://deno.land/std@0.218.2/io/read_all.ts";
export { contentType } from "https://deno.land/std@0.218.2/media_types/content_type.ts";
export { typeByExtension } from "https://deno.land/std@0.218.2/media_types/type_by_extension.ts";
export {
basename,
extname,
Expand All @@ -35,7 +35,7 @@ export {
normalize,
parse,
SEPARATOR,
} from "https://deno.land/std@0.217.0/path/mod.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
import { StringReader } from "https://deno.land/std@0.217.0/io/string_reader.ts";
import { bold, yellow } from "https://deno.land/std@0.218.2/fmt/colors.ts";
import { StringReader } from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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.217.0/fmt/colors.ts";
} from "https://deno.land/std@0.218.2/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 @@ -155,7 +155,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.217.0/http/user_agent.ts?s=UserAgent)
* See [std/http/user_agent#UserAgent](https://deno.land/std@0.218.2/http/user_agent.ts?s=UserAgent)
* for more information.
*/
get userAgent(): UserAgent {
Expand Down
12 changes: 6 additions & 6 deletions test_deps.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright 2018-2024 the oak authors. All rights reserved. MIT license.

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

0 comments on commit 298bc6f

Please sign in to comment.