You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ethers-utils

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethers-utils - npm Package Compare versions

Comparing version

to
2.1.10

2

package.json
{
"name": "ethers-utils",
"version": "2.1.9",
"version": "2.1.10",
"description": "Utilities for the Ethers Ethereum library.",

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

@@ -0,1 +1,3 @@

'use strict';
function defineProperty(object, name, value) {

@@ -2,0 +4,0 @@ Object.defineProperty(object, name, {

@@ -26,2 +26,6 @@ 'use strict';

return convert.arrayify(value);
case 'bool':
value = (value ? '0x01': '0x00');
if (isArray) { return convert.padZeros(value, 32); }
return convert.arrayify(value);
}

@@ -28,0 +32,0 @@