Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: neocotic/escape-unicode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.0
Choose a base ref
...
head repository: neocotic/escape-unicode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.3.0
Choose a head ref
  • 1 commit
  • 49 files changed
  • 1 contributor

Commits on Aug 4, 2025

  1. release(0.3.0): Major rewrite

    * **Breaking Change:** Remove `start` and `end` 2nd and 3rd optional parameters and always escape 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:
      * `filter` - A function used to determine which Unicode code points should be converted to Unicode escapes
      * `replacer` - A function that returns a replacement string for an individual Unicode 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
    neocotic committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    56ebe19 View commit details
    Browse the repository at this point in the history
Loading