Download Latest Version v4.0.0 source code.zip (24.5 kB)
Email in envelope

Get an email when there's a new version of Cashify

Home / v4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-21 1.7 kB
v4.0.0 source code.tar.gz 2026-03-21 19.9 kB
v4.0.0 source code.zip 2026-03-21 24.5 kB
Totals: 3 Items   46.1 kB 0

Breaking changes

  • Requires Node.js 24 or higher.

What's new

Tooling & infrastructure

  • Migrated from npm to pnpm
  • Replaced XO linter with Biome
  • Replaced AVA with the built-in Node.js test runner (node:test)
  • Replaced c8 with native Node.js test coverage
  • Replaced ts-node with native Node.js type stripping
  • Modern TypeScript config (nodenext, ES2024, strict, declaration maps)
  • Added Changesets for versioning
  • Added autonomous npm release workflow with provenance
  • Added Renovate for automated dependency updates
  • Removed Travis CI, editorconfig, and del-cli

Code

  • Replaced hasKey utility with Object.hasOwn() (#18)
  • Added proper validation for NaN and Infinity amounts – now throws a TypeError instead of producing misleading error messages (closes [#18])
  • All errors now use TypeError where applicable
  • Extracted parser regex to a named constant
  • Removed parameter reassignment in convert()

Documentation

  • Replaced currency.js example with built-in Intl.NumberFormat
  • Updated floating point section to accurately describe the *100/100 trick and its limitations
  • Added AI disclosure section
  • Fixed incorrect link in big.js section (closes [#25])
  • Updated badges (removed XO, Bundlephobia; added CI from GitHub Actions)
  • Switched funding from OpenCollective to GitHub Sponsors

Packaging

  • Modern exports field with types condition
  • Removed author field from package.json
  • Updated license year

Full diff: https://github.com/xxczaki/cashify/compare/3.0.1...v4.0.0

Source: README.md, updated 2026-03-21