I uploaded two different validation libraries and none works. Tried the latest versions of Joi and ow. ow kept giving “getFileName is not a function error”. I went back to earlier versions, same issue. Joi’s issue is because it uses unsupported apis like WeakSet.
It’s a lot of needless work to start writing validation features from scratch. Are there tested alternatives? Please help.
Thanks