Skip to content

Commit

Permalink
feat: 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cmorten committed Jul 13, 2021
1 parent 6d9a444 commit dbec0b9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 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

## [1.4.1] - 13-07-2021

- fix: filterReq crashes send middleware (#3)

## [1.4.0] - 13-07-2021

- feat: Support Deno `1.12.0` and std `0.101.0`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Proxy middleware for Deno Oak HTTP servers.
</p>

```ts
import { proxy } from "https://deno.land/x/[email protected].0/mod.ts";
import { proxy } from "https://deno.land/x/[email protected].1/mod.ts";
import { Application } from "https://deno.land/x/[email protected]/mod.ts";

const app = new Application();
Expand All @@ -32,13 +32,13 @@ Before importing, [download and install Deno](https://deno.land/#installation).
You can then import oak-http-proxy straight into your project:

```ts
import { proxy } from "https://deno.land/x/[email protected].0/mod.ts";
import { proxy } from "https://deno.land/x/[email protected].1/mod.ts";
```

oak-http-proxy is also available on [nest.land](https://nest.land/package/oak-http-proxy), a package registry for Deno on the Blockchain.

```ts
import { proxy } from "https://x.nest.land/[email protected].0/mod.ts";
import { proxy } from "https://x.nest.land/[email protected].1/mod.ts";
```

## Docs
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h1>oak-http-proxy</h1>
<a href="https://deno-visualizer.danopia.net/dependencies-of/https/deno.land/x/oak_http_proxy/mod.ts"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fdeno-visualizer.danopia.net%2Fshields%2Fupdates%2Fx%2Foak_http_proxy%2Fmod.ts" alt="oak-http-proxy dependency outdatedness" /></a>
<a href="https://deno-visualizer.danopia.net/dependencies-of/https/deno.land/x/oak_http_proxy/mod.ts"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fdeno-visualizer.danopia.net%2Fshields%2Fcache-size%2Fx%2Foak_http_proxy%2Fmod.ts" alt="oak-http-proxy cached size" /></a>
</p>
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://deno.land/x/[email protected].0/mod.ts&quot;</span>;
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://deno.land/x/[email protected].1/mod.ts&quot;</span>;
<span class="hljs-keyword">import</span> { Application } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://deno.land/x/[email protected]/mod.ts&quot;</span>;

<span class="hljs-keyword">const</span> app = <span class="hljs-keyword">new</span> Application();
Expand All @@ -89,10 +89,10 @@ <h2>Installation</h2>
<p>This is a <a href="https://deno.land/">Deno</a> module available to import direct from this repo and via the <a href="https://deno.land/x">Deno Registry</a>.</p>
<p>Before importing, <a href="https://deno.land/#installation">download and install Deno</a>.</p>
<p>You can then import oak-http-proxy straight into your project:</p>
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://deno.land/x/[email protected].0/mod.ts&quot;</span>;
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://deno.land/x/[email protected].1/mod.ts&quot;</span>;
</code></pre>
<p>oak-http-proxy is also available on <a href="https://nest.land/package/oak-http-proxy">nest.land</a>, a package registry for Deno on the Blockchain.</p>
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://x.nest.land/[email protected].0/mod.ts&quot;</span>;
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;https://x.nest.land/[email protected].1/mod.ts&quot;</span>;
</code></pre>
<a href="#docs" id="docs" style="color: inherit; text-decoration: none;">
<h2>Docs</h2>
Expand Down
2 changes: 1 addition & 1 deletion egg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "oak-http-proxy",
"description": "Proxy middleware for Deno Oak HTTP servers.",
"version": "1.4.0",
"version": "1.4.1",
"repository": "https://github.com/asos-craigmorten/oak-http-proxy",
"stable": true,
"files": [
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ deno run --allow-net --allow-read ./examples/proxy/index.ts
if have the repo cloned locally _OR_

```bash
deno run --allow-net --allow-read https://deno.land/x/[email protected].0/examples/basic/index.ts
deno run --allow-net --allow-read https://deno.land/x/[email protected].1/examples/basic/index.ts
```

if you don't!
2 changes: 1 addition & 1 deletion examples/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* if have the repo cloned locally OR
*
* deno run --allow-net https://deno.land/x/[email protected].0/examples/basic/index.ts
* deno run --allow-net https://deno.land/x/[email protected].1/examples/basic/index.ts
*
* if you don't!
*
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 oak-http-proxy.
*/
export const VERSION: string = "1.4.0";
export const VERSION: string = "1.4.1";

/**
* Supported versions of Deno.
Expand Down

0 comments on commit dbec0b9

Please sign in to comment.