[Snyk] Upgrade web3 from 1.10.1 to 4.0.3 #20
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade web3 from 1.10.1 to 4.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.
Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
SNYK-JS-REQUEST-3361831
Why? Proof of Concept exploit, CVSS 6.5
SNYK-JS-TOUGHCOOKIE-5672873
Why? Proof of Concept exploit, CVSS 6.5
SNYK-JS-WS-1296835
Why? Proof of Concept exploit, CVSS 6.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: web3
Fixed
web3
web3-rpc-methods
getPastLogs
accept blockHash as a parameter https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs (#6181)web3-types
Filter
includesblockHash
(#6206)web3-utils
numberToHex
(#6206)Changed
web3-core
web3-errors
web3-eth
web3-eth-abi
web3-eth-accounts
web3-eth-contract
web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-providers-ws
web3-validator
Fixed
web3
web3-core
web3-eth-abi
web3-eth-accounts
r
ands
returned bysignTransaction
to does not always consist of 64 characters #6207" (#6216)web3-eth-contract
web3-eth-ens
web3-providers-ws
web3-types
Added
web3
Web3Context
,Web3PluginBase
,Web3EthPluginBase
from'web3-core'
, andWeb3Validator
from'web3-validator'
(#6165)web3-core
web3-types
SimpleProvider
interface which has onlyrequest(args)
method that is compatible with EIP-1193 (#6210)Eip1193EventName
type that contains the possible events names according to EIP-1193 (#6210)Changed
web3-core
web3-errors
web3-eth
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-rpc-methods
web3-types
EIP1193Provider
class has now all the events (foron
andremoveListener
) according to EIP-1193 (#6210)web3-utils
web3-validator
Web3.js 4.0.1 is written in TypeScript and has many exciting features such as:
Documentation:
Detailed List of changes are mentioned under:
If there are any bugs, improvements, optimizations or any new feature proposal feel free to create github issue, or post a pull request for contributions.
Read more
Fixed
int
s (#6239)submitWork
parameters, accepts 3 parameters instead of an array (#5200)Changed
Commit messages
Package name: web3
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