Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
[create-pull-request] automated change (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: jamesseanwright <[email protected]>
  • Loading branch information
jamesseanwright and jamesseanwright authored Oct 24, 2021
1 parent fe06f4a commit 41da4ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].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/[email protected].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).

Expand All @@ -27,10 +27,10 @@ import {
jsonResponse,
streamResponse,
MissingRouteError,
} from "https://deno.land/x/[email protected].3/reno/mod.ts";
} from "https://deno.land/x/[email protected].4/reno/mod.ts";

/* Alternatively, you can import Reno from nest.land:
* import { ... } from "https://x.nest.land/[email protected].3/reno/mod.ts";
* import { ... } from "https://x.nest.land/[email protected].4/reno/mod.ts";
*/

function createErrorResponse(status: number, { message }: Error) {
Expand Down Expand Up @@ -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/[email protected].3/reno/mod.ts";
import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/[email protected].4/reno/mod.ts";
import { createRonSwansonQuoteHandler } from "./routes.ts";

const createFetchStub = (response: string[]) =>
Expand Down Expand Up @@ -171,7 +171,7 @@ import {
AugmentedRequest,
RouteHandler,
createRouteMap
} from "https://deno.land/x/[email protected].3/reno/mod.ts";
} from "https://deno.land/x/[email protected].4/reno/mod.ts";

import isValidAPIKey from "./api_keys.ts";

Expand Down Expand Up @@ -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/[email protected].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/[email protected].4/reno/mod.ts) for comprehensive documentation on Reno's API.

## Local Development

Expand Down
2 changes: 1 addition & 1 deletion egg.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit 41da4ad

Please sign in to comment.