Socket
Socket
Sign inDemoInstall

ethers-providers

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethers-providers - npm Package Compare versions

Comparing version 2.1.13 to 2.1.14

2

package.json
{
"name": "ethers-providers",
"version": "2.1.13",
"version": "2.1.14",
"description": "Service provider for Ethereum wallet library.",

@@ -5,0 +5,0 @@ "bugs": {

@@ -94,2 +94,11 @@ 'use strict';

function checkBoolean(value) {
if (typeof(value) === 'boolean') { return value; }
if (typeof(value) === 'string') {
if (value === 'true') { return true; }
if (value === 'false') { return false; }
}
throw new Error('invaid boolean - ' + value);
}
function checkUint256(uint256) {

@@ -347,5 +356,8 @@ if (!utils.isHexString(uint256)) {

var formatLog = {
blockNumber: checkNumber,
blockNumber: allowNull(checkNumber),
blockHash: allowNull(checkHash),
transactionIndex: checkNumber,
removed: allowNull(checkBoolean),
address: utils.getAddress,

@@ -352,0 +364,0 @@ data: allowFalsish(utils.hexlify, '0x'),

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