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

Commit

Permalink
[Reno Buildbot] Upgrades Deno to 1.23.3 and std to 0.147.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright authored and Reno Buildbot committed Jul 6, 2022
1 parent a6e7c82 commit 774148f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 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].47/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].48/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://deno.land/std/http).

Expand All @@ -18,7 +18,7 @@ Reno is a thin routing library designed to sit on top of [Deno](https://deno.lan
## Overview

```tsx
import { serve } from "https://deno.land/std@0.146.0/http/server.ts";
import { serve } from "https://deno.land/std@0.147.0/http/server.ts";

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

/* Alternatively, you can import Reno from nest.land:
* import { ... } from "https://x.nest.land/[email protected]/reno/mod.ts";
Expand Down Expand Up @@ -93,7 +93,7 @@ await serve(
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].47/reno/mod.ts";
import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/[email protected].48/reno/mod.ts";
import { createRonSwansonQuoteHandler } from "./routes.ts";

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

import isValidAPIKey from "./api_keys.ts";

Expand Down Expand Up @@ -235,11 +235,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.47/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.48/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].47/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].48/reno/mod.ts) for comprehensive documentation on Reno's API.

## Local Development

Expand Down
2 changes: 1 addition & 1 deletion README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Reno is a thin routing library designed to sit on top of [Deno](https://deno.lan
## Overview

```tsx
import { serve } from "https://deno.land/std@0.146.0/http/server.ts";
import { serve } from "https://deno.land/std@0.147.0/http/server.ts";

import {
AugmentedRequest,
Expand Down
4 changes: 2 additions & 2 deletions deno_versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"deno": "1.23.2",
"std": "0.146.0"
"deno": "1.23.3",
"std": "0.147.0"
}
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Recommended as per https://deno.land/std/manual.md#linking-to-third-party-code

export * from "https://deno.land/std@0.146.0/testing/asserts.ts";
export * from "https://deno.land/std@0.146.0/io/mod.ts";
export * from "https://deno.land/std@0.146.0/http/cookie.ts";
export * from "https://deno.land/std@0.147.0/testing/asserts.ts";
export * from "https://deno.land/std@0.147.0/io/mod.ts";
export * from "https://deno.land/std@0.147.0/http/cookie.ts";

export * as sinon from "https://cdn.skypack.dev/[email protected]";
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.47",
"version": "2.0.48",
"repository": "https://github.com/reno-router/reno/",
"stable": true,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion example/api/routes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StringReader } from "https://deno.land/std@0.146.0/io/readers.ts";
import { StringReader } from "https://deno.land/std@0.147.0/io/readers.ts";

import colossalData from "./colossal.ts";

Expand Down
2 changes: 1 addition & 1 deletion example/server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { serve } from "https://deno.land/std@0.146.0/http/server.ts";
import { serve } from "https://deno.land/std@0.147.0/http/server.ts";

import app from "./app.ts";

Expand Down
2 changes: 1 addition & 1 deletion reno/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export function routerCreator(
* Deno's HTTP server receives a request:
*
* ```ts
* import { serve } from "https://deno.land/std@0.146.0/http/server.ts";
* import { serve } from "https://deno.land/std@0.147.0/http/server.ts";
* import { createRouter } from "https://deno.land/x/reno@<VERSION>/reno/mod.ts";
* import { routes } from "./routes.ts";
*
Expand Down

0 comments on commit 774148f

Please sign in to comment.