Skip to content

Commit 0b0616c

Browse files
authored
docs: bump the versions in the usage section (#18)
1 parent 7f47539 commit 0b0616c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Table of content:
2424
## Usage
2525

2626
```ts
27-
import { serve } from "https://deno.land/std@0.166.0/http/server.ts";
27+
import { serve } from "https://deno.land/std@0.220.1/http/server.ts";
2828
import { Server } from "https://deno.land/x/socket_io@0.2.0/mod.ts";
2929

3030
const io = new Server();
@@ -86,9 +86,9 @@ You need to use the [.handle()](https://github.com/oakserver/oak#handle-method)
8686
method:
8787

8888
```ts
89-
import { serve } from "https://deno.land/std@0.166.0/http/server.ts";
89+
import { serve } from "https://deno.land/std@0.220.1/http/server.ts";
9090
import { Server } from "https://deno.land/x/socket_io@0.2.0/mod.ts";
91-
import { Application } from "https://deno.land/x/oak@v11.1.0/mod.ts";
91+
import { Application } from "https://deno.land/x/oak@14.2.0/mod.ts";
9292

9393
const app = new Application();
9494

@@ -281,12 +281,12 @@ servers.
281281
Documentation: https://socket.io/docs/v4/redis-adapter/
282282

283283
```js
284-
import { serve } from "https://deno.land/std/http/server.ts";
284+
import { serve } from "https://deno.land/std@0.220.1/http/server.ts";
285285
import {
286286
createRedisAdapter,
287287
createRedisClient,
288288
Server,
289-
} from "https://deno.land/x/socket_io/mod.ts";
289+
} from "https://deno.land/x/socket_io@0.2.0/mod.ts";
290290

291291
const [pubClient, subClient] = await Promise.all([
292292
createRedisClient({

0 commit comments

Comments
 (0)