diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index 1346eb99..59cd0327 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@grammyjs/storage-utils": "workspace:*", "grammy": "^1.21.1", - "mongodb": "^6.3.0", + "mongodb": "^7.0.0", "mongodb-memory-server": "^9.1.6" }, "gitHead": "a7758c4f957f103a14832088c6858d693c444576" diff --git a/packages/typeorm/package.json b/packages/typeorm/package.json index d86e8ecf..baf21396 100644 --- a/packages/typeorm/package.json +++ b/packages/typeorm/package.json @@ -35,7 +35,7 @@ "@grammyjs/storage-utils": "workspace:*", "better-sqlite3": "^9.4.3", "grammy": "^1.21.1", - "mongodb": "^6.3.0", + "mongodb": "^7.0.0", "mongodb-memory-server": "^9.1.6", "typeorm": "^0.3.20", "vite": "^5.1.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3b96ee33..1b82b770 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -124,8 +124,8 @@ importers: specifier: ^1.21.1 version: 1.42.0(encoding@0.1.13) mongodb: - specifier: ^6.3.0 - version: 6.21.0(gcp-metadata@5.3.0(encoding@0.1.13))(socks@2.8.7) + specifier: ^7.0.0 + version: 7.2.0(socks@2.8.7) mongodb-memory-server: specifier: ^9.1.6 version: 9.5.0 @@ -215,14 +215,14 @@ importers: specifier: ^1.21.1 version: 1.42.0(encoding@0.1.13) mongodb: - specifier: ^6.3.0 - version: 6.21.0(gcp-metadata@5.3.0(encoding@0.1.13))(socks@2.8.7) + specifier: ^7.0.0 + version: 7.2.0(socks@2.8.7) mongodb-memory-server: specifier: ^9.1.6 version: 9.5.0 typeorm: specifier: ^0.3.20 - version: 0.3.28(better-sqlite3@9.6.0)(ioredis@5.10.1)(mongodb@6.21.0(gcp-metadata@5.3.0(encoding@0.1.13))(socks@2.8.7))(pg@8.20.0) + version: 0.3.28(better-sqlite3@9.6.0)(ioredis@5.10.1)(mongodb@7.2.0(socks@2.8.7))(pg@8.20.0) vite: specifier: ^5.1.4 version: 5.4.21(@types/node@24.12.2) @@ -1847,6 +1847,9 @@ packages: '@types/whatwg-url@11.0.5': resolution: {integrity: sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==} + '@types/whatwg-url@13.0.0': + resolution: {integrity: sha512-N8WXpbE6Wgri7KUSvrmQcqrMllKZ9uxkYWMt+mCSGwNc0Hsw9VQTW7ApqI4XNrx6/SaM2QQJCzMPDEXE058s+Q==} + '@types/whatwg-url@8.2.2': resolution: {integrity: sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==} @@ -2177,6 +2180,10 @@ packages: resolution: {integrity: sha512-WIsKqkSC0ABoBJuT1LEX+2HEvNmNKKgnTAyd0fL8qzK4SH2i9NXg+t08YtdZp/V9IZ33cxe3iV4yM0qg8lMQng==} engines: {node: '>=16.20.1'} + bson@7.2.0: + resolution: {integrity: sha512-YCEo7KjMlbNlyHhz7zAZNDpIpQbd+wOEHJYezv0nMYTn4x31eIUM2yomNNubclAt63dObUzKHWsBLJ9QcZNSnQ==} + engines: {node: '>=20.19.0'} + buffer-crc32@0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} @@ -3750,6 +3757,10 @@ packages: mongodb-connection-string-url@3.0.2: resolution: {integrity: sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==} + mongodb-connection-string-url@7.0.1: + resolution: {integrity: sha512-h0AZ9A7IDVwwHyMxmdMXKy+9oNlF0zFoahHiX3vQ8e3KFcSP3VmsmfvtRSuLPxmyv2vjIDxqty8smTgie/SNRQ==} + engines: {node: '>=20.19.0'} + mongodb-memory-server-core@9.5.0: resolution: {integrity: sha512-Jb/V80JeYAKWaF4bPFme7SmTR6ew1PWgkpPUepLDfRraeN49i1cruxICeA4zz4T33W/o31N+zazP8wI8ebf7yw==} engines: {node: '>=14.20.1'} @@ -3806,6 +3817,33 @@ packages: socks: optional: true + mongodb@7.2.0: + resolution: {integrity: sha512-F/2+BMZtLVhY30ioZp0dAmZ+IRZMBqI+nrv6t5+9/1AIwCa8sMRC3jBf81lpxMhnZgqq8CoUD503Z1oZWq1/sw==} + engines: {node: '>=20.19.0'} + peerDependencies: + '@aws-sdk/credential-providers': ^3.806.0 + '@mongodb-js/zstd': ^7.0.0 + gcp-metadata: ^7.0.1 + kerberos: ^7.0.0 + mongodb-client-encryption: '>=7.0.0 <7.1.0' + snappy: ^7.3.2 + socks: ^2.8.6 + peerDependenciesMeta: + '@aws-sdk/credential-providers': + optional: true + '@mongodb-js/zstd': + optional: true + gcp-metadata: + optional: true + kerberos: + optional: true + mongodb-client-encryption: + optional: true + snappy: + optional: true + socks: + optional: true + moo@0.5.3: resolution: {integrity: sha512-m2fmM2dDm7GZQsY7KK2cme8agi+AAljILjQnof7p1ZMDe6dQ4bdnSMx0cPppudoeNv5hEFQirN6u+O4fDE0IWA==} @@ -5079,6 +5117,7 @@ packages: uuid@10.0.0: resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). hasBin: true uuid@11.1.0: @@ -7090,6 +7129,11 @@ snapshots: '@types/whatwg-url@11.0.5': dependencies: '@types/webidl-conversions': 7.0.3 + optional: true + + '@types/whatwg-url@13.0.0': + dependencies: + '@types/webidl-conversions': 7.0.3 '@types/whatwg-url@8.2.2': dependencies: @@ -7419,7 +7463,10 @@ snapshots: bson@5.5.1: {} - bson@6.10.4: {} + bson@6.10.4: + optional: true + + bson@7.2.0: {} buffer-crc32@0.2.13: {} @@ -9266,6 +9313,12 @@ snapshots: dependencies: '@types/whatwg-url': 11.0.5 whatwg-url: 14.2.0 + optional: true + + mongodb-connection-string-url@7.0.1: + dependencies: + '@types/whatwg-url': 13.0.0 + whatwg-url: 14.2.0 mongodb-memory-server-core@9.5.0: dependencies: @@ -9323,6 +9376,15 @@ snapshots: optionalDependencies: gcp-metadata: 5.3.0(encoding@0.1.13) socks: 2.8.7 + optional: true + + mongodb@7.2.0(socks@2.8.7): + dependencies: + '@mongodb-js/saslprep': 1.4.8 + bson: 7.2.0 + mongodb-connection-string-url: 7.0.1 + optionalDependencies: + socks: 2.8.7 moo@0.5.3: {} @@ -10607,6 +10669,33 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros - supports-color + optional: true + + typeorm@0.3.28(better-sqlite3@9.6.0)(ioredis@5.10.1)(mongodb@7.2.0(socks@2.8.7))(pg@8.20.0): + dependencies: + '@sqltools/formatter': 1.2.5 + ansis: 4.2.0 + app-root-path: 3.1.0 + buffer: 6.0.3 + dayjs: 1.11.20 + debug: 4.4.3 + dedent: 1.7.2 + dotenv: 16.6.1 + glob: 10.5.0 + reflect-metadata: 0.2.2 + sha.js: 2.4.12 + sql-highlight: 6.1.0 + tslib: 2.8.1 + uuid: 11.1.0 + yargs: 17.7.2 + optionalDependencies: + better-sqlite3: 9.6.0 + ioredis: 5.10.1 + mongodb: 7.2.0(socks@2.8.7) + pg: 8.20.0 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color typescript@5.9.3: {}