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.1.2 to 1.1.3

.nyc_output/881820116cacdf13a86fb36278f99c11.json

5

lib/common/tree-traversing.js

@@ -73,5 +73,8 @@

TreeTraversing.typeOf = function (ctx) {
if (!ctx) {
return '';
}
const className = ctx.constructor.name;
const typeName = className.replace('Context', '');
return typeName[0].toLowerCase() + typeName.substring(1);

@@ -78,0 +81,0 @@ };

@@ -40,2 +40,10 @@ const BaseChecker = require('./../base-checker');

enterAssemblyCall(ctx) {
const firstChild = _.first(ctx.children);
if (firstChild && typeOf(firstChild) === 'identifier') {
this._trackVarUsage(firstChild);
}
}
exitFunctionDefinition(ctx) {

@@ -42,0 +50,0 @@ VarUsageScope.isActivated(ctx) && this._reportErrorsFor(ctx);

2

package.json
{
"name": "solhint",
"version": "1.1.2",
"version": "1.1.3",
"description": "Solidity Code Linter",

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

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

program
.version('1.1.2');
.version('1.1.3');

@@ -15,0 +15,0 @@ program

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