Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade solium from 1.1.3 to 1.2.5 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cleancoindev
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade solium from 1.1.3 to 1.2.5.

merge advice
ℹ️ 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 11 versions ahead of your current version.
  • The recommended version was released 3 years ago, on 2019-09-14.
Release notes
Package name: solium
  • 1.2.5 - 2019-09-14

    See CHANGELOG

  • 1.2.4 - 2019-04-08

    See CHANGELOG

  • 1.2.3 - 2019-02-11

    See CHANGELOG

  • 1.2.2 - 2019-01-13

    See Changelog

  • 1.2.1 - 2019-01-01

    See Changelog

  • 1.2.0 - 2018-12-26

    See changelog

  • 1.1.8 - 2018-07-10

    Solium v1.1.8 has seen significant contributions and inputs from the blockchain community.

    Rules introduced:

    • error-reason - Ensure that error message is provided for revert() and require() statements
    • linebreak-style - Enforce consistent line break style across the codebase (either windows or unix).
    • visibility-first - Ensure that the visibility modifier for a function comes before any custom modifiers

    See the docs for complete description of these rules.

    Several UX improvements were introduced in the CLI. This includes better help messages, writing messages to the appropriate streams (stdout or stderr) and better formatting for the reporters.

    The default .soliumignore file now includes contracts/Migrations.sol. Earlier, developers using Truffle had to manually add this entry.

    4 new options have been introduced in the CLI:

    • --no-soliumrc - Do not look for the .soliumrc.json file at all.
    • --no-soliumignore - Do not look for the .soliumignore file at all
    • --rule - Specify a rule apply. Example: solium --rule 'indentation: ["error", 4]' -d contracts/
    • --plugin - Specify a plugin to apply. Example: solium --plugin security -f myContract.sol

    See the user guide for the complete description of these options.

  • 1.1.7 - 2018-04-30

    Solium v1.1.7 introduces 3 new lint rules:

    • no-constant: Recommends replacing constant modifier in function declarations with view, since constant will be deprecated starting solidity v0.5.0. This rule provides automatic fixing capability.
    • value-in-payable: Ensures that functions containing msg.value are declared payable.
    • max-len - Enforces an upper limit on the number of characters per line of code. Defaults to 145, but is customisable via .soliumrc.json.

    The rule pragma-on-top can now fix experimental pragma statement positions.

    Solium's parser and all rules (except for indentation and lbrace) now support the constructor() declaration syntax. The rules that don't yet support this syntax don't produce any false positives. The CLI introduces the --debug flag that can be used by developers to view stack traces for details about errors. Starting 1.1.7, Solium also displays the list of its backers on README.md.

    This release saw significant contributions from @ mushketyk & @ elopio

  • 1.1.6 - 2018-03-27
    • A massive performance improvement has been introduced in Solium's dependency parser with this release. For comparison, it now takes 2 seconds to lint Augur's core contracts vs ~9 seconds prior to v1.1.6.
    • The emit rule has been introduced that enforces triggering events using the emit keyword
    • A major bug was fixed in the mixedcase rule, thanks to @ elopio
    • Solium CLI option descriptions and some rules' messages were improved.
  • 1.1.5 - 2018-02-14
    • Starting v1.1.5, Solium no longer crashes altogether if there are parsing issues in a subset of solidity files. Instead, it reports Syntax error, i.e., has an exit code > 0 and hence, fails the build. It continues to lint other files and produces issues in them normally. See issue.
    • Default severities of all whitespace rules in solium:recommended ruleset have been lowered from error to warning. Note that this is not a breaking change. A breaking change would be increasing severity from warning to error, which would cause build failures. See commit
    • Solium is now fully compatible with windows environment. It produces the same results on linux, osx and windows given the same code and configuration. Note that a few tests currently fail on windows, but that doesn't affect functionality. The failures are merely due to how solidity code has been written in solium's test suite (as multi-line template strings, which treat line break as \n instead of \r\n on windows). See issue.
    • This release contains various bug fixes for Solium's solidity parser.
  • 1.1.4 - 2018-02-14
  • 1.1.3 - 2018-01-20
from solium GitHub release notes
Commit messages
Package name: solium

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants