[Snyk] Upgrade web3 from 1.10.3 to 4.5.0 #2
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.3 to 4.5.0.
ℹ️ 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-ES5EXT-6095076
Why? Proof of Concept exploit, Recently disclosed, CVSS 7.5
SNYK-JS-WS-1296835
Why? Proof of Concept exploit, Recently disclosed, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: web3
[4.5.0]
Added
web3-utils
AbiItem
from 1.x to v4 for compatabiltiy (#6678)web3-types
AbiItem
from 1.x to v4 for compatabiltiy (#6678)Changed
web3
New Contributors
Thanks for contributions in web3.js lib:
[4.4.0]
Added
web3-eth
TransactionPollingTimeoutError
was added to send transaction events (#6623)Changed
web3-eth-abi
AbiError
instead ofError
for errors at web3-eth-abi (#6641).web3-eth-contract
deploy
function to accept parameters, even when no ABI was provided to theContract
(#6635)web3
Fixed
web3-eth-abi
web3-eth-accounts
common
did not have acopy()
and thechainId
was not provided (#6663)web3-eth-contract
contract.getPastEvents
orcontract.events.allEvents()
, if there is no matching events. (#6647)web3-utils
web3-validator
[4.3.0]
Changed
web3-core
contractDataInputFill
has been defaulted todata
, istead ofinput
. (#6622)web3-eth-contracts
data
instead ofinput
within method calls (#6622)Added
web3-utils
SocketProvider
now contains public functiongetPendingRequestQueueSize
,getSentRequestsQueueSize
andclearQueues
(#6479)safeDisconnect
as aSocketProvider
method to disconnect only when request queue size and send request queue size is 0 (#6479)isContractInitOptions
method (#6555)web3
Fixed
web3-rpc-methods
web3-utils
Added
web3-core
isMetaMaskProvider
function to check if provider is metamask (#6534)web3-types
MetaMaskProvider
added and is part ofSupportedProviders
(#6534)gasPrice
was added toTransaction1559UnsignedAPI
type. (#6539)Changed
web3
Fixed
web3-errors
transactionTimeoutHint
(#6559)web3-eth-contract
data
for transactions in contract for metamask provider instead ofinput
(#6534)Fixed
web3-eth-abi
ERR_UNSUPPORTED_DIR_IMPORT
in ABI (#6535)Changed
web3-eth-contract
web3-eth
web3-eth-ens
web3-eth-personal
web3
Read more
Security
Maintenance Countdown:
Commencing from January 1, 2024, a 90-day countdown has been initiated, signaling the transition of Web3.js version 1.x into an end-of-maintenance phase.
Timeline of Changes:
90-Day Countdown (1/1/24 - 3/31/24): During this period, we strongly encourage users to plan accordingly and initiate the upgrade to Web3.js version 4.x
No New Bug Fixes (4/1/24 onwards):
Starting April 1, 2024, new bug fixes for Web3.js version 1.x will no longer be provided. To benefit from continued support and access to new features, we recommend upgrading to Web3.js version 4.x
End of Security Fixes (7/1/24):
Security fixes for Web3.js version 1.x will be discontinued from July 1, 2024. Upgrading to Web3.js version 4.x is crucial to ensure the security of your applications.
Security
Security
web3-eth-accounts
: Bumped@ ethereumjs
dependencies (#6457)Updated dependencies (#6491)
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