Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
chore: bump drash version
Browse files Browse the repository at this point in the history
  • Loading branch information
crookse committed Apr 5, 2021
1 parent 58d4f8e commit 7571186
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion cors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Simply add it to your Drash server's `middleware` config and you are all set!
## Usage

```ts
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { Cors } from "https://deno.land/x/[email protected]/cors/mod.ts";

const server = new Drash.Http.Server({
Expand Down
2 changes: 1 addition & 1 deletion csrf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ protection middleware inspired by
can be simply placed as a middleware for your resources and you are all set!

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

// Import the Dexter middleware function
import { CSRF } from "https://deno.land/x/[email protected]/csrf/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
export { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
6 changes: 3 additions & 3 deletions dexter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Dexter is a logging middleware inspired by
can be used throughout the request-resource-response lifecycle.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

// Import the Dexter middleware function
import { Dexter } from "https://deno.land/x/[email protected]/dexter/mod.ts";
Expand Down Expand Up @@ -139,7 +139,7 @@ you want to use Dexter in one of your resources, then do the following:

```typescript
// File: app.ts
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { HomeResource } from "./home_resource.ts";
import { Dexter } from "https://deno.land/x/[email protected]/dexter.ts";

Expand Down Expand Up @@ -177,7 +177,7 @@ you want to use Dexter in one of your resources, then do the following:
2. Create your `home_resource` file.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { dexter } from "./app.ts";

export class HomeResource extends Drash.Http.Resource {
Expand Down
2 changes: 1 addition & 1 deletion paladin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ configurable and can be used throughout the request-resource-response lifecycle.
This does not make your application bulletproof, but adds extra security layers.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

// Import the Paladin middleware function
import { Paladin } from "https://deno.land/x/[email protected]/paladin/mod.ts";
Expand Down
4 changes: 2 additions & 2 deletions serve_typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ into JavaScript during server creation.

```typescript
// File: app.ts
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { HomeResource } from "./home_resource.ts";
import { ServeTypeScript } from "https://deno.land/x/[email protected]/serve_typescript/mod.ts";

Expand Down Expand Up @@ -121,7 +121,7 @@ into JavaScript during server creation.
2. Create your `home_resource.ts` file.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

export class HomeResource extends Drash.Http.Resource {
static paths = ["/"];
Expand Down
8 changes: 4 additions & 4 deletions tengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This tutorial teaches you how to use Jae (Tengine's default template engine).
1. Create your `app.ts` file.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { HomeResource } from "./home_resource.ts";
import { Tengine } from "https://deno.land/x/[email protected]/tengine/mod.ts";

Expand Down Expand Up @@ -131,7 +131,7 @@ This tutorial teaches you how to use Jae (Tengine's default template engine).
2. Create your `home_resource.ts` file.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

export class HomeResource extends Drash.Http.Resource {
static paths = ["/"];
Expand Down Expand Up @@ -260,7 +260,7 @@ This tutorial teaches you how to use Eta.
1. Create your `app.ts` file.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { HomeResource } from "./home_resource.ts";
import { Tengine } from "https://deno.land/x/[email protected]/tengine/mod.ts";
import {
Expand Down Expand Up @@ -306,7 +306,7 @@ This tutorial teaches you how to use Eta.
2. Create your `home_resource.ts` file.

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

export class HomeResource extends Drash.Http.Resource {
static paths = ["/"];
Expand Down
4 changes: 2 additions & 2 deletions tengine/jae/adding_template_partials.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ look similar to the following:
Filename: `/path/to/your/project/user_resource.ts`

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

export default class UserResource extends Drash.Http.Resource {
static paths = ["/user"];
Expand All @@ -93,7 +93,7 @@ look similar to the following:
Filename: `/path/to/your/project/app.ts`

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { Tengine } from "https://deno.land/x/[email protected]/tengine/mod.ts";
import { UserResource } from "./user_resource.ts";

Expand Down
4 changes: 2 additions & 2 deletions tengine/jae/creating_a_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ look similar to the following:
Filename: `/path/to/your/project/user_resource.ts`

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

export class UserResource extends Drash.Http.Resource {
static paths = ["/user"];
Expand All @@ -78,7 +78,7 @@ look similar to the following:
Filename: `/path/to/your/project/app.ts`

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { Tengine } from "https://deno.land/x/[email protected]/tengine/mod.ts";
import { UserResource } from "./user_resource.ts";

Expand Down
4 changes: 2 additions & 2 deletions tengine/jae/extending_a_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ look similar to the following:
Filename: `/path/to/your/project/user_resource.ts`

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";

export class UserResource extends Drash.Http.Resource {
static paths = ["/user"];
Expand All @@ -92,7 +92,7 @@ look similar to the following:
Filename: `/path/to/your/project/app.ts`

```typescript
import { Drash } from "https://deno.land/x/[email protected].3/mod.ts";
import { Drash } from "https://deno.land/x/[email protected].4/mod.ts";
import { Tengine } from "https://deno.land/x/[email protected]/tengine/mod.ts";
import { UserResource } from "./user_resource.ts";

Expand Down

0 comments on commit 7571186

Please sign in to comment.