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/[email protected] unsafe Transitive: environment, filesystem +38 10.4 MB nicolo-ribaudo
npm/@changesets/[email protected] environment Transitive: filesystem, network +4 177 kB changesets-release-bot
npm/@changesets/[email protected] environment, filesystem, shell +29 2.18 MB changesets-release-bot
npm/@eth-optimism/[email protected] None 0 6.77 MB optibot
npm/@eth-optimism/[email protected] Transitive: network +12 3.97 MB optibot
npm/@ethereumjs/[email protected] None 0 134 kB holgerd77
npm/@ethersproject/[email protected] None +4 954 kB ricmoo
npm/@ethersproject/[email protected] None +2 178 kB ricmoo
npm/@ethersproject/[email protected] None +1 152 kB ricmoo
npm/@ethersproject/[email protected] None +1 103 kB ricmoo
npm/@ethersproject/[email protected] None +2 312 kB ricmoo
npm/@ethersproject/[email protected] None +1 150 kB ricmoo
npm/@ethersproject/[email protected] None 0 18.7 kB ricmoo
npm/@ethersproject/[email protected] None +1 319 kB ricmoo
npm/@ethersproject/[email protected] None 0 6.09 kB ricmoo
npm/@ethersproject/[email protected] None +1 100 kB ricmoo
npm/@ethersproject/[email protected] None +1 99 kB ricmoo
npm/@ethersproject/[email protected] None +6 719 kB ricmoo
npm/@ethersproject/[email protected] network +3 327 kB ricmoo
npm/@nomiclabs/[email protected] None 0 80.9 kB fvictorio
npm/@nomiclabs/[email protected] Transitive: eval +7 536 kB fvictorio
npm/@nomiclabs/[email protected] Transitive: eval +4 258 kB fvictorio
npm/@sentry/[email protected] environment, filesystem, network, shell, unsafe +4 6.52 MB sentry-bot
npm/@swc/[email protected] environment, filesystem, shell +2 395 kB kdy1
npm/@testing-library/[email protected] None +10 1.27 MB testing-library-bot
npm/@testing-library/[email protected] None +1 420 kB testing-library-bot
npm/@testing-library/[email protected] environment +26 11.1 MB testing-library-bot
npm/@types/[email protected] None 0 26.1 kB types
npm/@types/[email protected] None 0 76.8 kB types
npm/@types/[email protected] None 0 578 B types
npm/@types/[email protected] None 0 5.55 kB types
npm/@types/[email protected] None +2 4 MB types
npm/@types/[email protected] None 0 95.6 kB types
npm/@types/[email protected] None +1 4 MB types
npm/@types/[email protected] None 0 4 MB types
npm/@types/[email protected] None +3 59.6 kB types
npm/@types/[email protected] None 0 1.6 kB types
npm/@types/[email protected] None 0 23.2 kB types
npm/@typescript-eslint/[email protected] Transitive: environment +10 5.26 MB jameshenry
npm/@typescript-eslint/[email protected] Transitive: environment +5 1.41 MB jameshenry
npm/@vitest/[email protected] Transitive: environment +1 61.8 kB oreanno
npm/@wagmi/[email protected] Transitive: environment, filesystem, network, shell, unsafe +9 2.04 MB awkweb
npm/@wagmi/[email protected] None 0 1.6 MB awkweb
npm/[email protected] None 0 1.16 MB awkweb
npm/[email protected] environment, filesystem +1 203 kB nodweber
npm/[email protected] network Transitive: environment, eval, filesystem +5 171 kB dougwilson
npm/[email protected] None +1 47.8 kB domenic
npm/[email protected] None +3 797 kB keithamus
npm/[email protected] None +4 56.7 kB blakeembrey
npm/[email protected] None 0 20.7 kB chase-manning
npm/[email protected] filesystem, unsafe Transitive: environment, eval +36 11.8 MB rumpl
npm/[email protected] environment, filesystem +5 158 kB thlorenz
npm/[email protected] environment, filesystem 0 79.1 kB motdotla
npm/[email protected] environment 0 81.5 kB af
npm/[email protected] None 0 20.8 kB lydell
npm/[email protected] None 0 16.4 kB linusu
npm/[email protected] filesystem, unsafe Transitive: environment +17 3.65 MB ljharb
npm/[email protected] filesystem Transitive: environment +5 2.38 MB gajus

🚮 Removed packages: npm/@metamask/[email protected], npm/@playwright/[email protected], npm/@synthetixio/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

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/[email protected] 🚫
Install scripts npm/[email protected] 🚫
Install scripts npm/@swc/[email protected]
  • 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/[email protected] or ignore all packages with @SocketSecurity ignore-all

@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