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 web3 from 1.5.0 to 1.5.1 #258

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

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Sep 4, 2021

Snyk has created this PR to upgrade web3 from 1.5.0 to 1.5.1.

merge advice
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.

ℹ️ 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 3 versions ahead of your current version.
  • The recommended version was released a month ago, on 2021-08-05.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Regular Expression Denial of Service (ReDoS)
SNYK-JS-TAR-1536758
196/1000
Why? CVSS 3.7
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: web3
  • 1.5.1 - 2021-08-05

    Added

    • maxPriorityFeePerGas and maxFeePerGas now included in _txInputFormatter (#4217)
    • If maxPriorityFeePerGas of maxFeePerGas present _txInputFormatter deletes tx.gasPrice (fixes #4211) (#4217)
    • Add block tag support (e.g. latest, pending, earliest) to getFeeHistory (#4224)
    • Support for EIP-1559 to web3.eth.sendTransaction (#4220)
  • 1.5.1-rc.1 - 2021-08-05

    Added

    • Add block tag support (e.g. latest, pending, earliest) to getFeeHistory (#4224)
    • Support for EIP-1559 to web3.eth.sendTransaction (#4220)
  • 1.5.1-rc.0 - 2021-07-31

    Added

    • maxPriorityFeePerGas and maxFeePerGas now included in _txInputFormatter (#4217)
    • If maxPriorityFeePerGas of maxFeePerGas present _txInputFormatter deletes tx.gasPrice (fixes #4211) (#4217)
  • 1.5.0 - 2021-07-28

    Added

    • London transaction support (#4155)
    • RPC support eth_feehistory call (#4191)

    Changed

    • Grammar fix (#4088) and updated Swarm (#4151)and Whisper doc links (#4170)
    • Removed deprecation notice for HttpProvider (#4008)
    • Nonce added to send options in documentation and types (#4052)
    • Updated Solidity example to modern syntax (#4147)
    • Changing web3 connection example from lets to const (#3967)
    • Updated the documentation for the transaction object to include EIP-2718 and EIP-1559 options (#4188)

    An example of signing an EIP-1559 transaction with web3-eth-accounts

    http://localhost:8545');

    const txObject = {
    to: '0x...',
    value: web3.utils.toHex(web3.utils.toWei('0.1', 'ether')),
    gas: web3.utils.toHex(21000),
    maxFeePerGas: web3.utils.toHex(web3.utils.toWei('1.5', 'gwei')),
    maxPriorityFeePerGas: web3.utils.toHex(web3.utils.toWei('.5', 'gwei'))
    };

    web3.eth.accounts.signTransaction(txObject, privateKey, (err, signed) => {...});
    ">

    import Web3 from 'web3';

    const web3 = new Web3(Web3.givenProvider || 'http://localhost:8545');

    const txObject = {
    to: '0x...',
    value: web3.utils.toHex(web3.utils.toWei('0.1', 'ether')),
    gas: web3.utils.toHex(21000),
    maxFeePerGas: web3.utils.toHex(web3.utils.toWei('1.5', 'gwei')),
    maxPriorityFeePerGas: web3.utils.toHex(web3.utils.toWei('.5', 'gwei'))
    };

    web3.eth.accounts.signTransaction(txObject, privateKey, (err, signed) => {...});




from web3 GitHub release notes

Commit messages
Package name: web3
  • 37a046d v1.5.1
  • 49488de v1.5.1-rc.1
  • 655c5b3 Build for v1.5.1-rc.1
  • 45a17a3 Solve merge conflicts
  • 29febb8 Add block tag support for eth_feeHistory (#4224)
  • c474f8f EIP-1559 support for web3.eth.sendTransaction (#4220)
  • 2526266 v1.5.1-rc.0
  • e815ccb Update CHANGELOG
  • 8642c4a npm i && npm run build
  • d0d82b4 Closes #4210, 4211 - allow non-hex values for eip1559 gas params (#4217)
  • 458a47a v1.5.0 (#4187)

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

@codeclimate
Copy link

codeclimate bot commented Sep 4, 2021

Code Climate has analyzed commit 222b4b9 and detected 0 issues on this pull request.

View more on Code Climate.

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.

None yet

1 participant