From 41da4adbddff6de0cf8133f07f9d908f080bcce7 Mon Sep 17 00:00:00 2001 From: James Wright Date: Sun, 24 Oct 2021 23:08:29 +0100 Subject: [PATCH] [create-pull-request] automated change (#18) Co-authored-by: jamesseanwright --- README.md | 14 +++++++------- egg.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 024da87..2202558 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,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.3/reno/mod.ts) [![Published on Nest.land](https://nest.land/badge.svg)](https://nest.land/package/reno) +[![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.4/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 [Deno](https://deno.land/)'s [standard HTTP module](https://github.com/denoland/deno/tree/master/std/http). @@ -27,10 +27,10 @@ import { jsonResponse, streamResponse, MissingRouteError, -} from "https://deno.land/x/reno@v2.0.3/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.4/reno/mod.ts"; /* Alternatively, you can import Reno from nest.land: - * import { ... } from "https://x.nest.land/reno@2.0.3/reno/mod.ts"; + * import { ... } from "https://x.nest.land/reno@2.0.4/reno/mod.ts"; */ function createErrorResponse(status: number, { message }: Error) { @@ -88,7 +88,7 @@ await listenAndServe( This, along with request handlers being [pure functions](https://en.wikipedia.org/wiki/Pure_function), makes unit testing Reno services a breeze: ```ts -import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/reno@v2.0.3/reno/mod.ts"; +import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/reno@v2.0.4/reno/mod.ts"; import { createRonSwansonQuoteHandler } from "./routes.ts"; const createFetchStub = (response: string[]) => @@ -171,7 +171,7 @@ import { AugmentedRequest, RouteHandler, createRouteMap -} from "https://deno.land/x/reno@v2.0.3/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.4/reno/mod.ts"; import isValidAPIKey from "./api_keys.ts"; @@ -230,11 +230,11 @@ 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.3/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. +As well as the [example app found in this repo](https://github.com/reno-router/reno/tree/v2.0.4/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. ## API Documentation -Consult [Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/reno@v2.0.3/reno/mod.ts) for comprehensive documentation on Reno's API. +Consult [Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/reno@v2.0.4/reno/mod.ts) for comprehensive documentation on Reno's API. ## Local Development diff --git a/egg.json b/egg.json index 7b38e07..64ac49b 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.3", + "version": "2.0.4", "repository": "https://github.com/reno-router/reno/", "stable": true, "files": [