Skip to content

Commit

Permalink
bump std
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Mar 24, 2023
1 parent d381be0 commit f0acdc9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
deno-version: v1.x
- name: Run tests
run: deno test -A --coverage=coverage
run: deno test --allow-net --allow-read --allow-write --coverage=coverage
- name: Create coverage report
run: deno coverage ./coverage --lcov > coverage.lcov
- name: Coveralls
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"deno.enable": true
}
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.167.0/http/server.ts'
import { Server } from 'https://deno.land/std@0.181.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.178.0/http/server.ts'
import type { ConnInfo } from 'https://deno.land/std@0.181.0/http/server.ts'

export type RequestWithConnection = Request & { conn: ConnInfo }

Expand Down
2 changes: 1 addition & 1 deletion mod_test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { RequestWithConnection } from './mod.ts'
import { forwarded } from './mod.ts'
import { ConnInfo } from 'https://deno.land/std@0.178.0/http/server.ts'
import type { ConnInfo } from 'https://deno.land/std@0.181.0/http/server.ts'
import { describe, it, expect, run } from 'https://deno.land/x/[email protected]/mod.ts'

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

0 comments on commit f0acdc9

Please sign in to comment.