arb / celebrate

A joi validation middleware for Express.
MIT License
1.34k stars 65 forks source link

Update `joi` organization and fixed `@hapi/joi' should be listed in the project's dependencies` failure #189

Closed fhsinchy closed 4 years ago

fhsinchy commented 4 years ago

joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411). I have updated the package.json file accordingly and have updated the following files to reflect the changes:

fhsinchy commented 4 years ago

Tests are still failing.

arb commented 4 years ago

Please see https://github.com/arb/celebrate/pull/184#issuecomment-681020255 for why the tests are failing. Essentially, there is some difference between @hapi/joi and just joi.

fhsinchy commented 4 years ago

Yes I've seen this after I left work. Sorry for not noticing earlier mate 😃