Skip to content

Releases: cometkim/unicode-segmenter

[email protected]

15 Apr 00:34
5761f08
Compare
Choose a tag to compare

Patch Changes

  • 168319f: Reduce the production bundle size

    Previously I did unescape "\u{1F680}" to "🚀" in the Unicode table. Since extra characters are required to escape, it reduces the output size.

    However, escape sequences compress better. So leaving the build output as is makes more sense for production.

[email protected]

14 Apr 23:27
e3fbd6c
Compare
Choose a tag to compare

Patch Changes

  • 0baf327: Fix CommonJS entries

    CommonJS entries had wrong import paths to ESM, now fixed.
    I really need to work on espub 😅

[email protected]

14 Apr 23:01
c8d785c
Compare
Choose a tag to compare

Patch Changes

  • b65ae23: Skip invariant state checks
  • 5b127e8: Fix error on empty string
  • 4dfce08: Fix codepoint boundary check
  • 4e34e25: Fix missing surrogate boundary check

[email protected]

13 Apr 07:07
03a1b99
Compare
Choose a tag to compare

Patch Changes

  • 973d645: Add index entry

    And good old "main" entry

[email protected]

13 Apr 06:59
9f0630b
Compare
Choose a tag to compare

Patch Changes

  • 3b889e6: Fix TypeScript module resoluition out of "Node16" and "NodeNext".

    Lifted up build artifact to root, so make module resolutions to be much polite with ohter modes.

  • c68df9c: Override package's defualt type to "commonjs" in publishConfig

    Since it is still necessary for TypeScript projects.
    (See microsoft/TypeScript#54523)

    It doesn't actually affects module resolution as we have explicit entries for each modules.
    Just workaround.

[email protected]

13 Apr 05:58
6a7f2f0
Compare
Choose a tag to compare

Minor Changes