ajv-validator/ajv-errors

Use latest version of AJV to fix uri-js version 4.2.1 instead of 4.2.2

Vadorequest opened this issue · 3 comments

A bug with uri-js package has been fixed in ajv, but this lib doesn't use the latest ajv version and isn't using the latest version, and is therefore failing during compiling when using create-react-app.

ajv-validator/ajv#833

Publishing a new version of jv-error-messages based on the lastest 6.x ajv version should fix this.

Or maybe my understanding is just wrong and it's because ajv-error-messages doesn't provide a build at all.

Failed to minify the code from this file:

    ./node_modules/ajv-error-messages/index.js:10:12 

And I'm wrong, this isn't related to ajv-errors but to ajv-error-messages which is a different library... Sorry for the noise.

For those looking for a solution regardless, I fixed it by forking it, maybe it'll be added in the original repo at some point. https://github.com/StudyLink-fr/ajv-error-messages/