Merge pull request #349 from mendableai/dependabot/npm_and_yarn/apps/api/prod-deps-5b38a50718

apps/api(deps): bump the prod-deps group in /apps/api with 28 updates
This commit is contained in:
Rafael Miller 2024-07-05 14:05:50 -03:00 committed by GitHub
commit 2b36de605a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6890 additions and 5280 deletions

View File

@ -45,66 +45,66 @@
"typescript": "^5.4.2" "typescript": "^5.4.2"
}, },
"dependencies": { "dependencies": {
"@anthropic-ai/sdk": "^0.20.5", "@anthropic-ai/sdk": "^0.24.3",
"@brillout/import": "^0.2.2", "@brillout/import": "^0.2.2",
"@bull-board/api": "^5.14.2", "@bull-board/api": "^5.20.5",
"@bull-board/express": "^5.8.0", "@bull-board/express": "^5.20.5",
"@devil7softwares/pos": "^1.0.2", "@devil7softwares/pos": "^1.0.2",
"@dqbd/tiktoken": "^1.0.13", "@dqbd/tiktoken": "^1.0.13",
"@hyperdx/node-opentelemetry": "^0.7.0", "@hyperdx/node-opentelemetry": "^0.8.0",
"@logtail/node": "^0.4.12", "@logtail/node": "^0.4.12",
"@nangohq/node": "^0.36.33", "@nangohq/node": "^0.40.8",
"@sentry/node": "^7.48.0", "@sentry/node": "^8.13.0",
"@supabase/supabase-js": "^2.7.1", "@supabase/supabase-js": "^2.44.2",
"ajv": "^8.12.0", "ajv": "^8.16.0",
"async": "^3.2.5", "async": "^3.2.5",
"async-mutex": "^0.4.0", "async-mutex": "^0.5.0",
"axios": "^1.3.4", "axios": "^1.3.4",
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",
"bull": "^4.11.4", "bull": "^4.15.0",
"cheerio": "^1.0.0-rc.12", "cheerio": "^1.0.0-rc.12",
"cohere": "^1.1.1", "cohere": "^1.1.1",
"cors": "^2.8.5", "cors": "^2.8.5",
"cron-parser": "^4.9.0", "cron-parser": "^4.9.0",
"date-fns": "^2.29.3", "date-fns": "^3.6.0",
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"express-rate-limit": "^6.7.0", "express-rate-limit": "^7.3.1",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"glob": "^10.3.12", "glob": "^10.4.2",
"gpt3-tokenizer": "^1.1.5", "gpt3-tokenizer": "^1.1.5",
"ioredis": "^5.3.2", "ioredis": "^5.3.2",
"joplin-turndown-plugin-gfm": "^1.0.12", "joplin-turndown-plugin-gfm": "^1.0.12",
"json-schema-to-zod": "^2.1.0", "json-schema-to-zod": "^2.3.0",
"keyword-extractor": "^0.0.25", "keyword-extractor": "^0.0.28",
"langchain": "^0.1.25", "langchain": "^0.2.8",
"languagedetect": "^2.0.0", "languagedetect": "^2.0.0",
"logsnag": "^0.1.6", "logsnag": "^1.0.0",
"luxon": "^3.4.3", "luxon": "^3.4.3",
"md5": "^2.3.0", "md5": "^2.3.0",
"moment": "^2.29.4", "moment": "^2.29.4",
"mongoose": "^8.0.3", "mongoose": "^8.4.4",
"natural": "^6.3.0", "natural": "^7.0.7",
"openai": "^4.28.4", "openai": "^4.52.2",
"pdf-parse": "^1.1.1", "pdf-parse": "^1.1.1",
"pos": "^0.4.2", "pos": "^0.4.2",
"posthog-node": "^4.0.1", "posthog-node": "^4.0.1",
"promptable": "^0.0.9", "promptable": "^0.0.10",
"puppeteer": "^22.6.3", "puppeteer": "^22.12.1",
"rate-limiter-flexible": "^2.4.2", "rate-limiter-flexible": "2.4.2",
"redis": "^4.6.7", "redis": "^4.6.7",
"resend": "^3.2.0", "resend": "^3.4.0",
"robots-parser": "^3.0.1", "robots-parser": "^3.0.1",
"scrapingbee": "^1.7.4", "scrapingbee": "^1.7.4",
"stripe": "^12.2.0", "stripe": "^16.1.0",
"turndown": "^7.1.3", "turndown": "^7.1.3",
"turndown-plugin-gfm": "^1.0.2", "turndown-plugin-gfm": "^1.0.2",
"typesense": "^1.5.4", "typesense": "^1.5.4",
"unstructured-client": "^0.9.4", "unstructured-client": "^0.11.3",
"uuid": "^9.0.1", "uuid": "^10.0.0",
"wordpos": "^2.1.0", "wordpos": "^2.1.0",
"xml2js": "^0.6.2", "xml2js": "^0.6.2",
"zod": "^3.23.4", "zod": "^3.23.4",
"zod-to-json-schema": "^3.23.0" "zod-to-json-schema": "^3.23.1"
}, },
"nodemonConfig": { "nodemonConfig": {
"ignore": [ "ignore": [

12112
apps/api/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,7 @@ export async function getImageDescription(
] ]
}); });
return response.content[0].text; return response[0].content.text;
} }
default: { default: {
if (!process.env.OPENAI_API_KEY) { if (!process.env.OPENAI_API_KEY) {