fix: resolve Dependabot security alerts (#52-71)#113
Open
cbullinger wants to merge 2 commits into
Open
Conversation
…stapi Bump vulnerable npm and Python dependencies to patched versions, including vite, @tanstack/react-start, lodash, fast-uri, urllib3, langchain-core, langsmith, python-multipart, and idna. Resolves Dependabot alerts #52-71. Co-authored-by: Cursor <cursoragent@cursor.com>
Align @tanstack/react-router and related packages to resolve SSR runtime errors after the security dependency bump. Add the same createServerFn mock alias to the unit Vitest config used by integration tests. Co-authored-by: Cursor <cursoragent@cursor.com>
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
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.
Summary
Resolves all 20 open Dependabot alerts in mongodb/docs-sample-apps by bumping vulnerable dependencies in the TanStack sample app and the Python FastAPI server.
Changes
Python (
mflix/server/python-fastapi)urllib32.6.3 → 2.7.0 (DOCSP-56707: Bump pymongo driver version to 4.16.0 #66, Bump filelock to v3.20.3 #67)langchain-core1.2.11 → 1.4.0 (Dependabot alert: Bump urllib3 2.6.3 dev #63)langsmith0.6.9 → 0.8.5 (Bump filelock to v3.20.3 #68)python-multipart0.0.22 → 0.0.29 (Dependabot alert: Bump urllib3 version to 2.6.3 #62)idna3.11 → 3.16 (DOCSP-56868: Add GET /api/movies/genres endpoint to Java Spring and Python FastAPI backends #70)TanStack app (
frameworks/javascript/tanstack/app)vite7.3.1 → 7.3.2 (Python: Upgrade filelock to v3.20.1 #55, feat: Add appname to mongoclient for analytics #56, Upgrade langchain-core to fix security alert #57)@tanstack/react-start1.167.12 → 1.168.13 (pulls@tanstack/start-server-core1.169.4, DOCSP-55528: Add filtering to frontend and JS backend #69)h3,postcss,ws(Dependabot Alert: Bump next to v16.0.10 #52–DOCSP-56383: Fix MongoDB Search returning too many results for multi-word queries #54, Upgrade langchain-core to fix security alert #58, Merge Feature/filtering branch into Development #71)TanStack tooling (
frameworks/javascript/tanstack)lodash4.18.1 andfast-uri3.1.2 (Bump aiohttp from 3.13.2 to 3.13.3 #59–DOCSP-55532: Add vector scoring to search results #61, DOCSP-55530: Add logging #64, Merge development into main #65)Dependabot Alerts Resolved
Closes #52, #53, #54, #55, #56, #57, #58, #59, #60, #61, #62, #63, #64, #65, #66, #67, #68, #69, #70, #71
Test plan
npm auditreports 0 vulnerabilities in both tanstack workspacespip-compileregeneratesrequirements.txtwith patched versionsNo Start context found in AsyncLocalStorageerrors unrelated to this change)Made with Cursor