File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 10
10
os :
11
11
- ubuntu-latest
12
12
node_version :
13
+ - 18
13
14
- 20
14
15
- 22
15
16
name : Node ${{ matrix.node_version }} on ${{ matrix.os }}
Original file line number Diff line number Diff line change 5
5
* @link https://github.com/alexmingoia/koa-router
6
6
*/
7
7
const http = require ( 'node:http' ) ;
8
+ const util = require ( 'node:util' ) ;
9
+
10
+ const debug = util . debuglog ( 'koa-router' ) ;
8
11
9
12
const compose = require ( 'koa-compose' ) ;
10
13
const HttpError = require ( 'http-errors' ) ;
11
- const debug = require ( 'debug' ) ( 'koa-router' ) ;
12
14
const { pathToRegexp } = require ( 'path-to-regexp' ) ;
13
15
14
16
const Layer = require ( './layer' ) ;
Original file line number Diff line number Diff line change 21
21
}
22
22
],
23
23
"dependencies" : {
24
- "debug" : " ^4.3.6" ,
25
24
"http-errors" : " ^2.0.0" ,
26
25
"koa-compose" : " ^4.1.0" ,
27
26
"path-to-regexp" : " ^6.2.2"
45
44
"xo" : " 0.53.1"
46
45
},
47
46
"engines" : {
48
- "node" : " >= 20 "
47
+ "node" : " >= 18 "
49
48
},
50
49
"files" : [
51
50
" lib"
You can’t perform that action at this time.
0 commit comments