diff --git a/middleware/cors.ts b/middleware/cors.ts index f2aa302..9a2de69 100644 --- a/middleware/cors.ts +++ b/middleware/cors.ts @@ -16,12 +16,12 @@ export interface CORSOptions { * @default none */ allowedHeaders?: string[]; - /** + /** * values for Access-Control-Expose-Headers * @default none */ exposedHeaders?: string[]; - /** + /** * values for Access-Control-Allow-Credentials * @default none */ diff --git a/modules-lock.json b/modules-lock.json index 2d68d73..f782993 100644 --- a/modules-lock.json +++ b/modules-lock.json @@ -1,6 +1,6 @@ { "https://deno.land/std": { - "version": "@0.92.0", + "version": "@0.100.0", "modules": [ "/testing/asserts.ts", "/textproto/mod.ts", diff --git a/modules.json b/modules.json index 2d68d73..f782993 100755 --- a/modules.json +++ b/modules.json @@ -1,6 +1,6 @@ { "https://deno.land/std": { - "version": "@0.92.0", + "version": "@0.100.0", "modules": [ "/testing/asserts.ts", "/textproto/mod.ts", diff --git a/responder.ts b/responder.ts index d38ad57..485de1e 100644 --- a/responder.ts +++ b/responder.ts @@ -6,7 +6,7 @@ import { contentTypeByExt } from "./media_types.ts"; /** Basic responder for http response */ export interface Responder extends CookieSetter { /** - * Respond to request + * Respond to request * Error will be thrown if request has already been responded. * headers is merged with responseHeaders * */ diff --git a/serve_static.ts b/serve_static.ts index 56b1bae..ab4c6f6 100644 --- a/serve_static.ts +++ b/serve_static.ts @@ -20,7 +20,7 @@ export interface ServeStaticOptions { contentDispositionMap?: Map; /** Custom filter function for files */ filter?: (file: string) => boolean | Promise; - /** + /** * Delactives for Cache-Control header * No value will be sent by default. * */ diff --git a/site/pages/concept.tsx b/site/pages/concept.tsx index 5032e42..c1098e6 100644 --- a/site/pages/concept.tsx +++ b/site/pages/concept.tsx @@ -11,7 +11,7 @@ export default () => (

Servest was developed as the optional HTTP server module to Deno's {" "} - + standard http module . diff --git a/types/react/index.d.ts b/types/react/index.d.ts index d5d1130..264f5ba 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -3332,9 +3332,9 @@ declare global { // We can't recurse forever because `type` can't be self-referential; // let's assume it's reasonable to do a single React.lazy() around a single React.memo() / vice-versa - type LibraryManagedAttributes = C extends + type LibraryManagedAttributes = C extends | React.MemoExoticComponent - | React.LazyExoticComponent ? T extends + | React.LazyExoticComponent ? T extends | React.MemoExoticComponent | React.LazyExoticComponent ? ReactManagedAttributes : ReactManagedAttributes diff --git a/vendor/https/deno.land/std/async/mod.ts b/vendor/https/deno.land/std/async/mod.ts index 243f50a..3b1a967 100644 --- a/vendor/https/deno.land/std/async/mod.ts +++ b/vendor/https/deno.land/std/async/mod.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/async/mod.ts"; +export * from "https://deno.land/std@0.100.0/async/mod.ts"; diff --git a/vendor/https/deno.land/std/datetime/mod.ts b/vendor/https/deno.land/std/datetime/mod.ts index f4c03c6..1658c53 100644 --- a/vendor/https/deno.land/std/datetime/mod.ts +++ b/vendor/https/deno.land/std/datetime/mod.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/datetime/mod.ts"; +export * from "https://deno.land/std@0.100.0/datetime/mod.ts"; diff --git a/vendor/https/deno.land/std/flags/mod.ts b/vendor/https/deno.land/std/flags/mod.ts index 2ec2c77..f623e3a 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@0.92.0/flags/mod.ts"; +export * from "https://deno.land/std@0.100.0/flags/mod.ts"; diff --git a/vendor/https/deno.land/std/fmt/colors.ts b/vendor/https/deno.land/std/fmt/colors.ts index fd4ac90..467d407 100644 --- a/vendor/https/deno.land/std/fmt/colors.ts +++ b/vendor/https/deno.land/std/fmt/colors.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/fmt/colors.ts"; +export * from "https://deno.land/std@0.100.0/fmt/colors.ts"; diff --git a/vendor/https/deno.land/std/fmt/printf.ts b/vendor/https/deno.land/std/fmt/printf.ts index cbd0ff4..e9dd991 100644 --- a/vendor/https/deno.land/std/fmt/printf.ts +++ b/vendor/https/deno.land/std/fmt/printf.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/fmt/printf.ts"; +export * from "https://deno.land/std@0.100.0/fmt/printf.ts"; diff --git a/vendor/https/deno.land/std/fs/exists.ts b/vendor/https/deno.land/std/fs/exists.ts index d1ff109..c901681 100644 --- a/vendor/https/deno.land/std/fs/exists.ts +++ b/vendor/https/deno.land/std/fs/exists.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/fs/exists.ts"; +export * from "https://deno.land/std@0.100.0/fs/exists.ts"; diff --git a/vendor/https/deno.land/std/fs/expand_glob.ts b/vendor/https/deno.land/std/fs/expand_glob.ts index 5e49c13..91541ba 100644 --- a/vendor/https/deno.land/std/fs/expand_glob.ts +++ b/vendor/https/deno.land/std/fs/expand_glob.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/fs/expand_glob.ts"; +export * from "https://deno.land/std@0.100.0/fs/expand_glob.ts"; diff --git a/vendor/https/deno.land/std/hash/sha1.ts b/vendor/https/deno.land/std/hash/sha1.ts index 0b5eb0f..3dfec69 100644 --- a/vendor/https/deno.land/std/hash/sha1.ts +++ b/vendor/https/deno.land/std/hash/sha1.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/hash/sha1.ts"; +export * from "https://deno.land/std@0.100.0/hash/sha1.ts"; diff --git a/vendor/https/deno.land/std/http/_io.ts b/vendor/https/deno.land/std/http/_io.ts index 2d6c385..a61238e 100644 --- a/vendor/https/deno.land/std/http/_io.ts +++ b/vendor/https/deno.land/std/http/_io.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/http/_io.ts"; +export * from "https://deno.land/std@0.100.0/http/_io.ts"; diff --git a/vendor/https/deno.land/std/http/http_status.ts b/vendor/https/deno.land/std/http/http_status.ts index 9224a08..c0b3b12 100644 --- a/vendor/https/deno.land/std/http/http_status.ts +++ b/vendor/https/deno.land/std/http/http_status.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/http/http_status.ts"; +export * from "https://deno.land/std@0.100.0/http/http_status.ts"; diff --git a/vendor/https/deno.land/std/io/buffer.ts b/vendor/https/deno.land/std/io/buffer.ts index 7dbf62b..ac842b5 100644 --- a/vendor/https/deno.land/std/io/buffer.ts +++ b/vendor/https/deno.land/std/io/buffer.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/io/buffer.ts"; +export * from "https://deno.land/std@0.100.0/io/buffer.ts"; diff --git a/vendor/https/deno.land/std/io/bufio.ts b/vendor/https/deno.land/std/io/bufio.ts index 10a9c3d..eb4e5e5 100644 --- a/vendor/https/deno.land/std/io/bufio.ts +++ b/vendor/https/deno.land/std/io/bufio.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/io/bufio.ts"; +export * from "https://deno.land/std@0.100.0/io/bufio.ts"; diff --git a/vendor/https/deno.land/std/io/readers.ts b/vendor/https/deno.land/std/io/readers.ts index fd925a8..f5445a4 100644 --- a/vendor/https/deno.land/std/io/readers.ts +++ b/vendor/https/deno.land/std/io/readers.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/io/readers.ts"; +export * from "https://deno.land/std@0.100.0/io/readers.ts"; diff --git a/vendor/https/deno.land/std/io/writers.ts b/vendor/https/deno.land/std/io/writers.ts index 3d6f14b..dd4cf26 100644 --- a/vendor/https/deno.land/std/io/writers.ts +++ b/vendor/https/deno.land/std/io/writers.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/io/writers.ts"; +export * from "https://deno.land/std@0.100.0/io/writers.ts"; diff --git a/vendor/https/deno.land/std/mime/multipart.ts b/vendor/https/deno.land/std/mime/multipart.ts index 4a02513..4c969ae 100644 --- a/vendor/https/deno.land/std/mime/multipart.ts +++ b/vendor/https/deno.land/std/mime/multipart.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/mime/multipart.ts"; +export * from "https://deno.land/std@0.100.0/mime/multipart.ts"; diff --git a/vendor/https/deno.land/std/path/mod.ts b/vendor/https/deno.land/std/path/mod.ts index e0c12d1..4b5ea88 100644 --- a/vendor/https/deno.land/std/path/mod.ts +++ b/vendor/https/deno.land/std/path/mod.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/path/mod.ts"; +export * from "https://deno.land/std@0.100.0/path/mod.ts"; diff --git a/vendor/https/deno.land/std/testing/asserts.ts b/vendor/https/deno.land/std/testing/asserts.ts index 12b014f..1a330ae 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@0.92.0/testing/asserts.ts"; +export * from "https://deno.land/std@0.100.0/testing/asserts.ts"; diff --git a/vendor/https/deno.land/std/textproto/mod.ts b/vendor/https/deno.land/std/textproto/mod.ts index ce236a6..d7d128f 100644 --- a/vendor/https/deno.land/std/textproto/mod.ts +++ b/vendor/https/deno.land/std/textproto/mod.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/textproto/mod.ts"; +export * from "https://deno.land/std@0.100.0/textproto/mod.ts"; diff --git a/vendor/https/deno.land/std/ws/mod.ts b/vendor/https/deno.land/std/ws/mod.ts index 99dba03..63b123b 100644 --- a/vendor/https/deno.land/std/ws/mod.ts +++ b/vendor/https/deno.land/std/ws/mod.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.92.0/ws/mod.ts"; +export * from "https://deno.land/std@0.100.0/ws/mod.ts";