From 9fd5637390ef60b129839a87e74fecfef954eaae Mon Sep 17 00:00:00 2001 From: RAHUL RATHORE <41804588+rahul-rocket@users.noreply.github.com> Date: Mon, 18 Mar 2024 20:53:25 +0530 Subject: [PATCH 1/2] chore(deps): bump @mikro-orm/core from ^6.1.8 to ^6.1.10 --- packages/core/package.json | 26 +++++----- yarn.lock | 97 ++++++++++++++++++++++++++------------ 2 files changed, 80 insertions(+), 43 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index 15c1cafdf63..ba668216d60 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -57,15 +57,16 @@ "@gauzy/plugin": "^0.1.0", "@godaddy/terminus": "^4.12.1", "@grpc/grpc-js": "^1.7.3", + "@honeycombio/opentelemetry-node": "0.6.1", "@jitsu/js": "^1.8.2", - "@mikro-orm/better-sqlite": "^6.1.8", - "@mikro-orm/core": "^6.1.8", - "@mikro-orm/knex": "^6.1.8", - "@mikro-orm/mongodb": "^6.1.8", - "@mikro-orm/mysql": "^6.1.8", + "@mikro-orm/better-sqlite": "^6.1.10", + "@mikro-orm/core": "^6.1.10", + "@mikro-orm/knex": "^6.1.10", + "@mikro-orm/mongodb": "^6.1.10", + "@mikro-orm/mysql": "^6.1.10", "@mikro-orm/nestjs": "^5.2.3", - "@mikro-orm/postgresql": "^6.1.8", - "@mikro-orm/sqlite": "^6.1.8", + "@mikro-orm/postgresql": "^6.1.10", + "@mikro-orm/sqlite": "^6.1.10", "@nestjs/apollo": "^12.1.0", "@nestjs/axios": "^3.0.2", "@nestjs/cache-manager": "^2.2.1", @@ -87,15 +88,18 @@ "@nestjs/websockets": "^10.3.3", "@nestjsx/crud": "^5.0.0-alpha.3", "@nestjsx/crud-typeorm": "^5.0.0-alpha.3", - "@opentelemetry/core": "^1.21.0", "@opentelemetry/api": "^1.4.1", "@opentelemetry/api-logs": "^0.48.0", "@opentelemetry/auto-instrumentations-node": "^0.41.1", "@opentelemetry/context-async-hooks": "^1.21.0", + "@opentelemetry/core": "^1.21.0", + "@opentelemetry/exporter-metrics-otlp-grpc": "^0.48.0", + "@opentelemetry/exporter-metrics-otlp-proto": "^0.48.0", "@opentelemetry/exporter-trace-otlp-grpc": "^0.48.0", "@opentelemetry/exporter-trace-otlp-http": "^0.48.0", "@opentelemetry/exporter-trace-otlp-proto": "^0.48.0", "@opentelemetry/exporter-zipkin": "^1.21.0", + "@opentelemetry/instrumentation": "^0.48.0", "@opentelemetry/propagator-b3": "^1.21.0", "@opentelemetry/propagator-jaeger": "^1.21.0", "@opentelemetry/resource-detector-container": "^0.3.6", @@ -106,11 +110,6 @@ "@opentelemetry/sdk-trace-base": "^1.21.0", "@opentelemetry/sdk-trace-node": "^1.21.0", "@opentelemetry/semantic-conventions": "^1.21.0", - "@opentelemetry/instrumentation": "^0.48.0", - "@opentelemetry/exporter-metrics-otlp-grpc": "^0.48.0", - "@opentelemetry/exporter-metrics-otlp-proto": "^0.48.0", - "opentelemetry-instrumentation-typeorm": "^0.40.0", - "@honeycombio/opentelemetry-node": "0.6.1", "@sentry/electron": "^4.18.0", "@sentry/hub": "^7.101.1", "@sentry/node": "^7.101.1", @@ -176,6 +175,7 @@ "node-fetch": "^2.6.7", "nodemailer": "^6.4.11", "nodemailer-handlebars": "^1.0.1", + "opentelemetry-instrumentation-typeorm": "^0.40.0", "passport": "^0.6.0", "passport-jwt": "^4.0.0", "pdfmake": "^0.2.0", diff --git a/yarn.lock b/yarn.lock index 95fe436af19..17b3727d744 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6755,16 +6755,29 @@ resolved "https://registry.yarnpkg.com/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz#c3ec604a0b54b9a9b87e9735dfc59e1a5da6a5fb" integrity sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug== -"@mikro-orm/better-sqlite@^6.1.8": - version "6.1.8" - resolved "https://registry.yarnpkg.com/@mikro-orm/better-sqlite/-/better-sqlite-6.1.8.tgz#3c65c47a81bc63424454c7560b0c6cccaf95e11e" - integrity sha512-Y7fnlBKRiehQWBfWn5GFkgOLTXXAAHCqc4LEkIjPChUroejmvuCys93kTFi0P2s87ZEPCYEIAcrKz/mkU2trhQ== +"@mikro-orm/better-sqlite@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/better-sqlite/-/better-sqlite-6.1.10.tgz#ea1acbb6ad679c1816bf63effbdf884ec6ba3eb1" + integrity sha512-GdmBoWIM9IInYa62EI1juSwhHVRWS/mFik90QAlyPvibC0/BJba12fY7kEk2f/S+SlUAprpzf9s7htotgbk/gQ== dependencies: - "@mikro-orm/knex" "6.1.8" + "@mikro-orm/knex" "6.1.10" better-sqlite3 "8.7.0" fs-extra "11.2.0" sqlstring-sqlite "0.1.1" +"@mikro-orm/core@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/core/-/core-6.1.10.tgz#5267bd9de22bbd27a16f639c6c66d1a10187b816" + integrity sha512-a2pdi0EJwazVf/4DUGnlcOaXn83HbopdORZUKppNkqmCjavdFocDhIwhOjdZCa0DNaudubsEqYUhDW0XkTQnZg== + dependencies: + dataloader "2.2.2" + dotenv "16.4.5" + esprima "4.0.1" + fs-extra "11.2.0" + globby "11.1.0" + mikro-orm "6.1.10" + reflect-metadata "0.2.1" + "@mikro-orm/core@^6.1.8": version "6.1.8" resolved "https://registry.yarnpkg.com/@mikro-orm/core/-/core-6.1.8.tgz#5f86c36e83b40597904981496c4bcfcad9b15193" @@ -6778,7 +6791,16 @@ mikro-orm "6.1.8" reflect-metadata "0.2.1" -"@mikro-orm/knex@6.1.8", "@mikro-orm/knex@^6.1.8": +"@mikro-orm/knex@6.1.10", "@mikro-orm/knex@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/knex/-/knex-6.1.10.tgz#313ca59fdceb6e8147a06f01b829cf91fa8e84c1" + integrity sha512-Nv5BMJm45kRYcelZxYJ3RAX5WjjFENc0V/Efj4D2S46Md/kWwrjIlKiDPMbC43aBcZ8+K6AbzT5zzbY0nxIkgw== + dependencies: + fs-extra "11.2.0" + knex "3.1.0" + sqlstring "2.3.3" + +"@mikro-orm/knex@6.1.8": version "6.1.8" resolved "https://registry.yarnpkg.com/@mikro-orm/knex/-/knex-6.1.8.tgz#41a44da4f8ae51c95452620b1c079cc430a33346" integrity sha512-x0GsFyIvWhSCoj5/s7PJ8/m5jO3AJgNf1+3RvrU92PS1i6a+8cBwK6aCpXZ1a20NA/sFef0OFM9ev5fj3O4U5A== @@ -6787,20 +6809,20 @@ knex "3.1.0" sqlstring "2.3.3" -"@mikro-orm/mongodb@^6.1.8": - version "6.1.8" - resolved "https://registry.yarnpkg.com/@mikro-orm/mongodb/-/mongodb-6.1.8.tgz#f2c03f91310e086809eb9e4cf39498f75a06b478" - integrity sha512-ceedx9Lapu5XrzEGirYdlQm349KtFuzhdZr8vT6QKwks/7NQHakPLDAmrc3CDW8+JL1euS0ggj3XN3oNFFhW8Q== +"@mikro-orm/mongodb@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/mongodb/-/mongodb-6.1.10.tgz#5a8a3bb3caddbf34c3ba81ecc139fc8460c8a02b" + integrity sha512-ndaB+mDvBFN1s9r1H3nq32iMRojKeTxB3nX++SKXOoJEf/cInRDkg9MpN3vqfDY+vevrdVefs/7XSlm065zylw== dependencies: bson "^6.4.0" - mongodb "6.4.0" + mongodb "6.5.0" -"@mikro-orm/mysql@^6.1.8": - version "6.1.8" - resolved "https://registry.yarnpkg.com/@mikro-orm/mysql/-/mysql-6.1.8.tgz#9cacefff566be2bb0200500decd761ce1f5cb0a8" - integrity sha512-l/WdaeT/Z7ImeXMvnifITRUviuqwDVJ0gbd+WTWC5JjH0AYgHs7cisbXPEiAqomsMkwt6+kFZr7Kb6UvZiu5Zw== +"@mikro-orm/mysql@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/mysql/-/mysql-6.1.10.tgz#7261c392087513d12e45356163a99f36d55698eb" + integrity sha512-jh9HOFEaER5yjD5FoLu+7qDf7Io+Wxu6CLZrppN9Rj5oaMz7O6u9ezWjZULoA930y9dsRtF09dVLkaaGTeaHjQ== dependencies: - "@mikro-orm/knex" "6.1.8" + "@mikro-orm/knex" "6.1.10" mysql2 "3.9.2" "@mikro-orm/nestjs@^5.2.3": @@ -6808,17 +6830,27 @@ resolved "https://registry.yarnpkg.com/@mikro-orm/nestjs/-/nestjs-5.2.3.tgz#204ef21781fce6b6e2423019bad515186228064d" integrity sha512-JMxaXrNXlo6j59D3LWMC1tEC1a5JanCtqdfv91JUH0sfVZh97SsjQ9K794BY3JWIUKSFyQwpnLxYZ0Ash/BlPA== -"@mikro-orm/postgresql@^6.1.8": - version "6.1.8" - resolved "https://registry.yarnpkg.com/@mikro-orm/postgresql/-/postgresql-6.1.8.tgz#6c2f40b1e036223132334b9a32682790d69c7a5a" - integrity sha512-nGIP/+bdCGO/Zwue0ohlY7LNtXYcbUpihjHHRx+Rlsg28xggpBlgb2FsjCOythv0WTXBj+B5eUD/qr2YqfYTXg== +"@mikro-orm/postgresql@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/postgresql/-/postgresql-6.1.10.tgz#49ed0eda60a540323ce62c85aa89e4ee54966f4c" + integrity sha512-ShBT7ykZhxaWGTY+u25baNSaLNMHni9RxaD6fy7gSj1kE89bHGJGUMjlJo7PpnBzuRxPZ0OYxHpXYjh0GFLMWA== dependencies: - "@mikro-orm/knex" "6.1.8" + "@mikro-orm/knex" "6.1.10" pg "8.11.3" postgres-array "3.0.2" postgres-date "2.1.0" postgres-interval "4.0.2" +"@mikro-orm/sqlite@^6.1.10": + version "6.1.10" + resolved "https://registry.yarnpkg.com/@mikro-orm/sqlite/-/sqlite-6.1.10.tgz#2ad054e2b99f0e52940f2138b1897591ad4c3173" + integrity sha512-czHRiWBBf/kW+MGi6O1syYzm82ppPdWXVBywB7cg/+rWyW8GhTAg1af82ySQqathn244NHZ4IvW/Dk+nEgVngw== + dependencies: + "@mikro-orm/knex" "6.1.10" + fs-extra "11.2.0" + sqlite3 "5.1.7" + sqlstring-sqlite "0.1.1" + "@mikro-orm/sqlite@^6.1.8": version "6.1.8" resolved "https://registry.yarnpkg.com/@mikro-orm/sqlite/-/sqlite-6.1.8.tgz#5d973e744698eacd0ba5190da9369bd13d72d6a4" @@ -6829,7 +6861,7 @@ sqlite3 "5.1.7" sqlstring-sqlite "0.1.1" -"@mongodb-js/saslprep@^1.1.0": +"@mongodb-js/saslprep@^1.1.0", "@mongodb-js/saslprep@^1.1.5": version "1.1.5" resolved "https://registry.yarnpkg.com/@mongodb-js/saslprep/-/saslprep-1.1.5.tgz#0c48a96c8d799e81fae311b7251aa5c1dc7c6e95" integrity sha512-XLNOMH66KhJzUJNwT/qlMnS4WsNDWD5ASdyaSH3EtK+F4r/CFGa3jT4GNi4mfOitGvWXtdLgQJkQjxSVrio+jA== @@ -14521,9 +14553,9 @@ bson@^5.5.0: integrity sha512-ix0EwukN2EpC0SRWIj/7B5+A6uQMQy6KMREI9qQqvgpkV2frH63T0UDVd1SYedL6dNCmDBYB3QtXi4ISk9YT+g== bson@^6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/bson/-/bson-6.4.0.tgz#99c2e37b515e6766ce8b5929e01fa79de5767d50" - integrity sha512-6/gSSEdbkuFlSb+ufj5jUSU4+wo8xQOwm2bDSqwmxiPE17JTpsP63eAwoN8iF8Oy4gJYj+PAL3zdRCTdaw5Y1g== + version "6.5.0" + resolved "https://registry.yarnpkg.com/bson/-/bson-6.5.0.tgz#fc4828d065e64e48ea442b1a23099b2e52f7ff0b" + integrity sha512-DXf1BTAS8vKyR90BO4x5v3rKVarmkdkzwOrnYDFdjAY694ILNDkmA3uRh1xXJEl+C1DAh8XCvAQ+Gh3kzubtpg== btoa-lite@^1.0.0: version "1.0.0" @@ -27315,6 +27347,11 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: braces "^3.0.2" picomatch "^2.3.1" +mikro-orm@6.1.10: + version "6.1.10" + resolved "https://registry.yarnpkg.com/mikro-orm/-/mikro-orm-6.1.10.tgz#db13ac7fb61d00b2db73a5e7e718991ed69a2cff" + integrity sha512-3/A1FTEv7afRXQb8uFY6nBFelQtH5FjQHd/XCpCEqL07zgXSzq3ZKG80W3+RB5mVodzJoBjsimi29PPS8truWQ== + mikro-orm@6.1.8: version "6.1.8" resolved "https://registry.yarnpkg.com/mikro-orm/-/mikro-orm-6.1.8.tgz#d8980b4e12028456bea535a2b438be7264e7f6d9" @@ -28111,12 +28148,12 @@ mongodb@5.9.1: optionalDependencies: "@mongodb-js/saslprep" "^1.1.0" -mongodb@6.4.0: - version "6.4.0" - resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-6.4.0.tgz#37d634ad8333caa327987be2887e583696bb9720" - integrity sha512-MdFHsyb1a/Ee0H3NmzWTSLqchacDV/APF0H6BNQvraWrOiIocys2EmTFZPgHxWhcfO94c1F34I9MACU7x0hHKA== +mongodb@6.5.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-6.5.0.tgz#3735b4fba085b26ca06f7744e9639bc538e93d87" + integrity sha512-Fozq68InT+JKABGLqctgtb8P56pRrJFkbhW0ux+x1mdHeyinor8oNzJqwLjV/t5X5nJGfTlluxfyMnOXNggIUA== dependencies: - "@mongodb-js/saslprep" "^1.1.0" + "@mongodb-js/saslprep" "^1.1.5" bson "^6.4.0" mongodb-connection-string-url "^3.0.0" From 45e1b32c659465326aaf07d1c6d1d0ed9a6e798d Mon Sep 17 00:00:00 2001 From: RAHUL RATHORE <41804588+rahul-rocket@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:27:41 +0530 Subject: [PATCH 2/2] chore(deps): bump better-sqlite3 from ^9.2.2 to ^9.4.3 --- packages/core/package.json | 2 +- packages/desktop-libs/package.json | 2 +- yarn.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index ba668216d60..987d58d0e80 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -124,7 +124,7 @@ "atlassian-connect-express": "^8.5.0", "axios": "^1.6.5", "bcrypt": "^5.1.0", - "better-sqlite3": "^9.2.2", + "better-sqlite3": "^9.4.3", "cache-manager": "^5.3.2", "cache-manager-redis-yet": "^4.1.2", "camelcase": "^6.2.1", diff --git a/packages/desktop-libs/package.json b/packages/desktop-libs/package.json index 7cf6e8dce96..40d155ad4dd 100644 --- a/packages/desktop-libs/package.json +++ b/packages/desktop-libs/package.json @@ -30,7 +30,7 @@ "@electron/remote": "^2.0.8", "@gauzy/desktop-window": "^0.1.0", "active-win": "^8.1.0", - "better-sqlite3": "^9.2.2", + "better-sqlite3": "^9.4.3", "electron-store": "^8.1.0", "electron-util": "^0.17.2", "embedded-queue": "^0.0.11", diff --git a/yarn.lock b/yarn.lock index 17b3727d744..c6ed5fbe720 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13979,7 +13979,7 @@ better-sqlite3@8.7.0: bindings "^1.5.0" prebuild-install "^7.1.1" -better-sqlite3@^9.2.2: +better-sqlite3@^9.4.3: version "9.4.3" resolved "https://registry.yarnpkg.com/better-sqlite3/-/better-sqlite3-9.4.3.tgz#7df39ba3273fbb7c0561cf913572547142868cc4" integrity sha512-ud0bTmD9O3uWJGuXDltyj3R47Nz0OHX8iqPOT5PMspGqlu/qQFn+5S2eFBUCrySpavTjFXbi4EgrfVvPAHlImw==