Skip to content

Commit

Permalink
Update dependencies (#35)
Browse files Browse the repository at this point in the history
* Update dependencies

* Bump version
  • Loading branch information
KyleJune authored Jan 9, 2022
1 parent ec74bc6 commit 8936c23
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 27 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# OAuth2 Server

[![version](https://img.shields.io/badge/release-0.11.0-success)](https://deno.land/x/oauth2_server@0.11.0)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/oauth2_server@0.11.0/authorization_server.ts)
[![version](https://img.shields.io/badge/release-0.11.1-success)](https://deno.land/x/oauth2_server@0.11.1)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/oauth2_server@0.11.1/authorization_server.ts)
[![CI](https://github.com/udibo/oauth2_server/workflows/CI/badge.svg)](https://github.com/udibo/oauth2_server/actions?query=workflow%3ACI)
[![codecov](https://codecov.io/gh/udibo/oauth2_server/branch/main/graph/badge.svg?token=8Q7TSUFWUY)](https://codecov.io/gh/udibo/oauth2_server)
[![license](https://img.shields.io/github/license/udibo/oauth2_server)](https://github.com/udibo/oauth2_server/blob/master/LICENSE)
Expand Down Expand Up @@ -44,19 +44,19 @@ also acting as an authorization server.

```ts
// Import from Deno's third party module registry
import { ResourceServer } from "https://deno.land/x/oauth2_server@0.11.0/resource_server.ts";
import { ResourceServer } from "https://deno.land/x/oauth2_server@0.11.1/resource_server.ts";
// Import from GitHub
import { ResourceServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.0/resource_server.ts";
import { ResourceServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.1/resource_server.ts";
```

The AuthorizationServer is an extension of the ResourceServer, adding methods
used by the authorize and token endpoints.

```ts
// Import from Deno's third party module registry
import { AuthorizationServer } from "https://deno.land/x/oauth2_server@0.11.0/authorization_server.ts";
import { AuthorizationServer } from "https://deno.land/x/oauth2_server@0.11.1/authorization_server.ts";
// Import from GitHub
import { AuthorizationServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.0/authorization_server.ts";
import { AuthorizationServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.1/authorization_server.ts";
```

## Usage
Expand All @@ -66,7 +66,7 @@ An example of how to use this module can be found
but it should give you an idea of how to use this module.

See
[deno docs](https://doc.deno.land/https/deno.land/x/oauth2_server@0.11.0/authorization_server.ts)
[deno docs](https://doc.deno.land/https/deno.land/x/oauth2_server@0.11.1/authorization_server.ts)
for more information.

### Grants
Expand Down
10 changes: 5 additions & 5 deletions adapters/oak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ also acting as an authorization server.

```ts
// Import from Deno's third party module registry
import { OakResourceServer } from "https://deno.land/x/oauth2_server@0.11.0/adapters/oak/resource_server.ts";
import { OakResourceServer } from "https://deno.land/x/oauth2_server@0.11.1/adapters/oak/resource_server.ts";
// Import from GitHub
import { OakResourceServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.0/adapters/oak/resource_server.ts";
import { OakResourceServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.1/adapters/oak/resource_server.ts";
```

The AuthorizationServer is an extension of the ResourceServer, adding methods
used by the authorize and token endpoints.

```ts
// Import from Deno's third party module registry
import { OakAuthorizationServer } from "https://deno.land/x/oauth2_server@0.11.0/adapters/oak/authorization_server.ts";
import { OakAuthorizationServer } from "https://deno.land/x/oauth2_server@0.11.1/adapters/oak/authorization_server.ts";
// Import from GitHub
import { OakAuthorizationServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.0/adapters/oak/authorization_server.ts";
import { OakAuthorizationServer } from "https://raw.githubusercontent.com/udibo/oauth2_server/0.11.1/adapters/oak/authorization_server.ts";
```

## Usage
Expand All @@ -42,5 +42,5 @@ An example of how to use this adapter module can be found
but it should give you an idea of how to use this module.

See
[deno docs](https://doc.deno.land/https/deno.land/x/oauth2_server@0.11.0/adapters/oak/authorization_server.ts)
[deno docs](https://doc.deno.land/https/deno.land/x/oauth2_server@0.11.1/adapters/oak/authorization_server.ts)
for more information.
4 changes: 2 additions & 2 deletions adapters/oak/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ export {
Cookies,
Request,
Response,
} from "https://deno.land/x/oak@v10.0.0/mod.ts";
} from "https://deno.land/x/oak@v10.1.0/mod.ts";
export type {
BodyForm,
Middleware,
} from "https://deno.land/x/oak@v10.0.0/mod.ts";
} from "https://deno.land/x/oak@v10.1.0/mod.ts";
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export {
decode as decodeBase64url,
encode as encodeBase64url,
} from "https://deno.land/std@0.115.1/encoding/base64url.ts";
} from "https://deno.land/std@0.120.0/encoding/base64url.ts";
export {
encode as encodeHex,
} from "https://deno.land/std@0.115.1/encoding/hex.ts";
export { resolve } from "https://deno.land/std@0.115.1/path/mod.ts";
} from "https://deno.land/std@0.120.0/encoding/hex.ts";
export { resolve } from "https://deno.land/std@0.120.0/path/mod.ts";
export {
HttpError,
isHttpError,
Expand Down
6 changes: 3 additions & 3 deletions examples/oak-localstorage/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ export {
Cookies,
Response,
Router,
} from "https://deno.land/x/oak@v10.0.0/mod.ts";
export type { BodyForm } from "https://deno.land/x/oak@v10.0.0/mod.ts";
} from "https://deno.land/x/oak@v10.1.0/mod.ts";
export type { BodyForm } from "https://deno.land/x/oak@v10.1.0/mod.ts";

export {
encode as encodeBase64,
} from "https://deno.land/std@0.115.1/encoding/base64.ts";
} from "https://deno.land/std@0.120.0/encoding/base64.ts";

export {
AbstractAccessTokenService,
Expand Down
1 change: 0 additions & 1 deletion resource_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {
OAuth2AuthenticatedRequest,
OAuth2Request,
OAuth2Response,
TokenBody,
} from "./context.ts";
import {
AccessDeniedError,
Expand Down
12 changes: 6 additions & 6 deletions test_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export {
assertRejects,
assertStrictEquals,
assertThrows,
} from "https://deno.land/std@0.115.1/testing/asserts.ts";
export { delay } from "https://deno.land/std@0.115.1/async/delay.ts";
export { v4 } from "https://deno.land/std@0.115.1/uuid/mod.ts";
} from "https://deno.land/std@0.120.0/testing/asserts.ts";
export { delay } from "https://deno.land/std@0.120.0/async/delay.ts";
export { v4 } from "https://deno.land/std@0.120.0/uuid/mod.ts";

export {
assertSpyCall,
Expand All @@ -19,11 +19,11 @@ export {
FakeTime,
spy,
stub,
} from "https://deno.land/x/mock@0.12.0/mod.ts";
} from "https://deno.land/x/mock@0.12.2/mod.ts";
export type {
Spy,
SpyCall,
Stub,
} from "https://deno.land/x/mock@0.12.0/mod.ts";
} from "https://deno.land/x/mock@0.12.2/mod.ts";

export { test, TestSuite } from "https://deno.land/x/test_suite@0.9.1/mod.ts";
export { test, TestSuite } from "https://deno.land/x/test_suite@0.9.5/mod.ts";

0 comments on commit 8936c23

Please sign in to comment.