diff --git a/README.md b/README.md index fbc3276..cc860e9 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![Reno logo](https://raw.githubusercontent.com/reno-router/reno/master/logo/reno-500.png) [![Build status](https://github.com/reno-router/reno/workflows/CI/badge.svg)](https://github.com/reno-router/reno/actions) -[![Deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/reno@v2.0.75/reno/mod.ts) +[![Deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/reno@v2.0.76/reno/mod.ts) [![Published on Nest.land](https://nest.land/badge.svg)](https://nest.land/package/reno) Reno is a thin routing library designed to sit on top of @@ -21,7 +21,7 @@ Reno is a thin routing library designed to sit on top of ## Overview ```tsx -import { serve } from "https://deno.land/std@0.170.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.171.0/http/server.ts"; import { AugmentedRequest, @@ -30,10 +30,10 @@ import { jsonResponse, MissingRouteError, streamResponse, -} from "https://deno.land/x/reno@v2.0.75/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.76/reno/mod.ts"; /* Alternatively, you can import Reno from nest.land: - * import { ... } from "https://x.nest.land/reno@2.0.75/reno/mod.ts"; + * import { ... } from "https://x.nest.land/reno@2.0.76/reno/mod.ts"; */ const PORT = 8000; @@ -101,7 +101,7 @@ testing Reno services a breeze: import { assertResponsesAreEqual, jsonResponse, -} from "https://deno.land/x/reno@v2.0.75/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.76/reno/mod.ts"; import { createRonSwansonQuoteHandler } from "./routes.ts"; const createFetchStub = (response: string[]) => @@ -196,7 +196,7 @@ import { AugmentedRequest, createRouteMap, RouteHandler, -} from "https://deno.land/x/reno@v2.0.75/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.76/reno/mod.ts"; import isValidAPIKey from "./api_keys.ts"; @@ -261,7 +261,7 @@ Deno.test("/ should return the expected response", async () => { ## Example Apps As well as the -[example app found in this repo](https://github.com/reno-router/reno/tree/v2.0.75/example), +[example app found in this repo](https://github.com/reno-router/reno/tree/v2.0.76/example), which is targetted by the end-to-end test suite, there is a [standalone repository for a blog microservice](https://github.com/reno-router/blog-microservice) built with Deno, Reno, PostgreSQL, and Docker. @@ -269,7 +269,7 @@ built with Deno, Reno, PostgreSQL, and Docker. ## API Documentation Consult -[Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/reno@v2.0.75/reno/mod.ts) +[Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/reno@v2.0.76/reno/mod.ts) for comprehensive documentation on Reno's API. ## Local Development diff --git a/README.template.md b/README.template.md index 13fe639..8b2935e 100644 --- a/README.template.md +++ b/README.template.md @@ -21,7 +21,7 @@ Reno is a thin routing library designed to sit on top of ## Overview ```tsx -import { serve } from "https://deno.land/std@0.170.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.171.0/http/server.ts"; import { AugmentedRequest, diff --git a/deno_versions.json b/deno_versions.json index 6cca0a7..982bab1 100644 --- a/deno_versions.json +++ b/deno_versions.json @@ -1,4 +1,4 @@ { - "deno": "1.29.1", - "std": "0.170.0" + "deno": "1.29.2", + "std": "0.171.0" } diff --git a/deps.ts b/deps.ts index 05703d6..e038039 100644 --- a/deps.ts +++ b/deps.ts @@ -1,8 +1,8 @@ // Recommended as per https://deno.land/std/manual.md#linking-to-third-party-code -export * from "https://deno.land/std@0.170.0/testing/asserts.ts"; -export * from "https://deno.land/std@0.170.0/io/mod.ts"; -export * from "https://deno.land/std@0.170.0/http/cookie.ts"; -export { readableStreamFromReader } from "https://deno.land/std@0.170.0/streams/conversion.ts" +export * from "https://deno.land/std@0.171.0/testing/asserts.ts"; +export * from "https://deno.land/std@0.171.0/io/mod.ts"; +export * from "https://deno.land/std@0.171.0/http/cookie.ts"; +export { readableStreamFromReader } from "https://deno.land/std@0.171.0/streams/conversion.ts" export * as sinon from "https://cdn.skypack.dev/sinon@v14.0.0"; diff --git a/egg.json b/egg.json index e136ed0..e101129 100644 --- a/egg.json +++ b/egg.json @@ -1,7 +1,7 @@ { "name": "reno", "description": "A thin routing library designed to sit on top of Deno's standard HTTP module", - "version": "2.0.75", + "version": "2.0.76", "repository": "https://github.com/reno-router/reno/", "stable": true, "files": [ diff --git a/example/api/routes.ts b/example/api/routes.ts index f912c58..f7c5dc9 100644 --- a/example/api/routes.ts +++ b/example/api/routes.ts @@ -1,4 +1,4 @@ -import { StringReader } from "https://deno.land/std@0.170.0/io/readers.ts"; +import { StringReader } from "https://deno.land/std@0.171.0/io/readers.ts"; import colossalData from "./colossal.ts"; diff --git a/example/server.ts b/example/server.ts index 017509f..ae6a490 100644 --- a/example/server.ts +++ b/example/server.ts @@ -1,4 +1,4 @@ -import { serve } from "https://deno.land/std@0.170.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.171.0/http/server.ts"; import app from "./app.ts"; diff --git a/reno/router.ts b/reno/router.ts index 32da0b2..9d85b87 100644 --- a/reno/router.ts +++ b/reno/router.ts @@ -168,7 +168,7 @@ export function routerCreator( * Deno's HTTP server receives a request: * * ```ts - * import { serve } from "https://deno.land/std@0.170.0/http/server.ts"; + * import { serve } from "https://deno.land/std@0.171.0/http/server.ts"; * import { createRouter } from "https://deno.land/x/reno@/reno/mod.ts"; * import { routes } from "./routes.ts"; *