[Snyk] Upgrade web3 from 1.8.0 to 4.13.0 #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.0 to 4.13.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 332 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-PATHPARSE-1077067
SNYK-JS-ELLIPTIC-7577917
SNYK-JS-ELLIPTIC-7577918
SNYK-JS-ELLIPTIC-8172694
SNYK-JS-WS-7266574
SNYK-JS-BODYPARSER-7926860
SNYK-JS-BROWSERIFYSIGN-6037026
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-Y18N-1021887
SNYK-JS-JSONSCHEMA-1920922
SNYK-JS-WEB3UTILS-6229337
SNYK-JS-QS-3153490
SNYK-JS-SECP256K1-8237220
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-ELLIPTIC-8187303
SNYK-JS-ES5EXT-6095076
SNYK-JS-GETFUNCNAME-5923417
SNYK-JS-HANDLEBARS-1056767
SNYK-JS-WS-1296835
SNYK-JS-TAR-6476909
SNYK-JS-COOKIE-8163060
SNYK-JS-UGLIFYJS-1727251
SNYK-JS-PATHVAL-596926
SNYK-JS-EXPRESS-6474509
SNYK-JS-EXPRESS-7926867
SNYK-JS-HOSTEDGITINFO-1088355
SNYK-JS-WORDWRAP-3149973
SNYK-JS-ELLIPTIC-7577916
SNYK-JS-MINIMATCH-3050818
SNYK-JS-PATHTOREGEXP-7925106
SNYK-JS-HANDLEBARS-1279029
SNYK-JS-HTTPCACHESEMANTICS-3248783
npm:debug:20170905
SNYK-JS-SEND-7926862
SNYK-JS-SERVESTATIC-7926865
Release notes
Package name: web3
What's Changed
New Contributors
Hot fix
[4.12.1]
Fixed
web3-eth-accounts
TransactionFactory.registerTransactionType
if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
and fix nextjs problem. (#7216)What's Changed
[4.12.0]
Fixed
web3-core
setConfig()
fix forsetMaxListenerWarningThreshold
fix (#5079)web3-eth-accounts
TransactionFactory.registerTransactionType
not working, if there is a version mistatch betweenweb3-eth
andweb3-eth-accounts
by savingextraTxTypes
atglobals
. (#7197)Added
web3-eth-accounts
signMessageWithPrivateKey
(#7174)web3-eth-contract
populateTransaction
to thecontract.deploy(...)
properties. (#7197)web3-providers-http
statusCode
of response in ResponseError,statusCode
is optional property in ResponseError.web3-rpc-providers
HttpProviderOptions | SocketOptions
inWeb3ExternalProvider
andQuickNodeProvider
for provider configsweb3-errors
statusCode
property of response in ResponseError.Changed
web3-eth-contract
contract.deploy(...)
are structured with a newly created class namedDeployerMethodClass
. (#7197)abi
parameter, atdataInputEncodeMethodHelper
andgetSendTxParams
. (#7197)What's Changed
New Contributors
[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