This repository was archived by the owner on Jul 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,17 @@ export class App<
146
146
147
147
set ( setting : string , value : any ) {
148
148
this . settings [ setting ] = value
149
+ return this
149
150
}
150
151
151
152
enable ( setting : string ) {
152
153
this . settings [ setting ] = true
154
+ return this
153
155
}
154
156
155
157
disable ( setting : string ) {
156
158
this . settings [ setting ] = false
159
+ return this
157
160
}
158
161
159
162
/**
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export { isIP } from 'https://deno.land/x/isIP@1.0.0/mod.ts'
8
8
export { Accepts } from 'https://deno.land/x/accepts@2.1.0/mod.ts'
9
9
export { encodeUrl } from 'https://deno.land/x/encodeurl@1.0.0/mod.ts'
10
10
export { charset , contentType , lookup } from 'https://deno.land/x/media_types@v2.8.4/mod.ts'
11
- export { default as rg } from 'https://deno.land/x/regexparam@v1.3 .0/src/index.js'
11
+ export { parse as rg } from 'https://deno.land/x/regexparam@v2.0 .0/src/index.js'
12
12
export { forwarded } from 'https://deno.land/x/forwarded@0.0.5/mod.ts'
13
13
export * from 'https://deno.land/x/proxy_addr@0.0.4/mod.ts'
14
14
import type { ServerRequest as Req , Response as ServerResponse } from 'https://deno.land/std@0.97.0/http/server.ts'
Original file line number Diff line number Diff line change 4
4
"entry" : " ./mod.ts" ,
5
5
"description" : " 0-legacy, tiny & fast web framework as a replacement of Express" ,
6
6
"homepage" : " https://github.com/talentlessguy/tinyhttp-deno" ,
7
- "version" : " 0.1.4 " ,
7
+ "version" : " 0.1.6 " ,
8
8
"files" : [
9
9
" ./*.ts" ,
10
10
" ./utils/*.ts" ,
11
11
" ./extensions/**/*.ts" ,
12
12
" README.md"
13
13
],
14
14
"checkFormat" : false ,
15
- "checkTests" : false ,
15
+ "checkTests" : true ,
16
16
"checkInstallation" : false ,
17
17
"check" : true ,
18
18
"unlisted" : false ,
You can’t perform that action at this time.
0 commit comments