-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: bump the versions in the usage section (#18)
- Loading branch information
1 parent
7f47539
commit 0b0616c
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ Table of content: | |
## Usage | ||
|
||
```ts | ||
import { serve } from "https://deno.land/std@0.166.0/http/server.ts"; | ||
import { serve } from "https://deno.land/std@0.220.1/http/server.ts"; | ||
import { Server } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
const io = new Server(); | ||
|
@@ -86,9 +86,9 @@ You need to use the [.handle()](https://github.com/oakserver/oak#handle-method) | |
method: | ||
|
||
```ts | ||
import { serve } from "https://deno.land/std@0.166.0/http/server.ts"; | ||
import { serve } from "https://deno.land/std@0.220.1/http/server.ts"; | ||
import { Server } from "https://deno.land/x/[email protected]/mod.ts"; | ||
import { Application } from "https://deno.land/x/oak@v11.1.0/mod.ts"; | ||
import { Application } from "https://deno.land/x/oak@14.2.0/mod.ts"; | ||
|
||
const app = new Application(); | ||
|
||
|
@@ -281,12 +281,12 @@ servers. | |
Documentation: https://socket.io/docs/v4/redis-adapter/ | ||
|
||
```js | ||
import { serve } from "https://deno.land/std/http/server.ts"; | ||
import { serve } from "https://deno.land/std@0.220.1/http/server.ts"; | ||
import { | ||
createRedisAdapter, | ||
createRedisClient, | ||
Server, | ||
} from "https://deno.land/x/socket_io/mod.ts"; | ||
} from "https://deno.land/x/socket_io@0.2.0/mod.ts"; | ||
|
||
const [pubClient, subClient] = await Promise.all([ | ||
createRedisClient({ | ||
|