lib/validator.js deleted