diff --git a/package-lock.json b/package-lock.json index 32c2bf05..0c439288 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "hbs": "^4.2.0", "jsonwebtoken": "^9.0.2", "mongoose": "^7.6.0", - "openai": "^4.4.0", + "openai": "^4.16.1", "passport": "^0.6.0", "passport-google-oauth": "^2.0.0", "password-validator": "^5.3.0", @@ -3182,9 +3182,9 @@ } }, "node_modules/openai": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/openai/-/openai-4.4.0.tgz", - "integrity": "sha512-JN0t628Kh95T0IrXl0HdBqnlJg+4Vq0Bnh55tio+dfCnyzHvMLiWyCM9m726MAJD2YkDU4/8RQB6rNbEq9ct2w==", + "version": "4.16.1", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.16.1.tgz", + "integrity": "sha512-Gr+uqUN1ICSk6VhrX64E+zL7skjI1TgPr/XUN+ZQuNLLOvx15+XZulx/lSW4wFEAQzgjBDlMBbBeikguGIjiMg==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -3193,7 +3193,8 @@ "digest-fetch": "^1.3.0", "form-data-encoder": "1.7.2", "formdata-node": "^4.3.2", - "node-fetch": "^2.6.7" + "node-fetch": "^2.6.7", + "web-streams-polyfill": "^3.2.1" }, "bin": { "openai": "bin/cli" @@ -3204,6 +3205,14 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.5.tgz", "integrity": "sha512-xNbS75FxH6P4UXTPUJp/zNPq6/xsfdJKussCWNOnz4aULWIRwMgP1LgaB5RiBnMX1DPCYenuqGZfnIAx5mbFLA==" }, + "node_modules/openai/node_modules/web-streams-polyfill": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz", + "integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==", + "engines": { + "node": ">= 8" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", diff --git a/package.json b/package.json index aad07dc8..4b3355d0 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "hbs": "^4.2.0", "jsonwebtoken": "^9.0.2", "mongoose": "^7.6.0", - "openai": "^4.4.0", + "openai": "^4.16.1", "passport": "^0.6.0", "passport-google-oauth": "^2.0.0", "password-validator": "^5.3.0",