-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to hapi version 18 #80468
Merged
Merged
Upgrade to hapi version 18 #80468
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
9da2bf8
Add missing direct dependency podium to package.json
watson f913f8e
Add missing direct dependency statehood to package.json
watson 172cd6c
Upgrade from hapi@17.6.0 to @hapi/hapi@18.4.1
watson 309c284
Implement breaking changes from @hapi/hapi upgrade
watson d19511c
TypeScript fix: Use correct ApplicationState interface
watson d01b71a
Remove pre-hapi 18 hacks
watson e0effa2
Fix tests related to @hapi/hapi upgrade
watson 2aa4020
Upgrade from boom@7.2.2 to @hapi/boom@7.4.11
watson eeb1043
Upgrade from hapi-auth-cookie@9.0.0 to @hapi/cookie@10.1.2
watson a8f9701
Implement breaking changes from @hapi/cookie upgrade
watson 190ec43
Upgrade from h2o2@8.1.2 to @hapi/h2o2@8.3.2
watson f770865
Upgrade from hoek@5.0.4 to @hapi/hoek@8.5.1
watson 6bb56f7
Upgrade from inert@5.1.0 to @hapi/inert@5.2.2
watson aefad69
Upgrade from vision@5.4.0 to @hapi/vision@5.5.4
watson 2a75e98
Upgrade from podium@3.1.2 to @hapi/podium@3.4.3
watson 9a79f6a
Upgrade from statehood@6.0.6 to @hapi/statehood@6.1.2
watson 20f05a3
Fix TypeScript errors
watson cff8d2d
Pin @types/hapi__mimos to v4.1.0 to avoid TypeScript validation error
watson 5ae9c97
Merge branch 'master' into bump-hapi2
watson 6c6f223
Replace boom with @hapi/boom in changes from master
watson e74558e
Address review comments
watson 773fe2e
Merge branch 'master' into bump-hapi2
watson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to enforce this resolution? Are there any versions conflicting with each other?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the hapi modules depend on
@hapi/iron
version*
, which currently resolves to6.0.0
, which isn't compatible with Node.js 10. So to ensure it works with our version of Node.js, I had to force this resolution.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it mean we can remove this after #61587 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I would think so - unless there's some other incompatibility that I don't know of. If nothing else, we should be able to remove it once we upgrade to hapi v20, which can be done after the upgrade to Node.js 12.