🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

hardhat-contract-sizer

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hardhat-contract-sizer - npm Package Compare versions

Comparing version

to
2.0.2

5

index.js

@@ -22,3 +22,2 @@ const fs = require('fs');

const NAME = 'size-contracts';

@@ -75,2 +74,6 @@ const DESC = 'Output the size of compiled contracts';

for (let contract of contracts) {
if (!contract.size) {
continue;
}
let name = contract.name;

@@ -77,0 +80,0 @@ let size = (contract.size / 1024).toFixed(2);

2

package.json
{
"name": "hardhat-contract-sizer",
"version": "2.0.1",
"version": "2.0.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Output Solidity contract sizes with Hardhat",