diff --git a/package.json b/package.json index 57452c29..9e0afc1a 100644 --- a/package.json +++ b/package.json @@ -52,17 +52,17 @@ "test:e2e": "jest --config ./test/jest-e2e.json --runInBand --forceExit" }, "dependencies": { - "@aws-sdk/client-s3": "^3.420.0", - "@aws-sdk/client-ses": "^3.418.0", + "@aws-sdk/client-s3": "^3.421.0", + "@aws-sdk/client-ses": "^3.421.0", "@casl/ability": "^6.5.0", "@golevelup/nestjs-rabbitmq": "^4.0.0", "@golevelup/nestjs-stripe": "^0.6.3", "@golevelup/nestjs-webhooks": "^0.2.16", - "@mikro-orm/core": "^5.8.3", - "@mikro-orm/migrations": "^5.8.3", + "@mikro-orm/core": "^5.8.4", + "@mikro-orm/migrations": "^5.8.4", "@mikro-orm/nestjs": "^5.2.2", - "@mikro-orm/postgresql": "^5.8.3", - "@mikro-orm/reflection": "^5.8.3", + "@mikro-orm/postgresql": "^5.8.4", + "@mikro-orm/reflection": "^5.8.4", "@mikro-orm/sql-highlighter": "^1.0.1", "@nestjs/axios": "^3.0.0", "@nestjs/cache-manager": "^2.1.0", @@ -141,8 +141,8 @@ "@firebase/app-compat": "^0.2.19", "@firebase/app-types": "^0.9.0", "@golevelup/ts-jest": "^0.4.0", - "@mikro-orm/cli": "^5.8.3", - "@mikro-orm/seeder": "^5.8.3", + "@mikro-orm/cli": "^5.8.4", + "@mikro-orm/seeder": "^5.8.4", "@nestjs/cli": "10.1.18", "@nestjs/schematics": "10.0.2", "@nestjs/testing": "10.2.6", @@ -159,7 +159,7 @@ "@types/jest": "^29.5.5", "@types/mime-types": "^2.1.2", "@types/multer": "^1.4.8", - "@types/node": "^20.7.0", + "@types/node": "^20.7.1", "@types/nodemailer": "^6.4.11", "@types/passport": "^1.0.13", "@types/passport-facebook": "^3.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f8a11eb..1b6391b1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,11 +6,11 @@ settings: dependencies: '@aws-sdk/client-s3': - specifier: ^3.420.0 - version: 3.420.0 + specifier: ^3.421.0 + version: 3.421.0 '@aws-sdk/client-ses': - specifier: ^3.418.0 - version: 3.418.0 + specifier: ^3.421.0 + version: 3.421.0 '@casl/ability': specifier: ^6.5.0 version: 6.5.0 @@ -24,20 +24,20 @@ dependencies: specifier: ^0.2.16 version: 0.2.16(@nestjs/common@10.2.6)(body-parser@1.20.2)(rxjs@7.8.1) '@mikro-orm/core': - specifier: ^5.8.3 - version: 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) + specifier: ^5.8.4 + version: 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) '@mikro-orm/migrations': - specifier: ^5.8.3 - version: 5.8.3(@mikro-orm/core@5.8.3)(pg@8.11.3) + specifier: ^5.8.4 + version: 5.8.4(@mikro-orm/core@5.8.4)(pg@8.11.3) '@mikro-orm/nestjs': specifier: ^5.2.2 - version: 5.2.2(@mikro-orm/core@5.8.3)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) + version: 5.2.2(@mikro-orm/core@5.8.4)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) '@mikro-orm/postgresql': - specifier: ^5.8.3 - version: 5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(@mikro-orm/seeder@5.8.3) + specifier: ^5.8.4 + version: 5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(@mikro-orm/seeder@5.8.4) '@mikro-orm/reflection': - specifier: ^5.8.3 - version: 5.8.3(@mikro-orm/core@5.8.3) + specifier: ^5.8.4 + version: 5.8.4(@mikro-orm/core@5.8.4) '@mikro-orm/sql-highlighter': specifier: ^1.0.1 version: 1.0.1 @@ -82,7 +82,7 @@ dependencies: version: 7.1.12(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(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.3)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) + version: 10.1.1(@mikro-orm/core@5.8.4)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/throttler': specifier: ^5.0.0 version: 5.0.0(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13) @@ -269,11 +269,11 @@ devDependencies: specifier: ^0.4.0 version: 0.4.0 '@mikro-orm/cli': - specifier: ^5.8.3 - version: 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3)(pg@8.11.3) + specifier: ^5.8.4 + version: 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4)(pg@8.11.3) '@mikro-orm/seeder': - specifier: ^5.8.3 - version: 5.8.3(@mikro-orm/core@5.8.3) + specifier: ^5.8.4 + version: 5.8.4(@mikro-orm/core@5.8.4) '@nestjs/cli': specifier: 10.1.18 version: 10.1.18(@swc/core@1.3.90) @@ -323,8 +323,8 @@ devDependencies: specifier: ^1.4.8 version: 1.4.8 '@types/node': - specifier: ^20.7.0 - version: 20.7.0 + specifier: ^20.7.1 + version: 20.7.1 '@types/nodemailer': specifier: ^6.4.11 version: 6.4.11 @@ -378,7 +378,7 @@ devDependencies: version: 8.0.3 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + version: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) lint-staged: specifier: ^14.0.1 version: 14.0.1 @@ -396,7 +396,7 @@ devDependencies: version: 9.4.4(typescript@5.2.2)(webpack@5.88.2) ts-node: specifier: 10.9.1 - version: 10.9.1(@swc/core@1.3.90)(@types/node@20.7.0)(typescript@5.2.2) + version: 10.9.1(@swc/core@1.3.90)(@types/node@20.7.1)(typescript@5.2.2) tsconfig-paths: specifier: 4.2.0 version: 4.2.0 @@ -570,15 +570,15 @@ packages: tslib: 1.14.1 dev: false - /@aws-sdk/client-s3@3.420.0: - resolution: {integrity: sha512-fmU0b8tM8vPCrEW8kNcY2yhFQBGuN4asYUAqybiSpzyF9Xy3Q0diQQE9WmoJVTO+DXB8tOhZZqUC1kxHCUDjww==} + /@aws-sdk/client-s3@3.421.0: + resolution: {integrity: sha512-vUXTY4toeHDf5EY2kOn04Ww9vTW2IVGy4+cymFp1cz5QT7g9KKj4Okj5DMdPld2y7wjgc+J/viTWEf26By49vw==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha1-browser': 3.0.0 '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.418.0 - '@aws-sdk/credential-provider-node': 3.418.0 + '@aws-sdk/client-sts': 3.421.0 + '@aws-sdk/credential-provider-node': 3.421.0 '@aws-sdk/middleware-bucket-endpoint': 3.418.0 '@aws-sdk/middleware-expect-continue': 3.418.0 '@aws-sdk/middleware-flexible-checksums': 3.418.0 @@ -633,14 +633,14 @@ packages: - aws-crt dev: false - /@aws-sdk/client-ses@3.418.0: - resolution: {integrity: sha512-9CcKt62hy+6ZEcQ0SSpx74Nzj4btib4Dnwvl92cX3cB9iAsrm0g/roy+kbAfysMaTnl+MUO4k32YcAjhuIGZfg==} + /@aws-sdk/client-ses@3.421.0: + resolution: {integrity: sha512-thLy+KdBHizk5HdJVNgXd++MvhXVJtUTKRT6ZwffFAujdD+IMVmfwAk3agTzh9F4MnDqrqRZyulbdvillPJMQg==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.418.0 - '@aws-sdk/credential-provider-node': 3.418.0 + '@aws-sdk/client-sts': 3.421.0 + '@aws-sdk/credential-provider-node': 3.421.0 '@aws-sdk/middleware-host-header': 3.418.0 '@aws-sdk/middleware-logger': 3.418.0 '@aws-sdk/middleware-recursion-detection': 3.418.0 @@ -680,8 +680,8 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso@3.418.0: - resolution: {integrity: sha512-fakz3YeSW/kCAOJ5w4ObrrQBxsYO8sU8i6WHLv6iWAsYZKAws2Mqa8g89P61+GitSH4z9waksdLouS6ep78/5A==} + /@aws-sdk/client-sso@3.421.0: + resolution: {integrity: sha512-40CmW7K2/FZEn3CbOjbpRYeVjKu6aJQlpRHcAgEJGNoVEAnRA3YNH4H0BN2iWWITfYg3B7sIjMm5VE9fCIK1Ng==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 @@ -722,13 +722,13 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts@3.418.0: - resolution: {integrity: sha512-L0n0Hw+Pm+BhXTN1bYZ0y4JAMArYgazdHf1nUSlEHndgZicCCuQtlMLxfo3i/IbtWi0dzfZcZ9d/MdAM8p4Jyw==} + /@aws-sdk/client-sts@3.421.0: + resolution: {integrity: sha512-/92NOZMcdkBcvGrINk5B/l+6DGcVzYE4Ab3ME4vcY9y//u2gd0yNn5YYRSzzjVBLvhDP3u6CbTfLX2Bm4qihPw==} engines: {node: '>=14.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/credential-provider-node': 3.418.0 + '@aws-sdk/credential-provider-node': 3.421.0 '@aws-sdk/middleware-host-header': 3.418.0 '@aws-sdk/middleware-logger': 3.418.0 '@aws-sdk/middleware-recursion-detection': 3.418.0 @@ -778,13 +778,13 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-ini@3.418.0: - resolution: {integrity: sha512-LTAeKKV85unlSqGNIeqEZ4N9gufaSoH+670n5YTUEk564zHCkUQW0PJomzLF5jKBco6Yfzv6rPBTukd+x9XWqw==} + /@aws-sdk/credential-provider-ini@3.421.0: + resolution: {integrity: sha512-J5yH/gkpAk6FMeH5F9u5Nr6oG+97tj1kkn5q49g3XMbtWw7GiynadxdtoRBCeIg1C7o2LOQx4B1AnhNhIw1z/g==} engines: {node: '>=14.0.0'} dependencies: '@aws-sdk/credential-provider-env': 3.418.0 '@aws-sdk/credential-provider-process': 3.418.0 - '@aws-sdk/credential-provider-sso': 3.418.0 + '@aws-sdk/credential-provider-sso': 3.421.0 '@aws-sdk/credential-provider-web-identity': 3.418.0 '@aws-sdk/types': 3.418.0 '@smithy/credential-provider-imds': 2.0.12 @@ -796,14 +796,14 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.418.0: - resolution: {integrity: sha512-VveTjtSC6m8YXj3fQDkMKEZuHv+CR2Z4u/NAN51Fi4xOtIWUtOBj5rfZ8HmBYoBjRF0DtRlPXuMiNnXAzTctfQ==} + /@aws-sdk/credential-provider-node@3.421.0: + resolution: {integrity: sha512-g1dvdvfDj0u8B/gOsHR3o1arP4O4QE/dFm2IJBYr/eUdKISMUgbQULWtg4zdtAf0Oz4xN0723i7fpXAF1gTnRA==} engines: {node: '>=14.0.0'} dependencies: '@aws-sdk/credential-provider-env': 3.418.0 - '@aws-sdk/credential-provider-ini': 3.418.0 + '@aws-sdk/credential-provider-ini': 3.421.0 '@aws-sdk/credential-provider-process': 3.418.0 - '@aws-sdk/credential-provider-sso': 3.418.0 + '@aws-sdk/credential-provider-sso': 3.421.0 '@aws-sdk/credential-provider-web-identity': 3.418.0 '@aws-sdk/types': 3.418.0 '@smithy/credential-provider-imds': 2.0.12 @@ -826,11 +826,11 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-sso@3.418.0: - resolution: {integrity: sha512-tUF5Hg/HfaU5t+E7IuvohYlodSIlBXa28xAJPPFxhKrUnvP6AIoW6JLazOtCIQjQgJYEUILV29XX+ojUuITcaw==} + /@aws-sdk/credential-provider-sso@3.421.0: + resolution: {integrity: sha512-f8T3L5rhImL6T6RTSvbOxaWw9k2fDOT2DZbNjcPz9ITWmwXj2NNbdHGWuRi3dv2HoY/nW2IJdNxnhdhbn6Fc1A==} engines: {node: '>=14.0.0'} dependencies: - '@aws-sdk/client-sso': 3.418.0 + '@aws-sdk/client-sso': 3.421.0 '@aws-sdk/token-providers': 3.418.0 '@aws-sdk/types': 3.418.0 '@smithy/property-provider': 2.0.10 @@ -1829,7 +1829,7 @@ packages: dependencies: '@graphql-tools/utils': 9.2.1(graphql@16.8.1) graphql: 16.8.1 - tslib: 2.5.0 + tslib: 2.6.2 dev: false optional: true @@ -1842,7 +1842,7 @@ packages: '@graphql-tools/merge': 8.3.18(graphql@16.8.1) '@graphql-tools/utils': 9.2.1(graphql@16.8.1) graphql: 16.8.1 - tslib: 2.5.0 + tslib: 2.6.2 value-or-promise: 1.0.12 dev: false optional: true @@ -1855,7 +1855,7 @@ packages: dependencies: '@graphql-typed-document-node/core': 3.2.0(graphql@16.8.1) graphql: 16.8.1 - tslib: 2.5.0 + tslib: 2.6.2 dev: false optional: true @@ -1875,7 +1875,7 @@ packages: requiresBuild: true dependencies: '@grpc/proto-loader': 0.7.10 - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: false optional: true @@ -2182,7 +2182,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -2203,14 +2203,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.8.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + jest-config: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -2245,7 +2245,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 jest-mock: 29.7.0 dev: true @@ -2272,7 +2272,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.7.0 + '@types/node': 20.7.1 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -2305,7 +2305,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.19 - '@types/node': 20.7.0 + '@types/node': 20.7.1 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -2392,7 +2392,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.2 - '@types/node': 20.7.0 + '@types/node': 20.7.1 '@types/yargs': 16.0.6 chalk: 4.1.2 dev: true @@ -2404,7 +2404,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.2 - '@types/node': 20.7.0 + '@types/node': 20.7.1 '@types/yargs': 17.0.25 chalk: 4.1.2 dev: true @@ -2489,8 +2489,8 @@ packages: - supports-color dev: false - /@mikro-orm/cli@5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3)(pg@8.11.3): - resolution: {integrity: sha512-79q8Cn9g5H21F/XjE6of/zXWsSBBFdSJzmqBHCmxN5cNXCYFNNYZZY8/EfqNCmgF6hxjRjp7j4GtpSuXxTbyFg==} + /@mikro-orm/cli@5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4)(pg@8.11.3): + resolution: {integrity: sha512-NK+xtLAJW78DaH8UDS9ef0roe72sJCEJF5cFByKGyfdFMrDWES3nhWZSkCLXErcsUeByoSYg8ZnkTtyxwjN2Ig==} engines: {node: '>= 14.0.0'} hasBin: true peerDependencies: @@ -2527,11 +2527,11 @@ packages: optional: true dependencies: '@jercle/yargonaut': 1.1.5 - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/knex': 5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(pg@8.11.3) - '@mikro-orm/migrations': 5.8.3(@mikro-orm/core@5.8.3)(pg@8.11.3) - '@mikro-orm/postgresql': 5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/seeder': 5.8.3(@mikro-orm/core@5.8.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/knex': 5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(pg@8.11.3) + '@mikro-orm/migrations': 5.8.4(@mikro-orm/core@5.8.4)(pg@8.11.3) + '@mikro-orm/postgresql': 5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/seeder': 5.8.4(@mikro-orm/core@5.8.4) fs-extra: 11.1.1 tsconfig-paths: 4.2.0 yargs: 17.7.2 @@ -2547,8 +2547,8 @@ packages: - tedious dev: true - /@mikro-orm/core@5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3): - resolution: {integrity: sha512-KZIvcOSHa6K/1ej4GhXYg6QbtUDexmsswK4v5ZiIQcQka6f4v+K0FZR3fYJZXW5YoUzQjTuLX6cYaZ08uEM3Jw==} + /@mikro-orm/core@5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4): + resolution: {integrity: sha512-yRrqnF5nKy3ymeY9jq9AxnzZHnfqVNIQmXwhoeMzCZmYpV2WrVtYw3EEZwpN5ANe1qvlQakgJ/qdGjyqB19Dyg==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/better-sqlite': ^5.0.0 @@ -2583,19 +2583,19 @@ packages: '@mikro-orm/sqlite': optional: true dependencies: - '@mikro-orm/migrations': 5.8.3(@mikro-orm/core@5.8.3)(pg@8.11.3) - '@mikro-orm/postgresql': 5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/seeder': 5.8.3(@mikro-orm/core@5.8.3) + '@mikro-orm/migrations': 5.8.4(@mikro-orm/core@5.8.4)(pg@8.11.3) + '@mikro-orm/postgresql': 5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/seeder': 5.8.4(@mikro-orm/core@5.8.4) 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.3 + mikro-orm: 5.8.4 reflect-metadata: 0.1.13 - /@mikro-orm/knex@5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(pg@8.11.3): - resolution: {integrity: sha512-+fQ/Cl8wLJjmHUHPPRtnf5rwAGKW+reVIZe5qER7W7UIc2ZiGS0tTldKM9r4bWBme/+mppaK8lv1qwb8WikkoQ==} + /@mikro-orm/knex@5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(pg@8.11.3): + resolution: {integrity: sha512-D0J0ZPLMFQWu/5dCOjtFDVABqv7cEfnGfNT0PH2Q/Qwv0FETV7jjLS1GQk/ixDmgXZ5YBFbx95/6HJ3NuLMW0Q==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 @@ -2625,8 +2625,8 @@ packages: sqlite3: optional: true dependencies: - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/migrations': 5.8.3(@mikro-orm/core@5.8.3)(pg@8.11.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/migrations': 5.8.4(@mikro-orm/core@5.8.4)(pg@8.11.3) fs-extra: 11.1.1 knex: 2.5.1(pg@8.11.3) pg: 8.11.3 @@ -2636,14 +2636,14 @@ packages: - supports-color - tedious - /@mikro-orm/migrations@5.8.3(@mikro-orm/core@5.8.3)(pg@8.11.3): - resolution: {integrity: sha512-OfTN1e1DpI07ZbM0RCKmJSKw2ddAv8hLSnKdF3xxiipRvU8dt9vPvXSVTeOmIGsHfUBmynaRQ+cq81ZKb4M4cA==} + /@mikro-orm/migrations@5.8.4(@mikro-orm/core@5.8.4)(pg@8.11.3): + resolution: {integrity: sha512-UptGzSMFPf3xXl1BNQJWaaZcGCUoNT2gGIqc/dvkFOjwVHOFwbczeeEg5bDUq28Wj/OyvHREOqZy0gei076O5w==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 dependencies: - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/knex': 5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(pg@8.11.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/knex': 5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(pg@8.11.3) fs-extra: 11.1.1 knex: 2.5.1(pg@8.11.3) umzug: 3.3.1 @@ -2659,7 +2659,7 @@ packages: - supports-color - tedious - /@mikro-orm/nestjs@5.2.2(@mikro-orm/core@5.8.3)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6): + /@mikro-orm/nestjs@5.2.2(@mikro-orm/core@5.8.4)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6): resolution: {integrity: sha512-NwPTmpmwf4/aX7FjKk/CTncYS7Mbr4fMvSOfbo9rOElySjpniTnk2cCGABgj2kaX9NSFHzWCUy5tAMIkoedd4A==} engines: {node: '>= 14.0.0'} peerDependencies: @@ -2667,13 +2667,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.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) '@nestjs/common': 10.2.6(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/core': 10.2.6(@nestjs/common@10.2.6)(@nestjs/platform-express@10.2.6)(@nestjs/websockets@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) dev: false - /@mikro-orm/postgresql@5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(@mikro-orm/seeder@5.8.3): - resolution: {integrity: sha512-39Kpw/v3lqmNL9TnNNNF62Ysgkml4O8u3CuydJE+ChTudAV+3gpNJ1h1ZebVByW1sfsDEmdO+ag5tk0SalmHsA==} + /@mikro-orm/postgresql@5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(@mikro-orm/seeder@5.8.4): + resolution: {integrity: sha512-3uaBT9QfbGE/W8tHRVXi6p4pKONvBE6D3ldFq9cQKcnNmOwjor414/mazLwsWwQdUujS5vyr1ZdAxf0jd4W5bQ==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 @@ -2688,10 +2688,10 @@ packages: '@mikro-orm/seeder': optional: true dependencies: - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/knex': 5.8.3(@mikro-orm/core@5.8.3)(@mikro-orm/migrations@5.8.3)(pg@8.11.3) - '@mikro-orm/migrations': 5.8.3(@mikro-orm/core@5.8.3)(pg@8.11.3) - '@mikro-orm/seeder': 5.8.3(@mikro-orm/core@5.8.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/knex': 5.8.4(@mikro-orm/core@5.8.4)(@mikro-orm/migrations@5.8.4)(pg@8.11.3) + '@mikro-orm/migrations': 5.8.4(@mikro-orm/core@5.8.4)(pg@8.11.3) + '@mikro-orm/seeder': 5.8.4(@mikro-orm/core@5.8.4) pg: 8.11.3 transitivePeerDependencies: - better-sqlite3 @@ -2703,25 +2703,25 @@ packages: - supports-color - tedious - /@mikro-orm/reflection@5.8.3(@mikro-orm/core@5.8.3): - resolution: {integrity: sha512-VO0qd6RSS/04hbsPLolQ+6rgWcajJtlxL5liCjz9bXJ53w8C47bryi/1UzP3W0ywqTaYnGlP+gmzw797Te/nww==} + /@mikro-orm/reflection@5.8.4(@mikro-orm/core@5.8.4): + resolution: {integrity: sha512-c4N+Nhube7ylorOrqFnvDHPd8fyC8xQq2NF/OVpqDr8dNghiPdiEaf4fdzJdR15Vutz9e9ITLMT6Mr2KlVuuSA==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 dependencies: - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) globby: 11.1.0 ts-morph: 20.0.0 dev: false - /@mikro-orm/seeder@5.8.3(@mikro-orm/core@5.8.3): - resolution: {integrity: sha512-ePp0yXWrNSvoKZNFYPck+FPmbUSfEP8epuNBg/J5pCVSt1IZhWuHgSg2/xNgxWvufzqZ/Hic4pcUjE85TxtBcQ==} + /@mikro-orm/seeder@5.8.4(@mikro-orm/core@5.8.4): + resolution: {integrity: sha512-YTHNL47qUqgc+SBoMuAvSj872qTIY0FqXP7S7a6Hbh3wqTZMA20zIZdaJ5iXZN+q7EPJYbbJstp/ldoybGpg+Q==} engines: {node: '>= 14.0.0'} peerDependencies: '@mikro-orm/core': ^5.0.0 dependencies: '@faker-js/faker': 7.6.0 - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) fs-extra: 11.1.1 globby: 11.1.0 @@ -3091,7 +3091,7 @@ packages: swagger-ui-dist: 5.7.2 dev: false - /@nestjs/terminus@10.1.1(@mikro-orm/core@5.8.3)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1): + /@nestjs/terminus@10.1.1(@mikro-orm/core@5.8.4)(@mikro-orm/nestjs@5.2.2)(@nestjs/axios@3.0.0)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1): resolution: {integrity: sha512-aDoPK/uaR9PHn56xzand6zqpp+S3Ibm+y/OrG3M01F1WnScLfo29hbS6MdnIMqmVRAS11r/8X3xWTSo8TT/Lig==} peerDependencies: '@grpc/grpc-js': '*' @@ -3139,8 +3139,8 @@ packages: typeorm: optional: true dependencies: - '@mikro-orm/core': 5.8.3(@mikro-orm/migrations@5.8.3)(@mikro-orm/postgresql@5.8.3)(@mikro-orm/seeder@5.8.3) - '@mikro-orm/nestjs': 5.2.2(@mikro-orm/core@5.8.3)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) + '@mikro-orm/core': 5.8.4(@mikro-orm/migrations@5.8.4)(@mikro-orm/postgresql@5.8.4)(@mikro-orm/seeder@5.8.4) + '@mikro-orm/nestjs': 5.2.2(@mikro-orm/core@5.8.4)(@nestjs/common@10.2.6)(@nestjs/core@10.2.6) '@nestjs/axios': 3.0.0(@nestjs/common@10.2.6)(axios@1.5.1)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/common': 10.2.6(class-transformer@0.5.1)(class-validator@0.14.0)(reflect-metadata@0.1.13)(rxjs@7.8.1) '@nestjs/core': 10.2.6(@nestjs/common@10.2.6)(@nestjs/platform-express@10.2.6)(@nestjs/websockets@10.2.6)(reflect-metadata@0.1.13)(rxjs@7.8.1) @@ -3545,7 +3545,7 @@ packages: jest-runtime: '>=28' dependencies: '@jest/transform': 29.7.0 - jest: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + jest: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) jest-runtime: 29.7.0 dev: true @@ -4268,7 +4268,7 @@ packages: resolution: {integrity: sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==} dependencies: '@types/connect': 3.4.36 - '@types/node': 20.7.0 + '@types/node': 20.7.1 /@types/cache-manager-redis-store@2.0.2: resolution: {integrity: sha512-Y9AkjU/y3If0nlJI/8k3mMmr/1FIuZ8U7biI5vQH0uP5mOb1Xycru6NcOiVKyUe/adHYUoY/EpnvWZ8NoBqRKQ==} @@ -4290,7 +4290,7 @@ packages: /@types/connect@3.4.36: resolution: {integrity: sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 /@types/cookie@0.4.1: resolution: {integrity: sha512-XW/Aa8APYr6jSVVA1y/DEIZX0/GMKLEVekNG727R8cs56ahETkRAy/3DR7+fJyh7oUgGwNQaRfXCun0+KbWY7Q==} @@ -4302,7 +4302,7 @@ packages: /@types/cors@2.8.14: resolution: {integrity: sha512-RXHUvNWYICtbP6s18PnOCaqToK8y14DnLd75c6HfyKf228dxy7pHNOQkxPtvXKp/hINFMDjbYzsj63nnpPMSRQ==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 /@types/dompurify@3.0.3: resolution: {integrity: sha512-odiGr/9/qMqjcBOe5UhcNLOFHSYmKFOyr+bJ/Xu3Qp4k1pNPAlNLUVNNLcLfjQI7+W7ObX58EdD3H+3p3voOvA==} @@ -4331,7 +4331,7 @@ packages: /@types/express-serve-static-core@4.17.37: resolution: {integrity: sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 '@types/qs': 6.9.8 '@types/range-parser': 1.2.4 '@types/send': 0.17.2 @@ -4349,14 +4349,14 @@ packages: requiresBuild: true dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: false optional: true /@types/graceful-fs@4.1.7: resolution: {integrity: sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: true /@types/http-errors@2.0.2: @@ -4392,13 +4392,13 @@ packages: /@types/jsonwebtoken@9.0.2: resolution: {integrity: sha512-drE6uz7QBKq1fYqqoFKTDRdFCPHd5TCub75BM+D+cMx7NU9hUz7SESLfC2fSCXVFMO5Yj8sOWHuGqPgjc+fz0Q==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: false /@types/jsonwebtoken@9.0.3: resolution: {integrity: sha512-b0jGiOgHtZ2jqdPgPnP6WLCXZk1T8p06A/vPGzUvxpFGgKMbjXJDjC5m52ErqBnIuWZFgGoIJyRdeG5AyreJjA==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 /@types/linkify-it@3.0.3: resolution: {integrity: sha512-pTjcqY9E4nOI55Wgpz7eiI8+LzdYnw3qxXCfHyBDdPbYvbyLgWLJGh8EdPvqawwMK1Uo1794AUkkR38Fr0g+2g==} @@ -4419,7 +4419,7 @@ packages: /@types/mailparser@3.4.0: resolution: {integrity: sha512-MotFinA1sT2nPFtQw1WpaF3X6I1OdbEloaixMmk924BOYqwHmlZkoi7XcVUXHI+7i0to8JguHqYj5k/E6c9Chw==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 iconv-lite: 0.6.3 dev: true @@ -4476,13 +4476,13 @@ packages: dev: true optional: true - /@types/node@20.7.0: - resolution: {integrity: sha512-zI22/pJW2wUZOVyguFaUL1HABdmSVxpXrzIqkjsHmyUjNhPoWM1CKfvVuXfetHhIok4RY573cqS0mZ1SJEnoTg==} + /@types/node@20.7.1: + resolution: {integrity: sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==} /@types/nodemailer@6.4.11: resolution: {integrity: sha512-Ld2c0frwpGT4VseuoeboCXQ7UJIkK3X7Lx/4YsZEiUHtHsthWAOCYtf6PAiLhMtfwV0cWJRabLBS3+LD8x6Nrw==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: true /@types/normalize-package-data@2.4.2: @@ -4491,7 +4491,7 @@ packages: /@types/oauth@0.9.2: resolution: {integrity: sha512-Nu3/abQ6yR9VlsCdX3aiGsWFkj6OJvJqDvg/36t8Gwf2mFXdBZXPDN3K+2yfeA6Lo2m1Q12F8Qil9TZ48nWhOQ==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: true /@types/parse-json@4.0.0: @@ -4547,7 +4547,7 @@ packages: resolution: {integrity: sha512-bb/oorXPzl16jDK9APG+5rZoLxFD1msong4GxWQr02b8kMdrED2GzcYUig3uk6bkulYECkHR+CXrBqohj/bhsQ==} dependencies: '@types/mailparser': 3.4.0 - '@types/node': 20.7.0 + '@types/node': 20.7.1 '@types/nodemailer': 6.4.11 dev: true @@ -4558,7 +4558,7 @@ packages: /@types/qrcode@1.5.2: resolution: {integrity: sha512-W4KDz75m7rJjFbyCctzCtRzZUj+PrUHV+YjqDp50sSRezTbrtEAIq2iTzC6lISARl3qw+8IlcCyljdcVJE0Wug==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: true /@types/qs@6.9.8: @@ -4576,7 +4576,7 @@ packages: /@types/redis@2.8.32: resolution: {integrity: sha512-7jkMKxcGq9p242exlbsVzuJb57KqHRhNl4dHoQu2Y5v9bCAbtIXXH0R3HleSQW4CTOqpHIYUW3t6tpUj4BVQ+w==} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: true /@types/rimraf@3.0.2: @@ -4584,7 +4584,7 @@ packages: requiresBuild: true dependencies: '@types/glob': 8.1.0 - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: false optional: true @@ -4596,14 +4596,14 @@ packages: resolution: {integrity: sha512-aAG6yRf6r0wQ29bkS+x97BIs64ZLxeE/ARwyS6wrldMm3C1MdKwCcnnEwMC1slI8wuxJOpiUH9MioC0A0i+GJw==} dependencies: '@types/mime': 1.3.2 - '@types/node': 20.7.0 + '@types/node': 20.7.1 /@types/serve-static@1.15.3: resolution: {integrity: sha512-yVRvFsEMrv7s0lGhzrggJjNOSmZCdgCjw9xWrPr/kNNLp6FaDfMC1KaYl3TSJ0c58bECwNBMoQrZJ8hA8E1eFg==} dependencies: '@types/http-errors': 2.0.2 '@types/mime': 3.0.1 - '@types/node': 20.7.0 + '@types/node': 20.7.1 /@types/stack-utils@2.0.1: resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} @@ -4613,7 +4613,7 @@ packages: resolution: {integrity: sha512-McM1mlc7PBZpCaw0fw/36uFqo0YeA6m8JqoyE4OfqXsZCIg0hPP2xdE6FM7r6fdprDZHlJwDpydUj1R++93hCA==} dependencies: '@types/cookiejar': 2.1.2 - '@types/node': 20.7.0 + '@types/node': 20.7.1 dev: true /@types/supertest@2.0.13: @@ -4627,7 +4627,7 @@ packages: dependencies: '@hapi/hapi': 21.1.0 '@types/express': 4.17.18 - '@types/node': 20.7.0 + '@types/node': 20.7.1 fastify: 3.29.5 joi: 17.10.2 prom-client: 14.2.0 @@ -6253,7 +6253,7 @@ packages: dev: true optional: true - /create-jest@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): + /create-jest@29.7.0(@types/node@20.7.1)(ts-node@10.9.1): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -6262,7 +6262,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + jest-config: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -6699,7 +6699,7 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.14 - '@types/node': 20.7.0 + '@types/node': 20.7.1 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -7711,7 +7711,7 @@ packages: '@fastify/busboy': 1.2.1 '@firebase/database-compat': 0.3.4 '@firebase/database-types': 0.10.4 - '@types/node': 20.7.0 + '@types/node': 20.7.1 jsonwebtoken: 9.0.2 jwks-rsa: 3.0.1 node-forge: 1.3.1 @@ -8188,7 +8188,7 @@ packages: graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: graphql: 16.8.1 - tslib: 2.5.0 + tslib: 2.6.2 dev: false optional: true @@ -8994,7 +8994,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -9015,7 +9015,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): + /jest-cli@29.7.0(@types/node@20.7.1)(ts-node@10.9.1): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -9029,10 +9029,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + create-jest: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + jest-config: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -9043,7 +9043,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): + /jest-config@29.7.0(@types/node@20.7.1)(ts-node@10.9.1): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -9058,7 +9058,7 @@ packages: '@babel/core': 7.23.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 babel-jest: 29.7.0(@babel/core@7.23.0) chalk: 4.1.2 ci-info: 3.8.0 @@ -9078,7 +9078,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.1(@swc/core@1.3.90)(@types/node@20.7.0)(typescript@5.2.2) + ts-node: 10.9.1(@swc/core@1.3.90)(@types/node@20.7.1)(typescript@5.2.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -9119,7 +9119,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -9135,7 +9135,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.7 - '@types/node': 20.7.0 + '@types/node': 20.7.1 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -9186,7 +9186,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 jest-util: 29.7.0 dev: true @@ -9241,7 +9241,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -9272,7 +9272,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -9324,7 +9324,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -9349,7 +9349,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.7.0 + '@types/node': 20.7.1 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -9361,7 +9361,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -9370,13 +9370,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.7.0)(ts-node@10.9.1): + /jest@29.7.0(@types/node@20.7.1)(ts-node@10.9.1): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -9389,7 +9389,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.1) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.7.0)(ts-node@10.9.1) + jest-cli: 29.7.0(@types/node@20.7.1)(ts-node@10.9.1) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -10249,8 +10249,8 @@ packages: braces: 3.0.2 picomatch: 2.3.1 - /mikro-orm@5.8.3: - resolution: {integrity: sha512-Iitd23Q3ZcT127SUmBPk8j7FHwCjLNDVlY7FSeQ+xwkRD51fLBqXMNjgbXcQtn8EHtWuA52Wzx6R401No/lqng==} + /mikro-orm@5.8.4: + resolution: {integrity: sha512-iIwDS0Fz7FqO8JUz8CVJBFCg9bhV31LpQPIiODcPK6vWeM+Uh8G5aZz5yEXJhrYFjYMVxCJZbLnbsVLMNKCG0g==} engines: {node: '>= 14.0.0'} /mime-db@1.52.0: @@ -11476,7 +11476,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.7.0 + '@types/node': 20.7.1 long: 5.2.3 dev: false optional: true @@ -11496,7 +11496,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.7.0 + '@types/node': 20.7.1 long: 5.2.3 dev: false optional: true @@ -12647,7 +12647,7 @@ packages: resolution: {integrity: sha512-0cbUNl5aDwt5rIZeE/WgyTxZN/PtwyeA5KcVJrHj260tjN4IOo2BZikN+dxhKoeBfI4aSRAd3E5vHRKmjjaSbA==} engines: {node: '>=12.*'} dependencies: - '@types/node': 20.7.0 + '@types/node': 20.7.1 qs: 6.11.2 dev: false @@ -13078,7 +13078,7 @@ packages: dev: true optional: true - /ts-node@10.9.1(@swc/core@1.3.90)(@types/node@20.7.0)(typescript@5.2.2): + /ts-node@10.9.1(@swc/core@1.3.90)(@types/node@20.7.1)(typescript@5.2.2): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -13098,7 +13098,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.7.0 + '@types/node': 20.7.1 acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.3 diff --git a/src/common/misc/pool.ts b/src/common/misc/pool.ts index d52c63df..d31acae1 100644 --- a/src/common/misc/pool.ts +++ b/src/common/misc/pool.ts @@ -1,12 +1,12 @@ import path from "node:path"; import { Logger } from "@nestjs/common"; -import { DynamicThreadPool } from "poolifier"; +import { DynamicThreadPool, availableParallelism } from "poolifier"; const logger = new Logger("ThreadPool"); -/* Creating a new thread pool with 7 threads and a maximum of 20 threads. */ -export const pool = new DynamicThreadPool(7, 20, path.resolve(__dirname, "workers.js"), { +/* Creating a new thread pool with half of available threads and a maximum of available threads. */ +export const pool = new DynamicThreadPool(Math.floor(availableParallelism() / 2), availableParallelism(), path.resolve(__dirname, "workers.js"), { errorHandler: error => logger.error(error), onlineHandler: () => logger.log("✅ Worker is online"), });