diff --git a/.changeset/nasty-turkeys-live.md b/.changeset/nasty-turkeys-live.md deleted file mode 100644 index 7073823..0000000 --- a/.changeset/nasty-turkeys-live.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"unicode-segmenter": patch ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8173171..5cce3fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # 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. + ## 0.11.2 ### Patch Changes diff --git a/package.json b/package.json index 811e1f3..bd4b474 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "unicode-segmenter", - "version": "0.11.2", + "version": "0.11.3", "type": "module", "description": "A lightweight implementation of the Unicode Text Segmentation (UAX #29)", "license": "MIT",