Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade web3 from 4.0.1 to 4.9.0 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Magd3
Copy link
Owner

@Magd3 Magd3 commented Jun 27, 2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade web3 from 4.0.1 to 4.9.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 251 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: web3
  • 4.9.0 - 2024-05-23

    What's Changed

    New Contributors

    Full Changelog: v4.8.0...v4.9.0

  • 4.8.1-dev.f4e55bd.0 - 2024-05-22
  • 4.8.1-dev.f44dc5b.0 - 2024-05-09
  • 4.8.1-dev.f216540.0 - 2024-05-06
  • 4.8.1-dev.ed2781f.0 - 2024-04-25
  • 4.8.1-dev.ebbbf1e.0 - 2024-04-30
  • 4.8.1-dev.e29deea.0 - 2024-04-18
  • 4.8.1-dev.e0fc158.0 - 2024-05-22
  • 4.8.1-dev.de3e8f8.0 - 2024-04-26
  • 4.8.1-dev.dd172c7.0 - 2024-04-18
  • 4.8.1-dev.d4e937d.0 - 2024-04-19
  • 4.8.1-dev.c62ef79.0 - 2024-05-06
  • 4.8.1-dev.b413ebd.0 - 2024-05-02
  • 4.8.1-dev.ac2e180.0 - 2024-05-22
  • 4.8.1-dev.93296c2.0 - 2024-04-18
  • 4.8.1-dev.88b7e2e.0 - 2024-05-02
  • 4.8.1-dev.866469d.0 - 2024-05-14
  • 4.8.1-dev.7be0060.0 - 2024-04-23
  • 4.8.1-dev.7a470c9.0 - 2024-05-01
  • 4.8.1-dev.5fd9dbb.0 - 2024-04-23
  • 4.8.1-dev.5d2f2aa.0 - 2024-05-06
  • 4.8.1-dev.553f270.0 - 2024-05-21
  • 4.8.1-dev.53e2466.0 - 2024-04-22
  • 4.8.1-dev.419c8d3.0 - 2024-04-25
  • 4.8.1-dev.3904a46.0 - 2024-05-22
  • 4.8.1-dev.32b6b29.0 - 2024-05-21
  • 4.8.1-dev.2f73aa5.0 - 2024-05-16
  • 4.8.1-dev.1ab7a6b.0 - 2024-04-18
  • 4.8.1-dev.12c2515.0 - 2024-05-13
  • 4.8.1-dev.408125.0 - 2024-05-13
  • 4.8.0 - 2024-04-18

    [4.8.0]

    Changed

    web3-eth-abi

    • Dependencies updated

    web3-eth-accounts

    • Dependencies updated

    Fixed

    web3-eth-contract

    • Fix an issue with smart contract function overloading (#6922)

    web3-utils

    • fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
    • fixed isUint8Array not returning true for Buffer (#6957)

    Added

    web3-eth-contract

    • Added a console warning in case of an ambiguous call to a solidity method with parameter overloading (#6942)
    • Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI (#6950)

    web3-eth

    • method getBlock now includes properties of eip 4844, 4895, 4788 when returning block (#6933)
    • update type withdrawalsSchema, blockSchema and blockHeaderSchema schemas to include properties of eip 4844, 4895, 4788 (#6933)

    web3-types

    • Added signature to type AbiFunctionFragment (#6922)
    • update type Withdrawals, block and BlockHeaderOutput to include properties of eip 4844, 4895, 4788 (#6933)

    New Contributors

  • 4.7.1-dev.ce59737.0 - 2024-04-07
  • 4.7.1-dev.bfb4f6f.0 - 2024-04-08
  • 4.7.1-dev.a173a8f.0 - 2024-03-26
  • 4.7.1-dev.67d8a74.0 - 2024-04-04
  • 4.7.1-dev.5a579fa.0 - 2024-04-05
  • 4.7.1-dev.578ebb6.0 - 2024-04-15
  • 4.7.1-dev.5341c3a.0 - 2024-03-29
  • 4.7.1-dev.526c6f5.0 - 2024-03-27
  • 4.7.1-dev.1c03666.0 - 2024-04-15
  • 4.7.0 - 2024-03-26

    [4.7.0]

    added

    web3-eth-contract

    • Types ContractDeploySend, ContractMethodSend, Web3PromiEvent was exported (#6883)

    web3-eth-ens

    • Added function getText and getName in ENS and resolver classes (#6914)

    fixed

    web3-validator

    • Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)

    web3-utils

    • fixed erroneous parsing of big numbers in the 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.1-dev.f943944.0 - 2024-03-20
  • 4.6.1-dev.e383ae3.0 - 2024-03-08
  • 4.6.1-dev.d254316.0 - 2024-03-11
  • 4.6.1-dev.c4e039a.0 - 2024-03-25
  • 4.6.1-dev.a83e9d5.0 - 2024-03-25
  • 4.6.1-dev.a1f9dc4.0 - 2024-03-12
  • 4.6.1-dev.9657b86.0 - 2024-03-12
  • 4.6.1-dev.6d0a0ae.0 - 2024-03-12
  • 4.6.1-dev.6187f30.0 - 2024-03-12
  • 4.6.1-dev.43e70c1.0 - 2024-03-12
  • 4.6.1-dev.383af39.0 - 2024-03-12
  • 4.6.1-dev.2373e94.0 - 2024-03-15
  • 4.6.1-dev.1f81ff0.0 - 2024-03-20
  • 4.6.1-dev.16a2c27.0 - 2024-03-14
  • 4.6.0 - 2024-03-08

    [4.6.0]

    Added

    web3

    • Added EIP-6963 utility function requestEIP6963Providers for multi provider discovery

    web3-eth

    • Added eth.getMaxPriorityFeePerGas method (#6748)

    web3-eth-ens

    • Added function setAddress in ENS and Resolver classes (#5956)

    web3-rpc-methods

    • Added getMaxPriorityFeePerGas method (#6748)

    web3-types

    • Type FeeData to be filled by await web3.eth.calculateFeeData() to be used with EIP-1559 transactions (#6795)

    Fixed

    web3-utils

    • replaced our eventEmitter to EventEmitter3 to support react native builds (#6253)

    New Contributors

    Thanks for contributions in web3.js lib:

  • 4.5.1-dev.f696e47.0 - 2024-02-15
  • 4.5.1-dev.edf3164.0 - 2024-03-07
  • 4.5.1-dev.ec65468.0 - 2024-02-16
  • 4.5.1-dev.e774646.0 - 2024-02-14
  • 4.5.1-dev.cf60f71.0 - 2024-03-07
  • 4.5.1-dev.cf4b93f.0 - 2024-02-27
  • 4.5.1-dev.ca31f6a.0 - 2024-03-05
  • 4.5.1-dev.c5cecaf.0 - 2024-02-19
  • 4.5.1-dev.bd6cc71.0 - 2024-03-01
  • 4.5.1-dev.b4c92e1.0 - 2024-02-27
  • 4.5.1-dev.b25b883.0 - 2024-02-28
  • 4.5.1-dev.afece40.0 - 2024-02-27
  • 4.5.1-dev.ab1b250.0 - 2024-02-28
  • 4.5.1-dev.a2d9cb4.0 - 2024-02-19
  • 4.5.1-dev.a0d4d2e.0 - 2024-02-12
  • 4.5.1-dev.9d65c38.0 - 2024-02-12
  • 4.5.1-dev.95807a6.0 - 2024-02-19
  • 4.5.1-dev.8ed041c.0 - 2024-03-05
  • 4.5.1-dev.86447cd.0 - 2024-02-27
  • 4.5.1-dev.35cb1b8.0 - 2024-02-28
  • 4.5.1-dev.0e59f28.0 - 2024-02-29
  • 4.5.1-dev.040d3a3.0 - 2024-03-06
  • 4.5.1-dev.9023511.0 - 2024-02-12
  • 4.5.0 - 2024-02-12

    [4.5.0]

    Added

    web3-utils

    • Adds missing exported type AbiItem from 1.x to v4 for compatabiltiy (#6678)

    web3-types

    • Adds missing exported type AbiItem from 1.x to v4 for compatabiltiy (#6678)

    Changed

    web3

    • Dependencies updated

    New Contributors

    Thanks for contributions in web3.js lib:

  • 4.4.1-dev.ed1460c.0 - 2024-02-06
  • 4.4.1-dev.e5673ca.0 - 2024-02-05
  • 4.4.1-dev.d8b64a8.0 - 2024-02-09
  • 4.4.1-dev.b49094b.0 - 2024-01-23
  • 4.4.1-dev.aac2420.0 - 2024-01-24
  • 4.4.1-dev.a72e99a.0 - 2024-01-29
  • 4.4.1-dev.a6b685e.0 - 2024-02-05
  • 4.4.1-dev.9f31612.0 - 2024-02-08
  • 4.4.1-dev.998954f.0 - 2024-02-07
  • 4.4.1-dev.95b37d8.0 - 2024-02-01
  • 4.4.1-dev.7d7a9ea.0 - 2024-01-29
  • 4.4.1-dev.7b97011.0 - 2024-01-17
  • 4.4.1-dev.727c9fc.0 - 2024-01-23
  • 4.4.1-dev.6da7379.0 - 2024-02-09
  • 4.4.1-dev.42ec398.0 - 2024-02-01
  • 4.4.1-dev.0a8f9e4.0 - 2024-02-08
  • 4.4.1-dev.0881fe1.0 - 2024-02-08
  • 4.4.1-dev.028dc20.0 - 2024-01-23
  • 4.4.0 - 2024-01-17

    [4.4.0]

    Added

    web3-eth

    • Catch TransactionPollingTimeoutError was added to send transaction events (#6623)

    Changed

    web3-eth-abi

    • Use AbiError instead of Error for errors at web3-eth-abi (#6641).

    web3-eth-contract

    • Allow the deploy function to accept parameters, even when no ABI was provided to the Contract(#6635)

    web3

    • Dependencies updated

    Fixed

    web3-eth-abi

    • Fixed an issue with detecting Uint8Array (#6486)

    web3-eth-accounts

    • Send Transaction config used to be ignored if the passed common did not have a copy() and the chainId was not provided (#6663)
    • Fixed an issue with detecting Uint8Array (#6486)

    web3-eth-contract

    • Fix and error that happen when trying to get past events by calling contract.getPastEvents or contract.events.allEvents(), if there is no matching events. (#6647)
    • Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#6661)

    web3-utils

    • Fixed an issue with detecting Uint8Array (#6486)

    web3-validator

    • Fixed an issue with detecting Uint8Array (#6486)
  • 4.3.1-dev.fa4c72b.0 - 2023-12-15
  • 4.3.1-dev.f9468a8.0 - 2024-01-04
  • 4.3.1-dev.f7d9349.0 - 2023-12-14
  • 4.3.1-dev.f1c6916.0 - 2023-12-05
  • 4.3.1-dev.e442fd2.0 - 2023-12-14
  • 4.3.1-dev.e1080d9.0 - 2023-12-13
  • 4.3.1-dev.df594c9.0 - 2024-01-05
  • 4.3.1-dev.cdd99e7.0 - 2023-12-05
  • 4.3.1-dev.cc7ff1f.0 - 2024-01-08
  • 4.3.1-dev.c858390.0 - 2023-12-12
  • 4.3.1-dev.c097b9a.0 - 2023-12-15
  • 4.3.1-dev.b819ee4.0 - 2023-12-05
  • 4.3.1-dev.b35eca1.0 - 2023-12-12
  • 4.3.1-dev.b188714.0 - 2024-01-08
  • 4.3.1-dev.a4f2f8c.0 - 2023-12-12
  • 4.3.1-dev.a3fe342.0 - 2024-01-15
  • 4.3.1-dev.882631c.0 - 2024-01-15
  • 4.3.1-dev.80c2e1d.0 - 2023-12-12
  • 4.3.1-dev.7c33cc0.0 - 2024-01-08
  • 4.3.1-dev.762c298.0 - 2024-01-09
  • 4.3.1-dev.6c075db.0 - 2024-01-03
  • 4.3.1-dev.6b2dbe3.0 - 2023-12-16
  • 4.3.1-dev.65a9862.0 - 2024-01-07
  • 4.3.1-dev.5afcb54.0 - 2023-12-05
  • 4.3.1-dev.5aa8b7f.0 - 2023-12-04
  • 4.3.1-dev.59fc438.0 - 2023-12-13
  • 4.3.1-dev.43b11b8.0 - 2023-12-11
  • 4.3.1-dev.3cfe56f.0 - 2024-01-09
  • 4.3.1-dev.2a40b66.0 - 2024-01-08
  • 4.3.1-dev.23d69ba.0 - 2024-01-05
  • 4.3.1-dev.1eb07d1.0 - 2024-01-09
  • 4.3.1-dev.0c67cc6.0 - 2024-01-04
  • 4.3.1-dev.5161642.0 - 2024-01-15
  • 4.3.0 - 2023-12-04

    [4.3.0]

    Changed

    web3-core

    • Web3config contractDataInputFill has been defaulted to data, istead of input. (#6622)

    web3-eth-contracts

    • By default, contracts will fill data instead of input within method calls (#6622)

    Added

    web3-utils

    • SocketProvider now contains public function getPendingRequestQueueSize, getSentRequestsQueueSize and clearQueues (#6479)
    • Added safeDisconnect as a SocketProvider method to disconnect only when request queue size and send request queue size is 0 (#6479)
    • Add isContractInitOptions method (#6555)

    web3

    • Added methods (privateKeyToAddress, parseAndValidatePrivateKey, and privateKeyToPublicKey) to web3.eth.accounts (#6620)

    Fixed

    web3-rpc-methods

    web3-utils

    • Fix unecessary array copy when pack encoding (#6553)
  • 4.2.3-dev.f8d8774.0 - 2023-11-23
  • 4.2.3-dev.ef6f04e.0 - 2023-11-20
  • 4.2.3-dev.e6d8c14.0 - 2023-11-28
  • 4.2.3-dev.d8b8e18.0 - 2023-11-20
  • 4.2.3-dev.be86e25.0 - 2023-11-20
  • 4.2.3-dev.bcd0706.0 - 2023-11-20
  • 4.2.3-dev.b9da5a5.0 - 2023-11-20
  • 4.2.3-dev.b3ccd5c.0 - 2023-11-28
  • 4.2.3-dev.af91519.0 - 2023-11-20
  • 4.2.3-dev.8e3e676.0 - 2023-11-10
  • 4.2.3-dev.7461c8e.0 - 2023-12-01
  • 4.2.3-dev.72e9bbd.0 - 2023-11-03
  • 4.2.3-dev.6cc86b3.0 - 2023-11-20
  • 4.2.3-dev.4778a0c.0 - 2023-11-06
  • 4.2.3-dev.41dbf2a.0 - 2023-11-06
  • 4.2.3-dev.3bda14d.0 - 2023-11-27
  • 4.2.3-dev.332c18c.0 - 2023-11-06
  • 4.2.3-dev.2c60685.0 - 2023-11-20
  • 4.2.3-dev.2c132c5.0 - 2023-11-16
  • 4.2.3-dev.20cc5da.0 - 2023-11-23
  • 4.2.3-dev.11f20b2.0 - 2023-11-06
  • 4.2.3-dev.119dfa5.0 - 2023-12-04
  • 4.2.3-dev.0dec262.0 - 2023-11-17
  • 4.2.3-dev.09c8ad0.0 - 2023-11-07
  • 4.2.3-dev.2785782.0 - 2023-11-20
  • 4.2.2 - 2023-11-03
  • 4.2.2-dev.f9bcac9.0 - 2023-11-02
  • 4.2.2-dev.f6c7fca.0 - 2023-10-31
  • 4.2.2-dev.b05345b.0 - 2023-11-01
  • 4.2.2-dev.8c643c2.0 - 2023-10-25
  • 4.2.2-dev.41f39c0.0 - 2023-10-26
  • 4.2.2-dev.116b7bb.0 - 2023-10-31
  • 4.2.1 - 2023-10-25
  • 4.2.1-dev.f860b04.0 - 2023-10-23
  • 4.2.1-dev.bd3b9a0.0 - 2023-10-18
  • 4.2.1-dev.a0d6730.0 - 2023-10-23
  • 4.2.1-dev.90b8581.0 - 2023-10-23
  • 4.2.1-dev.7bee9bc.0 - 2023-10-18
  • 4.2.1-dev.6791e60.0 - 2023-10-23
  • 4.2.0 - 2023-10-18
  • 4.1.3-dev.e760667.0 - 2023-10-13
  • 4.1.3-dev.d036166.0 - 2023-09-22
  • 4.1.3-dev.c490c18.0 - 2023-09-28
  • 4.1.3-dev.bfcbea8.0 - 2023-10-02
  • 4.1.3-dev.b8fa712.0 - 2023-09-27
  • 4.1.3-dev.b38f00d.0 - 2023-10-12
  • 4.1.3-dev.ae98628.0 - 2023-10-09
  • 4.1.3-dev.9b03f9d.0 - 2023-10-04
  • 4.1.3-dev.9a5fd87.0 - 2023-10-10
  • 4.1.3-dev.90d78c1.0 - 2023-10-02
  • 4.1.3-dev.80adabe.0 - 2023-09-23
  • 4.1.3-dev.80986bb.0 - 2023-10-04
  • 4.1.3-dev.70d1957.0 - 2023-10-17
  • 4.1.3-dev.6e43d1b.0 - 2023-10-12
  • 4.1.3-dev.66ddb7e.0 - 2023-09-21
  • 4.1.3-dev.54c5ed0.0 - 2023-09-19
  • 4.1.3-dev.4b445ae.0 - 2023-09-29
  • 4.1.3-dev.42502b6.0 - 2023-10-16
  • 4.1.3-dev.2b445bf.0 - 2023-09-19
  • 4.1.3-dev.226b3ba.0 - 2023-10-17
  • 4.1.3-dev.171b413.0 - 2023-09-21
  • 4.1.3-dev.10d1f12.0 - 2023-10-16
  • 4.1.3-dev.0e78235.0 - 2023-10-05
  • 4.1.3-dev.09f4c8b.0 - 2023-10-17
  • 4.1.3-dev.4879326.0 - 2023-10-09
  • 4.1.3-dev.3060994.0 - 2023-09-28
  • 4.1.2 - 2023-09-19
  • 4.1.2-dev.e4ba45c.0 - 2023-09-15
  • 4.1.2-dev.da3e2f5.0 - 2023-09-12
  • 4.1.2-dev.a325689.0 - 2023-08-21
  • 4.1.2-dev.9ad39bd.0 - 2023-08-21 ...

Snyk has created this PR to upgrade web3 from 4.0.1 to 4.9.0.

See this package in npm:
web3

See this project in Snyk:
https://app.snyk.io/org/magd3/project/4aa7d1b1-3f39-4dda-a5be-7c06b3b3583f?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants