leepowelldev / mongoose-validator

Validators for mongoose models utilising validator.js
MIT License
379 stars 43 forks source link

validator.js is included as a devDependency #42

Closed kherock closed 7 years ago

kherock commented 7 years ago

You should include it as a peerDependency to warn that you're intending to let people choose what version of validator.js to use. Otherwise you should include it as a normal dependency!

leepowelldev commented 7 years ago

Yes, you're correct. Looks like my dependencies got mixed up, and I ended up with mocha as a dependancy instead! Thanks for the heads up. Should be fixed now with 1.3.2