Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

solhint

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solhint - npm Package Versions

23
9

5.0.3

Diff

Changelog

Source

[5.0.3] - 2024-08-03

Fixed

  • New Rule: Imports order #593

<br><br>

diego.bale.arg
published 5.0.2 •

Changelog

Source

[5.0.2] - 2024-07-25

Fixed

  • func-named-parameters exclude abi.encodeX from the rule #583 (Thanks to @0xCLARITY)
  • Several typos in comments #586 (Thanks to @dropbigfish)

Added

  • New Rule: Imports order #587

<br><br>

diego.bale.arg
published 5.0.1 •

Changelog

Source

[5.0.1] - 2024-05-13

diego.bale.arg
published 5.0.0 •

Changelog

Source

BREAKING CHANGES (refer to v5.0.0)

Fixed an issue on the returining values where only was evaluating the first report instead of all of them.

<br><br>

diego.bale.arg
published 4.5.4 •

Changelog

Source

[4.5.4] - 2024-04-10

Fixed

  • gas-custom-errors improved logic to ranged pragma versions #573
  • gas-indexed-events #573
diego.bale.arg
published 4.5.3 •

diego.bale.arg
published 4.5.2 •

Changelog

Source

[4.5.2] - 2024-03-15

Updated

  • Update Readme file to include all autofix rules
  • Update docker file
  • Update package json file
diego.bale.arg
published 4.5.1 •

diego.bale.arg
published 4.5.0 •

Changelog

Source

[4.5.0] - 2024-03-15

Updated

  • Update dependencies in package json #548
  • Custom errors rules checks from 0.8.4 forward before warning #555
  • Parser support up to Solidity 0.8.22 (*)

(*) Note: Solhint can work with latest Solidity versions. If new grammar/syntax is added or changed, it could give some false positives or miss a rule. But overall functionality will work as expected.

Added

  • New Rule: Interface starts with i #557
Gas Consumption Rules
  • New Rule: [GC] Mutlitoken1155 rule #541
  • New Rule: [GC] Small strings check #542
  • New Rule: [GC] Indexed events #543
  • New Rule: [GC] Calldata parameters #544
  • New Rule: [GC] Increment by one #545
  • New Rule: [GC] Struct packing #546
  • New Rule: [GC] Name Return Values #552
  • New Rule: [GC] Custom Errors #553 #555
  • New Rule: [GC] Dot Length in Loops #559
  • New Rule: [GC] Gas Strict Inequalities #560

Fixed

  • explicit-types logic improved and bug free #551
  • payable fallback Improved behavior #561

BREAKING CHANGES

  • named-return-values rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset #552
  • custom-errors rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset #553
  • Return error 0 when executed correctly #554
  • Default severity modified to WARN instead of OFF for foundry-test-functions and named-parameters-mapping rules #556
diego.bale.arg
published 4.1.1 •

Changelog

Source

[4.1.1] - 2024-01-08

Fixed

  • Fix changelog typos
23
9
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