Skip to content

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

chore: downgrade express (#1574)

Max Deichmann98a0cc29c40c
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6087a5abd9..9ada3afcae 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -536,8 +536,8 @@ importers:
specifier: ^16.4.5
version: 16.4.5
express:
- specifier: ^4.19.2
- version: 4.19.2
+ specifier: ^4.18.3
+ version: 4.18.3
ioredis:
specifier: ^5.3.2
version: 5.3.2
@@ -7772,11 +7772,6 @@ packages:
engines: {node: '>= 0.6'}
dev: false
- resolution: {integrity: sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==}
- engines: {node: '>= 0.6'}
- dev: false
-
resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==}
engines: {node: '>=12.13'}
@@ -9423,8 +9418,8 @@ packages:
resolution: {integrity: sha512-4EMSHGOPSwAfBiibw3ndnP0AvjDWLsMvGOvWEZ2F96IGk0bIVdjQisOHxReSkE13mHcfbuCiXw+G4y0zv6N8Eg==}
dev: false
- resolution: {integrity: sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==}
+ resolution: {integrity: sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw==}
engines: {node: '>= 0.10.0'}
dependencies:
accepts: 1.3.8
@@ -9432,7 +9427,7 @@ packages:
body-parser: 1.20.2
content-disposition: 0.5.4
content-type: 1.0.5
- cookie: 0.6.0
+ cookie: 0.5.0
cookie-signature: 1.0.6
debug: 2.6.9
depd: 2.0.0
diff --git a/web/next.config.mjs b/web/next.config.mjs
index 80ec4363b1..7c36a47a41 100644
--- a/web/next.config.mjs
+++ b/web/next.config.mjs
@@ -52,47 +52,47 @@ const nextConfig = {
value: "SAMEORIGIN",
},
{
- key: 'X-Content-Type-Options',
- value: 'nosniff'
+ key: "X-Content-Type-Options",
+ value: "nosniff",
},
{
- key: 'Referrer-Policy',
- value: 'strict-origin-when-cross-origin'
+ key: "Referrer-Policy",
+ value: "strict-origin-when-cross-origin",
},
{
- key: 'Permissions-Policy',
- value: 'autoplay=*, fullscreen=*, microphone=*'
+ key: "Permissions-Policy",
+ value: "autoplay=*, fullscreen=*, microphone=*",
},
],
},
{
- source: '/:path((?!api).*)*',
+ source: "/:path((?!api).*)*",
headers: [
{
- key: 'Content-Security-Policy',
- value: cspHeader.replace(/\n/g, ''),
+ key: "Content-Security-Policy",
+ value: cspHeader.replace(/\n/g, ""),
},
],
},
// Required to check authentication status from langfuse.com
...(env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined
? [
- {
- source: "/api/auth/session",
- headers: [
- {
- key: "Access-Control-Allow-Origin",
- value: "https://langfuse.com",
- },
- { key: "Access-Control-Allow-Credentials", value: "true" },
- { key: "Access-Control-Allow-Methods", value: "GET,POST" },
- {
- key: "Access-Control-Allow-Headers",
- value: "Content-Type, Authorization",
- },
- ],
- },
- ]
+ {
+ source: "/api/auth/session",
+ headers: [
+ {
+ key: "Access-Control-Allow-Origin",
+ value: "https://langfuse.com",
+ },
+ { key: "Access-Control-Allow-Credentials", value: "true" },
+ { key: "Access-Control-Allow-Methods", value: "GET,POST" },
+ {
+ key: "Access-Control-Allow-Headers",
+ value: "Content-Type, Authorization",
+ },
+ ],
+ },
+ ]
: []),
];
},
diff --git a/worker/package.json b/worker/package.json
index 2af10dd46e..6f43ecd1f9 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -26,7 +26,7 @@
"bullmq": "^5.4.2",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
- "express": "^4.19.2",
+ "express": "^4.18.3",
"ioredis": "^5.3.2",
"kysely": "^0.27.3",
"lodash": "^4.17.21",