• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mpyw / axios-case-converter / 20218136980 / 3
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: v1.1.2
DEFAULT BRANCH: master
Ran 15 Dec 2025 02:05AM UTC
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Dec 2025 02:04AM UTC coverage: 92.804%. Remained the same
20218136980.3

Pull #67

github

mpyw
fix: Add exports field for Node.js ESM compatibility

Fixes #58

When using Node.js with `"type": "module"`, the default import was not
working correctly because Node.js treats CJS `exports.default` differently
than ESM `export default`.

Changes:
- Add `exports` field to package.json for proper ESM/CJS resolution
- Generate `.mjs` wrapper that re-exports the default correctly
- ESM: `import applyCaseMiddleware from 'axios-case-converter'` now works
- CJS: `require('axios-case-converter').default` continues to work

Tested on Node.js v25 with `"type": "module"` enabled.

🤖 This commit was automatically created by Claude

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Pull Request #67: [Claude] Fix ESM compatibility for Node.js type module

152 of 173 branches covered (87.86%)

Branch coverage included in aggregate %.

222 of 230 relevant lines covered (96.52%)

34.61 hits per line

Source Files on job node:24 axios:^1 - 20218136980.3
  • Tree
  • List 10
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 20218136980
  • ccfc8d40 on github
  • Prev Job for on claude/fix-esm-exports (#20212931178.5)
  • Next Job for on claude/fix-esm-exports (#20218232717.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc