diff --git a/package-lock.json b/package-lock.json index 87c5bc2..dee6217 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 041f2b7..90f73fa 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",