Socket
Socket
Sign inDemoInstall

eth-gas-reporter

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eth-gas-reporter - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

6

CHANGELOG.md
## Changelog: eth-gas-reporter
0.0.13 / 2017-11-15
===================
* Filter throws by receipt.status if possible
* Use testrpc 6.0.2 in tests, add view and pure methods to tests.
0.0.12 / 2017-10-28

@@ -4,0 +10,0 @@ ===================

16

index.js

@@ -16,2 +16,3 @@ const mocha = require('mocha')

let n = 0
let failed = false;
let startBlock

@@ -135,2 +136,3 @@ let deployStartBlock

runner.on('fail', test => {
failed = true;
let fmt = indent() + color('fail', ' %d) %s')

@@ -142,8 +144,14 @@ log()

runner.on('end', () => {
stats
.generateGasStatsReport(methodMap, deployMap)
.then(() => self.epilogue());
})
if (!failed){
stats
.generateGasStatsReport(methodMap, deployMap)
.then(() => self.epilogue() );
} else {
self.epilogue();
}
});
}
/**

@@ -150,0 +158,0 @@ * Inherit from `Base.prototype`.

{
"name": "eth-gas-reporter",
"version": "0.0.12",
"version": "0.0.13",
"description": "Mocha reporter which shows gas used per unit test.",

@@ -5,0 +5,0 @@ "main": "index.js",

{
"name": "eth-gas-reporter",
"version": "0.0.13",
"version": "0.0.14",
"description": "Mocha reporter which shows gas used per unit test.",

@@ -5,0 +5,0 @@ "main": "index.js",

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