Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 20 May 00:51
· 33 commits to main since this release
4b8d1d1

Minor Changes

  • 75492dc: Expose an internal state: _hd;

    The first codepoint of a segment, which is often need to be checked its bounds.

    For example,

    for (const { segment } of graphemeSegments(text)) {
      const cp = segment.codePointAt(0)!;
      // Also need to `!` assertions in TypeScript.
      if (isBMP(cp)) {
        // ...
      }
    }

    It can be replaced by _hd state. no additional overhead.

Patch Changes

  • cd63858: Export bundled entries (/bundle/*.js)