Skip to content

Commit

Permalink
bump std
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Jul 13, 2022
1 parent d239c4b commit 6bed541
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -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 }

Expand Down
4 changes: 2 additions & 2 deletions mod_test.ts
Original file line number Diff line number Diff line change
@@ -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/[email protected].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/[email protected].1/mod.ts'

const createReq = (hostname: string, headers?: Record<string, string>): RequestWithConnection =>
({
Expand Down

0 comments on commit 6bed541

Please sign in to comment.