Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to hapi v17, hoek v5, joi v13, and lab v15.
Breaking Changes: - Remove "connections" and "onPreConnection" from manifest. - Return async function instead of using a callback or native Promise. - Change "preRegister" contract from callback to async function. - Change manifest shape from manifest.registrations array to manifest.register.plugins array. - Change expected plugin object shape to match hapi v17 expectations. Non-Breaking Changes: - Hand plugin and registration options straight to hapi for validation at registration time. - Single server.register call instead of one per plugin.
- Loading branch information
Showing
9 changed files
with
360 additions
and
690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,4 @@ sudo: false | |
language: node_js | ||
|
||
node_js: | ||
- "4" | ||
- "6" | ||
- "8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.