Skip to content

Conversation

@ChALkeR
Copy link
Collaborator

@ChALkeR ChALkeR commented Feb 10, 2026

Under 1 KiB gzipped

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a browser-targeted UTF-16 implementation and wires it into package resolution so bundlers can pick a smaller browser build.

Changes:

  • Added utf16.browser.js implementation that decodes via TextDecoder and encodes via the existing JS fallback encoder.
  • Updated package.json files, exports, and browser mappings to route browser consumers to utf16.browser.js.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
utf16.browser.js New browser-specific UTF-16 encode/decode implementation (TextDecoder-based decode).
package.json Exposes and aliases the new browser entrypoint via exports and the legacy browser field.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ChALkeR ChALkeR force-pushed the chalker/size/2 branch 2 times, most recently from 2600ad6 to a14b1c1 Compare February 10, 2026 04:44
@ChALkeR ChALkeR force-pushed the chalker/size/2 branch 4 times, most recently from 66b8e8f to 22d1b21 Compare February 10, 2026 05:07
@ChALkeR ChALkeR force-pushed the chalker/size/2 branch 2 times, most recently from 52c3453 to 29346e8 Compare February 10, 2026 05:11
@ChALkeR ChALkeR requested a review from Copilot February 10, 2026 05:11
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ChALkeR ChALkeR merged commit eb0de06 into main Feb 10, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant