Releases: lukeed/hexoid
Releases · lukeed/hexoid
v2.0.0
Breaking
-
Replace default export with named
hexoid
export: cdbae71
This is to avoid CommonJS vs ESM usage -- it's now standardized, which also makes TypeScript happy!// Before: import hexoid from 'hexoid'; const hexoid = require('hexoid'); // After import { hexoid } from 'hexoid'; const { hexoid } = require('hexoid');
-
Add
"exports"
map for native ESM support (#1): dfdfd16
Also supports TypeScript's node16/nodenext module resolution
Maintains CommonJS support (with fixed TS definitions)
Thank you @line0 -
Remove UMD distribution for
unpkg.com
: 43f5e28
Previouslyhttps://unpkg.com/hexoid
provided a UMD module. This has been removed.
Nowunpkg.com
will serve the CommonJS module by default. Usehttps://unpkg.com/hexoid?module
for ESM.
Chores
- Update CI test matrix: 1dbabd6
- Update CI status badge: c4850d7
- Add tests for odd-value length: 029de61
- Add
licenses.dev
badge: 50fc746
Full Changelog: v1.0.0...v2.0.0