Skip to content

Commit 0ca8cea

Browse files
committed
Update deps. Closes #3383. Closes #3384. Closes #3385. Closes #3386. Closes #3387. Closes #3388. Closes #3389. Closes #3390. Closes #3391. Closes #3392. Closes #3393. Closes #3394. Closes #3395. Closes #3396. Closes #3397
1 parent 137be35 commit 0ca8cea

6 files changed

Lines changed: 89 additions & 102 deletions

File tree

API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 15.2.x API Reference
1+
# 16.0.x API Reference
22

33
- [Server](#server)
44
- [`new Server([options])`](#new-serveroptions)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Lead Maintainer: [Eran Hammer](https://github.com/hueniverse)
1010
authentication, and other essential facilities for building web and services applications. **hapi** enables
1111
developers to focus on writing reusable application logic in a highly modular and prescriptive approach.
1212

13-
Development version: **15.1.x** ([release notes](https://github.com/hapijs/hapi/issues?labels=release+notes&page=1&state=closed))
13+
Development version: **16.0.x** ([release notes](https://github.com/hapijs/hapi/issues?labels=release+notes&page=1&state=closed))
1414
[![Build Status](https://secure.travis-ci.org/hapijs/hapi.svg?branch=master)](http://travis-ci.org/hapijs/hapi)
1515

1616
For the latest updates, [change log](http://hapijs.com/updates), and release information visit [hapijs.com](http://hapijs.com) and follow [@hapijs](https://twitter.com/hapijs) on twitter. If you have questions, please open an issue in the

lib/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ exports.connection = {
5151
output: 'data',
5252
parse: true,
5353
timeout: 10 * 1000, // Determines how long to wait for receiving client payload. Defaults to 10 seconds
54-
uploads: Os.tmpDir(),
54+
uploads: Os.tmpdir(),
5555
defaultContentType: 'application/json',
5656
compression: {}
5757
},

npm-shrinkwrap.json

100755100644
Lines changed: 81 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "hapi",
33
"description": "HTTP Server framework",
44
"homepage": "http://hapijs.com",
5-
"version": "15.2.0",
5+
"version": "16.0.0",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/hapijs/hapi"
@@ -29,7 +29,7 @@
2929
"hoek": "4.x.x",
3030
"iron": "4.x.x",
3131
"items": "2.x.x",
32-
"joi": "9.x.x",
32+
"joi": "10.x.x",
3333
"mimos": "3.x.x",
3434
"podium": "^1.2.x",
3535
"shot": "3.x.x",

test/validation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ describe('validation', () => {
9898
config: {
9999
validate: {
100100
query: {
101-
verbose: Joi.boolean().when('$params.user', { is: Joi.exist(), otherwise: Joi.forbidden() })
101+
verbose: Joi.boolean().truthy('true').when('$params.user', { is: Joi.exist(), otherwise: Joi.forbidden() })
102102
}
103103
}
104104
}
@@ -155,7 +155,7 @@ describe('validation', () => {
155155
config: {
156156
validate: {
157157
query: {
158-
me: Joi.boolean().when('$auth.credentials.name', { is: Joi.ref('$params.user'), otherwise: Joi.forbidden() })
158+
me: Joi.boolean().truthy('true').when('$auth.credentials.name', { is: Joi.ref('$params.user'), otherwise: Joi.forbidden() })
159159
}
160160
}
161161
}
@@ -1669,7 +1669,7 @@ describe('validation', () => {
16691669
path: '/',
16701670
config: {
16711671
response: {
1672-
schema: Joi.boolean(),
1672+
schema: Joi.boolean().truthy('on'),
16731673
modify: true
16741674
}
16751675
},

0 commit comments

Comments
 (0)