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

Commit 5c4c380

Browse files
Upgrades Deno to 1.4.6 and std to 0.74
1 parent cffa051 commit 5c4c380

13 files changed

+20
-20
lines changed

.deno-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.2
1+
1.4.6

Package.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
name = "reno"
22
description = "A thin routing library designed to sit on top of Deno's standard HTTP module"
3-
version = "1.3.2"
3+
version = "1.3.3"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Reno is a thin routing library designed to sit on top of [Deno](https://deno.lan
1818
## Overview
1919

2020
```tsx
21-
import { listenAndServe } from "https://deno.land/std@0.71.0/http/server.ts";
21+
import { listenAndServe } from "https://deno.land/std@0.74.0/http/server.ts";
2222

2323
import {
2424
createRouter,

README.template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Reno is a thin routing library designed to sit on top of [Deno](https://deno.lan
1818
## Overview
1919

2020
```tsx
21-
import { listenAndServe } from "https://deno.land/std@0.71.0/http/server.ts";
21+
import { listenAndServe } from "https://deno.land/std@0.74.0/http/server.ts";
2222

2323
import {
2424
createRouter,

deps.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Recommended as per https://deno.land/std/manual.md#linking-to-third-party-code
22

3-
export * from "https://deno.land/std@0.71.0/testing/asserts.ts";
4-
export * from "https://deno.land/std@0.71.0/io/mod.ts";
5-
export { Response } from "https://deno.land/std@0.71.0/http/server.ts";
3+
export * from "https://deno.land/std@0.74.0/testing/asserts.ts";
4+
export * from "https://deno.land/std@0.74.0/io/mod.ts";
5+
export { Response } from "https://deno.land/std@0.74.0/http/server.ts";
66

77
import __jsTestDouble from "https://dev.jspm.io/[email protected]";
88
import * as TestDouble from "https://raw.githubusercontent.com/testdouble/testdouble.js/ecd90efe4649b287c33831a7b94a8a5eb96b8ed0/index.d.ts";

example/api/routes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { StringReader } from "https://deno.land/std@0.71.0/io/readers.ts";
1+
import { StringReader } from "https://deno.land/std@0.74.0/io/readers.ts";
22

33
import colossalData from "./colossal.ts";
44

example/app.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {
22
ServerRequest,
3-
} from "https://deno.land/std@0.71.0/http/server.ts";
3+
} from "https://deno.land/std@0.74.0/http/server.ts";
44

55
import { createRouter, NotFoundError, textResponse } from "../reno/mod.ts";
66
import { routes } from "./routes.ts";

example/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
ServerRequest,
33
listenAndServe,
4-
} from "https://deno.land/std@0.71.0/http/server.ts";
4+
} from "https://deno.land/std@0.74.0/http/server.ts";
55

66
import app from "./app.ts";
77

reno/cookies.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { setCookie } from "https://deno.land/std@0.71.0/http/cookie.ts";
1+
import { setCookie } from "https://deno.land/std@0.74.0/http/cookie.ts";
22
import { AugmentedResponse } from "./router.ts";
33

44
/* Currently, setCookie will overwrite

reno/cookies_test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createCookieWriter } from "./cookies.ts";
22
import { testdouble } from "../deps.ts";
3-
import { Cookie } from "https://deno.land/std@0.71.0/http/cookie.ts";
4-
import { Response } from "https://deno.land/std@0.71.0/http/server.ts";
3+
import { Cookie } from "https://deno.land/std@0.74.0/http/cookie.ts";
4+
import { Response } from "https://deno.land/std@0.74.0/http/server.ts";
55

66
type CookieSetter = (res: Response, cookie: Cookie) => void;
77

reno/router.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
ServerRequest,
33
Response,
4-
} from "https://deno.land/std@0.71.0/http/server.ts";
4+
} from "https://deno.land/std@0.74.0/http/server.ts";
55

66
import { writeCookies } from "./cookies.ts";
77
import parsePath from "./pathparser.ts";
@@ -166,7 +166,7 @@ export function routerCreator(
166166
* import {
167167
* ServerRequest,
168168
* listenAndServe,
169-
* } from "https://deno.land/std@0.71.0/http/server.ts";
169+
* } from "https://deno.land/std@0.74.0/http/server.ts";
170170
171171
* import { createRouter } from "https://deno.land/x/reno@<VERSION>/reno/mod.ts";
172172
* import { routes } from "./routes.ts";

test_utils.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { BufReader } from "https://deno.land/std@0.71.0/io/bufio.ts";
1+
import { BufReader } from "https://deno.land/std@0.74.0/io/bufio.ts";
22
import {
33
ServerRequest,
4-
} from "https://deno.land/std@0.71.0/http/server.ts";
5-
import { StringReader } from "https://deno.land/std@0.71.0/io/readers.ts";
6-
import { readRequest } from "https://deno.land/std@0.71.0/http/_io.ts";
4+
} from "https://deno.land/std@0.74.0/http/server.ts";
5+
import { StringReader } from "https://deno.land/std@0.74.0/io/readers.ts";
6+
import { readRequest } from "https://deno.land/std@0.74.0/http/_io.ts";
77
import { createAugmentedRequest as createAugmentedRouterRequest } from "./reno/router.ts";
88

99
function createStubAddr() {

tools/generate-readme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env deno
22

3-
import { parse as parseTOML } from "https://deno.land/std@0.71.0/encoding/toml.ts";
3+
import { parse as parseTOML } from "https://deno.land/std@0.74.0/encoding/toml.ts";
44

55
interface Metadata {
66
name: string;

0 commit comments

Comments
 (0)