From 02eddc98201244e1a152d7585aa0783248197d04 Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Wed, 11 Oct 2023 16:19:26 +0545 Subject: [PATCH] fix: add more unicorn rules --- package.json | 16 +- pnpm-lock.yaml | 267 +++++++++++++++++--------------- src/common/helpers/app.utils.ts | 2 + src/main.ts | 3 +- 4 files changed, 149 insertions(+), 139 deletions(-) diff --git a/package.json b/package.json index 63dddf6b..dd5ac9c7 100644 --- a/package.json +++ b/package.json @@ -60,11 +60,11 @@ "@golevelup/nestjs-rabbitmq": "^4.0.0", "@golevelup/nestjs-stripe": "^0.6.3", "@golevelup/nestjs-webhooks": "^0.2.16", - "@mikro-orm/core": "^5.8.7", - "@mikro-orm/migrations": "^5.8.7", + "@mikro-orm/core": "^5.8.8", + "@mikro-orm/migrations": "^5.8.8", "@mikro-orm/nestjs": "^5.2.2", - "@mikro-orm/postgresql": "^5.8.7", - "@mikro-orm/reflection": "^5.8.7", + "@mikro-orm/postgresql": "^5.8.8", + "@mikro-orm/reflection": "^5.8.8", "@mikro-orm/sql-highlighter": "^1.0.1", "@nestjs/axios": "^3.0.0", "@nestjs/cache-manager": "^2.1.0", @@ -132,7 +132,7 @@ "rxjs": "^7.8.1", "sharp": "^0.32.6", "socket.io": "^4.7.2", - "stripe": "^13.9.0", + "stripe": "^13.10.0", "swagger-stats": "^0.99.7", "twilio": "4.18.1", "unprofane": "^1.0.6", @@ -142,12 +142,12 @@ "@firebase/app-compat": "^0.2.19", "@firebase/app-types": "^0.9.0", "@golevelup/ts-jest": "^0.4.0", - "@mikro-orm/cli": "^5.8.7", - "@mikro-orm/seeder": "^5.8.7", + "@mikro-orm/cli": "^5.8.8", + "@mikro-orm/seeder": "^5.8.8", "@nestjs/cli": "10.1.18", "@nestjs/schematics": "10.0.2", "@nestjs/testing": "10.2.7", - "@rubiin/eslint-config": "^1.8.17", + "@rubiin/eslint-config": "^1.8.23", "@rubiin/tsconfig": "^1.1.0", "@sentry/types": "^7.73.0", "@side/jest-runtime": "^1.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 85c8ab50..db8a8606 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,25 +19,25 @@ dependencies: version: 4.0.0(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@golevelup/nestjs-stripe': specifier: ^0.6.3 - version: 0.6.3(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(rxjs@7.8.1)(stripe@13.9.0) + version: 0.6.3(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(rxjs@7.8.1)(stripe@13.10.0) '@golevelup/nestjs-webhooks': specifier: ^0.2.16 version: 0.2.16(@nestjs/common@10.2.7)(body-parser@1.20.2)(rxjs@7.8.1) '@mikro-orm/core': - specifier: ^5.8.7 - version: 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) + specifier: ^5.8.8 + version: 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) '@mikro-orm/migrations': - specifier: ^5.8.7 - version: 5.8.7(@mikro-orm/core@5.8.7)(pg@8.11.3) + specifier: ^5.8.8 + version: 5.8.8(@mikro-orm/core@5.8.8)(pg@8.11.3) '@mikro-orm/nestjs': specifier: ^5.2.2 - version: 5.2.2(@mikro-orm/core@5.8.7)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7) + version: 5.2.2(@mikro-orm/core@5.8.8)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7) '@mikro-orm/postgresql': - specifier: ^5.8.7 - version: 5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(@mikro-orm/seeder@5.8.7) + specifier: ^5.8.8 + version: 5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(@mikro-orm/seeder@5.8.8) '@mikro-orm/reflection': - specifier: ^5.8.7 - version: 5.8.7(@mikro-orm/core@5.8.7) + specifier: ^5.8.8 + version: 5.8.8(@mikro-orm/core@5.8.8) '@mikro-orm/sql-highlighter': specifier: ^1.0.1 version: 1.0.1 @@ -82,7 +82,7 @@ dependencies: version: 7.1.13(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13) '@nestjs/terminus': specifier: ^10.1.1 - version: 10.1.1(@mikro-orm/core@5.8.7)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1) + version: 10.1.1(@mikro-orm/core@5.8.8)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/throttler': specifier: ^5.0.0 version: 5.0.0(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(reflect-metadata@0.1.13) @@ -240,8 +240,8 @@ dependencies: specifier: ^4.7.2 version: 4.7.2 stripe: - specifier: ^13.9.0 - version: 13.9.0 + specifier: ^13.10.0 + version: 13.10.0 swagger-stats: specifier: ^0.99.7 version: 0.99.7(prom-client@15.0.0) @@ -266,11 +266,11 @@ devDependencies: specifier: ^0.4.0 version: 0.4.0 '@mikro-orm/cli': - specifier: ^5.8.7 - version: 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7)(pg@8.11.3) + specifier: ^5.8.8 + version: 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8)(pg@8.11.3) '@mikro-orm/seeder': - specifier: ^5.8.7 - version: 5.8.7(@mikro-orm/core@5.8.7) + specifier: ^5.8.8 + version: 5.8.8(@mikro-orm/core@5.8.8) '@nestjs/cli': specifier: 10.1.18 version: 10.1.18(@swc/core@1.3.92) @@ -281,8 +281,8 @@ devDependencies: specifier: 10.2.7 version: 10.2.7(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(@nestjs/platform-express@10.2.7) '@rubiin/eslint-config': - specifier: ^1.8.17 - version: 1.8.17(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6) + specifier: ^1.8.23 + version: 1.8.23(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6) '@rubiin/tsconfig': specifier: ^1.1.0 version: 1.1.0 @@ -495,6 +495,11 @@ packages: - chokidar dev: true + /@antfu/eslint-define-config@1.23.0-1: + resolution: {integrity: sha512-FEhC42aXDQ315jXpMAp+P1oBW2K96Ruq/8xs1poA8rgxv0c5vqYsyWWwwNBDijqUyDn9kufa4eZrd94rcbVEhg==} + engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>= 8.6.0'} + dev: true + /@arthurgeron/eslint-plugin-react-usememo@2.0.1: resolution: {integrity: sha512-cv1S9f3PBRfysxEpQjHcLlDGVnuQCJNu2tvAaWd4nf9HoXFCK2aSCCHf53ZCXxpHj20lq8PCMHd1tG+Sy2iuuQ==} dev: true @@ -1918,7 +1923,7 @@ packages: - supports-color dev: false - /@golevelup/nestjs-stripe@0.6.3(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(rxjs@7.8.1)(stripe@13.9.0): + /@golevelup/nestjs-stripe@0.6.3(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(rxjs@7.8.1)(stripe@13.10.0): resolution: {integrity: sha512-1h9VBwZIpw/xN5iuzpA1YtQq2ezOP7dVEUnB4xtGTWX3/3KjUm2DlBawQ5YN8aTK+FJMCHTg839rq4FryEj12w==} peerDependencies: stripe: ^11.12.0 @@ -1926,7 +1931,7 @@ packages: '@golevelup/nestjs-common': 2.0.0(@nestjs/common@10.2.7) '@golevelup/nestjs-discovery': 4.0.0(@nestjs/common@10.2.7)(@nestjs/core@10.2.7) '@golevelup/nestjs-modules': 0.7.0(@nestjs/common@10.2.7)(rxjs@7.8.1) - stripe: 13.9.0 + stripe: 13.10.0 transitivePeerDependencies: - '@nestjs/common' - '@nestjs/core' @@ -2686,8 +2691,8 @@ packages: - supports-color dev: false - /@mikro-orm/cli@5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7)(pg@8.11.3): - resolution: {integrity: sha512-GywR4DzcZyqbwuHFwHunmTICmudknzbFeiUZwbS/TeTf/RDjwc4DCzAe9YkpMzryAZeByypFJsgYqXJJu+fEVQ==} + /@mikro-orm/cli@5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8)(pg@8.11.3): + resolution: {integrity: sha512-vAiBy4LSMXeupM8K8XqzrQY+OtH3KLzjqFuFKGgUN6lIQFzQbXgYdS/Q78OlZ8UsIPDWlpUfdDrEoVNECLA/2g==} engines: {node: '>= 14.0.0'} hasBin: true peerDependencies: @@ -2724,11 +2729,11 @@ packages: optional: true dependencies: '@jercle/yargonaut': 1.1.5 - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/knex': 5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(pg@8.11.3) - '@mikro-orm/migrations': 5.8.7(@mikro-orm/core@5.8.7)(pg@8.11.3) - '@mikro-orm/postgresql': 5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/seeder': 5.8.7(@mikro-orm/core@5.8.7) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/knex': 5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(pg@8.11.3) + '@mikro-orm/migrations': 5.8.8(@mikro-orm/core@5.8.8)(pg@8.11.3) + '@mikro-orm/postgresql': 5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/seeder': 5.8.8(@mikro-orm/core@5.8.8) fs-extra: 11.1.1 tsconfig-paths: 4.2.0 yargs: 17.7.2 @@ -2744,8 +2749,8 @@ packages: - tedious dev: true - /@mikro-orm/core@5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7): - resolution: {integrity: sha512-k1YtQS1mP8hQZ7xBoNb7yFEP8zyvFq8INatGdYFqzilMXhkUwXTvhjHpFx5/aXoG0TO1R6oB7FLrOs8dSxUXVQ==} + /@mikro-orm/core@5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8): + resolution: {integrity: sha512-lPAqq3RqsoQtCAMmJognwEyvEn1WqvSCiCzfZrUZBt2oPTXvIpo2mbH82kYxruqYO2QcfAQg2JhlNn9W2pwWdQ==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/better-sqlite': ^5.0.0 @@ -2780,19 +2785,19 @@ packages: '@mikro-orm/sqlite': optional: true dependencies: - '@mikro-orm/migrations': 5.8.7(@mikro-orm/core@5.8.7)(pg@8.11.3) - '@mikro-orm/postgresql': 5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/seeder': 5.8.7(@mikro-orm/core@5.8.7) + '@mikro-orm/migrations': 5.8.8(@mikro-orm/core@5.8.8)(pg@8.11.3) + '@mikro-orm/postgresql': 5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/seeder': 5.8.8(@mikro-orm/core@5.8.8) acorn-loose: 8.3.0 acorn-walk: 8.2.0 dotenv: 16.3.1 fs-extra: 11.1.1 globby: 11.1.0 - mikro-orm: 5.8.7 + mikro-orm: 5.8.8 reflect-metadata: 0.1.13 - /@mikro-orm/knex@5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(pg@8.11.3): - resolution: {integrity: sha512-CD5lF4dY9pKeHaNuZ6Fn5Q3GrroJWkStI5WPdyaNKmyAPqpsT15OGoiaj1h0XFI53rAdP1EGN7sZf4cExxN4VQ==} + /@mikro-orm/knex@5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(pg@8.11.3): + resolution: {integrity: sha512-rFX5wuu4a2VGbspYutrYncwCJoI7tZqdXSSOzlDSvj/jTyIiwyW4XgyquPse+1M2jWp3Xx9xZFVGiJYjCiMlMw==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 @@ -2822,8 +2827,8 @@ packages: sqlite3: optional: true dependencies: - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/migrations': 5.8.7(@mikro-orm/core@5.8.7)(pg@8.11.3) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/migrations': 5.8.8(@mikro-orm/core@5.8.8)(pg@8.11.3) fs-extra: 11.1.1 knex: 2.5.1(pg@8.11.3) pg: 8.11.3 @@ -2833,14 +2838,14 @@ packages: - supports-color - tedious - /@mikro-orm/migrations@5.8.7(@mikro-orm/core@5.8.7)(pg@8.11.3): - resolution: {integrity: sha512-gM5FBlzUADbo0+jWdSl6i579dF6HUWv3XVRWzJbd87OMKfavFXTGw/jUijelyoq830X3xS9xnbDRFOfOXlMZGA==} + /@mikro-orm/migrations@5.8.8(@mikro-orm/core@5.8.8)(pg@8.11.3): + resolution: {integrity: sha512-0PuMW5VHeA/4pR7ikqe097XfD0XaRwD3Ls/V2FDTT1m3v8FL4pwqU4O7CClLpDk3/Fl3rNYus+Dh8vRqPiMBPA==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 dependencies: - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/knex': 5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(pg@8.11.3) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/knex': 5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(pg@8.11.3) fs-extra: 11.1.1 knex: 2.5.1(pg@8.11.3) umzug: 3.3.1 @@ -2856,7 +2861,7 @@ packages: - supports-color - tedious - /@mikro-orm/nestjs@5.2.2(@mikro-orm/core@5.8.7)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7): + /@mikro-orm/nestjs@5.2.2(@mikro-orm/core@5.8.8)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7): resolution: {integrity: sha512-NwPTmpmwf4/aX7FjKk/CTncYS7Mbr4fMvSOfbo9rOElySjpniTnk2cCGABgj2kaX9NSFHzWCUy5tAMIkoedd4A==} engines: {node: '>= 14.0.0'} peerDependencies: @@ -2864,13 +2869,13 @@ packages: '@nestjs/common': ^8.0.0 || ^9.0.0 || ^10.0.0 '@nestjs/core': ^8.0.0 || ^9.0.0 || ^10.0.0 dependencies: - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) '@nestjs/common': 10.2.7(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/core': 10.2.7(@nestjs/common@10.2.7)(@nestjs/platform-express@10.2.7)(@nestjs/websockets@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1) dev: false - /@mikro-orm/postgresql@5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(@mikro-orm/seeder@5.8.7): - resolution: {integrity: sha512-k/ukn62O/EK8MEVWShTk22Mce+WNXw1Lhju/mumvaiIDE+IY30lh/mTxvuEKqTy6YQnkwtHRm8ZHRrcS0Fy5Fg==} + /@mikro-orm/postgresql@5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(@mikro-orm/seeder@5.8.8): + resolution: {integrity: sha512-c5SvV4uqWGC/S7pqe28dKrK2/P7ZXn04MlQ5cklt4s8tZ2sBUL4eG7J48Kk6ZO9b2Z3xFVzF47CMYKWfbZD4hQ==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 @@ -2885,10 +2890,10 @@ packages: '@mikro-orm/seeder': optional: true dependencies: - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/knex': 5.8.7(@mikro-orm/core@5.8.7)(@mikro-orm/migrations@5.8.7)(pg@8.11.3) - '@mikro-orm/migrations': 5.8.7(@mikro-orm/core@5.8.7)(pg@8.11.3) - '@mikro-orm/seeder': 5.8.7(@mikro-orm/core@5.8.7) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/knex': 5.8.8(@mikro-orm/core@5.8.8)(@mikro-orm/migrations@5.8.8)(pg@8.11.3) + '@mikro-orm/migrations': 5.8.8(@mikro-orm/core@5.8.8)(pg@8.11.3) + '@mikro-orm/seeder': 5.8.8(@mikro-orm/core@5.8.8) pg: 8.11.3 transitivePeerDependencies: - better-sqlite3 @@ -2900,25 +2905,25 @@ packages: - supports-color - tedious - /@mikro-orm/reflection@5.8.7(@mikro-orm/core@5.8.7): - resolution: {integrity: sha512-NSury87CaQ6+3FJV/QMt/IySJUYLBPPjSoeFUB0Xj/Re7K/6z68nKVc/kx+onK1rFyvsZhdeUDTwoFsa9f82lw==} + /@mikro-orm/reflection@5.8.8(@mikro-orm/core@5.8.8): + resolution: {integrity: sha512-GjU9JAiMQE2temtcqFCJrgAW3eN057tfo729+jm09riv6HoFnf7OTCZ5UH9j7GYK/eqSGX90BljUD9RJ5Q/qvQ==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 dependencies: - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) globby: 11.1.0 ts-morph: 20.0.0 dev: false - /@mikro-orm/seeder@5.8.7(@mikro-orm/core@5.8.7): - resolution: {integrity: sha512-TQ05eGpvfrRobuT50N8sVWIxr6hPaoTFMZtlXbwhjB09fjH5WogpkreNe2UhZW+9X7ek8VvfZQe7KakNLtLQeQ==} + /@mikro-orm/seeder@5.8.8(@mikro-orm/core@5.8.8): + resolution: {integrity: sha512-Yo7AdYJwOiqyVUDgmz7by8U7rpbtygQ8ip9at2b6ptW9e304v2fSvsXX6HbdJAIRxCgVoH7JaTlo28Q40QdXgA==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 dependencies: '@faker-js/faker': 7.6.0 - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) fs-extra: 11.1.1 globby: 11.1.0 @@ -3288,7 +3293,7 @@ packages: swagger-ui-dist: 5.9.0 dev: false - /@nestjs/terminus@10.1.1(@mikro-orm/core@5.8.7)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1): + /@nestjs/terminus@10.1.1(@mikro-orm/core@5.8.8)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1): resolution: {integrity: sha512-aDoPK/uaR9PHn56xzand6zqpp+S3Ibm+y/OrG3M01F1WnScLfo29hbS6MdnIMqmVRAS11r/8X3xWTSo8TT/Lig==} peerDependencies: '@grpc/grpc-js': '*' @@ -3336,8 +3341,8 @@ packages: typeorm: optional: true dependencies: - '@mikro-orm/core': 5.8.7(@mikro-orm/migrations@5.8.7)(@mikro-orm/postgresql@5.8.7)(@mikro-orm/seeder@5.8.7) - '@mikro-orm/nestjs': 5.2.2(@mikro-orm/core@5.8.7)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7) + '@mikro-orm/core': 5.8.8(@mikro-orm/migrations@5.8.8)(@mikro-orm/postgresql@5.8.8)(@mikro-orm/seeder@5.8.8) + '@mikro-orm/nestjs': 5.2.2(@mikro-orm/core@5.8.8)(@nestjs/common@10.2.7)(@nestjs/core@10.2.7) '@nestjs/axios': 3.0.0(@nestjs/common@10.2.7)(axios@1.5.1)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/common': 10.2.7(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/core': 10.2.7(@nestjs/common@10.2.7)(@nestjs/platform-express@10.2.7)(@nestjs/websockets@10.2.7)(reflect-metadata@0.1.13)(rxjs@7.8.1) @@ -3624,33 +3629,33 @@ packages: '@redis/client': 1.5.11 dev: false - /@rubiin/eslint-config@1.8.17(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6): - resolution: {integrity: sha512-BliqzrazDWtxoDLqwWgxldiLN/6fLH4MBabxa9z4cRx+jQpuzBMnJhBf6VTvhY3K1ekSEjV6PHcxu8opfrYx4Q==} + /@rubiin/eslint-config@1.8.23(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6): + resolution: {integrity: sha512-018xKCYtUMI4qx1VZf2nCucxvhuhV2smWB/kfShNPK/5bRuAEgH36fhngOKxVem/tASwGfVz++Nn73fCRUyB3g==} peerDependencies: eslint: '>=8.0.0' dependencies: + '@antfu/eslint-define-config': 1.23.0-1 '@arthurgeron/eslint-plugin-react-usememo': 2.0.1 '@stylistic/eslint-plugin': 0.0.6(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/eslint-plugin': 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 eslint-config-flat-gitignore: 0.1.0 - eslint-define-config: 1.24.1 eslint-plugin-antfu: 1.0.0-beta.12(eslint@8.51.0)(typescript@5.2.2) eslint-plugin-eslint-comments: 3.2.0(eslint@8.51.0) - eslint-plugin-i: 2.28.1(@typescript-eslint/parser@6.7.4)(eslint@8.51.0) + eslint-plugin-i: 2.28.1(@typescript-eslint/parser@6.7.5)(eslint@8.51.0) eslint-plugin-jsdoc: 46.8.2(eslint@8.51.0) eslint-plugin-jsonc: 2.10.0(eslint@8.51.0) eslint-plugin-markdown: 3.0.1(eslint@8.51.0) - eslint-plugin-n: 16.1.0(eslint@8.51.0) + eslint-plugin-n: 16.2.0(eslint@8.51.0) eslint-plugin-no-only-tests: 3.1.0 eslint-plugin-react: 7.33.2(eslint@8.51.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.51.0) eslint-plugin-rubiin: 1.8.17(eslint@8.51.0)(typescript@5.2.2) + eslint-plugin-sonarjs: 0.21.0(eslint@8.51.0) eslint-plugin-unicorn: 48.0.1(eslint@8.51.0) - eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0) - eslint-plugin-vitest: 0.3.2(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6) + eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.7.5)(eslint@8.51.0) + eslint-plugin-vitest: 0.3.2(@typescript-eslint/eslint-plugin@6.7.5)(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6) eslint-plugin-vue: 9.17.0(eslint@8.51.0) eslint-plugin-yml: 1.10.0(eslint@8.51.0) globals: 13.23.0 @@ -4247,9 +4252,9 @@ packages: eslint: '*' dependencies: '@stylistic/eslint-plugin-js': 0.0.6(eslint@8.51.0) - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/type-utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/type-utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 graphemer: 1.4.0 transitivePeerDependencies: @@ -4891,8 +4896,8 @@ packages: '@types/yargs-parser': 21.0.1 dev: true - /@typescript-eslint/eslint-plugin@6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==} + /@typescript-eslint/eslint-plugin@6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-JhtAwTRhOUcP96D0Y6KYnwig/MRQbOoLGXTON2+LlyB/N35SP9j1boai2zzwXb7ypKELXMx3DVk9UTaEq1vHEw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -4903,11 +4908,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/type-utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/type-utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 eslint: 8.51.0 graphemer: 1.4.0 @@ -4920,8 +4925,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.7.4(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==} + /@typescript-eslint/parser@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-bIZVSGx2UME/lmhLcjdVc7ePBwn7CLqKarUBL4me1C5feOd663liTGjMBGVcGr+BhnSLeP4SgwdvNnnkbIdkCw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -4930,10 +4935,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 eslint: 8.51.0 typescript: 5.2.2 @@ -4941,16 +4946,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.7.4: - resolution: {integrity: sha512-SdGqSLUPTXAXi7c3Ob7peAGVnmMoGzZ361VswK2Mqf8UOYcODiYvs8rs5ILqEdfvX1lE7wEZbLyELCW+Yrql1A==} + /@typescript-eslint/scope-manager@6.7.5: + resolution: {integrity: sha512-GAlk3eQIwWOJeb9F7MKQ6Jbah/vx1zETSDw8likab/eFcqkjSD7BI75SDAeC5N2L0MmConMoPvTsmkrg71+B1A==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 dev: true - /@typescript-eslint/type-utils@6.7.4(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==} + /@typescript-eslint/type-utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-Gs0qos5wqxnQrvpYv+pf3XfcRXW6jiAn9zE/K+DlmYf6FcpxeNYN0AIETaPR7rHO4K2UY+D0CIbDP9Ut0U4m1g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -4959,8 +4964,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) debug: 4.3.4 eslint: 8.51.0 ts-api-utils: 1.0.3(typescript@5.2.2) @@ -4969,13 +4974,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.7.4: - resolution: {integrity: sha512-o9XWK2FLW6eSS/0r/tgjAGsYasLAnOWg7hvZ/dGYSSNjCh+49k5ocPN8OmG5aZcSJ8pclSOyVKP2x03Sj+RrCA==} + /@typescript-eslint/types@6.7.5: + resolution: {integrity: sha512-WboQBlOXtdj1tDFPyIthpKrUb+kZf2VroLZhxKa/VlwLlLyqv/PwUNgL30BlTVZV1Wu4Asu2mMYPqarSO4L5ZQ==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.7.4(typescript@5.2.2): - resolution: {integrity: sha512-ty8b5qHKatlNYd9vmpHooQz3Vki3gG+3PchmtsA4TgrZBKWHNjWfkQid7K7xQogBqqc7/BhGazxMD5vr6Ha+iQ==} + /@typescript-eslint/typescript-estree@6.7.5(typescript@5.2.2): + resolution: {integrity: sha512-NhJiJ4KdtwBIxrKl0BqG1Ur+uw7FiOnOThcYx9DpOGJ/Abc9z2xNzLeirCG02Ig3vkvrc2qFLmYSSsaITbKjlg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -4983,8 +4988,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/visitor-keys': 6.7.4 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -4995,8 +5000,8 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.7.4(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==} + /@typescript-eslint/utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -5004,9 +5009,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 - '@typescript-eslint/scope-manager': 6.7.4 - '@typescript-eslint/types': 6.7.4 - '@typescript-eslint/typescript-estree': 6.7.4(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@5.2.2) eslint: 8.51.0 semver: 7.5.4 transitivePeerDependencies: @@ -5014,11 +5019,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.7.4: - resolution: {integrity: sha512-pOW37DUhlTZbvph50x5zZCkFn3xzwkGtNoJHzIM3svpiSkJzwOYr/kVBaXmf+RAQiUDs1AHEZVNPg6UJCJpwRA==} + /@typescript-eslint/visitor-keys@6.7.5: + resolution: {integrity: sha512-3MaWdDZtLlsexZzDSdQWsFQ9l9nL8B80Z4fImSpyllFC/KLqWQRdEcB+gGGO+N3Q2uL40EsG66wZLsohPxNXvg==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.7.4 + '@typescript-eslint/types': 6.7.5 eslint-visitor-keys: 3.4.3 dev: true @@ -7208,11 +7213,6 @@ packages: parse-gitignore: 2.0.0 dev: true - /eslint-define-config@1.24.1: - resolution: {integrity: sha512-o36vBhPSWyIQlHoMqGhhcGmOOm2A2ccBVIdLTG/AWdm9YmjpsLpf+5ntf9LlHR6dduLREgxtGwvwPwSt7vnXJg==} - engines: {node: '>=18.0.0', npm: '>=9.0.0', pnpm: '>= 8.6.0'} - dev: true - /eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} dependencies: @@ -7223,7 +7223,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint@8.51.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.9)(eslint@8.51.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -7244,7 +7244,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.7.5(eslint@8.51.0)(typescript@5.2.2) debug: 3.2.7 eslint: 8.51.0 eslint-import-resolver-node: 0.3.9 @@ -7257,7 +7257,7 @@ packages: peerDependencies: eslint: '*' dependencies: - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 transitivePeerDependencies: - supports-color @@ -7286,7 +7286,7 @@ packages: ignore: 5.2.4 dev: true - /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.7.4)(eslint@8.51.0): + /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.7.5)(eslint@8.51.0): resolution: {integrity: sha512-a4oVt0j3ixNhGhvV4XF6NS7OWRFK2rrJ0Q5C4S2dSRb8FxZi31J0uUd5WJLL58wnVJ/OiQ1BxiXnFA4dWQO1Cg==} engines: {node: '>=12'} peerDependencies: @@ -7296,7 +7296,7 @@ packages: doctrine: 2.1.0 eslint: 8.51.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.4)(eslint-import-resolver-node@0.3.9)(eslint@8.51.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.9)(eslint@8.51.0) get-tsconfig: 4.7.2 is-glob: 4.0.3 minimatch: 3.1.2 @@ -7354,8 +7354,8 @@ packages: - supports-color dev: true - /eslint-plugin-n@16.1.0(eslint@8.51.0): - resolution: {integrity: sha512-3wv/TooBst0N4ND+pnvffHuz9gNPmk/NkLwAxOt2JykTl/hcuECe6yhTtLJcZjIxtZwN+GX92ACp/QTLpHA3Hg==} + /eslint-plugin-n@16.2.0(eslint@8.51.0): + resolution: {integrity: sha512-AQER2jEyQOt1LG6JkGJCCIFotzmlcCZFur2wdKrp1JX2cNotC7Ae0BcD/4lLv3lUAArM9uNS8z/fsvXTd0L71g==} engines: {node: '>=16.0.0'} peerDependencies: eslint: '>=7.0.0' @@ -7416,13 +7416,22 @@ packages: peerDependencies: eslint: '*' dependencies: - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 transitivePeerDependencies: - supports-color - typescript dev: true + /eslint-plugin-sonarjs@0.21.0(eslint@8.51.0): + resolution: {integrity: sha512-oezUDfFT5S6j3rQheZ4DLPrbetPmMS7zHIKWGHr0CM3g5JgyZroz1FpIKa4jV83NsGpmgIeagpokWDKIJzRQmw==} + engines: {node: '>=14'} + peerDependencies: + eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + eslint: 8.51.0 + dev: true + /eslint-plugin-unicorn@48.0.1(eslint@8.51.0): resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} engines: {node: '>=16'} @@ -7447,7 +7456,7 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0): + /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.7.5)(eslint@8.51.0): resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -7457,12 +7466,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.2(@typescript-eslint/eslint-plugin@6.7.4)(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6): + /eslint-plugin-vitest@0.3.2(@typescript-eslint/eslint-plugin@6.7.5)(eslint@8.51.0)(typescript@5.2.2)(vitest@0.34.6): resolution: {integrity: sha512-A1P0qJVkqHyfDolwm09h8/gu7SbGFOKbacJSeyZ9IRb8uyddgqLcqv4VrqgQfLA7QmGI9lwj1iV90NyZ1cHp8Q==} engines: {node: 14.x || >= 16} peerDependencies: @@ -7473,8 +7482,8 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.7.4(@typescript-eslint/parser@6.7.4)(eslint@8.51.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.7.4(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.7.5(@typescript-eslint/parser@6.7.5)(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 vitest: 0.34.6 transitivePeerDependencies: @@ -10617,8 +10626,8 @@ packages: braces: 3.0.2 picomatch: 2.3.1 - /mikro-orm@5.8.7: - resolution: {integrity: sha512-DpYwMluF66aXTVBefSoFOsc3dSN1Las6en6OZ0Cq6qvMOeV3VLcjwgiVcLPyGtt8B6fLJL3bvh/Ax1huKC9yQA==} + /mikro-orm@5.8.8: + resolution: {integrity: sha512-DE+EquF+2CEu/7sMQK0lrmfN3NpMTh5jqBWrdEKPvrWTYFGl7rzC08/9nYoPKEFXd+9JUykmZdVqXtkyRnqU9g==} engines: {node: '>= 14.0.0'} /mime-db@1.52.0: @@ -13079,8 +13088,8 @@ packages: acorn: 8.10.0 dev: true - /stripe@13.9.0: - resolution: {integrity: sha512-sQAqodCvaw/iYWauHHdOWlFGj0oZj/3A51zs4rG5PN3SUJUFSSjtnbc9q5Djpls0iz3nXz2UwjzAdKHVP4dVqQ==} + /stripe@13.10.0: + resolution: {integrity: sha512-8UGpNdM7oxjhqnNQB6/ouhT9reM80+A6a+NScg3rwzK2f0W/q8M+MdUivG1hL6wAdqF8DE8K2IbdzwwJCZ4WPw==} engines: {node: '>=12.*'} dependencies: '@types/node': 20.8.4 diff --git a/src/common/helpers/app.utils.ts b/src/common/helpers/app.utils.ts index cef4d3cb..ca430ae7 100644 --- a/src/common/helpers/app.utils.ts +++ b/src/common/helpers/app.utils.ts @@ -34,10 +34,12 @@ export const AppUtils = { setTimeout(() => process.exit(1), 5000); logger.verbose(`Signal received with code ${code} ⚡.`); logger.log("❗Closing http server with grace."); + // eslint-disable-next-line rubiin/no-then app.close().then(() => { logger.log("✅ Http server closed."); process.exit(0); }) + // eslint-disable-next-line rubiin/no-then .catch((error) => { logger.error(`❌ Http server closed with error: ${error}`); process.exit(1); diff --git a/src/main.ts b/src/main.ts index c4fda59d..f9faee05 100644 --- a/src/main.ts +++ b/src/main.ts @@ -115,9 +115,8 @@ async function bootstrap() { } try { - ~(async () => await bootstrap())(); + (async () => await bootstrap())(); } - catch (error) { logger.error(error); }