Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
davidwoodmansee opened this issue Aug 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@davidwoodmansee
Copy link

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.

@confuser confuser added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants