Socket
Socket
Sign inDemoInstall

big.js

Package Overview
Dependencies
0
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.0 to 6.1.1

4

big.js
/*
* big.js v6.1.0
* big.js v6.1.1
* A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.

@@ -199,3 +199,3 @@ * Copyright (c) 2021 Michael Mclaughlin

if (rm === UNDEFINED) rm = Big.RM;
if (rm === UNDEFINED) rm = x.constructor.RM;
if (rm !== 0 && rm !== 1 && rm !== 2 && rm !== 3) {

@@ -202,0 +202,0 @@ throw Error(INVALID_RM);

@@ -0,1 +1,8 @@

#### 6.1.1
* 03/05/21
* #169 Bugfix: `round`, `toFixed` etc. using original constructor `RM` (bug introduced in *v6.0.0*).
* #169 Correct rounding mode documentation.
* Add version number to legacy documentation.
#### 6.1.0

@@ -2,0 +9,0 @@

{
"name": "big.js",
"description": "A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic",
"version": "6.1.0",
"version": "6.1.1",
"keywords": [

@@ -6,0 +6,0 @@ "arbitrary",

@@ -127,3 +127,3 @@ # big.js

Big.DP = 10
Big.RM = 1
Big.RM = Big.roundHalfUp

@@ -130,0 +130,0 @@ x = new Big(2);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc