This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support Unicode international characters - Punycode domains - utilize .codePointAt instead of .charCodeAt - tighten restricted codes to control characters instead of non-latin ranges * Expand test coverage of Unicode cases * Add normalization to email addresses - adds UTF-16 surrogate pair characters to tests.json - adds exported `.normalize` method and associated test - adds test in `tmp.js` for punycoded normalized characters * Monkey-patch V8 NUL normalize bug for Node 4.x * Add unicode length tests * Handle for surrogate pairs in token iteration * Check Buffer.byteLength instead of string.length
- Loading branch information
Showing
5 changed files
with
223 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.