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

ethjs-format

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethjs-format - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

CHANGELOG.md

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

# 0.1.2 -- less dependencies
1. Removal of utf8 dependency
2. ethjs-util update
3. package config update
# 0.1.1 -- removal of BigNumber for BN

@@ -2,0 +8,0 @@

4

lib/index.js

@@ -5,5 +5,5 @@ 'use strict';

var BN = require('bn.js');
var stripHexPrefix = require('strip-hex-prefix');
var isHexPrefixed = require('is-hex-prefixed');
var toBuffer = require('ethjs-util').toBuffer;
var stripHexPrefix = require('ethjs-util').stripHexPrefix;
var isHexPrefixed = require('ethjs-util').isHexPrefixed;
var arrayContainsArray = require('ethjs-util').arrayContainsArray;

@@ -10,0 +10,0 @@ var getBinarySize = require('ethjs-util').getBinarySize;

{
"name": "ethjs-format",
"version": "0.1.1",
"version": "0.1.2",
"description": "A payload formatter for the Ethereum RPC layer.",

@@ -124,4 +124,4 @@ "main": "lib/index.js",

"bn.js": "4.11.6",
"ethjs-schema": "^0.1.0",
"ethjs-util": "0.1.1"
"ethjs-schema": "0.1.0",
"ethjs-util": "0.1.2"
},

@@ -128,0 +128,0 @@ "devDependencies": {

const schema = require('ethjs-schema');
const BN = require('bn.js');
const stripHexPrefix = require('strip-hex-prefix');
const isHexPrefixed = require('is-hex-prefixed');
const toBuffer = require('ethjs-util').toBuffer;
const stripHexPrefix = require('ethjs-util').stripHexPrefix;
const isHexPrefixed = require('ethjs-util').isHexPrefixed;
const arrayContainsArray = require('ethjs-util').arrayContainsArray;

@@ -7,0 +7,0 @@ const getBinarySize = require('ethjs-util').getBinarySize;

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

Sorry, the diff of this file is not supported yet

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