New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

augur-abi

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augur-abi - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

19

index.js

@@ -85,2 +85,14 @@ /**

unfork: function (forked) {
if (forked !== null && forked !== undefined) {
var unforked = this.bignum(forked);
var superforked = unforked.plus(this.constants.MOD);
if (superforked.gte(this.constants.BYTES_32) && superforked.lt(this.constants.MOD)) {
unforked = superforked;
}
if (forked.constructor === BigNumber) return unforked;
return this.pad_left(unforked.toString(16));
}
},
hex: function (n, nowrap) {

@@ -97,3 +109,3 @@ var h;

case Array:
h = this.bignum(n, "hex");
h = this.bignum(n, "hex", nowrap);
break;

@@ -122,3 +134,3 @@ case BigNumber:

default:
h = this.bignum(n, "hex");
h = this.bignum(n, "hex", nowrap);
}

@@ -219,3 +231,2 @@ }

} else {
// console.log("Couldn't convert Number", n.toString(), "to BigNumber");
return n;

@@ -233,3 +244,2 @@ }

} else {
// console.log("Couldn't convert String", n.toString(), "to BigNumber");
return n;

@@ -253,3 +263,2 @@ }

} catch (exc) {
// console.log("Couldn't convert", n.toString(), "to BigNumber");
return n;

@@ -256,0 +265,0 @@ }

{
"name": "augur-abi",
"version": "0.2.4",
"version": "0.2.5",
"description": "Contract ABI serialization",

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

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

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

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