From bef70d221756caadb11b426e37ad5a2a77a3dd65 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Feb 2026 12:01:18 +0000 Subject: [PATCH] Bump @types/bytes from 3.1.4 to 3.1.5 (#17882) Bumps [@types/bytes](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bytes) from 3.1.4 to 3.1.5.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/bytes&package-manager=npm_and_yarn&previous-version=3.1.4&new-version=3.1.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Abdullah <125115953+mabdullahabaid@users.noreply.github.com> --- packages/twenty-server/src/main.ts | 4 ++-- packages/twenty-server/test/integration/utils/create-app.ts | 4 ++-- yarn.lock | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/twenty-server/src/main.ts b/packages/twenty-server/src/main.ts index e1889a3413..530e8fc98c 100644 --- a/packages/twenty-server/src/main.ts +++ b/packages/twenty-server/src/main.ts @@ -62,7 +62,7 @@ const bootstrap = async () => { app.use( '/graphql', graphqlUploadExpress({ - maxFieldSize: bytes(settings.storage.maxFileSize), + maxFieldSize: bytes(settings.storage.maxFileSize)!, maxFiles: 10, }), ); @@ -70,7 +70,7 @@ const bootstrap = async () => { app.use( '/metadata', graphqlUploadExpress({ - maxFieldSize: bytes(settings.storage.maxFileSize), + maxFieldSize: bytes(settings.storage.maxFileSize)!, maxFiles: 10, }), ); diff --git a/packages/twenty-server/test/integration/utils/create-app.ts b/packages/twenty-server/test/integration/utils/create-app.ts index ea8dfafc03..4b9e1eee86 100644 --- a/packages/twenty-server/test/integration/utils/create-app.ts +++ b/packages/twenty-server/test/integration/utils/create-app.ts @@ -88,7 +88,7 @@ export const createApp = async ( app.use( '/graphql', graphqlUploadExpress({ - maxFieldSize: bytes(settings.storage.maxFileSize), + maxFieldSize: bytes(settings.storage.maxFileSize)!, maxFiles: 10, }), ); @@ -96,7 +96,7 @@ export const createApp = async ( app.use( '/metadata', graphqlUploadExpress({ - maxFieldSize: bytes(settings.storage.maxFileSize), + maxFieldSize: bytes(settings.storage.maxFileSize)!, maxFiles: 10, }), ); diff --git a/yarn.lock b/yarn.lock index 7ba741196a..7a02f678ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22793,9 +22793,9 @@ __metadata: linkType: hard "@types/bytes@npm:^3.1.1": - version: 3.1.4 - resolution: "@types/bytes@npm:3.1.4" - checksum: 10c0/4649550082e279f32a76a1dda31c3f88370eadfcd0b25fb7cbd22b22ffcc2be45ebe5486c14025acba0718247edb55e376255dcca6d759c833ce4c962e22b683 + version: 3.1.5 + resolution: "@types/bytes@npm:3.1.5" + checksum: 10c0/5bed1b55a27d0c9c5160567d6df8f73830a95ffabbba735791c8888f83c5dcc9fc901f0b441ca50b07579c9c9ee4ef2b27a2259597182cee831b99b198846cc4 languageName: node linkType: hard