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 node-fetch from 2.7.0 to 3.3.2 #2

Merged

Conversation

OKEAMAH
Copy link
Member

@OKEAMAH OKEAMAH commented Aug 17, 2024

snyk-top-banner

Snyk has created this PR to upgrade node-fetch from 2.7.0 to 3.3.2.

ℹ️ 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 28 versions ahead of your current version.

  • The recommended version was released on a year ago.

Release notes
Package name: node-fetch
  • 3.3.2 - 2023-07-25

    3.3.2 (2023-07-25)

    Bug Fixes

  • 3.3.1 - 2023-03-11

    3.3.1 (2023-03-11)

    Bug Fixes

    • release "Allow URL class object as an argument for fetch()" #1696 (#1716) (7b86e94)
  • 3.3.0 - 2022-11-10

    3.3.0 (2022-11-10)

    Features

  • 3.2.10 - 2022-07-31

    3.2.10 (2022-07-31)

    Bug Fixes

  • 3.2.9 - 2022-07-18

    3.2.9 (2022-07-18)

    Bug Fixes

    • Headers: don't forward secure headers on protocol change (#1599) (e87b093)
  • 3.2.8 - 2022-07-12
  • 3.2.7 - 2022-07-11
  • 3.2.6 - 2022-06-09
  • 3.2.5 - 2022-06-01
  • 3.2.4 - 2022-04-28
  • 3.2.3 - 2022-03-11
  • 3.2.2 - 2022-03-07
  • 3.2.1 - 2022-03-01
  • 3.2.0 - 2022-01-20
  • 3.1.1 - 2022-01-16
  • 3.1.0 - 2021-11-08
  • 3.0.0 - 2021-08-31
  • 3.0.0-beta.6-exportfix - 2020-05-25
  • 3.0.0-beta.10 - 2021-07-19
  • 3.0.0-beta.9 - 2020-09-05
  • 3.0.0-beta.8 - 2020-08-10
  • 3.0.0-beta.7 - 2020-06-11
  • 3.0.0-beta.6 - 2020-05-25
  • 3.0.0-beta.5 - 2020-04-22
  • 3.0.0-beta.4 - 2020-03-14
  • 3.0.0-beta.3 - 2020-03-13
  • 3.0.0-beta.2 - 2020-03-13
  • 3.0.0-beta.1 - 2020-03-13
  • 2.7.0 - 2023-08-23
from node-fetch 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 node-fetch from 2.7.0 to 3.3.2.

See this package in npm:
node-fetch

