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.1 to 6.2.2

8

big.js
/*
* big.js v6.2.1
* big.js v6.2.2
* A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.
* Copyright (c) 2022 Michael Mclaughlin
* Copyright (c) 2024 Michael Mclaughlin
* https://github.com/MikeMcl/big.js/LICENCE.md

@@ -809,3 +809,3 @@ */

// Estimate.
s = Math.sqrt(x + '');
s = Math.sqrt(+stringify(x, true, true));

@@ -975,3 +975,3 @@ // Math.sqrt underflow/overflow?

P.toNumber = function () {
var n = Number(stringify(this, true, true));
var n = +stringify(this, true, true);
if (this.constructor.strict === true && !this.eq(n.toString())) {

@@ -978,0 +978,0 @@ throw Error(NAME + 'Imprecise conversion');

The MIT License (MIT)
=====================
Copyright © `<2022>` `Michael Mclaughlin`
Copyright © `<2024>` `Michael Mclaughlin`

@@ -6,0 +6,0 @@ Permission is hereby granted, free of charge, to any person

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

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

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

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

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

```javascript
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';
import Big from 'https://raw.githubusercontent.com/mikemcl/big.js/v6.2.2/big.mjs';
import Big from 'https://unpkg.com/big.js@6.2.2/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