Skip to content

[Snyk] Upgrade openai from 3.3.0 to 4.85.4 #91

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 Mar 18, 2025

snyk-top-banner

Snyk has created this PR to upgrade openai from 3.3.0 to 4.85.4.

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

  • The recommended version was released 23 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Cross-site Request Forgery (CSRF)
SNYK-JS-AXIOS-6032459
155 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-AXIOS-6124857
155 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-AXIOS-6671926
155 No Known Exploit
medium severity Server-side Request Forgery (SSRF)
SNYK-JS-AXIOS-9292519
155 Proof of Concept
Release notes
Package name: openai
  • 4.85.4 - 2025-02-22

    4.85.4 (2025-02-22)

    Full Changelog: v4.85.3...v4.85.4

    Chores

  • 4.85.3 - 2025-02-20

    4.85.3 (2025-02-20)

    Full Changelog: v4.85.2...v4.85.3

    Bug Fixes

    • parsing: remove tool_calls default empty array (#1341) (2672160)
  • 4.85.2 - 2025-02-18

    4.85.2 (2025-02-18)

    Full Changelog: v4.85.1...v4.85.2

    Bug Fixes

    • optimize sse chunk reading off-by-one error (#1339) (c82795b)
  • 4.85.1 - 2025-02-14

    4.85.1 (2025-02-14)

    Full Changelog: v4.85.0...v4.85.1

    Bug Fixes

    Chores

    • internal: add missing return type annotation (#1334) (53e0856)
  • 4.85.0 - 2025-02-13

    4.85.0 (2025-02-13)

    Full Changelog: v4.84.1...v4.85.0

    Features

    • api: add support for storing chat completions (#1327) (8d77f8e)

    Bug Fixes

    • realtime: call .toString() on WebSocket url (#1324) (09bc50d)
  • 4.84.1 - 2025-02-13

    4.84.1 (2025-02-13)

    Full Changelog: v4.84.0...v4.84.1

    Bug Fixes

    • realtime: correct websocket type var constraint (#1321) (afb17ea)
  • 4.84.0 - 2025-02-12

    4.84.0 (2025-02-12)

    Full Changelog: v4.83.0...v4.84.0

    Features

    • pagination: avoid fetching when has_more: false (#1305) (b6944c6)

    Bug Fixes

    • api: add missing reasoning effort + model enums (#1302) (14c55c3)
    • assistants: handle thread.run.incomplete event (7032cc4)
    • correctly decode multi-byte characters over multiple chunks (#1316) (dd776c4)

    Chores

    • internal: remove segfault-handler dependency (3521ca3)

    Documentation

    • readme: cleanup into multiple files (da94424)
  • 4.83.0 - 2025-02-05

    4.83.0 (2025-02-05)

    Full Changelog: v4.82.0...v4.83.0

    Features

    Bug Fixes

    • api/types: correct audio duration & role types (#1300) (a955ac2)
    • azure/audio: use model param for deployments (#1297) (85de382)
  • 4.82.0 - 2025-01-31

    4.82.0 (2025-01-31)

    Full Changelog: v4.81.0...v4.82.0

    Features

    Bug Fixes

    • examples/realtime: remove duplicate session.update call (#1293) (ad800b4)
    • types: correct metadata type + other fixes (378e2f7)
  • 4.81.0 - 2025-01-29

    4.81.0 (2025-01-29)

    Full Changelog: v4.80.1...v4.81.0

    Features

  • 4.80.1 - 2025-01-24
  • 4.80.0 - 2025-01-22
  • 4.79.4 - 2025-01-21
  • 4.79.3 - 2025-01-21
  • 4.79.2 - 2025-01-21
  • 4.79.1 - 2025-01-17
  • 4.79.0 - 2025-01-17
  • 4.78.1 - 2025-01-10
  • 4.78.0 - 2025-01-09
  • 4.77.4 - 2025-01-08
  • 4.77.3 - 2025-01-03
  • 4.77.0 - 2024-12-17
  • 4.76.3 - 2024-12-13
  • 4.76.2 - 2024-12-12
  • 4.76.1 - 2024-12-10
  • 4.76.0 - 2024-12-05
  • 4.75.0 - 2024-12-03
  • 4.74.0 - 2024-12-02
  • 4.73.1 - 2024-11-25
  • 4.73.0 - 2024-11-20
  • 4.72.0 - 2024-11-12
  • 4.71.1 - 2024-11-06
  • 4.71.0 - 2024-11-04
  • 4.70.3 - 2024-11-04
  • 4.70.2 - 2024-11-01
  • 4.70.1 - 2024-11-01
  • 4.70.0 - 2024-11-01
  • 4.69.0 - 2024-10-30
  • 4.68.4 - 2024-10-23
  • 4.68.3 - 2024-10-23
  • 4.68.2 - 2024-10-22
  • 4.68.1 - 2024-10-18
  • 4.68.0 - 2024-10-17
  • 4.67.3 - 2024-10-08
  • 4.67.2 - 2024-10-07
  • 4.67.1 - 2024-10-02
  • 4.67.0 - 2024-10-01
  • 4.66.1 - 2024-09-30
  • 4.65.0 - 2024-09-26
  • 4.64.0 - 2024-09-25
  • 4.63.0 - 2024-09-20
  • 4.62.1 - 2024-09-18
  • 4.62.0 - 2024-09-17
  • 4.61.1 - 2024-09-16
  • 4.61.0 - 2024-09-13
  • 4.60.1 - 2024-09-13
  • 4.60.0 - 2024-09-12
  • 4.59.0 - 2024-09-11
  • 4.58.2 - 2024-09-09
  • 4.58.1 - 2024-09-06
  • 4.58.0 - 2024-09-05
  • 4.57.3 - 2024-09-04
  • 4.57.2 - 2024-09-04
  • 4.57.1 - 2024-09-03
  • 4.57.0 - 2024-08-29
  • 4.56.2 - 2024-08-29
  • 4.56.1 - 2024-08-27
  • 4.56.0 - 2024-08-16
  • 4.55.9 - 2024-08-16
  • 4.55.8 - 2024-08-15
  • 4.55.7 - 2024-08-13
  • 4.55.6 - 2024-08-13
  • 4.55.5 - 2024-08-12
  • 4.55.4 - 2024-08-09
  • 4.55.3 - 2024-08-08
  • 4.55.2 - 2024-08-08
  • 4.55.1 - 2024-08-07
  • 4.55.0 - 2024-08-06
  • 4.54.0 - 2024-08-02
  • 4.53.2 - 2024-07-26
  • 4.53.1 - 2024-07-25
  • 4.53.0 - 2024-07-22
  • 4.52.7 - 2024-07-11
  • 4.52.6 - 2024-07-11
  • 4.52.5 - 2024-07-10
  • 4.52.4 - 2024-07-08
  • 4.52.3 - 2024-07-02
  • 4.52.2 - 2024-06-29
  • 4.52.1 - 2024-06-26
  • 4.52.0 - 2024-06-19
  • 4.51.0 - 2024-06-12
  • 4.50.0 - 2024-06-10
  • 4.49.1 - 2024-06-07
  • 4.49.0 - 2024-06-06
  • 4.48.3 - 2024-06-06
  • 4.48.2 - 2024-06-05
  • 4.48.1 - 2024-06-04
  • 4.47.3 - 2024-05-31
  • 4.47.2 - 2024-05-28
  • 4.47.1 - 2024-05-14
  • 4.47.0 - 2024-05-14
  • 4.46.1 - 2024-05-13
  • 4.46.0 - 2024-05-13
  • 4.45.0 - 2024-05-11
  • 4.44.0 - 2024-05-09
  • 4.43.0 - 2024-05-08
  • 4.42.0 - 2024-05-06
  • 4.41.1 - 2024-05-06
  • 4.41.0 - 2024-05-05
  • 4.40.2 - 2024-05-03
  • 4.40.1 - 2024-05-02
  • 4.40.0 - 2024-05-01
  • 4.39.1 - 2024-04-30
  • 4.39.0 - 2024-04-29
  • 4.38.5 - 2024-04-25
  • 4.38.4 - 2024-04-24
  • 4.38.3 - 2024-04-22
  • 4.38.2 - 2024-04-19
  • 4.38.1 - 2024-04-18
  • 4.38.0 - 2024-04-18
  • 4.37.1 - 2024-04-17
  • 4.37.0 - 2024-04-17
  • 4.36.0 - 2024-04-16
  • 4.35.0 - 2024-04-16
  • 4.34.0 - 2024-04-15
  • 4.33.1 - 2024-04-13
  • 4.33.0 - 2024-04-05
  • 4.32.2 - 2024-04-04
  • 4.32.1 - 2024-04-02
  • 4.32.0 - 2024-04-01
  • 4.31.0 - 2024-03-30
  • 4.30.0 - 2024-03-28
  • 4.29.2 - 2024-03-19
  • 4.29.1 - 2024-03-15
  • 4.29.0 - 2024-03-13
  • 4.28.5 - 2024-03-13
  • 4.28.4 - 2024-02-28
  • 4.28.0 - 2024-02-13
  • 4.27.1 - 2024-02-12
  • 4.27.0 - 2024-02-09
  • 4.26.1 - 2024-02-05
  • 4.26.0 - 2024-01-25
  • 4.25.0 - 2024-01-21
  • 4.24.7 - 2024-01-13
  • 4.24.6 - 2024-01-12
  • 4.24.5 - 2024-01-12
  • 4.24.4 - 2024-01-12
  • 4.24.3 - 2024-01-10
  • 4.24.2 - 2024-01-09
  • 4.24.1 - 2023-12-22
  • 4.24.0 - 2023-12-19
  • 4.23.0 - 2023-12-17
  • 4.22.1 - 2023-12-16
  • 4.22.0 - 2023-12-15
  • 4.21.0 - 2023-12-13
  • 4.20.1 - 2023-11-27
  • 4.20.0 - 2023-11-22
  • 4.19.1 - 2023-11-20
  • 4.19.0 - 2023-11-15
  • 4.18.0 - 2023-11-14
  • 4.17.5 - 2023-11-13
  • 4.17.4 - 2023-11-10
  • 4.17.3 - 2023-11-10
  • 4.17.2 - 2023-11-09
  • 4.17.1 - 2023-11-09
  • 4.17.0 - 2023-11-09
  • 4.16.2 - 2023-11-08
  • 4.16.1 - 2023-11-06
  • 4.16.0 - 2023-11-06
  • 4.15.4 - 2023-11-05
  • 4.15.3 - 2023-11-05
  • 4.15.2 - 2023-11-04
  • 4.15.1 - 2023-11-04
  • 4.15.0 - 2023-11-03
  • 4.14.2 - 2023-10-30
  • 4.14.1 - 2023-10-27
  • 4.14.0 - 2023-10-25
  • 4.13.0 - 2023-10-23
  • 4.12.4 - 2023-10-17
  • 4.12.3 - 2023-10-16
  • 4.12.2 - 2023-10-16
  • 4.12.1 - 2023-10-11
  • 4.12.0 - 2023-10-11
  • 4.11.1 - 2023-10-03
  • 4.11.0 - 2023-09-29
  • 4.10.0 - 2023-09-21
  • 4.9.1 - 2023-09-21
  • 4.9.0 - 2023-09-21
  • 4.8.0 - 2023-09-18
  • 4.7.1 - 2023-09-15
  • 4.7.0 - 2023-09-14
  • 4.6.0 - 2023-09-08
  • 4.5.0 - 2023-09-06
  • 4.4.0 - 2023-09-01
  • 4.3.1 - 2023-08-29
  • 4.3.0 - 2023-08-27
  • 4.2.0 - 2023-08-23
  • 4.1.0 - 2023-08-22
  • 4.0.1 - 2023-08-19
  • 4.0.0 - 2023-08-16
  • 4.0.0-beta.12 - 2023-08-15
  • 4.0.0-beta.11 - 2023-08-13
  • 4.0.0-beta.10 - 2023-08-12
  • 4.0.0-beta.9 - 2023-08-11
  • 4.0.0-beta.8 - 2023-08-05
  • 4.0.0-beta.7 - 2023-07-29
  • 4.0.0-beta.6 - 2023-07-20
  • 4.0.0-beta.5 - 2023-07-17
  • 4.0.0-beta.4 - 2023-07-09
  • 4.0.0-beta.3 - 2023-07-08
  • 4.0.0-beta.2 - 2023-07-01
  • 4.0.0-beta.1 - 2023-06-27
  • 4.0.0-beta.0 - 2023-06-17
  • 3.3.0 - 2023-06-13
from openai 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

Upgrade the openai dependency from version 3.1.0 to 4.85.4.

Snyk has created this PR to upgrade openai from 3.3.0 to 4.85.4.

See this package in npm:
openai

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/1b9e8975-d6d0-4375-9da3-0aa27511634d?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Mar 18, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the openai dependency from version 3.3.0 to 4.85.4. The openai version was updated in the package.json file.

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

File-Level Changes

Change Details Files
The pull request upgrades the openai dependency from version 3.3.0 to 4.85.4.
  • Updated the openai dependency version in package.json.
clients/js/examples/node/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