Fix PDF Upload edge case (#18533)
we were using an older version of `file-type` which has limited support for PDF as it's a complex spec Updated to latest version which includes support for plugins and added `@file-type/pdf` which has extensive spec compliant detection approach fixes TWENTY-SERVER-FAN
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
"@envelop/on-resolve": "4.1.0",
|
||||
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
||||
"@faker-js/faker": "9.8.0",
|
||||
"@file-type/pdf": "^0.2.0",
|
||||
"@graphql-tools/schema": "10.0.4",
|
||||
"@graphql-tools/utils": "9.2.1",
|
||||
"@graphql-yoga/nestjs": "patch:@graphql-yoga/nestjs@2.1.0#./patches/@graphql-yoga+nestjs+2.1.0.patch",
|
||||
@@ -106,7 +107,7 @@
|
||||
"dotenv": "16.4.5",
|
||||
"express": "4.22.1",
|
||||
"express-session": "^1.18.2",
|
||||
"file-type": "16.5.4",
|
||||
"file-type": "^21.3.1",
|
||||
"fuse.js": "^7.1.0",
|
||||
"gaxios": "5.1.3",
|
||||
"google-auth-library": "8.9.0",
|
||||
|
||||
Reference in New Issue
Block a user