From 47db5c1236eaa63d2731e50b8ebdc2f2dc28dbb7 Mon Sep 17 00:00:00 2001 From: Andrew Rumble Date: Wed, 22 Jan 2025 14:19:24 +0000 Subject: [PATCH] Merge pull request #23039 from overleaf/ar-bump-mongo-6.12 [many] Bump mongodb to 6.12.0 universally GitOrigin-RevId: 6df934518e95217b6157ca5a41cf8acf4beb7689 --- libraries/mongo-utils/package.json | 2 +- libraries/object-persistor/package.json | 2 +- package-lock.json | 112 ++++++------------------ services/chat/package.json | 2 +- services/contacts/package.json | 2 +- services/filestore/package.json | 2 +- services/history-v1/package.json | 2 +- 7 files changed, 33 insertions(+), 91 deletions(-) diff --git a/libraries/mongo-utils/package.json b/libraries/mongo-utils/package.json index 716f0b0aa2..781605be05 100644 --- a/libraries/mongo-utils/package.json +++ b/libraries/mongo-utils/package.json @@ -16,7 +16,7 @@ "author": "Overleaf (https://www.overleaf.com)", "license": "AGPL-3.0-only", "dependencies": { - "mongodb": "6.10.0", + "mongodb": "6.12.0", "mongodb-legacy": "6.1.3" }, "devDependencies": { diff --git a/libraries/object-persistor/package.json b/libraries/object-persistor/package.json index ea6f314f50..e1c350a90f 100644 --- a/libraries/object-persistor/package.json +++ b/libraries/object-persistor/package.json @@ -36,7 +36,7 @@ "chai-as-promised": "^7.1.1", "mocha": "^10.2.0", "mock-fs": "^5.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", "sinon-chai": "^3.7.0", diff --git a/package-lock.json b/package-lock.json index 6bc3fa5edf..d23d70102b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -243,7 +243,7 @@ "version": "0.0.1", "license": "AGPL-3.0-only", "dependencies": { - "mongodb": "6.10.0", + "mongodb": "6.12.0", "mongodb-legacy": "6.1.3" }, "devDependencies": { @@ -288,7 +288,7 @@ "chai-as-promised": "^7.1.1", "mocha": "^10.2.0", "mock-fs": "^5.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", "sinon-chai": "^3.7.0", @@ -29481,13 +29481,13 @@ } }, "node_modules/mongodb": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.10.0.tgz", - "integrity": "sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz", + "integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==", "license": "Apache-2.0", "dependencies": { - "@mongodb-js/saslprep": "^1.1.5", - "bson": "^6.7.0", + "@mongodb-js/saslprep": "^1.1.9", + "bson": "^6.10.1", "mongodb-connection-string-url": "^3.0.0" }, "engines": { @@ -29495,7 +29495,7 @@ }, "peerDependencies": { "@aws-sdk/credential-providers": "^3.188.0", - "@mongodb-js/zstd": "^1.1.0", + "@mongodb-js/zstd": "^1.1.0 || ^2.0.0", "gcp-metadata": "^5.2.0", "kerberos": "^2.0.1", "mongodb-client-encryption": ">=6.0.0 <7", @@ -29592,52 +29592,6 @@ "url": "https://opencollective.com/mongoose" } }, - "node_modules/mongoose/node_modules/mongodb": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz", - "integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==", - "license": "Apache-2.0", - "dependencies": { - "@mongodb-js/saslprep": "^1.1.9", - "bson": "^6.10.1", - "mongodb-connection-string-url": "^3.0.0" - }, - "engines": { - "node": ">=16.20.1" - }, - "peerDependencies": { - "@aws-sdk/credential-providers": "^3.188.0", - "@mongodb-js/zstd": "^1.1.0 || ^2.0.0", - "gcp-metadata": "^5.2.0", - "kerberos": "^2.0.1", - "mongodb-client-encryption": ">=6.0.0 <7", - "snappy": "^7.2.2", - "socks": "^2.7.1" - }, - "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 - } - } - }, "node_modules/morgan": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz", @@ -41442,7 +41396,7 @@ "minimist": "^1.2.7", "mixpanel": "^0.13.0", "moment": "^2.29.4", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "p-limit": "^2.3.0", "pg": "^8.7.1", "pg-copy-streams": "^2.2.2", @@ -41492,7 +41446,7 @@ "body-parser": "^1.20.3", "exegesis-express": "^4.0.0", "express": "^4.21.0", - "mongodb": "6.10.0" + "mongodb": "6.12.0" }, "devDependencies": { "acorn": "^7.1.1", @@ -41622,7 +41576,7 @@ "body-parser": "^1.20.3", "bunyan": "^1.8.15", "express": "^4.21.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "request": "~2.88.2", "underscore": "~1.13.1" }, @@ -41804,7 +41758,7 @@ "chai": "^4.3.6", "chai-as-promised": "^7.1.1", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "sandboxed-module": "2.0.4", "sinon": "9.0.2", "sinon-chai": "^3.7.0", @@ -41952,7 +41906,7 @@ "jsonwebtoken": "^9.0.0", "knex": "^2.4.0", "lodash": "^4.17.19", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "overleaf-editor-core": "*", "pg": "^8.7.1", "pg-query-stream": "^4.2.4", @@ -43157,7 +43111,7 @@ "chai-as-promised": "^7.1.1", "esmock": "^2.6.9", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "sinon": "^9.2.4", "typescript": "^5.0.4" } @@ -50922,7 +50876,7 @@ "mixpanel": "^0.13.0", "mocha": "^10.2.0", "moment": "^2.29.4", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "p-limit": "^2.3.0", "pg": "^8.7.1", "pg-copy-streams": "^2.2.2", @@ -50963,7 +50917,7 @@ "exegesis-express": "^4.0.0", "express": "^4.21.0", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "request": "^2.88.2", "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", @@ -51084,7 +51038,7 @@ "esmock": "^2.6.3", "express": "^4.21.0", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "request": "~2.88.2", "sinon": "~9.0.1", "sinon-chai": "^3.7.0", @@ -51289,7 +51243,7 @@ "glob": "^7.1.6", "lodash.once": "^4.1.1", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "node-fetch": "^2.7.0", "range-parser": "^1.2.1", "sandboxed-module": "2.0.4", @@ -51436,7 +51390,7 @@ "requires": { "chai": "^4.3.6", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "mongodb-legacy": "6.1.3", "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", @@ -51490,7 +51444,7 @@ "glob": "^7.1.6", "mocha": "^10.2.0", "mock-fs": "^5.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "range-parser": "^1.2.1", "sandboxed-module": "^2.0.4", "sinon": "^9.2.4", @@ -51738,7 +51692,7 @@ "ioredis": "^4.16.1", "lodash": "^4.17.19", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "sinon": "^9.2.4", "typescript": "^5.0.4" }, @@ -69739,12 +69693,12 @@ } }, "mongodb": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.10.0.tgz", - "integrity": "sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz", + "integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==", "requires": { - "@mongodb-js/saslprep": "^1.1.5", - "bson": "^6.7.0", + "@mongodb-js/saslprep": "^1.1.9", + "bson": "^6.10.1", "mongodb-connection-string-url": "^3.0.0" } }, @@ -69796,18 +69750,6 @@ "mquery": "5.0.0", "ms": "2.1.3", "sift": "17.1.3" - }, - "dependencies": { - "mongodb": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.12.0.tgz", - "integrity": "sha512-RM7AHlvYfS7jv7+BXund/kR64DryVI+cHbVAy9P61fnb1RcWZqOW1/Wj2YhqMCx+MuYhqTRGv7AwHBzmsCKBfA==", - "requires": { - "@mongodb-js/saslprep": "^1.1.9", - "bson": "^6.10.1", - "mongodb-connection-string-url": "^3.0.0" - } - } } }, "morgan": { @@ -70813,7 +70755,7 @@ "knex": "^2.4.0", "lodash": "^4.17.19", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "node-fetch": "^2.7.0", "overleaf-editor-core": "*", "pg": "^8.7.1", diff --git a/services/chat/package.json b/services/chat/package.json index 1540137434..5427a7c824 100644 --- a/services/chat/package.json +++ b/services/chat/package.json @@ -25,7 +25,7 @@ "body-parser": "^1.20.3", "exegesis-express": "^4.0.0", "express": "^4.21.0", - "mongodb": "6.10.0" + "mongodb": "6.12.0" }, "devDependencies": { "acorn": "^7.1.1", diff --git a/services/contacts/package.json b/services/contacts/package.json index 5b30175c66..055ff6ccc2 100644 --- a/services/contacts/package.json +++ b/services/contacts/package.json @@ -25,7 +25,7 @@ "body-parser": "^1.20.3", "bunyan": "^1.8.15", "express": "^4.21.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "request": "~2.88.2", "underscore": "~1.13.1" }, diff --git a/services/filestore/package.json b/services/filestore/package.json index 5eab300b4f..eb12e2e23a 100644 --- a/services/filestore/package.json +++ b/services/filestore/package.json @@ -39,7 +39,7 @@ "chai": "^4.3.6", "chai-as-promised": "^7.1.1", "mocha": "^10.2.0", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "sandboxed-module": "2.0.4", "sinon": "9.0.2", "sinon-chai": "^3.7.0", diff --git a/services/history-v1/package.json b/services/history-v1/package.json index a207ea4eb0..ddb68151a6 100644 --- a/services/history-v1/package.json +++ b/services/history-v1/package.json @@ -32,7 +32,7 @@ "jsonwebtoken": "^9.0.0", "knex": "^2.4.0", "lodash": "^4.17.19", - "mongodb": "6.10.0", + "mongodb": "6.12.0", "overleaf-editor-core": "*", "pg": "^8.7.1", "pg-query-stream": "^4.2.4",