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.30.3 and std to 0.178.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesseanwright authored and Reno Buildbot committed Feb 24, 2023
1 parent 9d8b747 commit ef73152
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].82/reno/mod.ts)
[![Deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/[email protected].83/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
Expand All @@ -21,7 +21,7 @@ Reno is a thin routing library designed to sit on top of
## Overview

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

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

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

const PORT = 8000;
Expand Down Expand Up @@ -101,7 +101,7 @@ testing Reno services a breeze:
import {
assertResponsesAreEqual,
jsonResponse,
} from "https://deno.land/x/[email protected].82/reno/mod.ts";
} from "https://deno.land/x/[email protected].83/reno/mod.ts";
import { createRonSwansonQuoteHandler } from "./routes.ts";

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

import isValidAPIKey from "./api_keys.ts";

Expand Down Expand Up @@ -261,15 +261,15 @@ 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.82/example),
[example app found in this repo](https://github.com/reno-router/reno/tree/v2.0.83/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].82/reno/mod.ts)
[Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/[email protected].83/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 @@ -21,7 +21,7 @@ Reno is a thin routing library designed to sit on top of
## Overview

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

import {
AugmentedRequest,
Expand Down
2 changes: 1 addition & 1 deletion deno_versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"deno": "1.30.3",
"std": "0.177.0"
"std": "0.178.0"
}
8 changes: 4 additions & 4 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -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.177.0/testing/asserts.ts";
export * from "https://deno.land/std@0.177.0/io/mod.ts";
export * from "https://deno.land/std@0.177.0/http/cookie.ts";
export { readableStreamFromReader } from "https://deno.land/std@0.177.0/streams/readable_stream_from_reader.ts"
export * from "https://deno.land/std@0.178.0/testing/asserts.ts";
export * from "https://deno.land/std@0.178.0/io/mod.ts";
export * from "https://deno.land/std@0.178.0/http/cookie.ts";
export { readableStreamFromReader } from "https://deno.land/std@0.178.0/streams/readable_stream_from_reader.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.82",
"version": "2.0.83",
"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.177.0/io/string_reader.ts";
import { StringReader } from "https://deno.land/std@0.178.0/io/string_reader.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.177.0/http/server.ts";
import { serve } from "https://deno.land/std@0.178.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.177.0/http/server.ts";
* import { serve } from "https://deno.land/std@0.178.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 ef73152

Please sign in to comment.