diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index f6839107ed7..d5d1db174ce 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -33,7 +33,7 @@ "@tsed/schema": "workspace:*", "@tsed/typescript": "workspace:*", "eslint": "^8.57.0", - "typeorm": "^0.2.45", + "typeorm": "^0.3.20", "typescript": "4.9.5", "vitest": "2.0.4" }, diff --git a/yarn.lock b/yarn.lock index 66202592209..c336a60ed44 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5804,7 +5804,7 @@ __metadata: languageName: node linkType: hard -"@sqltools/formatter@npm:^1.2.2": +"@sqltools/formatter@npm:^1.2.5": version: 1.2.5 resolution: "@sqltools/formatter@npm:1.2.5" checksum: 10/ce9335025cd033f8f1ac997d290af22d5a5cdbd5f04cbf0fa18d5388871e980a4fc67875037821799b356032f851732dee1017b2ee7de84f5c2a2b8bfd5604f5 @@ -8243,7 +8243,7 @@ __metadata: "@tsed/typescript": "workspace:*" eslint: "npm:^8.57.0" tslib: "npm:2.6.1" - typeorm: "npm:^0.2.45" + typeorm: "npm:^0.3.20" typescript: "npm:4.9.5" vitest: "npm:2.0.4" peerDependencies: @@ -10933,7 +10933,7 @@ __metadata: languageName: node linkType: hard -"app-root-path@npm:^3.0.0": +"app-root-path@npm:^3.1.0": version: 3.1.0 resolution: "app-root-path@npm:3.1.0" checksum: 10/b4cdab5f7e51ec43fa04c97eca2adedf8e18d6c3dd21cd775b70457c5e71f0441c692a49dcceb426f192640b7393dcd41d85c36ef98ecb7c785a53159c912def @@ -13993,6 +13993,13 @@ __metadata: languageName: node linkType: hard +"dayjs@npm:^1.11.9": + version: 1.11.13 + resolution: "dayjs@npm:1.11.13" + checksum: 10/7374d63ab179b8d909a95e74790def25c8986e329ae989840bacb8b1888be116d20e1c4eee75a69ea0dfbae13172efc50ef85619d304ee7ca3c01d5878b704f5 + languageName: node + linkType: hard + "db-errors@npm:^0.2.3": version: 0.2.3 resolution: "db-errors@npm:0.2.3" @@ -14644,7 +14651,7 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:16.4.5": +"dotenv@npm:16.4.5, dotenv@npm:^16.0.3": version: 16.4.5 resolution: "dotenv@npm:16.4.5" checksum: 10/55a3134601115194ae0f924e54473459ed0d9fc340ae610b676e248cca45aa7c680d86365318ea964e6da4e2ea80c4514c1adab5adb43d6867fb57ff068f95c8 @@ -14658,13 +14665,6 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:^8.2.0": - version: 8.6.0 - resolution: "dotenv@npm:8.6.0" - checksum: 10/31d7b5c010cebb80046ba6853d703f9573369b00b15129536494f04b0af4ea0060ce8646e3af58b455af2f6f1237879dd261a5831656410ec92561ae1ea44508 - languageName: node - linkType: hard - "dotenv@npm:~16.3.1": version: 16.3.1 resolution: "dotenv@npm:16.3.1" @@ -19565,7 +19565,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.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: @@ -22220,6 +22220,15 @@ __metadata: languageName: node linkType: hard +"mkdirp@npm:^2.1.3": + version: 2.1.6 + resolution: "mkdirp@npm:2.1.6" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 10/4672fadb94dca8d2eafeb6fff53f2c5ea74e885565ef23251791709064f216105167c2387088c61ef068901bd0776648999785e341d74728164fa551b1c65996 + languageName: node + linkType: hard + "mlly@npm:^1.4.2, mlly@npm:^1.7.1": version: 1.7.1 resolution: "mlly@npm:1.7.1" @@ -25718,13 +25727,6 @@ __metadata: languageName: node linkType: hard -"reflect-metadata@npm:^0.1.13": - version: 0.1.14 - resolution: "reflect-metadata@npm:0.1.14" - checksum: 10/fcab9c17ec3b9fea0e2f748c2129aceb57c24af6d8d13842b8a77c8c79dde727d7456ce293e76e8d7b267d1dbf93eea4c5b3c9101299a789a075824f2e40f1ee - languageName: node - linkType: hard - "reflect-metadata@npm:^0.2.1": version: 0.2.1 resolution: "reflect-metadata@npm:0.2.1" @@ -26392,13 +26394,6 @@ __metadata: languageName: node linkType: hard -"sax@npm:>=0.6.0": - version: 1.4.1 - resolution: "sax@npm:1.4.1" - checksum: 10/b1c784b545019187b53a0c28edb4f6314951c971e2963a69739c6ce222bfbc767e54d320e689352daba79b7d5e06d22b5d7113b99336219d6e93718e2f99d335 - languageName: node - linkType: hard - "scheduler@npm:^0.23.0": version: 0.23.0 resolution: "scheduler@npm:0.23.0" @@ -29057,44 +29052,46 @@ __metadata: languageName: node linkType: hard -"typeorm@npm:^0.2.45": - version: 0.2.45 - resolution: "typeorm@npm:0.2.45" +"typeorm@npm:^0.3.20": + version: 0.3.20 + resolution: "typeorm@npm:0.3.20" dependencies: - "@sqltools/formatter": "npm:^1.2.2" - app-root-path: "npm:^3.0.0" + "@sqltools/formatter": "npm:^1.2.5" + app-root-path: "npm:^3.1.0" buffer: "npm:^6.0.3" - chalk: "npm:^4.1.0" + chalk: "npm:^4.1.2" cli-highlight: "npm:^2.1.11" - debug: "npm:^4.3.1" - dotenv: "npm:^8.2.0" - glob: "npm:^7.1.6" - js-yaml: "npm:^4.0.0" - mkdirp: "npm:^1.0.4" - reflect-metadata: "npm:^0.1.13" + dayjs: "npm:^1.11.9" + debug: "npm:^4.3.4" + dotenv: "npm:^16.0.3" + glob: "npm:^10.3.10" + mkdirp: "npm:^2.1.3" + reflect-metadata: "npm:^0.2.1" sha.js: "npm:^2.4.11" - tslib: "npm:^2.1.0" - uuid: "npm:^8.3.2" - xml2js: "npm:^0.4.23" - yargs: "npm:^17.0.1" - zen-observable-ts: "npm:^1.0.0" + tslib: "npm:^2.5.0" + uuid: "npm:^9.0.0" + yargs: "npm:^17.6.2" peerDependencies: - "@sap/hana-client": ^2.11.14 - better-sqlite3: ^7.1.2 + "@google-cloud/spanner": ^5.18.0 + "@sap/hana-client": ^2.12.25 + better-sqlite3: ^7.1.2 || ^8.0.0 || ^9.0.0 hdb-pool: ^0.1.6 - ioredis: ^4.28.3 - mongodb: ^3.6.0 - mssql: ^6.3.1 - mysql2: ^2.2.5 - oracledb: ^5.1.0 + ioredis: ^5.0.4 + mongodb: ^5.8.0 + mssql: ^9.1.1 || ^10.0.1 + mysql2: ^2.2.5 || ^3.0.1 + oracledb: ^6.3.0 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 + sqlite3: ^5.0.3 + 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: @@ -29123,11 +29120,15 @@ __metadata: optional: true sqlite3: optional: true + ts-node: + optional: true typeorm-aurora-data-api-driver: optional: true bin: typeorm: cli.js - checksum: 10/48d291ec6dba9f214b6622055a76e8cb1186cfaf3048b9e6149def42112e4529e4a63375cc44119ec6649169131aa07151190322beb7eb322d0898675eeab8c6 + typeorm-ts-node-commonjs: cli-ts-node-commonjs.js + typeorm-ts-node-esm: cli-ts-node-esm.js + checksum: 10/956f64c6df4d0653d4bea7293bc1ddabf5d33df858c1f0f9d7e0f9fd861559c228e5ece7826eb89eb51b9d45757afc37c6b9eccca73e664c0d988c21e4758a69 languageName: node linkType: hard @@ -30745,23 +30746,6 @@ __metadata: languageName: node linkType: hard -"xml2js@npm:^0.4.23": - version: 0.4.23 - resolution: "xml2js@npm:0.4.23" - dependencies: - sax: "npm:>=0.6.0" - xmlbuilder: "npm:~11.0.0" - checksum: 10/52896ef39429f860f32471dd7bb2b89ef25b7e15528e3a4366de0bd5e55a251601565e7814763e70f9e75310c3afe649a42b8826442b74b41eff8a0ae333fccc - languageName: node - linkType: hard - -"xmlbuilder@npm:~11.0.0": - version: 11.0.1 - resolution: "xmlbuilder@npm:11.0.1" - checksum: 10/c8c3d208783718db5b285101a736cd8e6b69a5c265199a0739abaa93d1a1b7de5489fd16df4e776e18b2c98cb91f421a7349e99fd8c1ebeb44ecfed72a25091a - languageName: node - linkType: hard - "xmlhttprequest-ssl@npm:~2.0.0": version: 2.0.0 resolution: "xmlhttprequest-ssl@npm:2.0.0" @@ -30935,7 +30919,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.1, yargs@npm:^17.5.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2": +"yargs@npm:^17.5.1, yargs@npm:^17.6.2, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: @@ -31019,16 +31003,7 @@ __metadata: 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: "npm:0.8.15" - checksum: 10/2384cf92a60e39e7b9735a0696f119684fee0f8bcc81d71474c92d656eca1bc3e87b484a04e97546e56bd539f8756bf97cf21a28a933ff7a94b35a8d217848eb - languageName: node - linkType: hard - -"zen-observable@npm:0.8.15, zen-observable@npm:^0.8.0": +"zen-observable@npm:^0.8.0": version: 0.8.15 resolution: "zen-observable@npm:0.8.15" checksum: 10/30eac3f4055d33f446b4cd075d3543da347c2c8e68fbc35c3f5a19fb43be67c6ed27ee136bc8f8933efa547be7ce04957809ad00ee7f1b00a964f199ae6fb514