diff --git a/package-lock.json b/package-lock.json index 87c5bc2..c73de58 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.3", "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.3", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.67.3.tgz", + "integrity": "sha512-HT2tZgjLgRqbLQNKmYtjdF/4TQuiBvg1oGvTDhwpSEQzxo6/oM1us8VQ53vBK2BiKvCxFuq6gKGG70qfwrNhKg==", + "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 041f2b7..0b015bb 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.3", "pdf-lib": "^1.17.1", "pdfmake": "^0.2.10", "primeicons": "^6.0.1",