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 undici from 5.28.4 to 6.21.0 #63

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 Dec 10, 2024

snyk-top-banner

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

  • The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
169 Proof of Concept
Release notes
Package name: undici
  • 6.21.0 - 2024-11-13

    What's Changed

    • [Backport v6.x] web: mark as uncloneable when possible (#3709) by @ jazelly in #3744
    • [Backport v6.x] fetch: fix content-encoding order by @ github-actions in #3764
    • [Backport v6.x] fix: handle undefined deref() of WeakRef(socket) by @ github-actions in #3822
    • [Backport v6.x] fix: range end is zero-indexed by @ github-actions in #3827

    Full Changelog: v6.20.1...v6.21.0

  • 6.20.1 - 2024-10-14

    What's Changed

    • [Backport v6.x] jsdoc: add jsdoc to lib/web/fetch/constants.js by @ github-actions in #3710
    • [Backport v6.x] feat: implement BodyReadable.bytes by @ github-actions in #3711
    • fix: add more expectsPayload methods by @ ronag in #3715
    • [Backport v6.x] chore(H2): onboard H2 into Undici queueing system (#3707) by @ Uzlopak in #3724
    • [Backport v6.x] fix: PoolBase kClose and kDestroy should await and not return the Promise by @ github-actions in #3723
    • [Backport v6.x] fix: extract noop everywhere by @ Uzlopak in #3727

    Full Changelog: v6.20.0...v6.20.1

  • 6.20.0 - 2024-10-09

    What's Changed

    • Remove patched dom types (v6.x branch) by @ eXhumer in #3531
    • docs(Backport v6.x): Fix signature of RetryHandler by @ github-actions in #3594
    • deps(dev): update @ types/node by @ metcoder95 in #3618
    • fix: throw on retry when payload is consume by downstream by @ github-actions in #3596
    • feat(Backport v6.x): move throwOnError to interceptor by @ github-actions in #3595
    • [Backport v6.x] fix: reduce memory usage in client-h1 by @ github-actions in #3672
    • [Backport v6.x] fix: refactor fast timers, fix UND_ERR_CONNECT_TIMEOUT on event loop blocking by @ github-actions in #3673
    • [Backport v6.x] fix: run asserts first if possible by @ github-actions in #3674
    • [Backport v6.x] fix: use fasttimers for all connection timeouts by @ github-actions in #3675
    • [Backport v6.x] ci: less flaky test/request-timeout.js test by @ github-actions in #3678
    • [Backport v6.x] test: less flaky timers acceptance test, rework fast timer tests to pass them faster by @ github-actions in #3679
    • [Backport v6.x] ignore leading and trailing crlfs in formdata body by @ github-actions in #3681
    • [Backport v6.x] mock: fix mocking of Uint8Array and ArrayBuffers as provided mock-responses by @ github-actions in #3689
    • [Backport v6.x] handle body errors by @ Uzlopak in #3700

    Full Changelog: v6.19.8...v6.20.0

  • 6.19.8 - 2024-08-19

    Full Changelog: v6.19.7...v6.19.8

  • 6.19.7 - 2024-08-09

    Full Changelog: v6.19.6...v6.19.7

  • 6.19.6 - 2024-08-09

    Full Changelog: v6.19.5...v6.19.6

  • 6.19.5 - 2024-07-31

    Full Changelog: v6.19.4...v6.19.5

  • 6.19.4 - 2024-07-22

    Full Changelog: v6.19.3...v6.19.4

  • 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
  • 6.1.0 - 2023-12-20
  • 6.0.1 - 2023-12-06
  • 6.0.0 - 2023-12-05
  • 5.28.4 - 2024-04-02
from undici 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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Summary by Sourcery

Build:

  • Upgrade 'undici' package from version 5.28.4 to 6.21.0 in package.json.

Snyk has created this PR to upgrade undici from 5.28.4 to 6.21.0.

See this package in npm:
undici

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/00eaf84d-a05e-4e1a-923e-697960352bb8?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Dec 10, 2024

Reviewer's Guide by Sourcery

This PR upgrades the undici package from version 5.28.4 to 6.21.0. This is a major version upgrade that includes multiple improvements, bug fixes, and potential breaking changes. The upgrade addresses a high severity Regular Expression Denial of Service (ReDoS) vulnerability in the cross-spawn dependency.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Dependency version upgrade in package.json
  • Updated undici dependency from ^5.28.4 to ^6.21.0
  • Fixed high severity ReDoS vulnerability (SNYK-JS-CROSSSPAWN-8303230)
packages/attest/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.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a 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. You can also use
    this command to specify where the summary should be inserted.

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