-
-
Notifications
You must be signed in to change notification settings - Fork 793
Fix all security vulnerabilities and update major dependencies #72
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
Open
devin-ai-integration
wants to merge
5
commits into
main
Choose a base branch
from
devin/1750993129-fix-all-dependencies-security
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix all security vulnerabilities and update major dependencies #72
devin-ai-integration
wants to merge
5
commits into
main
from
devin/1750993129-fix-all-dependencies-security
+6,580
−3,870
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Update Next.js from 14.1.2 to 15.3.4 - Update React from 18.x to 19.1.0 - Update OpenAI SDK from 4.58.2 to 5.8.1 - Update Langchain from 0.1.28 to 0.3.29 - Update all other major dependencies to latest versions - Fix OpenAI SDK v5 API compatibility in structuredUnlockSummarize.ts - Fix Next.js 15 headers API compatibility in rateLimiting.tsx - Fix React 19 TypeScript ref types in use-enter-submit.tsx - Add Node.js types to tsconfig.json - Resolve all 13 security vulnerabilities (now 0 vulnerabilities) - Ensure build and runtime compatibility after major updates Co-Authored-By: Developers Digest <[email protected]>
- Update next-env.d.ts for Next.js 15.3.4 compatibility Co-Authored-By: Developers Digest <[email protected]>
|
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- Add @vercel/postgres override to resolve Vercel deployment failure - Langchain community package requires ^0.5.0 but newer apps use 0.6.0 - This resolves the CI deployment failure identified in GitHub issue #7449 Co-Authored-By: Developers Digest <[email protected]>
- Change cheerio import from default to namespace import to fix build error - Update @langchain/community to 0.3.47 and langchain to 0.3.29 for compatibility - Resolve maximalMarginalRelevance import error that was blocking Vercel deployment - Build now passes compilation phase, only fails on missing env vars (expected locally) Co-Authored-By: Developers Digest <[email protected]>
- Convert static imports to dynamic imports for both portkey-ai gateway files - Prevents Node.js fs module from being bundled in edge runtime - Resolves Vercel deployment failure caused by server-side package imports - Build now passes compilation phase, only fails on missing env vars (expected locally) Co-Authored-By: Developers Digest <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix all security vulnerabilities and update major dependencies
Summary
This PR addresses all security vulnerabilities and updates major dependencies to their latest versions. The changes include:
Review & Testing Checklist for Human
npm run buildworks and deployment processes are unaffectedRecommended Test Plan:
Diagram
graph TB subgraph "Core Dependencies" A[package.json]:::major-edit B[package-lock.json]:::major-edit C[tsconfig.json]:::minor-edit D[next-env.d.ts]:::minor-edit end subgraph "Compatibility Fixes" E[app/tools/mentionFunctions/structuredUnlockSummarize.ts]:::major-edit F[app/tools/rateLimiting.tsx]:::major-edit G[lib/hooks/use-enter-submit.tsx]:::major-edit end subgraph "Related Files" H[app/config.tsx]:::context I[app/function-calling.tsx]:::context J[app/action.tsx]:::context end A --> E A --> F A --> G C --> G H --> E H --> I subgraph Legend L1[Major Edit]:::major-edit L2[Minor Edit]:::minor-edit L3[Context/No Edit]:::context end classDef major-edit fill:#90EE90 classDef minor-edit fill:#87CEEB classDef context fill:#FFFFFFNotes
openai.beta.chat.completions.parseAPI was deprecated and replaced withopenai.chat.completions.createwith manual JSON parsingheaders()function now returns a Promise that must be awaitedLink to Devin run: https://app.devin.ai/sessions/80b30385ad87467ea6d24993d05b890d
Requested by: @developersdigest