diff --git a/README.md b/README.md index eba8724a..9455eabb 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,8 @@ resources. > deploy a workload. You would want to "pin" to a particular version which is > compatible with the version of Deno you are using and has a fixed set of APIs > you would expect. `https://deno.land/x/` supports using git tags in the URL to -> direct you at a particular version. So to use version 13.0.0 of oak, you would -> want to import `https://deno.land/x/oak@v13.0.0/mod.ts`. +> direct you at a particular version. So to use version 17.0.0 of oak, you would +> want to import `https://deno.land/x/oak@v17.0.0/mod.ts`. ## Usage @@ -60,7 +60,7 @@ oak is available for Node.js on both [JSR](https://jsr.io/@oak/oak). To use from npm, install the package: ``` -npm i @oakserver/oak@14 +npm i @oakserver/oak@17 ``` And then import into a module: @@ -72,7 +72,7 @@ import { Application } from "@oakserver/oak"; To use from JSR, install the package: ``` -npx jsr i @oak/oak@14 +npx jsr i @oak/oak@17 ``` And then import into a module: @@ -95,7 +95,7 @@ oak is available for [Cloudflare Workers](https://workers.cloudflare.com/) on project: ``` -npx jsr add @oak/oak@14 +npx jsr add @oak/oak@17 ``` And then import into a module: @@ -128,7 +128,7 @@ oak is available for Bun on [JSR](https://jsr.io/@oak/oak). To use install the package: ``` -bunx jsr i @oak/oak@14 +bunx jsr i @oak/oak@17 ``` And then import into a module: diff --git a/application.ts b/application.ts index 31f4b4e0..9027d8c0 100644 --- a/application.ts +++ b/application.ts @@ -8,7 +8,7 @@ * # Example * * ```ts - * import { Application } from "jsr:@oak/oak@14/application"; + * import { Application } from "jsr:@oak/oak@17/application"; * * const app = new Application(); * app.use((ctx) => { diff --git a/docs/_config.yml b/docs/_config.yml index 2f7efbea..fff4ab92 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-minimal \ No newline at end of file +theme: jekyll-theme-minimal diff --git a/docs/index.html b/docs/index.html index 2ebdfc19..bd404d05 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,5 @@ - + Redirecting to https://oakserver.org/ - - \ No newline at end of file + + diff --git a/examples/static/index.html b/examples/static/index.html index 05454eb8..371c9a98 100644 --- a/examples/static/index.html +++ b/examples/static/index.html @@ -1,11 +1,9 @@ + - - - -

Hello Static World!

- - - - \ No newline at end of file + +

Hello Static World!

+ + + diff --git a/router.ts b/router.ts index db338fd2..5cd9d71f 100644 --- a/router.ts +++ b/router.ts @@ -7,8 +7,8 @@ * # Example * * ```ts - * import { Application } from "jsr:@oak/oak@14/application"; - * import { Router } from "jsr:@oak/oak@14/router"; + * import { Application } from "jsr:@oak/oak@17/application"; + * import { Router } from "jsr:@oak/oak@17/router"; * * const app = new Application(); * const router = new Router();