Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #68

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Version Packages #68

merged 1 commit into from
Dec 7, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 7, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

unicode-segmenter@0.11.3

Patch Changes

  • a5f486f: Fix bloat in the NPM package.

    package.tgz was mostly bloated by CommonJS interop and sourcemap.

    However, sourcemap isn't necessary here as it uses sources as is,
    and the CommonJS shouldn't be different.

    Now fixed by simpler transpilation for CommoJS entries, and removed sourcemap files.
    Also removed inaccessible entries.

    So the unpacked total package size has been down to 135 KB from 250 KB

    Note: Node.js v22 will stabilize require(ESM), which will allow CommonJS projects to use this package without having to maintain separate entries. I'm very excited about that, and looking forward to it becoming more "common". The first major release may consider ending support for CommonJS entries and TypeScript's "Node" resolution.

@cometkim cometkim merged commit 4a9be75 into main Dec 7, 2024
1 check passed
@cometkim cometkim deleted the changeset-release/main branch December 7, 2024 18:45
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