Skip to content

Commit 3e50bae

Browse files
committed
Update deps
1 parent 048181b commit 3e50bae

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

lib/response.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ exports = module.exports = internals.Response = class extends Http.ServerRespons
2727

2828
writeHead(...args) {
2929

30-
// Find the headers object, if one was provided. If a headers object is
31-
// present, call setHeader() on the first valid header, and then break
32-
// out of the loop and call writeHead(). By calling setHeader(), Node
33-
// will materialize a headers object. This eliminates the need to
34-
// access the deprecated _headers object directly.
30+
// Find the headers object if one was provided. If a headers object is present, call setHeader()
31+
// on the first valid header, and then break out of the loop and call writeHead(). By calling
32+
// setHeader(), Node will materialize a headers object.
33+
3534
const headers = args[args.length - 1];
3635

3736
if (typeof headers === 'object' && headers !== null) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"test"
1212
],
1313
"dependencies": {
14-
"@hapi/hoek": "6.x.x",
14+
"@hapi/hoek": "8.x.x",
1515
"@hapi/joi": "15.x.x"
1616
},
1717
"devDependencies": {
18-
"@hapi/code": "5.x.x",
19-
"@hapi/lab": "18.x.x"
18+
"@hapi/code": "6.x.x",
19+
"@hapi/lab": "20.x.x"
2020
},
2121
"scripts": {
2222
"test": "lab -a @hapi/code -t 100 -L",

0 commit comments

Comments
 (0)