Socket
Socket
Sign inDemoInstall

decimal.js

Package Overview
Dependencies
0
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23456Next

10.4.3

Diff

Changelog

Source

10.4.3

  • 04/12/2022
  • #211 Remove toStringTag declaration for type compatibility.
mikemcl
published 10.4.2 •

Changelog

Source

10.4.2

  • 12/10/2022
  • #209 Correct return type.
mikemcl
published 10.4.1 •

Changelog

Source

10.4.1

  • 16/09/2022
  • #205 Add './decimal' subpath to package.json exports.
mikemcl
published 10.4.0 •

Changelog

Source

10.4.0

  • 14/08/2022
  • #201 Add exports field to package.json.
  • #203 Preserve license comment after bundling.
  • #198 Use type predicate on isDecimal.
mikemcl
published 10.3.1 •

Changelog

Source

10.3.1

  • 25/06/2021
  • Remove minified versions. Refresh README.
mikemcl
published 10.3.0 •

Changelog

Source

10.3.0

  • 22/06/2021
  • Support underscores as separators.
  • #101 Add Decimal.clamp method.
  • #161 Fix Decimal instances deemed plain objects.
  • #100 Add Decimal.sum method.
  • #146 Symbol.for to Symbol['for'] for IE8.
  • #132 Fix possible infinite loop when minE is very low.
  • #180 Accept Decimals of different origin.
  • Update Typescript definitions.
  • Update minification examples in README.
  • Add minified versions for both decimal.js and decimal.mjs.
  • Add files field to package.json, and remove build script.
mikemcl
published 10.2.1 •

Changelog

Source

10.2.1

  • 28/09/2020
  • Correct sqrt initial estimate.
mikemcl
published 10.2.0 •

Changelog

Source

10.2.0

  • 08/05/2019
  • #128 Workaround V8 Math.pow change.
  • #93 Accept + prefix when parsing string values.
  • #129 Fix typo.
mikemcl
published 10.1.1 •

Changelog

Source

10.1.1

  • 27/02/2019
  • Check Symbol properly.
mikemcl
published 10.0.2 •

Changelog

Source

10.0.2

  • 13/12/2018
  • #114 Remove soureMappingURL from decimal.min.js.
  • Remove bower.json.
23456Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc