Skip to content

String length checks inaccurate for unicode supplemental plane - update 'validator' library to ^13.9.0 #248

@davidwoodmansee

Description

@davidwoodmansee

The string length is not computed correctly for certain unicode multibyte presentational sequences (such as emojis with a color attribute. e.g. "✔️").

the issue stems from the 'validator' library but a fix was merged and released as 13.9.0

the fix was here: validatorjs/validator.js#1967

However, this package is still using 13.6.0, so that needs to be updated to at least 13.9.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions