chore(.gitignore): add .env.test to gitignore (#424)

feat(api): update @waylaidwanderer/chatgpt-api to version 1.37.0
This commit is contained in:
Danny Avila 2023-06-03 08:23:11 -04:00 committed by GitHub
parent fcf068dddf
commit 19495a461d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 12 deletions

1
.gitignore vendored
View file

@ -49,6 +49,7 @@ bower_components/
# Environment
.npmrc
.env
.env.test
cache.json
api/data/
owner.yml

View file

@ -21,7 +21,7 @@
"dependencies": {
"@dqbd/tiktoken": "^1.0.2",
"@keyv/mongo": "^2.1.8",
"@waylaidwanderer/chatgpt-api": "^1.36.3",
"@waylaidwanderer/chatgpt-api": "^1.37.0",
"axios": "^1.3.4",
"bcryptjs": "^2.4.3",
"cookie": "^0.5.0",

32
package-lock.json generated
View file

@ -40,7 +40,7 @@
"dependencies": {
"@dqbd/tiktoken": "^1.0.2",
"@keyv/mongo": "^2.1.8",
"@waylaidwanderer/chatgpt-api": "^1.36.3",
"@waylaidwanderer/chatgpt-api": "^1.37.0",
"axios": "^1.3.4",
"bcryptjs": "^2.4.3",
"cookie": "^0.5.0",
@ -6495,6 +6495,15 @@
"@testing-library/dom": ">=7.21.4"
}
},
"node_modules/@timefox/bic-sydney": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/@timefox/bic-sydney/-/bic-sydney-1.1.4.tgz",
"integrity": "sha512-ONeS0weT+ZoE471TDdzPqkKRk+VFr7sEL5+qEq1nIur6XMuVZ8cvlBicUNHfhYKIavkOM8xmBnk2dfVFQ54aiQ==",
"dependencies": {
"fetch-undici": "^3.0.1",
"undici": "^5.22.1"
}
},
"node_modules/@tootallnate/once": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz",
@ -7029,12 +7038,13 @@
}
},
"node_modules/@waylaidwanderer/chatgpt-api": {
"version": "1.36.3",
"resolved": "https://registry.npmjs.org/@waylaidwanderer/chatgpt-api/-/chatgpt-api-1.36.3.tgz",
"integrity": "sha512-98tHhxbX3p3TM9i+zHi3d1sjwwujRiCg5+cEUpBHeosQMLIe9nvkKL4lE7U5YSCuLOrwB8IlSP+dAxRQi0H1qg==",
"version": "1.37.0",
"resolved": "https://registry.npmjs.org/@waylaidwanderer/chatgpt-api/-/chatgpt-api-1.37.0.tgz",
"integrity": "sha512-fJfNvfZliuzRlTEY2kb3u6psfAaFI88YSU1RJ6J865BRk90Km3k62br/npCGLCtbREklTR18bMYhNXVM/BuFow==",
"dependencies": {
"@dqbd/tiktoken": "^1.0.2",
"@fastify/cors": "^8.2.0",
"@timefox/bic-sydney": "^1.1.2",
"@waylaidwanderer/fastify-sse-v2": "^3.1.0",
"@waylaidwanderer/fetch-event-source": "^3.0.1",
"boxen": "^7.0.1",
@ -7042,7 +7052,7 @@
"dotenv": "^16.0.3",
"fastify": "^4.11.0",
"fetch-undici": "^3.0.1",
"https-proxy-agent": "^6.0.0",
"https-proxy-agent": "^7.0.0",
"inquirer": "^9.1.4",
"inquirer-autocomplete-prompt": "^3.0.0",
"keyv": "^4.5.2",
@ -7349,9 +7359,9 @@
}
},
"node_modules/agent-base": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.0.2.tgz",
"integrity": "sha512-k2/tQ1+8Zf50dEUJWklUP80LcE/+Ph+OJ6cf2Ff2fD/c/TtCe6ofnCoNMz9UnyxOQYlaAALZtEWETzn+1JjfHg==",
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
"integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
"dependencies": {
"debug": "^4.3.4"
},
@ -12620,9 +12630,9 @@
}
},
"node_modules/https-proxy-agent": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-6.2.0.tgz",
"integrity": "sha512-4xhCnMpxR9fupa7leh9uJK2P/qjYIeaM9uZ9c1bi1JDSwX2VH9NDk/oKSToNX4gBKa2WT31Mldne7e26ckohLQ==",
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.0.tgz",
"integrity": "sha512-0euwPCRyAPSgGdzD1IVN9nJYHtBhJwb6XPfbpQcYbPCwrBidX6GzxmchnaF4sfF/jPb74Ojx5g4yTg3sixlyPw==",
"dependencies": {
"agent-base": "^7.0.2",
"debug": "4"