[Snyk] Upgrade web3 from 1.8.1 to 4.11.1 #1
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.8.1 to 4.11.1.
ℹ️ 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 303 versions ahead of your current version.
The recommended version was released on 23 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-WEB3UTILS-6229337
SNYK-JS-WS-7266574
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-ES5EXT-6095076
SNYK-JS-REQUEST-3361831
SNYK-JS-TAR-6476909
SNYK-JS-TOUGHCOOKIE-5672873
SNYK-JS-WS-1296835
SNYK-JS-ELLIPTIC-7577916
SNYK-JS-ELLIPTIC-7577917
SNYK-JS-ELLIPTIC-7577918
SNYK-JS-EXPRESS-6474509
SNYK-JS-HTTPCACHESEMANTICS-3248783
Release notes
Package name: web3
[4.11.1]
Fixed
web3-errors
Eip838ExecutionError
constructor (#6905)web3-eth
getTransactionReceipt
to not be casted asTransactionReceipt
to give proper return type (#7159)web3
What's Changed
New Contributors
Full Changelog: v4.11.0...v4.11.1
[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