Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Validator Deprecated Warning from validator.js dependency #14

@B4bharat

Description

@B4bharat

'validator' module shows the following warning:
validator deprecated you tried to validate a number but this library (validator.js) validates strings only. Please update your code as this will be an error soon. at node_modules/koa-validation/lib/rules.js:309:15

It is similar to this error - express-validator/express-validator#219
And is solved by upgrading the validator module to v5 - express-validator/express-validator#214

Would request the maintainers to kindly upgrade it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions