[1.1.2] – 2025-05-04
Changed
- Replaced Bun’s ESM-based build with a TypeScript-only CommonJS (
CJS) output to improve compatibility with Node.js and CommonJS environments. - Removed
bun buildfrom the build pipeline in favor of standardtsccompilation. - Updated
tsconfig.json:- Set
moduletoCommonJS - Changed
targettoES2021 - Removed unused or Bun-specific options (
moduleResolution: bundler,verbatimModuleSyntax, etc.)
- Set
- Removed
"type": "module"and"module"fields frompackage.json. - Output still located in
dist/, includes.jsand.d.ts.
Note
This release makes the package easier to consume in broader tooling and ecosystem setups (e.g., Jest, Node.js, older bundlers) while maintaining all functionality and TypeScript type support.
Full Changelog: v1.1.1...v1.1.2