Skip to content

Commit f2acbde

Browse files
committed
bump deps; require node 12; fix test
1 parent 5b6b707 commit f2acbde

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
"youch-terminal": "~1.0.0"
1212
},
1313
"devDependencies": {
14-
"@hapi/boom": "~8.0.1",
15-
"@hapi/code": "~8.0.0",
14+
"@hapi/boom": "~9.0.0",
15+
"@hapi/code": "~8.0.1",
1616
"@hapi/hapi": "~18.4.0",
17-
"@hapi/joi": "~15.1.1",
18-
"@hapi/lab": "~21.0.0",
17+
"@hapi/joi": "~17.0.0",
18+
"@hapi/lab": "~22.0.3",
1919
"@hapi/vision": "~5.5.4",
2020
"eslint": "~6.8.0",
2121
"eslint-config-standard": "~14.1.0",
22-
"eslint-plugin-import": "~2.19.0",
22+
"eslint-plugin-import": "~2.19.1",
2323
"eslint-plugin-node": "~11.0.0",
2424
"eslint-plugin-promise": "~4.2.1",
2525
"eslint-plugin-standard": "~4.0.1",
26-
"husky": "~4.0.2",
27-
"sinon": "~8.0.0"
26+
"husky": "~4.0.3",
27+
"sinon": "~8.0.4"
2828
},
2929
"engines": {
30-
"node": ">=8"
30+
"node": ">=12"
3131
},
3232
"homepage": "https://github.com/futurestudio/hapi-dev-errors#readme",
3333
"keywords": [

test/plugin-handles-failed-response-validations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ experiment('hapi-dev-error handles failed response validations', () => {
2626
method: 'GET',
2727
config: {
2828
response: {
29-
schema: {
29+
schema: Joi.object({
3030
user: Joi.object().required()
31-
}
31+
})
3232
}
3333
},
3434
handler: () => {

0 commit comments

Comments
 (0)