Skip to content

Commit 687227a

Browse files
committed
Security updates
1 parent 802655b commit 687227a

File tree

4 files changed

+55
-27
lines changed

4 files changed

+55
-27
lines changed

src/frontend/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"prettier": "^3.0.3",
3636
"typescript": "^5.2.2",
3737
"@types/react-syntax-highlighter": "^15.5.7",
38-
"vite": "^4.5.2"
38+
"vite": "^4.5.3"
3939
}
4040
}

src/pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ dependencies = [
1515
"pgvector",
1616
"openai",
1717
"tiktoken",
18-
"openai-messages-token-helper",
19-
"rich"
18+
"openai-messages-token-helper"
2019
]
2120

2221
[build-system]
2322
requires = ["flit_core<4"]
24-
build-backend = "flit_core.buildapi"
23+
build-backend = "flit_core.buildapi"

src/requirements.txt

+45-16
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,35 @@ cffi==1.16.0
3636
charset-normalizer==3.3.2
3737
# via requests
3838
click==8.1.7
39-
# via uvicorn
40-
cryptography==42.0.6
39+
# via
40+
# typer
41+
# uvicorn
42+
cryptography==42.0.7
4143
# via
4244
# azure-identity
4345
# msal
4446
# pyjwt
4547
distro==1.9.0
4648
# via openai
49+
dnspython==2.6.1
50+
# via email-validator
51+
email-validator==2.1.1
52+
# via fastapi
4753
environs==11.0.0
4854
# via fastapi_app (pyproject.toml)
49-
fastapi==0.110.3
50-
# via fastapi_app (pyproject.toml)
55+
fastapi==0.111.0
56+
# via
57+
# fastapi-cli
58+
# fastapi_app (pyproject.toml)
59+
fastapi-cli==0.0.3
60+
# via fastapi
5161
frozenlist==1.4.1
5262
# via
5363
# aiohttp
5464
# aiosignal
5565
greenlet==3.0.3
5666
# via sqlalchemy
57-
gunicorn==20.1.0
67+
gunicorn==22.0.0
5868
# via fastapi_app (pyproject.toml)
5969
h11==0.14.0
6070
# via
@@ -65,15 +75,22 @@ httpcore==1.0.5
6575
httptools==0.6.1
6676
# via uvicorn
6777
httpx==0.27.0
68-
# via openai
78+
# via
79+
# fastapi
80+
# openai
6981
idna==3.7
7082
# via
7183
# anyio
84+
# email-validator
7285
# httpx
7386
# requests
7487
# yarl
88+
jinja2==3.1.4
89+
# via fastapi
7590
markdown-it-py==3.0.0
7691
# via rich
92+
markupsafe==2.1.5
93+
# via jinja2
7794
marshmallow==3.21.2
7895
# via environs
7996
mdurl==0.1.2
@@ -90,14 +107,17 @@ multidict==6.0.5
90107
# yarl
91108
numpy==1.26.4
92109
# via pgvector
93-
openai==1.25.2
110+
openai==1.30.1
94111
# via
95112
# fastapi_app (pyproject.toml)
96113
# openai-messages-token-helper
97-
openai-messages-token-helper==0.1.3
114+
openai-messages-token-helper==0.1.4
98115
# via fastapi_app (pyproject.toml)
116+
orjson==3.10.3
117+
# via fastapi
99118
packaging==24.0
100119
# via
120+
# gunicorn
101121
# marshmallow
102122
# msal-extensions
103123
pgvector==0.2.5
@@ -125,17 +145,21 @@ python-dotenv==1.0.1
125145
# environs
126146
# fastapi_app (pyproject.toml)
127147
# uvicorn
148+
python-multipart==0.0.9
149+
# via fastapi
128150
pyyaml==6.0.1
129151
# via uvicorn
130-
regex==2024.4.28
152+
regex==2024.5.10
131153
# via tiktoken
132154
requests==2.31.0
133155
# via
134156
# azure-core
135157
# msal
136158
# tiktoken
137159
rich==13.7.1
138-
# via fastapi_app (pyproject.toml)
160+
# via typer
161+
shellingham==1.5.4
162+
# via typer
139163
six==1.16.0
140164
# via azure-core
141165
sniffio==1.3.1
@@ -147,12 +171,14 @@ sqlalchemy[asyncio]==2.0.30
147171
# via fastapi_app (pyproject.toml)
148172
starlette==0.37.2
149173
# via fastapi
150-
tiktoken==0.6.0
174+
tiktoken==0.7.0
151175
# via
152176
# fastapi_app (pyproject.toml)
153177
# openai-messages-token-helper
154178
tqdm==4.66.4
155179
# via openai
180+
typer==0.12.3
181+
# via fastapi-cli
156182
typing-extensions==4.11.0
157183
# via
158184
# azure-core
@@ -161,10 +187,16 @@ typing-extensions==4.11.0
161187
# pydantic
162188
# pydantic-core
163189
# sqlalchemy
190+
# typer
191+
ujson==5.10.0
192+
# via fastapi
164193
urllib3==2.2.1
165194
# via requests
166-
uvicorn[standard]==0.23.2
167-
# via fastapi_app (pyproject.toml)
195+
uvicorn[standard]==0.29.0
196+
# via
197+
# fastapi
198+
# fastapi-cli
199+
# fastapi_app (pyproject.toml)
168200
uvloop==0.19.0
169201
# via uvicorn
170202
watchfiles==0.21.0
@@ -173,6 +205,3 @@ websockets==12.0
173205
# via uvicorn
174206
yarl==1.9.4
175207
# via aiohttp
176-
177-
# The following packages are considered to be unsafe in a requirements file:
178-
# setuptools

0 commit comments

Comments
 (0)