Skip to content

Commit

Permalink
Merge pull request #220 from drashland/upgrade-deno
Browse files Browse the repository at this point in the history
upgrade deno to v1.0.2 and standard modules to v0.53.0
  • Loading branch information
crookse authored May 25, 2020
2 parents d003998 + cdb406b commit 4721963
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
6 changes: 6 additions & 0 deletions REQUIREMENTS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Requirements

* v1.0.2

* Deno v1.0.2
* Deno Standard Modules v0.53.0

* v1.0.1

* Deno v1.0.1
* Deno Standard Modules v0.52.0

* v1.0.0

Expand Down
2 changes: 1 addition & 1 deletion console/install_deno
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

(
export DENO_LATEST_VERSION="v1.0.1"
export DENO_LATEST_VERSION="v1.0.2"
curl -fsSL https://deno.land/x/install/install.sh | sh -s $DENO_LATEST_VERSION
)
2 changes: 1 addition & 1 deletion console/typescript/bump_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ async function bumpVersions(fromV: string, toV: string) {
return depData;
}

let result = await bumpVersions("v0.50.0", "v0.52.0");
let result = await bumpVersions("v0.52.0", "v0.53.0");

console.log(result);
16 changes: 8 additions & 8 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@ export {
ServerRequest,
serve,
serveTLS,
} from "https://deno.land/std@v0.52.0/http/server.ts";
} from "https://deno.land/std@v0.53.0/http/server.ts";

export {
STATUS_TEXT,
Status,
} from "https://deno.land/std@v0.52.0/http/http_status.ts";
} from "https://deno.land/std@v0.53.0/http/http_status.ts";

export {
assertEquals,
assertThrows,
} from "https://deno.land/std@v0.52.0/testing/asserts.ts";
} from "https://deno.land/std@v0.53.0/testing/asserts.ts";

export {
BufReader,
ReadLineResult,
} from "https://deno.land/std@v0.52.0/io/bufio.ts";
} from "https://deno.land/std@v0.53.0/io/bufio.ts";

export {
StringReader,
} from "https://deno.land/std@v0.52.0/io/readers.ts";
} from "https://deno.land/std@v0.53.0/io/readers.ts";

export {
FormFile,
MultipartReader,
} from "https://deno.land/std@v0.52.0/mime/multipart.ts";
} from "https://deno.land/std@v0.53.0/mime/multipart.ts";

export {
Cookie,
delCookie,
getCookies,
setCookie,
} from "https://deno.land/std@v0.50.0/http/cookie.ts";
} from "https://deno.land/std@v0.53.0/http/cookie.ts";

export {
red,
green
} from "https://deno.land/std@0.52.0/fmt/colors.ts"
} from "https://deno.land/std@0.53.0/fmt/colors.ts"
5 changes: 2 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ import { StringService as BaseStringService } from "./src/services/string_servic
export namespace Drash {
/**
* @description
* Drash version. Also represents what Deno version is
* supported.
* Drash version. Also represents what Deno version is supported.
*
* @property string version
*/
export const version: string = "v1.0.1";
export const version: string = "v1.0.2";

export namespace Compilers {
export class TemplateEngine extends BaseTemplateEngine {}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/mod_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@ members.test("mod_test.ts | Drash.addLogger(): names must be unique", () => {

members.test("mod_test.ts | Drash.version: must be current version", () => {
const version = members.Drash.version;
members.assert.equals(version, "v1.0.1");
members.assert.equals(version, "v1.0.2");
});

0 comments on commit 4721963

Please sign in to comment.