Skip to content
  • Beni Buess's avatar
    update to work with hapi 17 (#145) · ebb0b979
    Beni Buess authored and John Brett's avatar John Brett committed
    * update to work with hapi 17
    
    * test with node 7, 8, 9, latest stable, latest lts on travis
    
    * require node >= 8 as engine, require hapi >= 17 as peerDependency
    
    * return the return value of settings.unauthorizedFunc in case of failure. Use bounce in case validateFunc throws to rethrow system errors but return Boom error otherwise
    
    * make tests use async/await. change test #10 as hapi responds with 500 in case error object is returned.
    
    * return potential error from validateFunc without boomifying.
    
    * pass string instead of error object to Hoek.assert to check for passed options object
    
    * clearify code in validation error handling
    
    * fix example code in README
    
    * changes for v17
    
    * add npm config files, clean up project
    
    * unauthorizedFunc to unauthorized
    ebb0b979
This project is licensed under the MIT License. Learn more