Socket
Socket
Sign inDemoInstall

bigval

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

7

CHANGELOG.md

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

## [1.3.1](https://github.com/erdDEVcode/bigval/compare/v1.3.0...v1.3.1) (2021-01-14)
### Bug Fixes
* isBigVal should not panic for empty values ([a49739b](https://github.com/erdDEVcode/bigval/commit/a49739b60a5a36890bd2a611551c591d205e8b65))
# [1.3.0](https://github.com/erdDEVcode/bigval/compare/v1.2.0...v1.3.0) (2021-01-14)

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

2

dist/cjs/index.js

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

const isBigVal = (v) => {
return (v._n && v.scale && v.toString && v.toMinScale);
return !!(v && v._n && v.scale && v.toString && v.toMinScale);
};

@@ -50,0 +50,0 @@ exports.isBigVal = isBigVal;

@@ -44,3 +44,3 @@ import { Decimal } from 'decimal.js';

export const isBigVal = (v) => {
return (v._n && v.scale && v.toString && v.toMinScale);
return !!(v && v._n && v.scale && v.toString && v.toMinScale);
};

@@ -47,0 +47,0 @@ /**

{
"name": "bigval",
"version": "1.3.0",
"version": "1.3.1",
"description": ".",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

Sorry, the diff of this file is too big to display

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