From 43087214a0e79724a1e8e2b6be769a955afb4dfb Mon Sep 17 00:00:00 2001 From: jamesseanwright Date: Tue, 30 May 2023 01:03:19 +0000 Subject: [PATCH] [Reno Buildbot] Upgrades Deno to 1.34.0 and std to 0.190.0 --- README.md | 14 +++++++------- README.template.md | 2 +- deno_versions.json | 2 +- deps.ts | 8 ++++---- example/api/routes.ts | 2 +- example/server.ts | 2 +- reno/router.ts | 2 +- version.json | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index d9619a1..28a637c 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.100/reno/mod.ts) +[![Deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/reno@v2.0.101/reno/mod.ts) 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). @@ -20,7 +20,7 @@ Reno is a thin routing library designed to sit on top of ## Overview ```tsx -import { serve } from "https://deno.land/std@0.189.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.190.0/http/server.ts"; import { AugmentedRequest, @@ -29,7 +29,7 @@ import { jsonResponse, MissingRouteError, streamResponse, -} from "https://deno.land/x/reno@v2.0.100/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.101/reno/mod.ts"; const PORT = 8000; @@ -96,7 +96,7 @@ testing Reno services a breeze: import { assertResponsesAreEqual, jsonResponse, -} from "https://deno.land/x/reno@v2.0.100/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.101/reno/mod.ts"; import { createRonSwansonQuoteHandler } from "./routes.ts"; const createFetchStub = (response: string[]) => @@ -191,7 +191,7 @@ import { AugmentedRequest, createRouteMap, RouteHandler, -} from "https://deno.land/x/reno@v2.0.100/reno/mod.ts"; +} from "https://deno.land/x/reno@v2.0.101/reno/mod.ts"; import isValidAPIKey from "./api_keys.ts"; @@ -256,7 +256,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.100/example), +[example app found in this repo](https://github.com/reno-router/reno/tree/v2.0.101/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. @@ -264,7 +264,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.100/reno/mod.ts) +[Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/reno@v2.0.101/reno/mod.ts) for comprehensive documentation on Reno's API. ## Local Development diff --git a/README.template.md b/README.template.md index bc7fcaa..9414652 100644 --- a/README.template.md +++ b/README.template.md @@ -20,7 +20,7 @@ Reno is a thin routing library designed to sit on top of ## Overview ```tsx -import { serve } from "https://deno.land/std@0.189.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.190.0/http/server.ts"; import { AugmentedRequest, diff --git a/deno_versions.json b/deno_versions.json index e724ada..06460e2 100644 --- a/deno_versions.json +++ b/deno_versions.json @@ -1,4 +1,4 @@ { "deno": "1.34.0", - "std": "0.189.0" + "std": "0.190.0" } diff --git a/deps.ts b/deps.ts index c0b5715..58ac97e 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.189.0/testing/asserts.ts"; -export * from "https://deno.land/std@0.189.0/io/mod.ts"; -export * from "https://deno.land/std@0.189.0/http/cookie.ts"; -export { readableStreamFromReader } from "https://deno.land/std@0.189.0/streams/readable_stream_from_reader.ts" +export * from "https://deno.land/std@0.190.0/testing/asserts.ts"; +export * from "https://deno.land/std@0.190.0/io/mod.ts"; +export * from "https://deno.land/std@0.190.0/http/cookie.ts"; +export { readableStreamFromReader } from "https://deno.land/std@0.190.0/streams/readable_stream_from_reader.ts" export * as sinon from "https://cdn.skypack.dev/sinon@v14.0.0"; diff --git a/example/api/routes.ts b/example/api/routes.ts index 3fb6a0a..ae5860f 100644 --- a/example/api/routes.ts +++ b/example/api/routes.ts @@ -1,4 +1,4 @@ -import { StringReader } from "https://deno.land/std@0.189.0/io/string_reader.ts"; +import { StringReader } from "https://deno.land/std@0.190.0/io/string_reader.ts"; import colossalData from "./colossal.ts"; diff --git a/example/server.ts b/example/server.ts index 17ab2d8..b8ad2b3 100644 --- a/example/server.ts +++ b/example/server.ts @@ -1,4 +1,4 @@ -import { serve } from "https://deno.land/std@0.189.0/http/server.ts"; +import { serve } from "https://deno.land/std@0.190.0/http/server.ts"; import app from "./app.ts"; diff --git a/reno/router.ts b/reno/router.ts index 1fe18cc..c789b5c 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.189.0/http/server.ts"; + * import { serve } from "https://deno.land/std@0.190.0/http/server.ts"; * import { createRouter } from "https://deno.land/x/reno@/reno/mod.ts"; * import { routes } from "./routes.ts"; * diff --git a/version.json b/version.json index b028541..b777eba 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "2.0.100", + "version": "2.0.101", "description": "This was originally an egg.json file for nest.land. Our approach for persisting the current version should be further simplified." }