Skip to content

Commit

Permalink
chore: update to std 0.200.0 and dnt 0.38.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Aug 30, 2023
1 parent da6d30d commit eb51995
Show file tree
Hide file tree
Showing 15 changed files with 213 additions and 159 deletions.
4 changes: 2 additions & 2 deletions _build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
* @module
*/

import { build, emptyDir } from "https://deno.land/x/dnt@0.37.0/mod.ts";
import { copy } from "https://deno.land/std@0.194.0/fs/copy.ts";
import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts";
import { copy } from "https://deno.land/std@0.200.0/fs/copy.ts";

async function start() {
await emptyDir("./npm");
Expand Down
304 changes: 179 additions & 125 deletions deno.lock

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,68 +7,68 @@
export {
type Deferred,
deferred,
} from "https://deno.land/std@0.194.0/async/deferred.ts";
} from "https://deno.land/std@0.200.0/async/deferred.ts";
export {
concat,
copy as copyBytes,
equals,
} from "https://deno.land/std@0.194.0/bytes/mod.ts";
export { timingSafeEqual } from "https://deno.land/std@0.194.0/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.194.0/crypto/keystack.ts";
export * as base64 from "https://deno.land/std@0.194.0/encoding/base64.ts";
} from "https://deno.land/std@0.200.0/bytes/mod.ts";
export { timingSafeEqual } from "https://deno.land/std@0.200.0/crypto/timing_safe_equal.ts";
export { KeyStack } from "https://deno.land/std@0.200.0/crypto/keystack.ts";
export * as base64 from "https://deno.land/std@0.200.0/encoding/base64.ts";
export {
mergeHeaders,
SecureCookieMap,
type SecureCookieMapGetOptions,
type SecureCookieMapSetDeleteOptions,
} from "https://deno.land/std@0.194.0/http/cookie_map.ts";
} from "https://deno.land/std@0.200.0/http/cookie_map.ts";
export {
createHttpError,
errors,
HttpError,
type HttpErrorOptions,
isHttpError,
} from "https://deno.land/std@0.194.0/http/http_errors.ts";
} from "https://deno.land/std@0.200.0/http/http_errors.ts";
export {
type ErrorStatus,
isErrorStatus,
isRedirectStatus,
type RedirectStatus,
Status,
STATUS_TEXT,
} from "https://deno.land/std@0.194.0/http/http_status.ts";
} from "https://deno.land/std@0.200.0/http/http_status.ts";
export {
calculate,
type ETagOptions,
type FileInfo,
ifMatch,
ifNoneMatch,
} from "https://deno.land/std@0.194.0/http/etag.ts";
export { type HttpMethod as HTTPMethods } from "https://deno.land/std@0.194.0/http/method.ts";
} from "https://deno.land/std@0.200.0/http/etag.ts";
export { type HttpMethod as HTTPMethods } from "https://deno.land/std@0.200.0/http/method.ts";
export {
accepts,
acceptsEncodings,
acceptsLanguages,
} from "https://deno.land/std@0.194.0/http/negotiation.ts";
} from "https://deno.land/std@0.200.0/http/negotiation.ts";
export {
ServerSentEvent,
type ServerSentEventInit,
ServerSentEventStreamTarget,
type ServerSentEventTarget,
type ServerSentEventTargetOptions,
} from "https://deno.land/std@0.194.0/http/server_sent_event.ts";
export { UserAgent } from "https://deno.land/std@0.194.0/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.194.0/io/mod.ts";
} from "https://deno.land/std@0.200.0/http/server_sent_event.ts";
export { UserAgent } from "https://deno.land/std@0.200.0/http/user_agent.ts";
export { LimitedReader } from "https://deno.land/std@0.200.0/io/mod.ts";
export {
contentType,
extension,
typeByExtension,
} from "https://deno.land/std@0.194.0/media_types/mod.ts";
} from "https://deno.land/std@0.200.0/media_types/mod.ts";
export {
readAll,
readerFromStreamReader,
writeAll,
} from "https://deno.land/std@0.194.0/streams/mod.ts";
} from "https://deno.land/std@0.200.0/streams/mod.ts";
export {
basename,
extname,
Expand All @@ -77,7 +77,7 @@ export {
normalize,
parse,
SEP,
} from "https://deno.land/std@0.194.0/path/mod.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
import { StringReader } from "https://deno.land/std@0.194.0/io/string_reader.ts";
import { bold, yellow } from "https://deno.land/std@0.200.0/fmt/colors.ts";
import { StringReader } from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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.194.0/fmt/colors.ts";
} from "https://deno.land/std@0.200.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 @@ -143,7 +143,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.194.0/http/user_agent.ts?s=UserAgent)
* See [std/http/user_agent#UserAgent](https://deno.land/std@0.200.0/http/user_agent.ts?s=UserAgent)
* for more information.
*/
get userAgent(): UserAgent {
Expand Down
6 changes: 3 additions & 3 deletions test_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export {
BufWriter,
StringReader,
StringWriter,
} from "https://deno.land/std@0.194.0/io/mod.ts";
export { writeAllSync } from "https://deno.land/std@0.194.0/streams/mod.ts";
} from "https://deno.land/std@0.200.0/io/mod.ts";
export { writeAllSync } from "https://deno.land/std@0.200.0/streams/mod.ts";
export {
assert,
assertEquals,
Expand All @@ -15,4 +15,4 @@ export {
assertStrictEquals,
assertThrows,
unreachable,
} from "https://deno.land/std@0.194.0/testing/asserts.ts";
} from "https://deno.land/std@0.200.0/testing/asserts.ts";

0 comments on commit eb51995

Please sign in to comment.