ethereumjs-util
Advanced tools
Comparing version 2.0.4 to 2.1.0
@@ -73,3 +73,3 @@ const SHA3 = require('sha3') | ||
if (exports.isHexPrefixed(v)) { | ||
v = new Buffer(padToEven(exports.stripHexPrefix(v)), 'hex') | ||
v = new Buffer(exports.padToEven(exports.stripHexPrefix(v)), 'hex') | ||
} else { | ||
@@ -377,5 +377,5 @@ v = new Buffer(v) | ||
function padToEven (a) { | ||
exports.padToEven = function (a) { | ||
if (a.length % 2) a = '0' + a | ||
return a | ||
} |
{ | ||
"name": "ethereumjs-util", | ||
"version": "2.0.4", | ||
"version": "2.1.0", | ||
"description": "a collection of utility functions for Ethereum", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53365
8
2