diff --git a/packages/orm/typeorm/package.json b/packages/orm/typeorm/package.json index ee6e8e59c5d..b705f806ec4 100644 --- a/packages/orm/typeorm/package.json +++ b/packages/orm/typeorm/package.json @@ -30,7 +30,7 @@ "barrelsby": "^2.8.1", "eslint": "^8.57.0", "jest": "^29.7.0", - "typeorm": "^0.2.45" + "typeorm": "^0.3.0" }, "peerDependencies": { "@tsed/core": "7.67.5", diff --git a/yarn.lock b/yarn.lock index 1a5c127b935..5f6f97a2ac9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5943,10 +5943,10 @@ __metadata: languageName: node linkType: hard -"@sqltools/formatter@npm:^1.2.2": - version: 1.2.3 - resolution: "@sqltools/formatter@npm:1.2.3" - checksum: 10/356d5181059cf734225b8203624461d3f45d1d53c2751b7ebe832e5656a483db835c6928ad8b111565535ce3d806a2ee1b96e757939a279290d97b2ba4651b31 +"@sqltools/formatter@npm:^1.2.5": + version: 1.2.5 + resolution: "@sqltools/formatter@npm:1.2.5" + checksum: 10/ce9335025cd033f8f1ac997d290af22d5a5cdbd5f04cbf0fa18d5388871e980a4fc67875037821799b356032f851732dee1017b2ee7de84f5c2a2b8bfd5604f5 languageName: node linkType: hard @@ -8235,7 +8235,7 @@ __metadata: eslint: "npm:^8.57.0" jest: "npm:^29.7.0" tslib: "npm:2.6.1" - typeorm: "npm:^0.2.45" + typeorm: "npm:^0.3.0" peerDependencies: "@tsed/core": 7.67.5 "@tsed/di": 7.67.5 @@ -9540,13 +9540,6 @@ __metadata: languageName: node linkType: hard -"@types/zen-observable@npm:0.8.3": - version: 0.8.3 - resolution: "@types/zen-observable@npm:0.8.3" - checksum: 10/08c88354abcf03a2176a2ec32e07da1f25fdad94fbc2f419bea53d77deb04ad4759518b4fe3fc695e61065dd4bdf7c8bd26b5211a6cd5be2233872806bdee48d - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0" @@ -10783,10 +10776,10 @@ __metadata: languageName: node linkType: hard -"app-root-path@npm:^3.0.0": - version: 3.0.0 - resolution: "app-root-path@npm:3.0.0" - checksum: 10/7bec64f1f9a90f47920cddce0d013a015c5f7c612700e7ad56c1d8f797f72bf7ef5664491b3d0421843cc89a4e14c2c03ab7a7c5127250e6c6bcaa8d2cf192fe +"app-root-path@npm:^3.1.0": + version: 3.1.0 + resolution: "app-root-path@npm:3.1.0" + checksum: 10/b4cdab5f7e51ec43fa04c97eca2adedf8e18d6c3dd21cd775b70457c5e71f0441c692a49dcceb426f192640b7393dcd41d85c36ef98ecb7c785a53159c912def languageName: node linkType: hard @@ -13789,6 +13782,13 @@ __metadata: languageName: node linkType: hard +"dayjs@npm:^1.11.9": + version: 1.11.10 + resolution: "dayjs@npm:1.11.10" + checksum: 10/27e8f5bc01c0a76f36c656e62ab7f08c2e7b040b09e613cd4844abf03fb258e0350f0a83b02c887b84d771c1f11e092deda0beef8c6df2a1afbc3f6c1fade279 + languageName: node + linkType: hard + "db-errors@npm:^0.2.3": version: 0.2.3 resolution: "db-errors@npm:0.2.3" @@ -14459,10 +14459,10 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:^8.2.0": - version: 8.6.0 - resolution: "dotenv@npm:8.6.0" - checksum: 10/31d7b5c010cebb80046ba6853d703f9573369b00b15129536494f04b0af4ea0060ce8646e3af58b455af2f6f1237879dd261a5831656410ec92561ae1ea44508 +"dotenv@npm:^16.0.3": + version: 16.4.5 + resolution: "dotenv@npm:16.4.5" + checksum: 10/55a3134601115194ae0f924e54473459ed0d9fc340ae610b676e248cca45aa7c680d86365318ea964e6da4e2ea80c4514c1adab5adb43d6867fb57ff068f95c8 languageName: node linkType: hard @@ -19879,7 +19879,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: @@ -22456,6 +22456,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 + "mocha@npm:10.3.0": version: 10.3.0 resolution: "mocha@npm:10.3.0" @@ -25847,7 +25856,7 @@ __metadata: languageName: node linkType: hard -"reflect-metadata@npm:0.1.13, reflect-metadata@npm:^0.1.13": +"reflect-metadata@npm:0.1.13": version: 0.1.13 resolution: "reflect-metadata@npm:0.1.13" checksum: 10/732570da35d2d96f8fdd5aac60fb263aa92f6512eaded5962b052bd9e90f22a9dec5aaf0d7ff4bfe97646c9530e8444e8435c2d80b24d0bdf938b5d47f6f5b83 @@ -26493,13 +26502,6 @@ __metadata: languageName: node linkType: hard -"sax@npm:>=0.6.0": - version: 1.2.4 - resolution: "sax@npm:1.2.4" - checksum: 10/09b79ff6dc09689a24323352117c94593c69db348997b2af0edbd82fa08aba47d778055bf9616b57285bb73d25d790900c044bf631a8f10c8252412e3f3fe5dd - languageName: node - linkType: hard - "scheduler@npm:^0.23.0": version: 0.23.0 resolution: "scheduler@npm:0.23.0" @@ -29057,44 +29059,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.0": + 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 +29127,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 @@ -30506,23 +30514,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" @@ -30675,7 +30666,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.0.0, yargs@npm:^17.0.1, yargs@npm:^17.3.1, yargs@npm:^17.4.1": +"yargs@npm:^17.0.0, yargs@npm:^17.3.1, yargs@npm:^17.4.1": version: 17.5.1 resolution: "yargs@npm:17.5.1" dependencies: @@ -30774,17 +30765,7 @@ __metadata: languageName: node linkType: hard -"zen-observable-ts@npm:^1.0.0": - version: 1.1.0 - resolution: "zen-observable-ts@npm:1.1.0" - dependencies: - "@types/zen-observable": "npm:0.8.3" - zen-observable: "npm:0.8.15" - checksum: 10/5292441e0394cc845acf12b22eb529884b4aefc267f1fb16cdb38b78116b137f1c5e89f2aeac9b9a82a83814a47b2d5d02ca661ae79f992745407a90f2cc63b4 - 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