-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more conformant unicode handling
This update ensures emoji are correctly stripped (GH-4), and non-Latin characters are not incorrectly lower-cased (GH-6), and adds a bunch of (verified) test cases to ensure the future holds less broken builds. Closes GH-4. Closes GH-5. Closes GH-8.
- Loading branch information
Showing
3 changed files
with
118 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,16 @@ | |
"description": "Generate a slug just like GitHub does for markdown headings.", | ||
"version": "1.1.0", | ||
"author": "Dan Flettre <[email protected]>", | ||
"contributors": [ | ||
"Dan Flettre <[email protected]>", | ||
"Titus Wormer <[email protected]> (http://wooorm.com)" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/Flet/github-slugger/issues" | ||
}, | ||
"dependencies": { | ||
"emoji-regex": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"standard": "*", | ||
"tap-spec": "^4.0.2", | ||
|
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