-
Notifications
You must be signed in to change notification settings - Fork 321
chore(deps): bump exa-js from 1.10.3 to 2.13.0 in /backend #907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ | |
| "dotenv": "^17.2.3", | ||
| "drizzle-orm": "^0.45.2", | ||
| "elysia": "^1.4.28", | ||
| "exa-js": "^1.0.11", | ||
| "exa-js": "^2.13.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed
|
||
| "ipaddr.js": "^2.3.0", | ||
| "jose": "^6.2.2", | ||
| "openai": "^6.34.0", | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Search fetches unnecessary page contents by default in v2
High Severity
Bumping
exa-jsfrom v1 to v2 changes the default behavior ofsearch()to include page contents ({ text: { maxCharacters: 10_000 } }) with every result. The search endpoint insearch.tsonly uses metadata (url,title,image,favicon) and discards all text content. This means every search now fetches up to 10,000 characters per result unnecessarily, significantly increasing latency and API costs. Thesearch()call needscontents: falseto restore the previous metadata-only behavior.Reviewed by Cursor Bugbot for commit 29b1a1f. Configure here.