Skip to content

Release 3.2.1#428

Merged
armando-rodriguez-cko merged 1 commit into
masterfrom
release/3.2.1
Apr 22, 2026
Merged

Release 3.2.1#428
armando-rodriguez-cko merged 1 commit into
masterfrom
release/3.2.1

Conversation

@armando-rodriguez-cko
Copy link
Copy Markdown
Contributor

What

Patch release to fix the broken ESM output introduced in v3.1.0, which made the published package unusable under both import and require.

Changes

  • package.json — version bump to 3.2.1; removed --no-babelrc from build script to restore ESM output; added postbuild smoke test; updated axios to ^1.14.0
  • package-lock.json — regenerated to reflect axios and version changes

Root cause

See #427 and #424. --no-babelrc bypassed the Babel preset config (modules: false), causing the production build to emit CJS while package.json still declared "type": "module".

Testing

  • All existing tests pass (829 passing)
  • dist/index.js outputs valid ESM after build
  • npm ci passes
  • No README changes needed

Related

Closes #424

- fix(build): restore ESM output broken since v3.1.0 (#427)
@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team April 22, 2026 16:24
@sonarqubecloud
Copy link
Copy Markdown

@armando-rodriguez-cko armando-rodriguez-cko merged commit 6111b9e into master Apr 22, 2026
3 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the release/3.2.1 branch April 22, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Published module is broken: it's a CJS module instead of ESM

2 participants