diff --git a/package-lock.json b/package-lock.json index e8c01b3..dece423 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "iso-639-1": "^3.1.2", "mjml": "^4.15.3", "nodemailer": "^6.9.14", - "openai": "^4.52.3", + "openai": "^4.67.3", "slackify-markdown": "^4.4.0", "striptags": "^3.2.0" }, @@ -6243,9 +6243,9 @@ } }, "node_modules/openai": { - "version": "4.52.3", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.52.3.tgz", - "integrity": "sha512-IyQLYKGYoEEkUCEm2frPzwHDJ3Ym663KtivnY6pWCzuoi6/HgSIMMxpcuTRS81GH6tiULPYGmTxIvzXdmPIWOw==", + "version": "4.67.3", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.67.3.tgz", + "integrity": "sha512-HT2tZgjLgRqbLQNKmYtjdF/4TQuiBvg1oGvTDhwpSEQzxo6/oM1us8VQ53vBK2BiKvCxFuq6gKGG70qfwrNhKg==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -6253,11 +6253,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": { @@ -8113,14 +8120,6 @@ "node": ">=4.0.0" } }, - "node_modules/web-streams-polyfill": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", - "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", - "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 101b5d7..0385782 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "iso-639-1": "^3.1.2", "mjml": "^4.15.3", "nodemailer": "^6.9.14", - "openai": "^4.52.3", + "openai": "^4.67.3", "slackify-markdown": "^4.4.0", "striptags": "^3.2.0" },