diff --git a/package-lock.json b/package-lock.json index 7e223126..68564dc6 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.31.0", "passport": "^0.6.0", "passport-google-oauth": "^2.0.0", "password-validator": "^5.3.0", @@ -3164,9 +3164,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.31.0", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.31.0.tgz", + "integrity": "sha512-JebkRnRGEGLnJt3+bJ5B7au8nBeZvJjs9baVxDmUZ5+BgafAdy6KDxJGSuyaw/IA+ErqY3jmOH5cDC2mCDJF2w==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", @@ -3175,7 +3175,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" @@ -3186,6 +3187,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.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/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 186ec319..9abfc247 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.31.0", "passport": "^0.6.0", "passport-google-oauth": "^2.0.0", "password-validator": "^5.3.0",