File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
unreleased
2
2
=========================
3
+ * remove:
4
+ - ` path-is-absolute ` dependency - use ` path.isAbsolute ` instead
3
5
* breaking:
4
6
* ` res.status() ` accepts only integers, and input must be greater than 99 and less than 1000
5
7
* will throw a ` RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000. ` for inputs outside this range
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ var http = require('http');
21
21
var onFinished = require ( 'on-finished' ) ;
22
22
var mime = require ( 'mime-types' )
23
23
var path = require ( 'path' ) ;
24
- var pathIsAbsolute = require ( 'path-is-absolute' ) ;
24
+ var pathIsAbsolute = require ( 'path' ) . isAbsolute ;
25
25
var statuses = require ( 'statuses' )
26
26
var merge = require ( 'utils-merge' ) ;
27
27
var sign = require ( 'cookie-signature' ) . sign ;
Original file line number Diff line number Diff line change 48
48
"on-finished" : " 2.4.1" ,
49
49
"once" : " 1.4.0" ,
50
50
"parseurl" : " ~1.3.3" ,
51
- "path-is-absolute" : " 1.0.1" ,
52
51
"proxy-addr" : " ~2.0.7" ,
53
52
"qs" : " 6.11.0" ,
54
53
"range-parser" : " ~1.2.1" ,
You can’t perform that action at this time.
0 commit comments