diff --git a/javascript-example/1-express-app-html-hardcoded-prompt/package-lock.json b/javascript-example/1-express-app-html-hardcoded-prompt/package-lock.json
index 686c41a..0beb357 100644
--- a/javascript-example/1-express-app-html-hardcoded-prompt/package-lock.json
+++ b/javascript-example/1-express-app-html-hardcoded-prompt/package-lock.json
@@ -10,7 +10,7 @@
"license": "ISC",
"dependencies": {
"express": "^4.19.2",
- "openai": "^4.41.0"
+ "openai": "^4.65.0"
}
},
"node_modules/@types/node": {
@@ -629,9 +629,10 @@
}
},
"node_modules/openai": {
- "version": "4.41.0",
- "resolved": "https://registry.npmjs.org/openai/-/openai-4.41.0.tgz",
- "integrity": "sha512-fiV+RvUGRW+PXxycqeDYuOwsL3TxNqT/LcM6vlqyLz9ACmfSUGg1qviQrHuuNKL7gFOvfzgEJRVVFdqmv/sjxg==",
+ "version": "4.65.0",
+ "resolved": "https://registry.npmjs.org/openai/-/openai-4.65.0.tgz",
+ "integrity": "sha512-LfA4KUBpH/8rA3vjCQ74LZtdK/8wx9W6Qxq8MHqEdImPsN1XPQ2ompIuJWkKS6kXt5Cs5i8Eb65IIo4M7U+yeQ==",
+ "license": "Apache-2.0",
"dependencies": {
"@types/node": "^18.11.18",
"@types/node-fetch": "^2.6.4",
@@ -639,11 +640,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/parseurl": {
@@ -873,14 +881,6 @@
"node": ">= 0.8"
}
},
- "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/javascript-example/1-express-app-html-hardcoded-prompt/package.json b/javascript-example/1-express-app-html-hardcoded-prompt/package.json
index cd69053..a6d8550 100644
--- a/javascript-example/1-express-app-html-hardcoded-prompt/package.json
+++ b/javascript-example/1-express-app-html-hardcoded-prompt/package.json
@@ -11,6 +11,6 @@
"license": "ISC",
"dependencies": {
"express": "^4.19.2",
- "openai": "^4.41.0"
+ "openai": "^4.65.0"
}
}