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

ethereumjs-util

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereumjs-util - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

.package.json.swo

4

index.js

@@ -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

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