Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dinero.js/calculator-number

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dinero.js/calculator-number - npm Package Versions

2

2.0.0-alpha.14

Diff

sarahdayan
published 2.0.0-alpha.13 •

Changelog

Source

2.0.0-alpha.13 (2022-12-19)

Bug Fixes

  • toDecimal: preserve negative sign for leading zeros (#693) (e6f290d), closes #692
sarahdayan
published 2.0.0-alpha.12 •

Changelog

Source

2.0.0-alpha.12 (2022-12-09)

Bug Fixes

  • toDecimal: teach toDecimal how to handle negative units (#690) (81c5566)
sarahdayan
published 2.0.0-alpha.11 •

Changelog

Source

2.0.0-alpha.11 (2022-12-04)

Features

  • provide better support for non-decimal currencies (#309) (e7e9a19), closes #294

BREAKING CHANGES

  • ** the toUnit and the toFormat functions were removed.
sarahdayan
published 2.0.0-alpha.10 •

Changelog

Source

2.0.0-alpha.10 (2022-11-19)

Bug Fixes

  • dinero.js: don't accept extra fields inside the currency options on create (#673) (9e72f9e)
sarahdayan
published 2.0.0-alpha.9 •

Changelog

Source

2.0.0-alpha.9 (2022-11-04)

Bug Fixes

  • currencies: add missing ANG export (#447) (8a0f67b)
  • trimScale: check for zero value in countTrailingZeros (#448) (6eefe8b)

Reverts

sarahdayan
published 2.0.0-alpha.8 •

Changelog

Source

2.0.0-alpha.8 (2021-08-08)

Bug Fixes

  • core: use equal function to compare currency base and exponent (ac4724f)
  • calculator-bigint: avoid transpiling exponentiation operator (53bf974)

Features

sarahdayan
published 2.0.0-alpha.7 •

Changelog

Source

2.0.0-alpha.7 (2021-07-26)

Bug Fixes

  • dinero.js: properly re-export types and rounding functions (d40a7e2)

Features

  • dinero.js: re-export createDinero (d8d149f)
sarahdayan
published 2.0.0-alpha.6 •

Changelog

Source

2.0.0-alpha.6 (2021-07-21)

Bug Fixes

  • currencies: use proper base and exponents for MRU and MGA (ac2bb8d)
sarahdayan
published 2.0.0-alpha.5 •

Changelog

Source

2.0.0-alpha.5 (2021-07-19)

Features

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc