src/deep-validation/lib/Helpers/vogelsPolyfill.js
function _joiVector(proto) {
  let arr = Joi.array();

  if (arr.includes) {
    return arr.includes(proto);
  }

  return arr.items(proto);
}
function _joiVector(proto) {
  let arr = Joi.array();

  if (arr.includes) {
    return arr.includes(proto);
  }

  return arr.items(proto);
}
function _joiVector ( proto ) { let arr = Joi . array ( ) ; if ( arr . includes ) { return arr . includes ( proto ) ; } return arr . items ( proto ) ; }
Fixes weird joi exception!

@param {Object} proto
@returns {Object}
@private
Fixes weird joi exception!