From 83de9ef37b7043d00cedfc38d3d363debe1b3803 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 12 Nov 2024 14:40:41 +0000 Subject: [PATCH] fix: upgrade openai from 4.37.1 to 4.68.1 Snyk has created this PR to upgrade openai from 4.37.1 to 4.68.1. See this package in npm: openai See this project in Snyk: https://app.snyk.io/org/wds-mhx/project/d0c08da0-4c83-4695-901a-bb0a3f4a5e43?utm_source=github&utm_medium=referral&page=upgrade-pr --- Project_new/package-lock.json | 20 ++++++++++++++------ Project_new/package.json | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Project_new/package-lock.json b/Project_new/package-lock.json index 902bc79..6d72fb1 100644 --- a/Project_new/package-lock.json +++ b/Project_new/package-lock.json @@ -26,7 +26,7 @@ "mongodb": "^6.5.0", "node-fetch": "^3.3.2", "nodemon": "^3.1.0", - "openai": "^4.37.1", + "openai": "^4.68.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-helmet": "^6.1.0", @@ -6255,9 +6255,10 @@ } }, "node_modules/openai": { - "version": "4.37.1", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.37.1.tgz", - "integrity": "sha512-YVuhylpDeTNCWgsfhZe38+c4dDWZuW9VgzNY/sdYiNt6K9pvijroyYENp8YGEUHnuIAKtsLneZX9Qb/iB5XHkw==", + "version": "4.68.1", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.68.1.tgz", + "integrity": "sha512-C9XmYRHgra1U1G4GGFNqRHQEjxhoOWbQYR85IibfJ0jpHUhOm4/lARiKaC/h3zThvikwH9Dx/XOKWPNVygIS3g==", + "license": "Apache-2.0", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -6265,11 +6266,18 @@ "agentkeepalive": "^4.2.1", "form-data-encoder": "1.7.2", "formdata-node": "^4.3.2", - "node-fetch": "^2.6.7", - "web-streams-polyfill": "^3.2.1" + "node-fetch": "^2.6.7" }, "bin": { "openai": "bin/cli" + }, + "peerDependencies": { + "zod": "^3.23.8" + }, + "peerDependenciesMeta": { + "zod": { + "optional": true + } } }, "node_modules/openai/node_modules/node-fetch": { diff --git a/Project_new/package.json b/Project_new/package.json index 1d6ade8..c22650d 100644 --- a/Project_new/package.json +++ b/Project_new/package.json @@ -29,7 +29,7 @@ "mongodb": "^6.5.0", "node-fetch": "^3.3.2", "nodemon": "^3.1.0", - "openai": "^4.37.1", + "openai": "^4.68.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-helmet": "^6.1.0",