Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
eth-gas-reporter
Advanced tools
A mocha reporter for Truffle.
// Requires mocha
npm install -g mocha
// Truffle installed globally
npm install -g eth-gas-reporter
// Truffle installed locally (ProTip: This always works.)
npm install --save-dev eth-gas-reporter
module.exports = {
networks: {
...etc...
},
mocha: {
reporter: 'eth-gas-reporter',
reporterOptions : {
currency: 'CHF',
gasPrice: 21
}
}
};
Option | Type | Default | Description |
---|---|---|---|
currency | String | 'EUR' | National currency to represent gas costs in. Exchange rates loaded at runtime from the coinmarketcap api. Available currency codes can be found here. |
gasPrice | Number | (varies) | Denominated in gwei . Default is loaded at runtime from the eth gas station api |
outputFile | String | stdout | File path to write report output to |
noColors | Boolean | false | Suppress report color. Useful if you are printing to file b/c terminal colorization corrupts the text. |
onlyCalledMethods | Boolean | false | Omit methods that are never called from report. |
deployments
table:
All the ideas in this utility have been borrowed from elsewhere. Many thanks to:
ico-contracts
test suite.FAQs
Mocha reporter which shows gas used per unit test.
The npm package eth-gas-reporter receives a total of 52,447 weekly downloads. As such, eth-gas-reporter popularity was classified as popular.
We found that eth-gas-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.