See this project in Snyk:
https://app.snyk.io/org/okeamah/project/621ee7c4-0dc5-4a40-aee3-a63976a31e8e?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

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/eslint-parser@7.23.10 unsafe Transitive: environment, filesystem +38 10.4 MB nicolo-ribaudo
npm/@changesets/changelog-github@0.4.8 environment Transitive: filesystem, network +4 177 kB changesets-release-bot
npm/@changesets/cli@2.27.1 environment, filesystem, shell +29 2.18 MB changesets-release-bot
npm/@eth-optimism/contracts-periphery@1.0.8 None 0 6.77 MB optibot
npm/@eth-optimism/contracts@0.6.0 Transitive: network +12 3.97 MB optibot
npm/@ethereumjs/rlp@5.0.2 None 0 134 kB holgerd77
npm/@ethersproject/abi@5.7.0 None +4 954 kB ricmoo
npm/@ethersproject/abstract-provider@5.7.0 None +2 178 kB ricmoo
npm/@ethersproject/abstract-signer@5.7.0 None +1 152 kB ricmoo
npm/@ethersproject/address@5.7.0 None +1 103 kB ricmoo
npm/@ethersproject/bignumber@5.7.0 None +2 312 kB ricmoo
npm/@ethersproject/bytes@5.7.0 None +1 150 kB ricmoo
npm/@ethersproject/constants@5.7.0 None 0 18.7 kB ricmoo
npm/@ethersproject/contracts@5.7.0 None +1 319 kB ricmoo
npm/@ethersproject/keccak256@5.7.0 None 0 6.09 kB ricmoo
npm/@ethersproject/properties@5.7.0 None +1 100 kB ricmoo
npm/@ethersproject/rlp@5.7.0 None +1 99 kB ricmoo
npm/@ethersproject/transactions@5.7.0 None +6 719 kB ricmoo
npm/@ethersproject/web@5.7.1 network +3 327 kB ricmoo
npm/@nomiclabs/hardhat-ethers@2.2.3 None 0 80.9 kB fvictorio
npm/@nomiclabs/hardhat-waffle@2.0.1 Transitive: eval +7 536 kB fvictorio
npm/@nomiclabs/hardhat-waffle@2.0.6 Transitive: eval +4 258 kB fvictorio
npm/@sentry/node@7.99.0 environment, filesystem, network, shell, unsafe +4 6.52 MB sentry-bot
npm/@swc/core@1.4.13 environment, filesystem, shell +2 395 kB kdy1
npm/@testing-library/jest-dom@6.4.2 None +10 1.27 MB testing-library-bot
npm/@testing-library/react-hooks@8.0.1 None +1 420 kB testing-library-bot
npm/@testing-library/react@14.2.1 environment +26 11.1 MB testing-library-bot
npm/@types/chai-as-promised@7.1.8 None 0 26.1 kB types
npm/@types/chai@4.3.11 None 0 76.8 kB types
npm/@types/change-case@2.3.1 None 0 578 B types
npm/@types/dateformat@5.0.0 None 0 5.55 kB types
npm/@types/glob@8.1.0 None +2 4 MB types
npm/@types/mocha@10.0.6 None 0 95.6 kB types
npm/@types/morgan@1.9.9 None +1 4 MB types
npm/@types/node@20.11.17 None 0 4 MB types
npm/@types/pino-multi-stream@5.1.6 None +3 59.6 kB types
npm/@types/pino@7.0.5 None 0 1.6 kB types
npm/@types/semver@7.5.7 None 0 23.2 kB types
npm/@typescript-eslint/eslint-plugin@6.21.0 Transitive: environment +10 5.26 MB jameshenry
npm/@typescript-eslint/parser@6.21.0 Transitive: environment +5 1.41 MB jameshenry
npm/@vitest/coverage-istanbul@1.2.2 Transitive: environment +1 61.8 kB oreanno
npm/@wagmi/cli@2.1.4 Transitive: environment, filesystem, network, shell, unsafe +9 2.04 MB awkweb
npm/@wagmi/core@2.6.3 None 0 1.6 MB awkweb
npm/abitype@1.0.2 None 0 1.16 MB awkweb
npm/bcfg@0.2.1 environment, filesystem +1 203 kB nodweber
npm/body-parser@1.20.2 network Transitive: environment, eval, filesystem +5 171 kB dougwilson
npm/chai-as-promised@7.1.1 None +1 47.8 kB domenic
npm/chai@4.3.10 None +3 797 kB keithamus
npm/change-case@4.1.2 None +4 56.7 kB blakeembrey
npm/dateformat@4.5.1 None 0 20.7 kB chase-manning
npm/depcheck@1.4.7 filesystem, unsafe Transitive: environment, eval +36 11.8 MB rumpl
npm/doctoc@2.2.1 environment, filesystem +5 158 kB thlorenz
npm/dotenv@16.4.5 environment, filesystem 0 79.1 kB motdotla
npm/envalid@8.0.0 environment 0 81.5 kB af
npm/eslint-config-prettier@9.1.0 None 0 20.8 kB lydell
npm/eslint-config-standard@16.0.3 None 0 16.4 kB linusu
npm/eslint-plugin-import@2.29.1 filesystem, unsafe Transitive: environment +17 3.65 MB ljharb
npm/eslint-plugin-jsdoc@48.0.6 filesystem Transitive: environment +5 2.38 MB gajus

🚮 Removed packages: npm/@metamask/test-dapp@8.1.0, npm/@playwright/test@1.40.1, npm/@synthetixio/synpress@3.7.2-beta.9, npm/dotenv@16.3.1, npm/prom-client@15.0.0, npm/serve@14.2.1, npm/typescript@5.3.3, npm/viem@1.20.0

View full report↗︎

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/esbuild@0.19.7 🚫
Install scripts npm/esbuild@0.19.10 🚫
Install scripts npm/@swc/core@1.4.13
  • Install script: postinstall
  • Source: node postinstall.js
🚫

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/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/esbuild@0.19.7
  • @SocketSecurity ignore npm/esbuild@0.19.10
  • @SocketSecurity ignore npm/@swc/core@1.4.13

@OKEAMAH OKEAMAH merged commit 89c2352 into celestia-develop Aug 17, 2024
10 of 11 checks passed
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.

"socket hang up" / ECONNRESET on consecutive requests with Node.js 19 and Node.js 20
2 participants