Socket
Socket
Sign inDemoInstall

solhint

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solhint - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

.npmignore

2

package.json
{
"name": "solhint",
"version": "1.0.8",
"version": "1.0.9",
"description": "Solidity Code Linter",

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

@@ -38,3 +38,3 @@ #!/usr/bin/env node

async function execMainAction () {
function execMainAction () {
const pathPromises = program

@@ -45,6 +45,9 @@ .args

const reports = _.flatten(await Promise.all(pathPromises));
printReports(reports, program.formatter);
exitWithCode(reports);
Promise
.all(pathPromises)
.then(items => _.flatten(items))
.then(reports => {
printReports(reports, program.formatter);
exitWithCode(reports);
});
}

@@ -51,0 +54,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc