Skip to content

Commit b563e4b

Browse files
author
v1rtl
committed
chore: bump std
1 parent 7b7ecd4 commit b563e4b

File tree

4 files changed

+27
-5
lines changed

4 files changed

+27
-5
lines changed

egg.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://x.nest.land/[email protected]/src/schema.json",
3+
"name": "http_compression",
4+
"entry": "./mod.ts",
5+
"description": "🦕🟦 A lightweight Deno HTTP client library for IPFS",
6+
"homepage": "https://deno.land/x/http_compression",
7+
"version": "0.2.2",
8+
"releaseType": null,
9+
"unstable": true,
10+
"unlisted": false,
11+
"files": [
12+
"README.md",
13+
"./**/*.ts"
14+
],
15+
"ignore": [
16+
"example.ts"
17+
],
18+
"checkFormat": false,
19+
"checkTests": true,
20+
"checkInstallation": true,
21+
"check": true
22+
}

example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { compression } from './mod.ts'
2-
import { Server } from 'https://deno.land/std@0.111.0/http/server.ts'
2+
import { Server } from 'https://deno.land/std@0.122.0/http/server.ts'
33

44
const s = new Server({
55
handler: async (req) => {
@@ -8,7 +8,7 @@ const s = new Server({
88
compression: ['br', 'gzip', 'deflate']
99
})(req)
1010
},
11-
addr: ':3000'
11+
port: 3000
1212
})
1313

1414
s.listenAndServe()

mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { compress as brotli } from 'https://deno.land/x/[email protected]/mod.ts'
22
import { deflate, gzip } from 'https://deno.land/x/[email protected]/mod.ts'
33
import { Accepts } from 'https://deno.land/x/[email protected]/mod.ts'
4-
import { readAll } from 'https://deno.land/std@0.111.0/io/util.ts'
4+
import { readAll } from 'https://deno.land/std@0.122.0/io/util.ts'
55

66
const funcs = {
77
br: brotli,
@@ -46,7 +46,7 @@ export type CompressionOptions = {
4646
*
4747
* @example
4848
* ```ts
49-
*import { serve } from 'https://deno.land/std@0.111.0/http/server.ts'
49+
*import { serve } from 'https://deno.land/std@0.122.0/http/server.ts'
5050
*import { compression } from 'https://deno.land/x/compression/brotli.ts'
5151
*
5252
*const s = serve({ port: 3000 })

mod_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { superdeno } from 'https://deno.land/x/superdeno@4.6.0/mod.ts'
1+
import { superdeno } from 'https://deno.land/x/superdeno@4.7.2/mod.ts'
22
import { describe, it, run } from 'https://deno.land/x/[email protected]/mod.ts'
33
import { compression } from './mod.ts'
44

0 commit comments

Comments
 (0)