From 09034f4d0ac1173e2418abe2b1a43f3c7c557ca3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 28 Aug 2024 04:10:04 +0000 Subject: [PATCH] fix: upgrade openai from 4.52.3 to 4.55.0 Snyk has created this PR to upgrade openai from 4.52.3 to 4.55.0. See this package in npm: openai See this project in Snyk: https://app.snyk.io/org/hiterharris/project/ca38db5e-e099-4fa6-882c-db10295ca6d7?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 17 +++++++++++++---- package.json | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8554fbc..727bc50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "moesif-nodejs": "^3.6.2", "node-fetch": "^3.3.2", "nodemon": "^3.1.4", - "openai": "^4.52.3", + "openai": "^4.55.0", "openapi": "^1.0.1", "pino": "^9.0.0", "pino-pretty": "^11.0.0" @@ -1494,7 +1494,9 @@ } }, "node_modules/openai": { - "version": "4.52.3", + "version": "4.55.0", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.55.0.tgz", + "integrity": "sha512-BR3TUybzdqNeBMgEFvxgBrFks9FY2NoP2jyTf7LT4UxPv8chevRKSxKezsINVSeQ/QLA12CALR1oco6KVdVpVA==", "license": "Apache-2.0", "dependencies": { "@types/node": "^18.11.18", @@ -1503,11 +1505,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/@types/node": { diff --git a/package.json b/package.json index bab2039..de5068a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "moesif-nodejs": "^3.6.2", "node-fetch": "^3.3.2", "nodemon": "^3.1.4", - "openai": "^4.52.3", + "openai": "^4.55.0", "openapi": "^1.0.1", "pino": "^9.0.0", "pino-pretty": "^11.0.0"