now-ims / hapi-now-auth

Hapi token auth for bearer and jwt
MIT License
43 stars 5 forks source link

Dependency on @hapi/joi is causing issues now that Joi has broken off of Hapi #17

Closed clok closed 3 years ago

clok commented 3 years ago

The joi project is no longer maintained within the Hapi project. It is now in its own namespace. https://joi.dev/

As a result, when using hapi v20+ you must include both @hapi/joi (which is stale) and joi in your project dependencies to get @now-ims/hapi-auth-now to work. The project doesn't appear to list @hapi/joi as a dependency and this has led to build failures and workarounds.

puchesjr commented 3 years ago

We apologize for this issue and will update the package to use the appropriate dependencies

clok commented 3 years ago

Thank you!