Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
asos-craigmorten committed Jun 23, 2020
1 parent 0c055f9 commit b9ddef9
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 159 deletions.
4 changes: 4 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## [0.12.0] - 23-06-2020

- chore: update dependencies.

## [0.11.0] - 21-06-2020

- feat: add render and engine public APIs.
Expand Down
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ export { encoder } from "https://deno.land/[email protected]/encoding/utf8.ts";
export {
Evt as EventEmitter,
to as getEvent,
} from "https://deno.land/x/[email protected].9/mod.ts";
} from "https://deno.land/x/[email protected].13/mod.ts";
export {
contentType,
charset,
} from "https://deno.land/x/[email protected]/mod.ts";
lookup,
} from "https://deno.land/x/[email protected]/mod.ts";
export { createError } from "https://deno.land/x/[email protected]/mod.ts";
export { Accepts } from "https://deno.land/x/[email protected]/mod.ts";
export {
Expand All @@ -43,6 +44,5 @@ export {
} from "https://deno.land/x/[email protected]/mod.ts";
export { isIP } from "https://deno.land/x/[email protected]/mod.ts";
export { vary } from "https://deno.land/x/vary@dc17535/mod.ts";
export { lookup } from "https://deno.land/x/[email protected]/mod.ts";
export { escapeHtml } from "https://deno.land/x/[email protected]/mod.ts";
export { encodeUrl } from "https://deno.land/x/[email protected]/mod.ts";
2 changes: 1 addition & 1 deletion egg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "opine",
"description": "Fast, minimalist web framework for Deno ported from ExpressJS.",
"version": "0.11.0",
"version": "0.12.0",
"repository": "https://github.com/asos-craigmorten/opine",
"stable": true,
"files": [
Expand Down
251 changes: 111 additions & 140 deletions lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/deps.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { expect } from "https://deno.land/x/expect@9effa6c6da3bcf4b66114b44e6b1662e85c91337/mod.ts";
export { superdeno } from "https://deno.land/x/superdeno@1.2.1/mod.ts";
export { expect } from "https://deno.land/x/expect@285caf/mod.ts";
export { superdeno } from "https://deno.land/x/superdeno@1.3.0/mod.ts";
24 changes: 12 additions & 12 deletions test/units/res.render.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("res", function () {
res.render(join(__dirname, "../fixtures", "user.tmpl"));
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>Deno</p>", done);
});
Expand All @@ -40,7 +40,7 @@ describe("res", function () {
res.render(join(__dirname, "../fixtures", "user"));
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>Deno</p>", done);
});
Expand All @@ -56,7 +56,7 @@ describe("res", function () {
res.render(join(__dirname, "../fixtures", "broken.send"));
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect(500, /Could not find a view engine for extension/, done);
});
Expand All @@ -72,7 +72,7 @@ describe("res", function () {
res.render(join(__dirname, "../fixtures", "user"));
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect(500, /No default engine was specified/, done);
});
Expand All @@ -87,7 +87,7 @@ describe("res", function () {
res.render("user.tmpl");
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>Deno</p>", done);
});
Expand All @@ -102,7 +102,7 @@ describe("res", function () {
res.render("name.tmpl");
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>Deno</p>", done);
});
Expand All @@ -117,7 +117,7 @@ describe("res", function () {
res.render("blog/post");
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<h1>Blog Post</h1>", done);
});
Expand All @@ -136,7 +136,7 @@ describe("res", function () {
res.setStatus(500).send("got error: " + err.name);
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect(500, "got error: RenderError", done);
});
Expand All @@ -153,7 +153,7 @@ describe("res", function () {
res.render("email");
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>This is an email</p>", done);
});
Expand All @@ -169,7 +169,7 @@ describe("res", function () {
res.render("user.tmpl", { user: { name: "Deno" } });
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>Deno</p>", done);
});
Expand All @@ -188,7 +188,7 @@ describe("res", function () {
res.render("user.tmpl", { user: { name: "Deno" } });
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<span>Deno</span>", done);
});
Expand All @@ -206,7 +206,7 @@ describe("res", function () {
res.render("name.tmpl", { name: "Deno" });
});

superdeno(app as any)
superdeno(app)
.get("/")
.expect("<p>Deno</p>", done);
});
Expand Down
2 changes: 1 addition & 1 deletion version.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Version of Opine.
*/
export const VERSION: string = "0.11.0";
export const VERSION: string = "0.12.0";

/**
* Supported version of Deno.
Expand Down

0 comments on commit b9ddef9

Please sign in to comment.