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.2 to 0.2.3

15

index.js

@@ -162,2 +162,17 @@ /**

zero_prefix: function (h) {
if (h !== undefined && h !== null && h.constructor === String) {
h = this.strip_0x(h);
if (h.length % 2) h = "0" + h;
if (h.slice(0,2) !== "0x" && h.slice(0,3) !== "-0x") {
if (h.slice(0,1) === '-') {
h = "-0x" + h.slice(1);
} else {
h = "0x" + h;
}
}
}
return h;
},
prefix_hex: function (n) {

@@ -164,0 +179,0 @@ if (n !== undefined && n !== null) {

2

package.json
{
"name": "augur-abi",
"version": "0.2.2",
"version": "0.2.3",
"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