diff --git a/README.md b/README.md index 052765b..726e4ba 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ import { post, redirect, contentType, -} from "https://denopkg.com/syumai/dinatra@0.13.0/mod.ts"; +} from "https://denopkg.com/syumai/dinatra@0.13.1/mod.ts"; app( get("/hello", () => "hello"), diff --git a/dem.json b/dem.json index 421a610..7791bb1 100644 --- a/dem.json +++ b/dem.json @@ -3,7 +3,7 @@ { "protocol": "https", "path": "deno.land/std", - "version": "v0.61.0", + "version": "0.73.0", "files": [ "/encoding/utf8.ts", "/flags/mod.ts", diff --git a/example/index.ts b/example/index.ts index 051f90e..d82645f 100644 --- a/example/index.ts +++ b/example/index.ts @@ -1,4 +1,4 @@ -import { app, get, post, redirect, contentType } from "../mod.ts"; +import { app, contentType, get, post, redirect } from "../mod.ts"; app( get("/hello", () => "hello"), diff --git a/mod.ts b/mod.ts index 3705bd7..202de1a 100644 --- a/mod.ts +++ b/mod.ts @@ -3,22 +3,22 @@ import { Server, ServerRequest, } from "./vendor/https/deno.land/std/http/server.ts"; -import { Response, processResponse } from "./response.ts"; +import { processResponse, Response } from "./response.ts"; import { ErrorCode, getErrorMessage } from "./errors.ts"; -import { Method, Handler, HandlerConfig } from "./handler.ts"; +import { Handler, HandlerConfig, Method } from "./handler.ts"; import { Params, parseURLSearchParams } from "./params.ts"; import { defaultPort } from "./constants.ts"; import { detectedContentType } from "./mime.ts"; import { ReadCloser } from "./io.ts"; export { contentType, detectedContentType } from "./mime.ts"; export { + del, get, + link, + options, + patch, post, put, - patch, - del, - options, - link, unlink, } from "./handler.ts"; export { redirect } from "./helpers.ts"; diff --git a/vendor/https/deno.land/std/encoding/utf8.ts b/vendor/https/deno.land/std/encoding/utf8.ts index 494c172..e5e3dcc 100644 --- a/vendor/https/deno.land/std/encoding/utf8.ts +++ b/vendor/https/deno.land/std/encoding/utf8.ts @@ -1 +1 @@ -export * from "https://deno.land/std@v0.61.0/encoding/utf8.ts"; +export * from "https://deno.land/std@0.73.0/encoding/utf8.ts"; diff --git a/vendor/https/deno.land/std/flags/mod.ts b/vendor/https/deno.land/std/flags/mod.ts index 2d1bb1e..68d33d9 100644 --- a/vendor/https/deno.land/std/flags/mod.ts +++ b/vendor/https/deno.land/std/flags/mod.ts @@ -1 +1 @@ -export * from "https://deno.land/std@v0.61.0/flags/mod.ts"; +export * from "https://deno.land/std@0.73.0/flags/mod.ts"; diff --git a/vendor/https/deno.land/std/http/server.ts b/vendor/https/deno.land/std/http/server.ts index a6f5ebc..d4ea2a8 100644 --- a/vendor/https/deno.land/std/http/server.ts +++ b/vendor/https/deno.land/std/http/server.ts @@ -1 +1 @@ -export * from "https://deno.land/std@v0.61.0/http/server.ts"; +export * from "https://deno.land/std@0.73.0/http/server.ts"; diff --git a/vendor/https/deno.land/std/testing/asserts.ts b/vendor/https/deno.land/std/testing/asserts.ts index dc76bd5..b01b5cd 100644 --- a/vendor/https/deno.land/std/testing/asserts.ts +++ b/vendor/https/deno.land/std/testing/asserts.ts @@ -1 +1 @@ -export * from "https://deno.land/std@v0.61.0/testing/asserts.ts"; +export * from "https://deno.land/std@0.73.0/testing/asserts.ts";