Releases: airmrcr/unescape-unicode
Releases · airmrcr/unescape-unicode
0.3.0
- Breaking Change: Convert Unicode escapes within
inputparameter to their corresponding characters- Characters that are not part of Unicode escapes are included in the returned string as-is, including
invalid or incomplete Unicode escapes (e.g.\uxxxx)
- Characters that are not part of Unicode escapes are included in the returned string as-is, including
- Breaking Change: No longer throw an error if no valid Unicode escape is found in
inputparameter - Breaking Change: Remove
start2nd optional parameter and always unescape all valid Unicode escapes within the
full range ofinputparameter- Caller is now responsible for slicing the
inputparameter beforehand, if desired
- Caller is now responsible for slicing the
- Breaking Change: Add optional
options2nd parameter to support the following:replacer- A function that returns a replacement string for an individual escape character represented by a
specific Unicode code point, if any
- Breaking Change: Return empty string if
inputparameter is eithernullorundefined - Explicitly add full support for converting characters within the Basic Multilingual Plane (BMP)
- Rewrite the entire codebase in TypeScript and support both ESM and CJS usage
- Improve documentation
- Improve the developer experience for contributors with better tooling
- Bump all dependencies to latest versions