Skip to content
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 hapi to @hapi/hapi 18.4.1 #61959

Closed
wants to merge 19 commits into from
Closed

Commits on Mar 31, 2020

  1. Configuration menu
    Copy the full SHA
    66f9476 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76b8801 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33e173b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f84978a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c1631da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b963b4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ad23833 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bd793d7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    69d00cd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b7fc78b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    69f43c9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0893449 View commit details
    Browse the repository at this point in the history
  13. TypeScript fix: Use correct ApplicationState interface

    The `ApplicationState` interface has in the new version of
    `@types/hapi__hapi` been split up into:
    
    - `RequestApplicationState`
    - `ResponeApplicationState`
    - `ServerApplicationState`
    
    See PR for more info:
    DefinitelyTyped/DefinitelyTyped#36361
    
    It looks like the one we want to use is `RequestApplicationState`.
    watson committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    6f8ec28 View commit details
    Browse the repository at this point in the history
  14. Remove unreachable code

    Without this change we would get the following TypeScript error:
    
        This condition will always return 'false' since the types
        'AuthSettings' and 'boolean' have no overlap.
    
    According to the types, `authOptions` can either be an object,
    `undefined` (bot of which we already check for), or the litteral value
    `false`. Previously the types were a bit more loose and also allow a
    string since it was re-using the `RouteOptions` interface (which does
    allow you to specify the `auth` as a string). When reading it back from
    `request.route.settings.auth` it doesn't appear to be possible for the
    value to be a string however.
    watson committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    bf3f6a9 View commit details
    Browse the repository at this point in the history
  15. Fix TypeScript errors

    watson committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    1fe5047 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    baa513b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a43da94 View commit details
    Browse the repository at this point in the history
  18. Revert "Clean up hapi server.register calls"

    This reverts commit baa513b.
    watson committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    04a6b5e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    edf85ef View commit details
    Browse the repository at this point in the history