Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: upgrade express to v5.2.1 (#10848)

Nimar606023dc766e
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 54a86ea658..c212707fbe 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -570,7 +570,7 @@ importers:
version: 4.23.7(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
'@uiw/react-codemirror':
specifier: ^4.24.1
ai:
specifier: ^3.4.9
@@ -966,8 +966,8 @@ importers:
specifier: ^3.1.2
version: 3.1.2
express:
- specifier: ^5.1.0
- version: 5.1.0
+ specifier: ^5.2.1
+ version: 5.2.1
handlebars:
specifier: ^4.7.8
version: 4.7.8
@@ -1015,8 +1015,8 @@ importers:
specifier: ^2.8.17
version: 2.8.17
'@types/express':
- specifier: ^5.0.5
- version: 5.0.5
+ specifier: ^5.0.6
+ version: 5.0.6
'@types/express-serve-static-core':
specifier: ^5.1.0
version: 5.1.0
@@ -3109,8 +3109,8 @@ packages:
resolution: {integrity: sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==}
- '@lezer/[email protected]':
- resolution: {integrity: sha512-L9X8uHCYU310o99L3/MpJKYxPzXPOS7S0NmBaM7UO/x2Kb2WbmMLSkfvdr1KxRIFYOpbY0Jhn7CfLSUDzL8arQ==}
+ '@lezer/[email protected]':
+ resolution: {integrity: sha512-DVeMRoGrgn/k45oQNu189BoW4SZwgZFzJ1+1TV5j2NJ/KFC83oa/enRqZSGshyeMk5cPWMhsKs9nx+8o0unwGg==}
resolution: {integrity: sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==}
@@ -3124,8 +3124,8 @@ packages:
resolution: {integrity: sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==}
- '@lezer/[email protected]':
- resolution: {integrity: sha512-yenN5SqAxAPv/qMnpWW0AT7l+SxVrgG+u0tNsRQWqbrz66HIl8DnEbBObvy21J5K7+I1v7gsAnlE2VQ5yYVSeA==}
+ '@lezer/[email protected]':
+ resolution: {integrity: sha512-LHL17Mq0OcFXm1pGQssuGTQFPPdxARjKM8f7GA5+sGtHi0K3R84YaSbmche0+RKWHnCsx9asEe5OWOI4FHfe4A==}
'@marijn/[email protected]':
resolution: {integrity: sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==}
@@ -5977,11 +5977,11 @@ packages:
resolution: {integrity: sha512-jnHMsrd0Mwa9Cf4IdOzbz543y4XJepXrbia2T4b6+spXC2We3t1y6K44D3mR8XMFSXMCf3/l7rCgddfx7UNVBA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-Crp6WY9aTYP3qPi2wGDo9iUe/rceX01UMhnF1jmwDcKCFM6cx7YhGP/Mpr3y9AASpfHixIG0E6azCcL5OcDHsQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dVd04UKsfpINUnK0yBoYHDF3xu7xVH4BuDotC/xGuycx4CgbP48X/KF/586bcObxT0HENHXEU8Nqtu6NR+eKhw==}
- '@types/[email protected]':
- resolution: {integrity: sha512-LuIQOcb6UmnF7C1PCFmEU1u2hmiHL43fgFQX67sN3H4Z+0Yk0Neo++mFsBjhOAuLzvlQeqAAkeDOZrJs9rzumQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA==}
resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==}
@@ -6126,8 +6126,8 @@ packages:
resolution: {integrity: sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw==}
- '@types/[email protected]':
- resolution: {integrity: sha512-roei0UY3LhpOJvjbIP6ZZFngyLKl5dskOtDhxY5THRSpO+ZI+nzJ+m5yUMzGrp89YRa7lvknKkMYjqQFGwA7Sg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==}
resolution: {integrity: sha512-UE7oxhQLLd9gub6JKIAhDq06T0F6FnztwMNRvYgjeQSBeMc1ZG/tA47EwfduvkuQS8apbkM/lpLpWsaCeYsXVg==}
@@ -7320,9 +7320,9 @@ packages:
resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==}
engines: {node: '>= 0.6'}
- resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==}
- engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q==}
+ engines: {node: '>=18'}
resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
@@ -8520,8 +8520,8 @@ packages:
peerDependencies:
express: '>= 4.11'
- resolution: {integrity: sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==}
+ resolution: {integrity: sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==}
engines: {node: '>= 18'}
@@ -8653,9 +8653,9 @@ packages:
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==}
- engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==}
+ engines: {node: '>= 18.0.0'}
resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==}
@@ -10559,6 +10559,10 @@ packages:
resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}
engines: {node: '>=4'}
@@ -11174,9 +11178,8 @@ packages:
resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==}
- resolution: {integrity: sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==}
- engines: {node: '>=16'}
+ resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==}
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
@@ -15812,7 +15815,7 @@ snapshots:
'@babel/traverse': 7.24.1
'@babel/types': 7.24.0
convert-source-map: 2.0.0
- debug: 4.4.1
+ debug: 4.4.3
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.1
@@ -16180,26 +16183,26 @@ snapshots:
dependencies:
'@clickhouse/client-common': 1.13.0
- '@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])':
+ '@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])':
dependencies:
'@codemirror/language': 6.11.2
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.1
- '@lezer/common': 1.3.0
+ '@lezer/common': 1.4.0
- '@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])':
+ '@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])':
dependencies:
'@codemirror/language': 6.11.3
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.1
- '@lezer/common': 1.3.0
+ '@lezer/common': 1.4.0
'@codemirror/[email protected]':
dependencies:
'@codemirror/language': 6.11.3
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.1
- '@lezer/common': 1.3.0
+ '@lezer/common': 1.4.0
'@codemirror/[email protected]':
dependencies:
@@ -16226,9 +16229,9 @@ snapshots:
dependencies:
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.1
- '@lezer/common': 1.3.0
+ '@lezer/common': 1.4.0
'@lezer/highlight': 1.2.3
- '@lezer/lr': 1.4.3
+ '@lezer/lr': 1.4.4
style-mod: 4.1.3
'@codemirror/[email protected]':
@@ -17416,7 +17419,7 @@ snapshots:
'@lezer/[email protected]': {}
- '@lezer/[email protected]': {}
+ '@lezer/[email protected]': {}
dependencies:
@@ -17424,7 +17427,7 @@ snapshots:
dependencies:
- '@lezer/common': 1.3.0
+ '@lezer/common': 1.4.0
dependencies:
@@ -17436,9 +17439,9 @@ snapshots:
dependencies:
'@lezer/common': 1.2.3
- '@lezer/[email protected]':
+ '@lezer/[email protected]':
dependencies:
- '@lezer/common': 1.3.0
+ '@lezer/common': 1.4.0
'@marijn/[email protected]': {}
@@ -17504,8 +17507,8 @@ snapshots:
cross-spawn: 7.0.6
eventsource: 3.0.7
eventsource-parser: 3.0.6
- express: 5.1.0
- express-rate-limit: 7.5.1([email protected])
+ express: 5.2.1
+ express-rate-limit: 7.5.1([email protected])
pkce-challenge: 5.0.0
raw-body: 3.0.0
zod: 3.25.62
@@ -20944,18 +20947,18 @@ snapshots:
'@types/range-parser': 1.2.7
'@types/send': 1.2.1
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
'@types/body-parser': 1.19.6
'@types/express-serve-static-core': 4.19.7
'@types/qs': 6.14.0
- '@types/serve-static': 1.15.8
+ '@types/serve-static': 1.15.10
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
'@types/body-parser': 1.19.6
'@types/express-serve-static-core': 5.1.0
- '@types/serve-static': 1.15.10
+ '@types/serve-static': 2.2.0
'@types/[email protected]': {}
@@ -21125,11 +21128,10 @@ snapshots:
'@types/node': 24.3.0
'@types/send': 0.17.6
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
'@types/http-errors': 2.0.5
'@types/node': 24.3.0
- '@types/send': 1.2.1
'@types/[email protected]': {}
@@ -21165,7 +21167,7 @@ snapshots:
dependencies:
- '@types/node': 24.3.0
+ '@types/node': 24.10.1
optional: true
@@ -21245,7 +21247,7 @@ snapshots:
dependencies:
'@typescript-eslint/typescript-estree': 6.21.0([email protected])
'@typescript-eslint/utils': 6.21.0([email protected])([email protected])
- debug: 4.4.3
+ debug: 4.3.4
eslint: 8.57.0
ts-api-utils: 1.3.0([email protected])
optionalDependencies:
@@ -21291,7 +21293,7 @@ snapshots:
dependencies:
'@typescript-eslint/types': 6.21.0
'@typescript-eslint/visitor-keys': 6.21.0
- debug: 4.4.3
+ debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.3
@@ -21321,7 +21323,7 @@ snapshots:
dependencies:
'@typescript-eslint/types': 7.3.1
'@typescript-eslint/visitor-keys': 7.3.1
- debug: 4.4.3
+ debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.3
@@ -21395,9 +21397,9 @@ snapshots:
'@typescript-eslint/types': 7.3.1
eslint-visitor-keys: 3.4.3
- '@uiw/[email protected](@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':
+ '@uiw/[email protected](@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':
dependencies:
- '@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
+ '@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
'@codemirror/commands': 6.8.1
'@codemirror/language': 6.11.2
'@codemirror/lint': 6.8.5
@@ -21411,15 +21413,15 @@ snapshots:
'@codemirror/state': 6.5.2
'@codemirror/view': 6.38.1
dependencies:
'@babel/runtime': 7.28.4
'@codemirror/commands': 6.8.1
'@codemirror/state': 6.5.2
'@codemirror/theme-one-dark': 6.1.2
'@codemirror/view': 6.38.1
- '@uiw/codemirror-extensions-basic-setup': 4.24.1(@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
- codemirror: 6.0.1(@lezer/[email protected])
+ '@uiw/codemirror-extensions-basic-setup': 4.24.1(@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])
+ codemirror: 6.0.1(@lezer/[email protected])
react: 19.2.0
react-dom: 19.2.0([email protected])
transitivePeerDependencies:
@@ -21695,7 +21697,7 @@ snapshots:
dependencies:
- mime-types: 3.0.1
+ mime-types: 3.0.2
negotiator: 1.0.0
@@ -22176,7 +22178,7 @@ snapshots:
bytes: 3.1.2
content-type: 1.0.5
debug: 4.4.3
- http-errors: 2.0.0
+ http-errors: 2.0.1
iconv-lite: 0.7.0
on-finished: 2.4.1
qs: 6.14.0
@@ -22549,9 +22551,9 @@ snapshots:
estree-walker: 3.0.3
periscopic: 3.1.0
dependencies:
- '@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
+ '@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
'@codemirror/commands': 6.10.0
'@codemirror/language': 6.11.3
'@codemirror/lint': 6.9.2
@@ -22651,9 +22653,7 @@ snapshots:
dependencies:
safe-buffer: 5.2.1
- dependencies:
- safe-buffer: 5.2.1
@@ -23717,7 +23717,7 @@ snapshots:
dependencies:
- debug: 4.4.1
+ debug: 4.4.3
enhanced-resolve: 5.17.1
eslint: 8.57.0
@@ -23734,7 +23734,7 @@ snapshots:
dependencies:
- debug: 4.4.1
+ debug: 4.4.3
enhanced-resolve: 5.17.1
eslint: 8.57.0
@@ -23751,7 +23751,7 @@ snapshots:
dependencies:
- debug: 4.4.1
+ debug: 4.4.3
enhanced-resolve: 5.17.1
eslint: 8.57.0
@@ -24226,27 +24226,28 @@ snapshots:
dependencies:
- express: 5.1.0
+ express: 5.2.1
dependencies:
accepts: 2.0.0
body-parser: 2.2.1
- content-disposition: 1.0.0
+ content-disposition: 1.0.1
content-type: 1.0.5
cookie: 0.7.2
cookie-signature: 1.2.2
- debug: 4.4.1
+ debug: 4.4.3
+ depd: 2.0.0
encodeurl: 2.0.0
escape-html: 1.0.3
etag: 1.8.1
- finalhandler: 2.1.0
+ finalhandler: 2.1.1
fresh: 2.0.0
- http-errors: 2.0.0
+ http-errors: 2.0.1
merge-descriptors: 2.0.0
- mime-types: 3.0.1
+ mime-types: 3.0.2
on-finished: 2.4.1
once: 1.4.0
parseurl: 1.3.3
@@ -24268,7 +24269,7 @@ snapshots:
dependencies:
- debug: 4.4.3
+ debug: 4.3.4
get-stream: 5.2.0
yauzl: 2.10.0
optionalDependencies:
@@ -24382,7 +24383,7 @@ snapshots:
dependencies:
to-regex-range: 5.0.1
dependencies:
debug: 4.4.3
encodeurl: 2.0.0
@@ -26952,6 +26953,10 @@ snapshots:
dependencies:
mime-db: 1.54.0
+ dependencies:
+ mime-db: 1.54.0
+
@@ -27183,7 +27188,7 @@ snapshots:
dependencies:
- '@types/express': 4.17.23
+ '@types/express': 4.17.25
'@types/node': 20.11.29
accepts: 1.3.8
content-disposition: 0.5.4
@@ -27598,7 +27603,7 @@ snapshots:
@@ -28616,7 +28621,7 @@ snapshots:
depd: 2.0.0
is-promise: 4.0.0
parseurl: 1.3.3
- path-to-regexp: 8.2.0
+ path-to-regexp: 8.3.0
transitivePeerDependencies:
- supports-color
@@ -28730,8 +28735,8 @@ snapshots:
escape-html: 1.0.3
etag: 1.8.1
fresh: 2.0.0
- http-errors: 2.0.0
- mime-types: 3.0.1
+ http-errors: 2.0.1
+ mime-types: 3.0.2
ms: 2.1.3
on-finished: 2.4.1
range-parser: 1.2.1
@@ -29650,7 +29655,7 @@ snapshots:
dependencies:
content-type: 1.0.5
media-typer: 1.1.0
- mime-types: 3.0.1
+ mime-types: 3.0.2
dependencies:
@@ -29981,7 +29986,7 @@ snapshots:
dependencies:
cac: 6.7.14
- debug: 4.4.3
+ debug: 4.4.1
es-module-lexer: 1.7.0
pathe: 2.0.3
vite: 7.0.5(@types/[email protected])
@@ -30003,7 +30008,7 @@ snapshots:
dependencies:
cac: 6.7.14
- debug: 4.4.3
+ debug: 4.4.1
es-module-lexer: 1.7.0
pathe: 2.0.3
diff --git a/worker/package.json b/worker/package.json
index e14777f5e3..13ff5a4b98 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -48,7 +48,7 @@
"decimal.js": "^10.4.3",
"dotenv": "^16.4.5",
"exponential-backoff": "^3.1.2",
- "express": "^5.1.0",
+ "express": "^5.2.1",
"handlebars": "^4.7.8",
"helmet": "^7.1.0",
"ioredis": "^5.8.2",
@@ -66,7 +66,7 @@
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/cors": "^2.8.17",
- "@types/express": "^5.0.5",
+ "@types/express": "^5.0.6",
"@types/express-serve-static-core": "^5.1.0",
"@types/lodash": "^4.17.10",
"@types/node": "^24.3.0",