[Snyk] Upgrade web3 from 1.4.0 to 4.11.0 #6
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 web3 from 1.4.0 to 4.11.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.
The recommended version is 330 versions ahead of your current version.
The recommended version was released on 21 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-HTTPCACHESEMANTICS-3248783
Release notes
Package name: web3
[4.11.0]
Fixed
web3-eth-abi
web3-utils
_sendPendingRequests
will catch unhandled errors from_sendToSocket
(#6968)web3-eth
Changed
web3-eth-accounts
web3-providers-ws
web3-rpc-providers
Promise<ResultType>
toPromise<JsonRpcResponseWithResult<ResultType>>
(#7102)Added
web3-eth-contract
populateTransaction
was added to contract methods (#7124)setTransactionMiddleware
andgetTransactionMiddleware
for automatically passing tosentTransaction
fordeploy
andsend
functions (#7138)web3-rpc-providers
web3
web3.eth.Contract
will get transaction middleware and use it, ifweb3.eth
has transaction middleware. (#7138)[4.10.0]
Added
web3
web3-core
web3-eth
sendTransaction
inrpc_method_wrappers
accepts optional param ofTransactionMiddleware
(#7088)setTransactionMiddleware
andgetTransactionMiddleware
for automatically passing tosentTransaction
(#7088)web3-eth-ens
getText
now supports first param AddressgetName
has optional second param checkInterfaceSupportweb3-types
result
as optionalnever
anderror
as optionalnever in type
JsonRpcNotification` (#7091)JsonRpcNotfication
as a union type inJsonRpcResponse
(#7091)web3-rpc-providers
Fixed
web3-eth-ens
getName
reverse resolutionWhat's Changed
Full Changelog: v4.9.0...v4.10.0
What's Changed
New Contributors
Full Changelog: v4.8.0...v4.9.0
[4.8.0]
Changed
web3-eth-abi
web3-eth-accounts
Fixed
web3-eth-contract
web3-utils
Added
web3-eth-contract
web3-eth
getBlock
now includes properties of eip 4844, 4895, 4788 when returning block (#6933)withdrawalsSchema
,blockSchema
andblockHeaderSchema
schemas to include properties of eip 4844, 4895, 4788 (#6933)web3-types
signature
to typeAbiFunctionFragment
(#6922)Withdrawals
,block
andBlockHeaderOutput
to include properties of eip 4844, 4895, 4788 (#6933)New Contributors
[4.7.0]
added
web3-eth-contract
ContractDeploySend
,ContractMethodSend
,Web3PromiEvent
was exported (#6883)web3-eth-ens
fixed
web3-validator
web3-utils
toNumber(...)
function (#6880)Contributors
Thank you to the community who have contributed to this release 😄:
@ sgerodes #6882
@ EtlesL #6836
@ Jouzep #6853
@ sarthak1dev #6867
@ edison1105 #6885
@ gucovip #6886
@ testwill #6889
@ pengqiseven #6878
[4.6.0]
Added
web3
requestEIP6963Providers
for multi provider discoveryweb3-eth
eth.getMaxPriorityFeePerGas
method (#6748)web3-eth-ens
setAddress
in ENS and Resolver classes (#5956)web3-rpc-methods
getMaxPriorityFeePerGas
method (#6748)web3-types
FeeData
to be filled byawait web3.eth.calculateFeeData()
to be used with EIP-1559 transactions (#6795)Fixed
web3-utils
New Contributors
Thanks for contributions in web3.js lib: