Skip to content

Releases: airmrcr/unescape-unicode

0.3.0

04 Aug 19:24

Choose a tag to compare

  • Breaking Change: Convert Unicode escapes within input parameter 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)
  • Breaking Change: No longer throw an error if no valid Unicode escape is found in input parameter
  • Breaking Change: Remove start 2nd optional parameter and always unescape all valid Unicode escapes within the
    full range of input parameter
    • Caller is now responsible for slicing the input parameter beforehand, if desired
  • Breaking Change: Add optional options 2nd 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 input parameter is either null or undefined
  • 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

0.2.0

09 Nov 23:37
9658836

Choose a tag to compare

  • added package-lock.json file to enable "npm audit" 9bd6510
  • moved from !ninja to neocotic a570131
  • modified CI to now target Node.js 8, 10, and 11 0315b60
  • bumped devDependencies 6808784

0.1.0

25 Jan 11:11
3a190ea

Choose a tag to compare

Initial release