fix: Refactor code structure for improved readability and maintainability#222
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request updates Python and Node.js dependencies across the backend API, processor, and frontend projects to pick up security/compatibility fixes and newer features. Despite the PR title mentioning a “refactor”, the changes shown here are dependency/version and lockfile updates.
Changes:
- Processor: bump
aiohttp(3.13.3 → 3.13.4),fastmcp(2.14.5 → 3.2.0), andpytest(9.0.2 → 9.0.3), plus refreshuv.lock. - Backend API: pin
python-dotenvand bumppython-multipart, and adduvoverride pins forrequests,werkzeug, andpygments. - Frontend/processor JS deps: add
dompurifyandlodash-esto the processor’s Node dependencies; bump frontenduuidto^14.0.0and refresh lockfiles.
Reviewed changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/processor/uv.lock | Regenerated lockfile reflecting updated Python dependency graph (incl. fastmcp, aiohttp, pytest). |
| src/processor/pyproject.toml | Pins updated Python dependencies (aiohttp, fastmcp, pytest). |
| src/processor/package.json | Adds dompurify and lodash-es dependencies for processor-side JS usage. |
| src/processor/package-lock.json | Updates Node lockfile for new/updated processor JS dependencies. |
| src/frontend/package.json | Bumps uuid dependency and adds an override entry tied to the root uuid spec. |
| src/frontend/package-lock.json | Updates resolved uuid version and associated metadata in the frontend lockfile. |
| src/backend-api/uv.lock | Updates lockfile and adds additional override pins (requests/werkzeug/pygments). |
| src/backend-api/pyproject.toml | Pins python-dotenv, bumps python-multipart, and adds new uv override pins. |
Files not reviewed (2)
- src/frontend/package-lock.json: Language not supported
- src/processor/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 8 changed files in this pull request and generated no new comments.
Files not reviewed (2)
- src/frontend/package-lock.json: Language not supported
- src/processor/package-lock.json: Language not supported
|
🎉 This PR is included in version 2.0.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Purpose
This pull request updates dependencies across the backend API, processor, and frontend projects to address security, compatibility, and feature improvements. The most important changes are grouped below by project area.
Does this introduce a breaking change?