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

@ethersproject/bignumber

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/bignumber - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

2

lib.esm/_version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "bignumber/5.4.0";
export declare const version = "bignumber/5.4.1";
//# sourceMappingURL=_version.d.ts.map

@@ -1,2 +0,2 @@

export const version = "bignumber/5.4.0";
export const version = "bignumber/5.4.1";
//# sourceMappingURL=_version.js.map

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

if (this.isNegative() && hasFraction) {
result = result.subUnsafe(ONE);
result = result.subUnsafe(ONE.toFormat(result.format));
}

@@ -239,3 +239,3 @@ return result;

if (!this.isNegative() && hasFraction) {
result = result.addUnsafe(ONE);
result = result.addUnsafe(ONE.toFormat(result.format));
}

@@ -242,0 +242,0 @@ return result;

@@ -1,2 +0,2 @@

export declare const version = "bignumber/5.4.0";
export declare const version = "bignumber/5.4.1";
//# sourceMappingURL=_version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "bignumber/5.4.0";
exports.version = "bignumber/5.4.1";
//# sourceMappingURL=_version.js.map

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

if (this.isNegative() && hasFraction) {
result = result.subUnsafe(ONE);
result = result.subUnsafe(ONE.toFormat(result.format));
}

@@ -246,3 +246,3 @@ return result;

if (!this.isNegative() && hasFraction) {
result = result.addUnsafe(ONE);
result = result.addUnsafe(ONE.toFormat(result.format));
}

@@ -249,0 +249,0 @@ return result;

@@ -20,3 +20,3 @@ {

],
"gitHead": "c2c0ce75039e7256b287f9a764188d08ed0b7296",
"gitHead": "0d40156fcba5be155aa5def71bcdb95b9c11d889",
"keywords": [

@@ -43,5 +43,5 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0x46bce033d030f4c6d6098499f1fd2da204e1fa183604781da2e113cd8c802e36",
"tarballHash": "0xfee7ec376bfc8eb2668be2c881831293bad60c7b03f1b32c95cdc668296219fa",
"types": "./lib/index.d.ts",
"version": "5.4.0"
"version": "5.4.1"
}

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

export const version = "bignumber/5.4.0";
export const version = "bignumber/5.4.1";

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

if (this.isNegative() && hasFraction) {
result = result.subUnsafe(ONE);
result = result.subUnsafe(ONE.toFormat(result.format));
}

@@ -272,3 +272,3 @@

if (!this.isNegative() && hasFraction) {
result = result.addUnsafe(ONE);
result = result.addUnsafe(ONE.toFormat(result.format));
}

@@ -275,0 +275,0 @@

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