diff --git a/package-lock.json b/package-lock.json index 32c2bf05..ffd7b7c7 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.24.7", "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.24.7", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.24.7.tgz", + "integrity": "sha512-JUesECWPtsDHO0TlZGb6q73hnAmXUdzj9NrwgZeL4lqlRt/kR1sWrXoy8LocxN/6uOtitywvcJqe0O1PLkG45g==", "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.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/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..b6ba6c39 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.24.7", "passport": "^0.6.0", "passport-google-oauth": "^2.0.0", "password-validator": "^5.3.0",