From a97cd2f37462af991687b6aca97ac6a72bf6885d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 26 Oct 2024 06:06:40 +0000 Subject: [PATCH] fix: upgrade openai from 4.47.3 to 4.67.1 Snyk has created this PR to upgrade openai from 4.47.3 to 4.67.1. See this package in npm: openai See this project in Snyk: https://app.snyk.io/org/meander02/project/d60049d8-bb85-41de-9800-cce1478ac8e9?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 28 ++++++++++++++-------------- package.json | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87c5bc29..dee62171 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "ng-zorro-antd": "^17.3.0", "ngx-captcha": "^13.0.0", "ngx-ui-loader": "^13.0.0", - "openai": "^4.47.3", + "openai": "^4.67.1", "pdf-lib": "^1.17.1", "pdfmake": "^0.2.10", "primeicons": "^6.0.1", @@ -13410,9 +13410,10 @@ } }, "node_modules/openai": { - "version": "4.47.3", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.47.3.tgz", - "integrity": "sha512-470d4ibH5kizXflCzgur22GpM4nOjrg7WQ9jTOa3dNKEn248oBy4+pjOyfcFR4V4YUn/YlDNjp6h83PbviCCKQ==", + "version": "4.67.1", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.67.1.tgz", + "integrity": "sha512-2YbRFy6qaYRJabK2zLMn4txrB2xBy0KP5g/eoqeSPTT31mIJMnkT75toagvfE555IKa2RdrzJrZwdDsUipsAMw==", + "license": "Apache-2.0", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -13420,11 +13421,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": { @@ -16225,14 +16233,6 @@ "defaults": "^1.0.3" } }, - "node_modules/web-streams-polyfill": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz", - "integrity": "sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==", - "engines": { - "node": ">= 8" - } - }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/package.json b/package.json index 041f2b7d..90f73fa9 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "ng-zorro-antd": "^17.3.0", "ngx-captcha": "^13.0.0", "ngx-ui-loader": "^13.0.0", - "openai": "^4.47.3", + "openai": "^4.67.1", "pdf-lib": "^1.17.1", "pdfmake": "^0.2.10", "primeicons": "^6.0.1",