From 284066ee75f967558383bcf594a3f10f96b9c1b6 Mon Sep 17 00:00:00 2001 From: jamesseanwright Date: Thu, 13 Jan 2022 00:50:47 +0000 Subject: [PATCH] [Reno Buildbot] Upgrades Deno to 1.17.3 and std to 0.121.0 --- README.md | 14 +++++++------- README.template.md | 2 +- deno_versions.json | 4 ++-- deps.ts | 6 +++--- egg.json | 2 +- example/api/routes.ts | 2 +- example/server.ts | 2 +- reno/router.ts | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 0b86e69..b9de336 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.21/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.22/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). @@ -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.120.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.121.0/http/server.ts"; import { AugmentedRequest, @@ -27,7 +27,7 @@ import { jsonResponse, MissingRouteError, streamResponse, -} from "https://deno.land/x/reno@v2.0.21/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.22/reno/mod.ts"; /* Alternatively, you can import Reno from nest.land: * import { ... } from "https://x.nest.land/reno@2.0.18/reno/mod.ts"; @@ -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/reno@v2.0.21/reno/mod.ts"; +import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/reno@v2.0.22/reno/mod.ts"; import { createRonSwansonQuoteHandler } from "./routes.ts"; const createFetchStub = (response: string[]) => @@ -176,7 +176,7 @@ import { AugmentedRequest, RouteHandler, createRouteMap -} from "https://deno.land/x/reno@v2.0.21/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.22/reno/mod.ts"; import isValidAPIKey from "./api_keys.ts"; @@ -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.21/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.22/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.21/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.22/reno/mod.ts) for comprehensive documentation on Reno's API. ## Local Development diff --git a/README.template.md b/README.template.md index bb3c277..2829d97 100644 --- a/README.template.md +++ b/README.template.md @@ -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.120.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.121.0/http/server.ts"; import { AugmentedRequest, diff --git a/deno_versions.json b/deno_versions.json index a840796..3a6641b 100644 --- a/deno_versions.json +++ b/deno_versions.json @@ -1,4 +1,4 @@ { - "deno": "1.17.2", - "std": "0.120.0" + "deno": "1.17.3", + "std": "0.121.0" } diff --git a/deps.ts b/deps.ts index da8071e..45ac4f6 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.120.0/testing/asserts.ts"; -export * from "https://deno.land/std@0.120.0/io/mod.ts"; -export * from "https://deno.land/std@0.120.0/http/cookie.ts"; +export * from "https://deno.land/std@0.121.0/testing/asserts.ts"; +export * from "https://deno.land/std@0.121.0/io/mod.ts"; +export * from "https://deno.land/std@0.121.0/http/cookie.ts"; import __jsTestDouble from "https://dev.jspm.io/testdouble@3.16.0"; import * as TestDouble from "https://raw.githubusercontent.com/testdouble/testdouble.js/ecd90efe4649b287c33831a7b94a8a5eb96b8ed0/index.d.ts"; diff --git a/egg.json b/egg.json index 4e2a20b..8bb384b 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.21", + "version": "2.0.22", "repository": "https://github.com/reno-router/reno/", "stable": true, "files": [ diff --git a/example/api/routes.ts b/example/api/routes.ts index 17db29e..5f65fa3 100644 --- a/example/api/routes.ts +++ b/example/api/routes.ts @@ -1,4 +1,4 @@ -import { StringReader } from "https://deno.land/std@0.120.0/io/readers.ts"; +import { StringReader } from "https://deno.land/std@0.121.0/io/readers.ts"; import colossalData from "./colossal.ts"; diff --git a/example/server.ts b/example/server.ts index 6c3353c..a561d7d 100644 --- a/example/server.ts +++ b/example/server.ts @@ -1,4 +1,4 @@ -import { serve } from "https://deno.land/std@0.120.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.121.0/http/server.ts"; import app from "./app.ts"; diff --git a/reno/router.ts b/reno/router.ts index d5433b3..2c0472e 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.120.0/http/server.ts"; + * import { serve } from "https://deno.land/std@0.121.0/http/server.ts"; * import { createRouter } from "https://deno.land/x/reno@/reno/mod.ts"; * import { routes } from "./routes.ts"; *