Skip to content

[Snyk] Upgrade undici from 5.25.4 to 7.5.0 #130

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

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Apr 4, 2025

snyk-top-banner

Snyk has created this PR to upgrade undici from 5.25.4 to 7.5.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 81 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Insecure Randomness
SNYK-JS-UNDICI-8641354
83 Proof of Concept
low severity Information Exposure
SNYK-JS-UNDICI-5962466
83 No Known Exploit
low severity Permissive Cross-domain Policy with Untrusted Domains
SNYK-JS-UNDICI-6252336
83 No Known Exploit
low severity Improper Access Control
SNYK-JS-UNDICI-6564963
83 No Known Exploit
low severity Improper Authorization
SNYK-JS-UNDICI-6564964
83 No Known Exploit
Release notes
Package name: undici
  • 7.5.0 - 2025-03-12

    What's Changed

    • feat(docs): button to switch dark and light mode by @ shivarm in #4044
    • feat: add mock call history to access request configuration in test by @ blephy in #4029
    • fix: Fix retry-handler.js when retry-after header is a Date by @ fgiova in #4084
    • Update Cache Tests by @ github-actions in #4027
    • Allow disabling autoSelectFamily in an Agent by @ hitsthings in #4070
    • Removed clients with unrecoverable errors from the Pool by @ mcollina in #4088

    New Contributors

    Full Changelog: v7.4.0...v7.5.0

  • 7.4.0 - 2025-02-28

    What's Changed

    New Contributors

    Full Changelog: v7.3.0...v7.4.0

  • 7.3.0 - 2025-01-22

    What's Changed

    Full Changelog: v7.2.3...v7.3.0

  • 7.2.3 - 2025-01-16

    ⚠️ Security Release ⚠️

    Fixes CVE CVE-2025-22150 GHSA-c76h-2ccp-4975 (embargoed until 22-01-2025).

    What's Changed

    Full Changelog: v7.2.2...v7.2.3

  • 7.2.2 - 2025-01-15

    What's Changed

    • Update WPT by @ github-actions in #3991
    • fix: dual-stack retries infinite loop by @ luddd3 in #4001
    • build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.2 by @ dependabot in #3980
    • build(deps): bump github/codeql-action from 3.27.0 to 3.28.1 by @ dependabot in #4003
    • tests: Update Cache Tests by @ github-actions in #3965
    • ReadableStreamFrom pull until cannot on empty enqueu by @ KhafraDev in #4002
    • Resolve circular dependency by @ mcollina in #4006

    Full Changelog: v7.2.1...v7.2.2

  • 7.2.1 - 2025-01-09

    What's Changed

    New Contributors

    Full Changelog: v7.2.0...v7.2.1

  • 7.2.0 - 2024-12-18

    What's Changed

    Full Changelog: v7.1.1...v7.2.0

  • 7.1.1 - 2024-12-16

    What's Changed

    New Contributors

    Full Changelog: v7.1.0...v7.1.1

  • 7.1.0 - 2024-12-03
  • 7.0.0 - 2024-11-27
  • 7.0.0-alpha.10 - 2024-11-27
  • 7.0.0-alpha.9 - 2024-11-27
  • 7.0.0-alpha.8 - 2024-11-27
  • 7.0.0-alpha.7 - 2024-11-25
  • 7.0.0-alpha.6 - 2024-11-20
  • 7.0.0-alpha.5 - 2024-11-19
  • 7.0.0-alpha.4 - 2024-11-15
  • 7.0.0-alpha.3 - 2024-10-24
  • 7.0.0-alpha.2 - 2024-10-09
  • 7.0.0-alpha.1 - 2024-09-03
  • 6.21.2 - 2025-03-13
  • 6.21.1 - 2025-01-16

    ⚠️ Security Release ⚠️

    Fixes CVE CVE-2025-22150 GHSA-c76h-2ccp-4975 (embargoed until 22-01-2025).

    What's Changed

    Full Changelog: v6.21.0...v6.21.1

  • 6.21.0 - 2024-11-13
  • 6.20.1 - 2024-10-14
  • 6.20.0 - 2024-10-09
  • 6.19.8 - 2024-08-19
  • 6.19.7 - 2024-08-09
  • 6.19.6 - 2024-08-09
  • 6.19.5 - 2024-07-31
  • 6.19.4 - 2024-07-22
  • 6.19.3 - 2024-07-22
  • 6.19.2 - 2024-06-18
  • 6.19.1 - 2024-06-17
  • 6.19.0 - 2024-06-14
  • 6.18.2 - 2024-05-29
  • 6.18.1 - 2024-05-22
  • 6.18.0 - 2024-05-20
  • 6.17.0 - 2024-05-17
  • 6.16.1 - 2024-05-10
  • 6.16.0 - 2024-05-07
  • 6.15.0 - 2024-04-29
  • 6.14.1 - 2024-04-23
  • 6.14.0 - 2024-04-22
  • 6.13.0 - 2024-04-12
  • 6.12.0 - 2024-04-08
  • 6.11.1 - 2024-04-02
  • 6.11.0 - 2024-04-02
  • 6.10.2 - 2024-03-27
  • 6.10.1 - 2024-03-21
  • 6.10.0 - 2024-03-21
  • 6.9.0 - 2024-03-14
  • 6.8.0 - 2024-03-13
  • 6.7.1 - 2024-03-08
  • 6.7.0 - 2024-03-03
  • 6.6.2 - 2024-02-06
  • 6.6.1 - 2024-02-05
  • 6.6.0 - 2024-02-01
  • 6.5.0 - 2024-01-26
  • 6.4.0 - 2024-01-19
  • 6.3.0 - 2024-01-08
  • 6.2.1 - 2023-12-22
  • 6.2.0 - 2023-12-20
  • ...

    Summary by Sourcery

    Upgrade undici dependency from version 5.25.4 to 7.5.0

    Bug Fixes:

    • Resolves multiple security vulnerabilities, including an Insecure Randomness issue and several low-severity information exposure and access control vulnerabilities

    Enhancements:

    • Updates to the latest major version of undici, bringing potential performance and feature improvements

Snyk has created this PR to upgrade undici from 5.25.4 to 7.5.0.

See this package in npm:
undici

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/b5cdf2ad-2b8a-4186-9f27-57d3c2adaf21?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Apr 4, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the undici dependency from version 5.25.4 to version 7.5.0. This update includes several fixes and improvements, including security patches.

Sequence diagram for handling retry-after header as a Date

sequenceDiagram
  participant Client
  participant RetryHandler
  participant Server

  Client->>Server: Sends HTTP Request
  Server-->>Client: HTTP Response with Retry-After: Date
  Client->>RetryHandler: retryAfterHeaderIsDate(headerValue)
  RetryHandler-->>Client: Returns true
  Client->>Client: Schedules retry based on Date
Loading

File-Level Changes

Change Details Files
The pull request upgrades the undici dependency from version 5.25.4 to version 7.5.0.
  • Updated the undici dependency version in package.json.
packages/http-client/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

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