diff --git a/package-lock.json b/package-lock.json index bd2ac99..e0a75ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "ng2-charts": "^6.0.1", "ngx-captcha": "^13.0.0", "ngx-ui-loader": "^13.0.0", - "openai": "^4.47.3", + "openai": "^4.68.4", "pdf-lib": "^1.17.1", "pdfmake": "^0.2.10", "primeicons": "^6.0.1", @@ -13436,9 +13436,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.68.4", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.68.4.tgz", + "integrity": "sha512-LRinV8iU9VQplkr25oZlyrsYGPGasIwYN8KFMAAFTHHLHjHhejtJ5BALuLFrkGzY4wfbKhOhuT+7lcHZ+F3iEA==", + "license": "Apache-2.0", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -13446,11 +13447,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": { @@ -16251,14 +16259,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 b9bb332..1b65858 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "ng2-charts": "^6.0.1", "ngx-captcha": "^13.0.0", "ngx-ui-loader": "^13.0.0", - "openai": "^4.47.3", + "openai": "^4.68.4", "pdf-lib": "^1.17.1", "pdfmake": "^0.2.10", "primeicons": "^6.0.1",