chore: update package dependencies and adjust GraphQL upload imports
- Updated various package dependencies in package-lock.json and package.json for improved stability and performance. - Changed import paths for graphql-upload to use .mjs extensions, ensuring compatibility with ES modules. - Added @types/graphql-upload to package.json for better TypeScript support. - Adjusted Jest configuration for improved readability and maintainability.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Inject, Injectable, Logger } from '@nestjs/common'
|
||||
import { ConfigService } from '@nestjs/config'
|
||||
import { FileUpload } from 'graphql-upload/processRequest.js'
|
||||
// @ts-expect-error
|
||||
import { FileUpload } from 'graphql-upload/processRequest.mjs'
|
||||
import { Client, BucketItem } from 'minio'
|
||||
import { MINIO_CONNECTION } from 'nestjs-minio'
|
||||
import { DateTimeUtils } from 'src/common/utils/datetime.utils'
|
||||
|
||||
Reference in New Issue
Block a user