Socket
Socket
Sign inDemoInstall

big.js

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

big.js - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

9

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

@@ -233,3 +233,3 @@ * Copyright (c) 2022 Michael Mclaughlin

// Remove any digits after the required precision.
xc.length = sd--;
xc.length = sd;

@@ -240,7 +240,8 @@ // Round up?

// Rounding up may mean the previous digit has to be rounded up.
for (; ++xc[sd] > 9;) {
for (; ++xc[--sd] > 9;) {
xc[sd] = 0;
if (!sd--) {
if (sd === 0) {
++x.e;
xc.unshift(1);
break;
}

@@ -247,0 +248,0 @@ }

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

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

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

```html
<script src='https://cdn.jsdelivr.net/npm/big.js@6.2.0/big.min.js'></script>
<script src='https://cdn.jsdelivr.net/npm/big.js@6.2.1/big.min.js'></script>
```

@@ -68,4 +68,4 @@

```javascript
import Big from 'https://raw.githubusercontent.com/mikemcl/big.js/v6.2.0/big.mjs';
import Big from 'https://unpkg.com/big.js@6.2.0/big.mjs';
import Big from 'https://raw.githubusercontent.com/mikemcl/big.js/v6.2.1/big.mjs';
import Big from 'https://unpkg.com/big.js@6.2.1/big.mjs';
```

@@ -72,0 +72,0 @@

Sorry, the diff of this file is not supported yet

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