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

biggystring

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biggystring - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

2

lib/src/index.js

@@ -188,3 +188,3 @@ "use strict";

let out = typeof n === 'number' ? n.toString() : n.replace(/^\s+|\s+$/g, '');
if (out === '') {
if (out === '' || out === '.') {
out = '0';

@@ -191,0 +191,0 @@ }

@@ -163,2 +163,5 @@ "use strict";

});
it('decimal only', function () {
chai_1.assert.equal(index_1.toBns('.'), '0');
});
it('scientific notation: regular numbers', function () {

@@ -165,0 +168,0 @@ const numStr = '5e0';

{
"name": "biggystring",
"version": "4.2.2",
"version": "4.2.3",
"description": "Full floating point big number library using regular Javascript string",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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