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-eth-contract from 1.10.4 to 4.6.0 #3

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

Conversation

OKEAMAH
Copy link
Member

@OKEAMAH OKEAMAH commented Aug 16, 2024

snyk-top-banner

Snyk has created this PR to upgrade web3-eth-contract from 1.10.4 to 4.6.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 PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 279 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: web3-eth-contract
  • 4.6.0 - 2024-07-11

    [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.fd2982d.0 - 2024-05-23
  • 4.5.1-dev.f687df6.0 - 2024-05-29
  • 4.5.1-dev.b63af9f.0 - 2024-05-30
  • 4.5.1-dev.962b99f.0 - 2024-05-24
  • 4.5.1-dev.9086b98.0 - 2024-05-30
  • 4.5.1-dev.89711ab.0 - 2024-07-10
  • 4.5.1-dev.7537f03.0 - 2024-05-23
  • 4.5.1-dev.692987a.0 - 2024-05-24
  • 4.5.1-dev.683be62.0 - 2024-05-28
  • 4.5.1-dev.22c07ad.0 - 2024-05-27
  • 4.5.1-dev.7084665.0 - 2024-05-29
  • 4.5.1-dev.1436228.0 - 2024-07-09
  • 4.5.0 - 2024-05-23

    [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.f4e55bd.0 - 2024-05-22
  • 4.4.1-dev.f44dc5b.0 - 2024-05-09
  • 4.4.1-dev.f216540.0 - 2024-05-06
  • 4.4.1-dev.ed2781f.0 - 2024-04-25
  • 4.4.1-dev.ebbbf1e.0 - 2024-04-30
  • 4.4.1-dev.e29deea.0 - 2024-04-18
  • 4.4.1-dev.e0fc158.0 - 2024-05-22
  • 4.4.1-dev.de3e8f8.0 - 2024-04-26
  • 4.4.1-dev.dd172c7.0 - 2024-04-18
  • 4.4.1-dev.d4e937d.0 - 2024-04-19
  • 4.4.1-dev.c62ef79.0 - 2024-05-06
  • 4.4.1-dev.b413ebd.0 - 2024-05-02
  • 4.4.1-dev.ac2e180.0 - 2024-05-22
  • 4.4.1-dev.93296c2.0 - 2024-04-18
  • 4.4.1-dev.88b7e2e.0 - 2024-05-02
  • 4.4.1-dev.866469d.0 - 2024-05-14
  • 4.4.1-dev.7be0060.0 - 2024-04-23
  • 4.4.1-dev.7a470c9.0 - 2024-05-01
  • 4.4.1-dev.5fd9dbb.0 - 2024-04-23
  • 4.4.1-dev.5d2f2aa.0 - 2024-05-06
  • 4.4.1-dev.553f270.0 - 2024-05-21
  • 4.4.1-dev.53e2466.0 - 2024-04-22
  • 4.4.1-dev.419c8d3.0 - 2024-04-25
  • 4.4.1-dev.3904a46.0 - 2024-05-22
  • 4.4.1-dev.32b6b29.0 - 2024-05-21
  • 4.4.1-dev.2f73aa5.0 - 2024-05-16
  • 4.4.1-dev.1ab7a6b.0 - 2024-04-18
  • 4.4.1-dev.12c2515.0 - 2024-05-13
  • 4.4.1-dev.408125.0 - 2024-05-13
  • 4.4.0 - 2024-04-18
  • 4.3.1-dev.ce59737.0 - 2024-04-07
  • 4.3.1-dev.bfb4f6f.0 - 2024-04-08
  • 4.3.1-dev.a173a8f.0 - 2024-03-26
  • 4.3.1-dev.67d8a74.0 - 2024-04-04
  • 4.3.1-dev.5a579fa.0 - 2024-04-05
  • 4.3.1-dev.578ebb6.0 - 2024-04-15
  • 4.3.1-dev.5341c3a.0 - 2024-03-29
  • 4.3.1-dev.526c6f5.0 - 2024-03-27
  • 4.3.1-dev.1c03666.0 - 2024-04-15
  • 4.3.0 - 2024-03-26
  • 4.2.1-dev.f943944.0 - 2024-03-20
  • 4.2.1-dev.f696e47.0 - 2024-02-15
  • 4.2.1-dev.edf3164.0 - 2024-03-07
  • 4.2.1-dev.ed1460c.0 - 2024-02-06
  • 4.2.1-dev.ec65468.0 - 2024-02-16
  • 4.2.1-dev.e774646.0 - 2024-02-14
  • 4.2.1-dev.e5673ca.0 - 2024-02-05
  • 4.2.1-dev.e383ae3.0 - 2024-03-08
  • 4.2.1-dev.d8b64a8.0 - 2024-02-09
  • 4.2.1-dev.d254316.0 - 2024-03-11
  • 4.2.1-dev.cf60f71.0 - 2024-03-07
  • 4.2.1-dev.cf4b93f.0 - 2024-02-27
  • 4.2.1-dev.ca31f6a.0 - 2024-03-05
  • 4.2.1-dev.c5cecaf.0 - 2024-02-19
  • 4.2.1-dev.c4e039a.0 - 2024-03-25
  • 4.2.1-dev.bd6cc71.0 - 2024-03-01
  • 4.2.1-dev.b4c92e1.0 - 2024-02-27
  • 4.2.1-dev.b49094b.0 - 2024-01-23
  • 4.2.1-dev.b25b883.0 - 2024-02-28
  • 4.2.1-dev.afece40.0 - 2024-02-27
  • 4.2.1-dev.ab1b250.0 - 2024-02-28
  • 4.2.1-dev.aac2420.0 - 2024-01-24
  • 4.2.1-dev.a83e9d5.0 - 2024-03-25
  • 4.2.1-dev.a72e99a.0 - 2024-01-29
  • 4.2.1-dev.a6b685e.0 - 2024-02-05
  • 4.2.1-dev.a2d9cb4.0 - 2024-02-19
  • 4.2.1-dev.a1f9dc4.0 - 2024-03-12
  • 4.2.1-dev.a0d4d2e.0 - 2024-02-12
  • 4.2.1-dev.9f31612.0 - 2024-02-08
  • 4.2.1-dev.9d65c38.0 - 2024-02-12
  • 4.2.1-dev.998954f.0 - 2024-02-07
  • 4.2.1-dev.9657b86.0 - 2024-03-12
  • 4.2.1-dev.95b37d8.0 - 2024-02-01
  • 4.2.1-dev.95807a6.0 - 2024-02-19
  • 4.2.1-dev.8ed041c.0 - 2024-03-05
  • 4.2.1-dev.86447cd.0 - 2024-02-27
  • 4.2.1-dev.7d7a9ea.0 - 2024-01-29
  • 4.2.1-dev.7b97011.0 - 2024-01-17
  • 4.2.1-dev.727c9fc.0 - 2024-01-23
  • 4.2.1-dev.6da7379.0 - 2024-02-09
  • 4.2.1-dev.6d0a0ae.0 - 2024-03-12
  • 4.2.1-dev.6187f30.0 - 2024-03-12
  • 4.2.1-dev.43e70c1.0 - 2024-03-12
  • 4.2.1-dev.42ec398.0 - 2024-02-01
  • 4.2.1-dev.383af39.0 - 2024-03-12
  • 4.2.1-dev.35cb1b8.0 - 2024-02-28
  • 4.2.1-dev.2373e94.0 - 2024-03-15
  • 4.2.1-dev.1f81ff0.0 - 2024-03-20
  • 4.2.1-dev.16a2c27.0 - 2024-03-14
  • 4.2.1-dev.0e59f28.0 - 2024-02-29
  • 4.2.1-dev.0a8f9e4.0 - 2024-02-08
  • 4.2.1-dev.0881fe1.0 - 2024-02-08
  • 4.2.1-dev.040d3a3.0 - 2024-03-06
  • 4.2.1-dev.028dc20.0 - 2024-01-23
  • 4.2.1-dev.9023511.0 - 2024-02-12
  • 4.2.0 - 2024-01-17
  • 4.1.5-dev.fa4c72b.0 - 2023-12-15
  • 4.1.5-dev.f9468a8.0 - 2024-01-04
  • 4.1.5-dev.f7d9349.0 - 2023-12-14
  • 4.1.5-dev.f1c6916.0 - 2023-12-05
  • 4.1.5-dev.e442fd2.0 - 2023-12-14
  • 4.1.5-dev.e1080d9.0 - 2023-12-13
  • 4.1.5-dev.df594c9.0 - 2024-01-05
  • 4.1.5-dev.cdd99e7.0 - 2023-12-05
  • 4.1.5-dev.cc7ff1f.0 - 2024-01-08
  • 4.1.5-dev.c858390.0 - 2023-12-12
  • 4.1.5-dev.c097b9a.0 - 2023-12-15
  • 4.1.5-dev.b819ee4.0 - 2023-12-05
  • 4.1.5-dev.b35eca1.0 - 2023-12-12
  • 4.1.5-dev.b188714.0 - 2024-01-08
  • 4.1.5-dev.a4f2f8c.0 - 2023-12-12
  • 4.1.5-dev.a3fe342.0 - 2024-01-15
  • 4.1.5-dev.882631c.0 - 2024-01-15
  • 4.1.5-dev.80c2e1d.0 - 2023-12-12
  • 4.1.5-dev.7c33cc0.0 - 2024-01-08
  • 4.1.5-dev.762c298.0 - 2024-01-09
  • 4.1.5-dev.6c075db.0 - 2024-01-03
  • 4.1.5-dev.6b2dbe3.0 - 2023-12-16
  • 4.1.5-dev.65a9862.0 - 2024-01-07
  • 4.1.5-dev.5afcb54.0 - 2023-12-05
  • 4.1.5-dev.5aa8b7f.0 - 2023-12-04
  • 4.1.5-dev.59fc438.0 - 2023-12-13
  • 4.1.5-dev.43b11b8.0 - 2023-12-11
  • 4.1.5-dev.3cfe56f.0 - 2024-01-09
  • 4.1.5-dev.2a40b66.0 - 2024-01-08
  • 4.1.5-dev.23d69ba.0 - 2024-01-05
  • 4.1.5-dev.1eb07d1.0 - 2024-01-09
  • 4.1.5-dev.0c67cc6.0 - 2024-01-04
  • 4.1.5-dev.5161642.0 - 2024-01-15
  • 4.1.4 - 2023-12-04
  • 4.1.4-dev.f8d8774.0 - 2023-11-23
  • 4.1.4-dev.ef6f04e.0 - 2023-11-20
  • 4.1.4-dev.e6d8c14.0 - 2023-11-28
  • 4.1.4-dev.d8b8e18.0 - 2023-11-20
  • 4.1.4-dev.be86e25.0 - 2023-11-20
  • 4.1.4-dev.bcd0706.0 - 2023-11-20
  • 4.1.4-dev.b9da5a5.0 - 2023-11-20
  • 4.1.4-dev.b3ccd5c.0 - 2023-11-28
  • 4.1.4-dev.af91519.0 - 2023-11-20
  • 4.1.4-dev.8e3e676.0 - 2023-11-10
  • 4.1.4-dev.7461c8e.0 - 2023-12-01
  • 4.1.4-dev.72e9bbd.0 - 2023-11-03
  • 4.1.4-dev.6cc86b3.0 - 2023-11-20
  • 4.1.4-dev.4778a0c.0 - 2023-11-06
  • 4.1.4-dev.41dbf2a.0 - 2023-11-06
  • 4.1.4-dev.3bda14d.0 - 2023-11-27
  • 4.1.4-dev.332c18c.0 - 2023-11-06
  • 4.1.4-dev.2c60685.0 - 2023-11-20
  • 4.1.4-dev.2c132c5.0 - 2023-11-16
  • 4.1.4-dev.20cc5da.0 - 2023-11-23
  • 4.1.4-dev.11f20b2.0 - 2023-11-06
  • 4.1.4-dev.119dfa5.0 - 2023-12-04
  • 4.1.4-dev.0dec262.0 - 2023-11-17
  • 4.1.4-dev.09c8ad0.0 - 2023-11-07
  • 4.1.4-dev.2785782.0 - 2023-11-20
  • 4.1.3 - 2023-11-03
  • 4.1.3-dev.f9bcac9.0 - 2023-11-02
  • 4.1.3-dev.f6c7fca.0 - 2023-10-31
  • 4.1.3-dev.b05345b.0 - 2023-11-01
  • 4.1.3-dev.8c643c2.0 - 2023-10-25
  • 4.1.3-dev.41f39c0.0 - 2023-10-26
  • 4.1.3-dev.116b7bb.0 - 2023-10-31
  • 4.1.2 - 2023-10-25
  • 4.1.2-dev.f860b04.0 - 2023-10-23
  • 4.1.2-dev.bd3b9a0.0 - 2023-10-18
  • 4.1.2-dev.a0d6730.0 - 2023-10-23
  • 4.1.2-dev.90b8581.0 - 2023-10-23
  • 4.1.2-dev.7bee9bc.0 - 2023-10-18
  • 4.1.2-dev.6791e60.0 - 2023-10-23
  • 4.1.1 - 2023-10-18
  • 4.1.1-dev.e760667.0 - 2023-10-13
  • 4.1.1-dev.d036166.0 - 2023-09-22
  • 4.1.1-dev.c490c18.0 - 2023-09-28
  • 4.1.1-dev.bfcbea8.0 - 2023-10-02
  • 4.1.1-dev.b8fa712.0 - 2023-09-27
  • 4.1.1-dev.b38f00d.0 - 2023-10-12
  • 4.1.1-dev.ae98628.0 - 2023-10-09
  • 4.1.1-dev.9b03f9d.0 - 2023-10-04
  • 4.1.1-dev.9a5fd87.0 - 2023-10-10
  • 4.1.1-dev.90d78c1.0 - 2023-10-02
  • 4.1.1-dev.80adabe.0 - 2023-09-23
  • 4.1.1-dev.80986bb.0 - 2023-10-04
  • 4.1.1-dev.70d1957.0 - 2023-10-17
  • 4.1.1-dev.6e43d1b.0 - 2023-10-12
  • 4.1.1-dev.66ddb7e.0 - 2023-09-21
  • 4.1.1-dev.54c5ed0.0 - 2023-09-19
  • 4.1.1-dev.4b445ae.0 - 2023-09-29
  • 4.1.1-dev.42502b6.0 - 2023-10-16
  • 4.1.1-dev.2b445bf.0 - 2023-09-19
  • 4.1.1-dev.226b3ba.0 - 2023-10-17
  • 4.1.1-dev.171b413.0 - 2023-09-21
  • 4.1.1-dev.10d1f12.0 - 2023-10-16
  • 4.1.1-dev.0e78235.0 - 2023-10-05
  • 4.1.1-dev.09f4c8b.0 - 2023-10-17
  • 4.1.1-dev.4879326.0 - 2023-10-09
  • 4.1.1-dev.3060994.0 - 2023-09-28
  • 4.1.0 - 2023-09-19
  • 4.0.6-dev.e4ba45c.0 - 2023-09-15
  • 4.0.6-dev.da3e2f5.0 - 2023-09-12
  • 4.0.6-dev.a325689.0 - 2023-08-21
  • 4.0.6-dev.9ad39bd.0 - 2023-08-21
  • 4.0.6-dev.8010a6d.0 - 2023-09-18
  • 4.0.6-dev.3ab3b39.0 - 2023-09-12
  • 4.0.6-dev.054033f.0 - 2023-09-15
  • 4.0.5 - 2023-08-21
  • 4.0.5-dev.f4fd498.0 - 2023-08-15
  • 4.0.5-dev.ec6e117.0 - 2023-08-17
  • 4.0.5-dev.d41a49e.0 - 2023-08-17
  • 4.0.5-dev.c41d356.0 - 2023-08-15
  • 4.0.5-dev.a4cae6f.0 - 2023-08-15
  • 4.0.5-dev.86f0cdb.0 - 2023-08-18
  • 4.0.5-dev.7a38fee.0 - 2023-08-17
  • 4.0.5-dev.622174c.0 - 2023-08-15
  • 4.0.5-dev.1cdc86c.0 - 2023-08-18
  • 4.0.4 - 2023-08-15
  • 4.0.4-rc.0 - 2023-08-09
  • 4.0.4-dev.f5b4d7d.0 - 2023-07-20
  • 4.0.4-dev.ed2770c.0 - 2023-07-24
  • 4.0.4-dev.ebd0c57.0 - 2023-07-11
  • 4.0.4-dev.e143157.0 - 2023-07-14
  • 4.0.4-dev.b93934a.0 - 2023-07-17
  • 4.0.4-dev.b771112.0 - 2023-08-01
  • 4.0.4-dev.ad377d1.0 - 2023-07-14
  • 4.0.4-dev.933ef51.0 - 2023-07-20
  • 4.0.4-dev.7d0a91d.0 - 2023-07-19
  • 4.0.4-dev.6da17e1.0 - 2023-07-24
  • 4.0.4-dev.51d087e.0 - 2023-08-03
  • 4.0.4-dev.51bc03d.0 - 2023-07-12
  • 4.0.4-dev.0ee9bb4.0 - 2023-07-25
  • 4.0.4-dev.0e5c53c.0 - 2023-08-02
  • 4.0.4-dev.8958413.0 - 2023-07-14
  • 4.0.4-dev.4310419.0 - 2023-08-01
  • 4.0.4-dev.1361787.0 - 2023-07-18
  • 4.0.3 - 2023-07-11
  • 4.0.3-dev.d12dc7e.0 - 2023-06-27
  • 4.0.3-dev.a26a888.0 - 2023-06-27
  • 4.0.3-dev.602dada.0 - 2023-07-03
  • 4.0.2 - 2023-06-27
  • 4.0.2-dev.f8a2533.0 - 2023-06-10
  • 4.0.2-dev.e8d579c.0 - 2023-06-24
  • 4.0.2-dev.af57eae.0 - 2023-06-09
  • 4.0.2-dev.ab0f4cb.0 - 2023-06-20
  • 4.0.2-dev.a2a232f.0 - 2023-06-21
  • 4.0.2-dev.60b8ba9.0 - 2023-06-27
  • 4.0.2-dev.51a59f9.0 - 2023-06-21
  • 4.0.2-dev.3f49e18.0 - 2023-06-24
  • 4.0.2-dev.2130d22.0 - 2023-06-15
  • 4.0.2-dev.023f02d.0 - 2023-06-20
  • 4.0.1 - 2023-06-07
  • 4.0.1-rc.2 - 2023-06-05
  • 4.0.1-rc.1 - 2023-04-20
  • 4.0.1-rc.0 - 2023-03-10
  • 4.0.1-alpha.5 - 2023-01-14
  • 4.0.1-alpha.4 - 2023-01-12
  • 4.0.1-alpha.3 - 2023-01-05
  • 4.0.1-alpha.2 - 2022-12-09
  • 4.0.1-alpha.1 - 2022-11-03
  • 4.0.1-alpha.0 - 2022-08-25
  • 4.0.0-alpha.0 - 2022-08-24
  • 3.0.0-rc.5 - 2021-07-02
  • 3.0.0-rc.4 - 2021-04-27
  • 3.0.0-rc.1 - 2021-04-23
  • 3.0.0-rc.0 - 2021-04-09
  • 2.0.0-alpha.1 - 2019-08-06
  • 2.0.0-alpha - 2019-07-13
  • 1.10.4 - 2024-02-05

    Security

    • Updated dependencies (#6731)

    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.

from web3-eth-contract GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade web3-eth-contract from 1.10.4 to 4.6.0.

See this package in npm:
web3-eth-contract

See this project in Snyk:
https://app.snyk.io/org/okeamah/project/91391991-0ff9-4e8e-8dd4-8a9361adadd1?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node scripts/postinstall
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

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