fix: crash in HeaderParser in dicer. (#15963)

Resolves [Dependabot Alert
74](https://github.com/twentyhq/twenty/security/dependabot/74).

Upgraded `graphql-upload` from `13.0.0` to `16.0.2`. Type exports
changed. API remains the same.

Tested the following upload flows:
- profile picture
- workspace logo
- rich text editor (image, video, file)
- record profile picture
- file associated to record.

They all work as intended, nothing breaks.
This commit is contained in:
Abdullah.
2025-11-21 15:09:47 +05:00
committed by GitHub
parent f82325b66b
commit 991bb6dbbf
9 changed files with 87 additions and 62 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import fs from 'fs';
import bytes from 'bytes';
import { useContainer } from 'class-validator';
import session from 'express-session';
import { graphqlUploadExpress } from 'graphql-upload';
import graphqlUploadExpress from 'graphql-upload/graphqlUploadExpress.mjs';
import { NodeEnvironment } from 'src/engine/core-modules/twenty-config/interfaces/node-environment.interface';