chore(deps): update dependencies and remove unused files

Updated several dependencies including:
- @aws-sdk/client-s3 from 3.965.0 to 3.975.0
- @aws-sdk/client-ses from 3.965.0 to 3.975.0
- @aws-sdk/client-sqs from 3.965.0 to 3.975.0
- dotenv from ^16.6.1 to ^16.5.0
- form-data from ^4.0.2 to ^4.0.5
- typescript from 5.9.3 to 5.8.3

Removed unused files:
- backend/.yarn/releases/yarn-4.9.1.cjs
- backend/package-lock.json
This commit is contained in:
Viktoria Polyakova
2026-01-27 01:41:38 +03:00
parent de283d2a93
commit 383a197f8f
31 changed files with 4244 additions and 8622 deletions

View File

@@ -1,5 +1,6 @@
import { Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { writeSnapshot } from 'heapdump';
import { DateUtil } from '@/common';
@@ -15,12 +16,7 @@ export class HeapdumpService {
public async writeSnapshot(code: string) {
if (this._config?.accessCode && this._config.accessCode === code) {
try {
const { writeSnapshot } = await import('heapdump');
writeSnapshot(`heapdump-${DateUtil.now().toISOString()}.heapsnapshot`);
} catch (error) {
console.error('Heapdump not available:', error);
}
writeSnapshot(`heapdump-${DateUtil.now().toISOString()}.heapsnapshot`);
}
}
}