Socket
Socket
Sign inDemoInstall

web3-utils

Package Overview
Dependencies
Maintainers
1
Versions
453
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.21 to 1.0.0-beta.22

2

package.json
{
"name": "web3-utils",
"namespace": "ethereum",
"version": "1.0.0-beta.21",
"version": "1.0.0-beta.22",
"description": "Collection of utility functions used in web3.js.",

@@ -6,0 +6,0 @@ "repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-utils",

@@ -350,3 +350,3 @@ /*

var isHex = function (hex) {
return ((_.isString(hex) || _.isNumber(hex)) && /^(-)?0x[0-9a-f]+$/i.test(hex));
return ((_.isString(hex) || _.isNumber(hex)) && /^(-)?0x[0-9a-f]*$/i.test(hex));
};

@@ -353,0 +353,0 @@

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