Skip to content

The open alternative to Salesforce, designed for AI.

Bump @types/bytes from 3.1.4 to 3.1.5 (#17882)

dependabot[bot]bef70d221756
diff --git a/packages/twenty-server/src/main.ts b/packages/twenty-server/src/main.ts
index e1889a3413d..530e8fc98c5 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 ea8dfafc03b..4b9e1eee865 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 7ba741196ac..7a02f678ece 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