Socket
Socket
Sign inDemoInstall

web3-utils

Package Overview
Dependencies
Maintainers
2
Versions
445
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-utils - npm Package Compare versions

Comparing version 1.0.0-beta.41 to 1.0.0-beta.42

4

dist/web3-utils.cjs.js

@@ -20,3 +20,3 @@ 'use strict';

var BN = _interopDefault(require('bn.js'));
var randomhex = require('randomhex');
var randomhex = _interopDefault(require('randomhex'));

@@ -497,3 +497,3 @@ var isBN = function isBN(object) {

exports.randomHex = randomhex.randomHex;
exports.randomHex = randomhex;
exports.jsonInterfaceMethodToString = jsonInterfaceMethodToString;

@@ -500,0 +500,0 @@ exports.hexToAscii = hexToAscii;

@@ -13,3 +13,4 @@ import isBoolean from 'lodash/isBoolean';

import BN from 'bn.js';
export { randomHex } from 'randomhex';
import randomhex from 'randomhex';
export { default as randomHex } from 'randomhex';

@@ -16,0 +17,0 @@ const isBN = object => {

@@ -19,2 +19,3 @@ (function (global, factory) {

BN = BN && BN.hasOwnProperty('default') ? BN['default'] : BN;
randomhex = randomhex && randomhex.hasOwnProperty('default') ? randomhex['default'] : randomhex;

@@ -495,3 +496,3 @@ var isBN = function isBN(object) {

exports.randomHex = randomhex.randomHex;
exports.randomHex = randomhex;
exports.jsonInterfaceMethodToString = jsonInterfaceMethodToString;

@@ -498,0 +499,0 @@ exports.hexToAscii = hexToAscii;

{
"name": "web3-utils",
"namespace": "ethereum",
"version": "1.0.0-beta.41",
"version": "1.0.0-beta.42",
"description": "Collection of utility functions used in web3.js.",

@@ -20,2 +20,3 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-utils",

"@babel/runtime": "^7.3.1",
"@types/bn.js": "^4.11.4",
"@types/node": "^10.12.18",

@@ -22,0 +23,0 @@ "bn.js": "4.11.8",

@@ -23,3 +23,4 @@ /*

import BigNumber from 'bn.js';
import BigNumber = require('bn.js');
import {Buffer} from 'buffer';

@@ -26,0 +27,0 @@ export type Unit =

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