[Snyk] Upgrade solhint from 1.5.1 to 5.0.3 #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade solhint from 1.5.1 to 5.0.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 51 versions ahead of your current version.
The recommended version was released on 3 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BODYPARSER-7926860
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-Y18N-1021887
SNYK-JS-JSONSCHEMA-1920922
SNYK-JS-QS-3153490
SNYK-JS-SECP256K1-8237220
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-ES5EXT-6095076
SNYK-JS-GETFUNCNAME-5923417
SNYK-JS-HANDLEBARS-1056767
SNYK-JS-PATHPARSE-1077067
SNYK-JS-COOKIE-8163060
SNYK-JS-MINIMATCH-3050818
SNYK-JS-UGLIFYJS-1727251
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-PATHVAL-596926
SNYK-JS-EXPRESS-6474509
SNYK-JS-EXPRESS-7926867
SNYK-JS-HANDLEBARS-1279029
SNYK-JS-HOSTEDGITINFO-1088355
SNYK-JS-HTTPCACHESEMANTICS-3248783
SNYK-JS-WORDWRAP-3149973
npm:debug:20170905
SNYK-JS-SEND-7926862
SNYK-JS-SERVESTATIC-7926865
Release notes
Package name: solhint
[5.0.3] - 2024-08-03
Fixed
[5.0.2] - 2024-07-25
Fixed
func-named-parameters
exclude abi.encodeX from the rule #583 (Thanks to @ 0xCLARITY)Added
[5.0.1] - 2024-05-13
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.
[5.0.0] - 2024-05-11
BREAKING CHANGES
Solhint EXIT codes
Solhint changed how the exit codes are implemented:
Exit with 0 code
When execution was ok and there were no errors when evaluating the code according to the rulesExit with 1 code
When execution was ok and there are errors reportedExit with 1 code
When execution was ok and max warnings is lower than the reported warningsExit with 255 code
When there's an error in the execution (bad config, writing not allowed, wrong parameter, file not found, etc)Solhint QUIET mode
QUIET mode (-c quiet) option now works with the warnings and may exit with 1 if there are more than defined by user
Thanks to @ juanpcapurro for providing the code
[4.5.4] - 2024-04-10
Fixed
gas-custom-errors
improved logic to ranged pragma versions #573gas-indexed-events
#573[4.5.2] - 2024-03-15
Updated
[4.5.0] - 2024-03-15
Updated
(*) 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
i
#557Gas Consumption Rules
Fixed
explicit-types
logic improved and bug free #551payable fallback
Improved behavior #561BREAKING CHANGES
named-return-values
rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset #552custom-errors
rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset #553WARN
instead ofOFF
forfoundry-test-functions
andnamed-parameters-mapping
rules #556Updated
(*) 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
i
#557Gas Consumption Rules
Fixed
explicit-types
logic improved and bug free #551payable fallback
Improved behavior #561BREAKING CHANGES
named-return-values
rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset #552custom-errors
rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset #553WARN
instead ofOFF
forfoundry-test-functions
andnamed-parameters-mapping
rules #556[4.1.1] - 2024-01-08
Fixed
[4.1.0] - 2024-01-08
Updated
Sarif
formatter #530 (Thanks to @ eshaan7)npm
on workflows #534Added
payable-fallback
rule #528quotes
rule #529avoid-suicide
rule #531contract-name-camelcase
rule #532event-name-camelcase
rule #533Fixed
JOIN OUR DISCORD SERVER: HERE
[4.0] - 2023-10-01
Updated
private-vars-leading-underscore
rule to clarify its functionalityno-empty-blocks
rule to clarify its functionalityAdded
--disc
) #506fix
option now shows the report on screen #509save
option to store report on disk with the standard or the specified format #509explicit-types
rule #504no-console
rule #513private-vars-leading-underscore
rule #511Fixed
one-contract-per-file
ignore interfaces #514 (Thanks to @ cruzdanilo)[3.6.2] - 2023-08-17
Added
one-contract-per-file
- Enforces the use of ONE contract per file #487Fixed
foundry-test-functions
- Modified regex to include invariant and statefulFuzz tests #484quotes
- To allow quotes inside double quotes and viceversa #485JSON
- Formatter returning JS object instead of standard json #490Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: