diff --git a/package.json b/package.json index 3b2ef4528..a4ea8c4cb 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@nestjs/platform-express": "8.4.6", "@nestjs/schedule": "2.0.1", "@nestjs/swagger": "5.2.1", - "@nestjs/typeorm": "8.0.4", + "@nestjs/typeorm": "8.1.2", "@types/bcrypt": "5.0.0", "@types/cron": "1.7.3", "@types/minio": "7.0.13", @@ -63,7 +63,7 @@ "rxjs": "7.5.5", "sqlite3": "5.0.8", "swagger-ui-express": "4.4.0", - "typeorm": "0.3.4" + "typeorm": "0.3.6" }, "devDependencies": { "@nestjs/cli": "8.2.6", diff --git a/yarn.lock b/yarn.lock index 4282afe2e..0383e3284 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1251,9 +1251,9 @@ __metadata: languageName: node linkType: hard -"@nestjs/typeorm@npm:8.0.4": - version: 8.0.4 - resolution: "@nestjs/typeorm@npm:8.0.4" +"@nestjs/typeorm@npm:8.1.2": + version: 8.1.2 + resolution: "@nestjs/typeorm@npm:8.1.2" dependencies: uuid: 8.3.2 peerDependencies: @@ -1261,8 +1261,8 @@ __metadata: "@nestjs/core": ^8.0.0 reflect-metadata: ^0.1.13 rxjs: ^7.2.0 - typeorm: ^0.2.34 - checksum: 26b66e4768c02e3dcf5bf487eedcf592ac09e0c80cba3ecba9a0429bb9268ff2b8421a6c165909d27b73e1e170c470d792d9ffc390a4f7480ef749b6f1a01a24 + typeorm: ^0.3.0 + checksum: 9cb93ce1ccb3948084d64e36e11759517c6abb41a5d111accfaf210ff78ce3c53162f7715900b468d6697d122b44266320f9fa59dd777a5c66ff43fb7a41d765 languageName: node linkType: hard @@ -3738,6 +3738,13 @@ __metadata: languageName: node linkType: hard +"date-fns@npm:^2.28.0": + version: 2.28.0 + resolution: "date-fns@npm:2.28.0" + checksum: a0516b2e4f99b8bffc6cc5193349f185f195398385bdcaf07f17c2c4a24473c99d933eb0018be4142a86a6d46cb0b06be6440ad874f15e795acbedd6fd727a1f + languageName: node + linkType: hard + "debug@npm:2.6.9, debug@npm:^2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" @@ -3747,7 +3754,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": +"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -3965,20 +3972,13 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:16.0.1": +"dotenv@npm:16.0.1, dotenv@npm:^16.0.0": version: 16.0.1 resolution: "dotenv@npm:16.0.1" checksum: f459ffce07b977b7f15d8cc4ee69cdff77d4dd8c5dc8c85d2d485ee84655352c2415f9dd09d42b5b5985ced3be186130871b34e2f3e2569ebc72fbc2e8096792 languageName: node linkType: hard -"dotenv@npm:^8.2.0": - version: 8.6.0 - resolution: "dotenv@npm:8.6.0" - checksum: 38e902c80b0666ab59e9310a3d24ed237029a7ce34d976796349765ac96b8d769f6df19090f1f471b77a25ca391971efde8a1ea63bb83111bd8bec8e5cc9b2cd - languageName: node - linkType: hard - "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -5106,7 +5106,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.0, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6": +"glob@npm:^7.0.0, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -5268,7 +5268,7 @@ __metadata: "@nestjs/schematics": 8.0.11 "@nestjs/swagger": 5.2.1 "@nestjs/testing": 8.4.6 - "@nestjs/typeorm": 8.0.4 + "@nestjs/typeorm": 8.1.2 "@trivago/prettier-plugin-sort-imports": 3.2.0 "@tsconfig/node12": 1.0.10 "@types/bcrypt": 5.0.0 @@ -5328,7 +5328,7 @@ __metadata: ts-jest: 28.0.4 ts-node: 10.8.1 tsconfig-paths: 4.0.0 - typeorm: 0.2.45 + typeorm: 0.3.6 typescript: 4.7.3 languageName: unknown linkType: soft @@ -6490,7 +6490,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": +"js-yaml@npm:^4.1.0": version: 4.1.0 resolution: "js-yaml@npm:4.1.0" dependencies: @@ -9330,7 +9330,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:2.4.0, tslib@npm:^2.1.0, tslib@npm:^2.2.0": +"tslib@npm:2.4.0, tslib@npm:^2.1.0, tslib@npm:^2.2.0, tslib@npm:^2.3.1": version: 2.4.0 resolution: "tslib@npm:2.4.0" checksum: 8c4aa6a3c5a754bf76aefc38026134180c053b7bd2f81338cb5e5ebf96fefa0f417bff221592bf801077f5bf990562f6264fecbc42cd3309b33872cb6fc3b113 @@ -9423,28 +9423,29 @@ __metadata: languageName: node linkType: hard -"typeorm@npm:0.2.45": - version: 0.2.45 - resolution: "typeorm@npm:0.2.45" +"typeorm@npm:0.3.6": + version: 0.3.6 + resolution: "typeorm@npm:0.3.6" dependencies: "@sqltools/formatter": ^1.2.2 app-root-path: ^3.0.0 buffer: ^6.0.3 chalk: ^4.1.0 cli-highlight: ^2.1.11 - debug: ^4.3.1 - dotenv: ^8.2.0 - glob: ^7.1.6 - js-yaml: ^4.0.0 + date-fns: ^2.28.0 + debug: ^4.3.3 + dotenv: ^16.0.0 + glob: ^7.2.0 + js-yaml: ^4.1.0 mkdirp: ^1.0.4 reflect-metadata: ^0.1.13 sha.js: ^2.4.11 - tslib: ^2.1.0 + tslib: ^2.3.1 uuid: ^8.3.2 xml2js: ^0.4.23 - yargs: ^17.0.1 - zen-observable-ts: ^1.0.0 + yargs: ^17.3.1 peerDependencies: + "@google-cloud/spanner": ^5.18.0 "@sap/hana-client": ^2.11.14 better-sqlite3: ^7.1.2 hdb-pool: ^0.1.6 @@ -9456,11 +9457,14 @@ __metadata: pg: ^8.5.1 pg-native: ^3.0.0 pg-query-stream: ^4.0.0 - redis: ^3.1.1 + redis: ^3.1.1 || ^4.0.0 sql.js: ^1.4.0 sqlite3: ^5.0.2 + ts-node: ^10.7.0 typeorm-aurora-data-api-driver: ^2.0.0 peerDependenciesMeta: + "@google-cloud/spanner": + optional: true "@sap/hana-client": optional: true better-sqlite3: @@ -9489,11 +9493,15 @@ __metadata: optional: true sqlite3: optional: true + ts-node: + optional: true typeorm-aurora-data-api-driver: optional: true bin: typeorm: cli.js - checksum: b7684a52c8ba3b796fb9f7d9ea6223edd9256dbeec67c4befe39515ce684dd684d82a2d53158b738555f5c964efaf09144bdd3ced046638e89aa46483d9a696b + typeorm-ts-node-commonjs: cli-ts-node-commonjs.js + typeorm-ts-node-esm: cli-ts-node-esm.js + checksum: 7353b87a8161146c9bab765824857683f4755614c866326b1b260fdddc63470c7679e45c544f4761b7352d26b9f86bc933e1b44b0b1de4512cdc0ca5677db39a languageName: node linkType: hard @@ -9994,7 +10002,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.1, yargs@npm:^17.3.1": +"yargs@npm:^17.3.1": version: 17.5.1 resolution: "yargs@npm:17.5.1" dependencies: @@ -10015,19 +10023,3 @@ __metadata: checksum: 2c487b0e149e746ef48cda9f8bad10fc83693cd69d7f9dcd8be4214e985de33a29c9e24f3c0d6bcf2288427040a8947406ab27f7af67ee9456e6b84854f02dd6 languageName: node linkType: hard - -"zen-observable-ts@npm:^1.0.0": - version: 1.2.5 - resolution: "zen-observable-ts@npm:1.2.5" - dependencies: - zen-observable: 0.8.15 - checksum: 3b707b7a0239a9bc40f73ba71b27733a689a957c1f364fabb9fa9cbd7d04b7c2faf0d517bf17004e3ed3f4330ac613e84c0d32313e450ddaa046f3350af44541 - languageName: node - linkType: hard - -"zen-observable@npm:0.8.15": - version: 0.8.15 - resolution: "zen-observable@npm:0.8.15" - checksum: b7289084bc1fc74a559b7259faa23d3214b14b538a8843d2b001a35e27147833f4107590b1b44bf5bc7f6dfe6f488660d3a3725f268e09b3925b3476153b7821 - languageName: node - linkType: hard