Commit e399e35
authored
chore: update dependencies to fix security issues (#251)
This pull request primarily updates Python and JavaScript dependencies
across multiple projects to improve compatibility, security, and add new
features. The most significant changes include adding new dependencies
to several Python `pyproject.toml` files, upgrading various JavaScript
packages in the frontend, and introducing or updating package overrides
for better dependency management.
**Python dependency updates:**
* Added `marshmallow` to multiple Python projects for data serialization
and validation (`libs/admin-api-lib/pyproject.toml`,
`libs/rag-core-api/pyproject.toml`, `libs/rag-core-lib/pyproject.toml`,
`services/document-extractor/pyproject.toml`,
`services/rag-backend/pyproject.toml`).
[[1]](diffhunk://#diff-9c5aeb0db77c2eec077d07ddc3b3810ae1a4a1e50ee7061fba37a46706c513fbR129-R130)
[[2]](diffhunk://#diff-9c4162cc1c16dd4c7ec5e95e79df285e8c0882a1db7ff2892c746a0537d26c36R43)
[[3]](diffhunk://#diff-b19ab043535569caf9345971969d115d6515ae951a21b00a278145a28230fba1R37-R38)
[[4]](diffhunk://#diff-bda9860363f25ca7829f0bc0121455b5cfea15f6ecc4e98d168aba411d9653c9R67-R71)
[[5]](diffhunk://#diff-575f4ba32d7ff340b37eb2f875cb9574553092b79335faadd5f3b6be662b6925R19-R20)
* Added or updated other dependencies such as `protobuf`, `filelock`,
`mammoth`, `azure-core`, `langsmith`, `aiohttp`, and `python-multipart`
in various backend and library modules to enhance functionality and
compatibility.
[[1]](diffhunk://#diff-9c5aeb0db77c2eec077d07ddc3b3810ae1a4a1e50ee7061fba37a46706c513fbR129-R130)
[[2]](diffhunk://#diff-b19ab043535569caf9345971969d115d6515ae951a21b00a278145a28230fba1R37-R38)
[[3]](diffhunk://#diff-bda9860363f25ca7829f0bc0121455b5cfea15f6ecc4e98d168aba411d9653c9R67-R71)
[[4]](diffhunk://#diff-575f4ba32d7ff340b37eb2f875cb9574553092b79335faadd5f3b6be662b6925R19-R20)
[[5]](diffhunk://#diff-a32cd883126f65652f92c8ecc411d949b7bcf95edb2156c36dc2c1b7063ee690R26)
[[6]](diffhunk://#diff-dede389bcfb615c4b45cd1da7ac14cbe9535305f41f19cce09e321c91a8bb323R121)
[[7]](diffhunk://#diff-7be99b3586ebefbb9757532b67d9bd826779bfe12db834326790c00f868238e7R109)
**Frontend JavaScript dependency upgrades:**
* Upgraded key frontend dependencies such as `axios` (to `^1.13.5`) and
`vite` (to `^7.1.11` in `package.json`, `7.3.1` in `package-lock.json`),
and updated related lockfile entries to ensure the latest bug fixes and
features.
[[1]](diffhunk://#diff-699a70f28d33903e145f50af042a20b1b35d92696ab16cc8514a1eb675b39064L45-R45)
[[2]](diffhunk://#diff-699a70f28d33903e145f50af042a20b1b35d92696ab16cc8514a1eb675b39064L61-R61)
[[3]](diffhunk://#diff-699a70f28d33903e145f50af042a20b1b35d92696ab16cc8514a1eb675b39064L6386-R6395)
[[4]](diffhunk://#diff-699a70f28d33903e145f50af042a20b1b35d92696ab16cc8514a1eb675b39064L14104-R14113)
[[5]](diffhunk://#diff-0d005dbd9d9f66983f95fa01fa375184cf69dac9ae841050c11f07ebcc6789fdL56-R56)
[[6]](diffhunk://#diff-0d005dbd9d9f66983f95fa01fa375184cf69dac9ae841050c11f07ebcc6789fdL72-R81)
* Added or updated package overrides for `@isaacs/brace-expansion`,
`lodash`, and `undici` to enforce specific versions and address
potential security or compatibility issues.
[[1]](diffhunk://#diff-0d005dbd9d9f66983f95fa01fa375184cf69dac9ae841050c11f07ebcc6789fdL72-R81)
[[2]](diffhunk://#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R7-R10)
[[3]](diffhunk://#diff-699a70f28d33903e145f50af042a20b1b35d92696ab16cc8514a1eb675b39064L2739-R2741)
These updates collectively improve reliability, maintainability, and
security across both backend and frontend codebases.1 parent f78867f commit e399e35
File tree
20 files changed
+297
-314
lines changed- libs
- admin-api-lib
- extractor-api-lib
- rag-core-api
- rag-core-lib
- services
- admin-backend
- document-extractor
- frontend
- mcp-server
- rag-backend
20 files changed
+297
-314
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
0 commit comments