Updated with Joi 4.x compatibility

All tests passing