diff --git a/README.md b/README.md index 5a32176..df1da53 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Deno port of [forwarded](https://github.com/jshttp/forwarded/) library. ## Usage ```ts -import { Server } from 'https://deno.land/std@0.118.0/http/server.ts' +import { Server } from 'https://deno.land/std@0.148.0/http/server.ts' import { forwarded, parse } from 'https://deno.land/x/forwarded/mod.ts' const s = new Server({ diff --git a/mod.ts b/mod.ts index 33e450f..6d82f0c 100644 --- a/mod.ts +++ b/mod.ts @@ -1,4 +1,4 @@ -import { ConnInfo } from 'https://deno.land/std@0.130.0/http/server.ts' +import { ConnInfo } from 'https://deno.land/std@0.148.0/http/server.ts' export type RequestWithConnection = Request & { conn: ConnInfo } diff --git a/mod_test.ts b/mod_test.ts index f7f818d..802ade9 100644 --- a/mod_test.ts +++ b/mod_test.ts @@ -1,7 +1,7 @@ import type { RequestWithConnection } from './mod.ts' import { forwarded } from './mod.ts' -import { ConnInfo } from 'https://deno.land/std@0.130.0/http/server.ts' -import { describe, it, expect, run } from 'https://deno.land/x/tincan@1.0.0/mod.ts' +import { ConnInfo } from 'https://deno.land/std@0.148.0/http/server.ts' +import { describe, it, expect, run } from 'https://deno.land/x/tincan@1.0.1/mod.ts' const createReq = (hostname: string, headers?: Record): RequestWithConnection => ({