All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Use ESM breaking: please read this guide
- Add types breaking: tiny chance of breaking, use a new version of TS and it’ll work
- Update Unicode to 13, to match GH
- Fix to match GitHub’s algorithm on unicode
- Expose static slug function for folks who do not want/need the stateful bits (Thanks @bobbylito!).
- Fix collisions for slugs with occurrences
- Fix accessing
Object.prototype
methods - Fix Russian
- Add
files
to package.json
- Add
maintainCase
support
- Fix
emoji-regex
semver version to ensure npm5 compatibility.
- Lock down
emoji-regex
dependency to avoid strange unicode bug
- Add more conformant unicode handling to ensure:
- emoji are correctly stripped
- non-Latin characters are not incorrectly lowercased
- Also adds more verified test cases
Check the PR for more details!
Thanks @wooorm!