From c5b90a46df56120c17f686e6981c84c66900b1be Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Fri, 8 Jul 2022 08:55:44 +0900 Subject: [PATCH] feat(deno): export everythings from middlewares (#349) --- deno_dist/mod.ts | 26 +++++++++++++------------- src/mod.ts | 26 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/deno_dist/mod.ts b/deno_dist/mod.ts index ebd44887..881fec08 100644 --- a/deno_dist/mod.ts +++ b/deno_dist/mod.ts @@ -21,16 +21,16 @@ export { RegExpRouter } from './router/reg-exp-router/index.ts' export { TrieRouter } from './router/trie-router/index.ts' // Middleware -export { basicAuth } from './middleware/basic-auth/index.ts' -export { bearerAuth } from './middleware/bearer-auth/index.ts' -export { bodyParse } from './middleware/body-parse/index.ts' -export { cookie } from './middleware/cookie/index.ts' -export { cors } from './middleware/cors/index.ts' -export { etag } from './middleware/etag/index.ts' -export { html } from './middleware/html/index.ts' -export { jsx } from './middleware/jsx/index.ts' -export { jwt } from './middleware/jwt/index.ts' -export { logger } from './middleware/logger/index.ts' -export { poweredBy } from './middleware/powered-by/index.ts' -export { prettyJSON } from './middleware/pretty-json/index.ts' -export { serveStatic } from './deno/serve-static.ts' +export * from './middleware/basic-auth/index.ts' +export * from './middleware/bearer-auth/index.ts' +export * from './middleware/body-parse/index.ts' +export * from './middleware/cookie/index.ts' +export * from './middleware/cors/index.ts' +export * from './middleware/etag/index.ts' +export * from './middleware/html/index.ts' +export * from './middleware/jsx/index.ts' +export * from './middleware/jwt/index.ts' +export * from './middleware/logger/index.ts' +export * from './middleware/powered-by/index.ts' +export * from './middleware/pretty-json/index.ts' +export * from './deno/serve-static.ts' diff --git a/src/mod.ts b/src/mod.ts index 4cae2a0a..d3b83c30 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -21,16 +21,16 @@ export { RegExpRouter } from './router/reg-exp-router' export { TrieRouter } from './router/trie-router' // Middleware -export { basicAuth } from './middleware/basic-auth' -export { bearerAuth } from './middleware/bearer-auth' -export { bodyParse } from './middleware/body-parse' -export { cookie } from './middleware/cookie' -export { cors } from './middleware/cors' -export { etag } from './middleware/etag' -export { html } from './middleware/html' -export { jsx } from './middleware/jsx' -export { jwt } from './middleware/jwt' -export { logger } from './middleware/logger' -export { poweredBy } from './middleware/powered-by' -export { prettyJSON } from './middleware/pretty-json' -export { serveStatic } from './deno/serve-static' +export * from './middleware/basic-auth' +export * from './middleware/bearer-auth' +export * from './middleware/body-parse' +export * from './middleware/cookie' +export * from './middleware/cors' +export * from './middleware/etag' +export * from './middleware/html' +export * from './middleware/jsx' +export * from './middleware/jwt' +export * from './middleware/logger' +export * from './middleware/powered-by' +export * from './middleware/pretty-json' +export * from './deno/serve-static'