From c62a5e539f960fb9268dcbc5465beeb2b2f47d1b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Jul 2025 13:39:35 +0000 Subject: [PATCH] chore: update dependency mongodb to v6 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 181 +++++++++++++++++++++++++++++----------------- package.json | 2 +- 2 files changed, 114 insertions(+), 69 deletions(-) diff --git a/package-lock.json b/package-lock.json index 121143687..7fc8bfa24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "bson": "^1.1.6", "debug": "^4.4.1", "loopback-connector": "^5.3.3", - "mongodb": "^5.9.2", + "mongodb": "^6.18.0", "strong-globalize": "^6.0.6" }, "devDependencies": { @@ -1635,7 +1635,6 @@ "node_modules/@mongodb-js/saslprep": { "version": "1.2.2", "license": "MIT", - "optional": true, "dependencies": { "sparse-bitfield": "^3.0.3" } @@ -2307,17 +2306,19 @@ }, "node_modules/@types/node": { "version": "20.5.1", + "dev": true, "license": "MIT" }, "node_modules/@types/webidl-conversions": { "version": "7.0.3", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz", + "integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==" }, "node_modules/@types/whatwg-url": { - "version": "8.2.2", - "license": "MIT", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz", + "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==", "dependencies": { - "@types/node": "*", "@types/webidl-conversions": "*" } }, @@ -3769,6 +3770,8 @@ "node_modules/ip-address": { "version": "9.0.5", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "jsbn": "1.1.0", "sprintf-js": "^1.1.3" @@ -3779,7 +3782,9 @@ }, "node_modules/ip-address/node_modules/sprintf-js": { "version": "1.1.3", - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "optional": true, + "peer": true }, "node_modules/is-arrayish": { "version": "0.2.1", @@ -4033,7 +4038,9 @@ }, "node_modules/jsbn": { "version": "1.1.0", - "license": "MIT" + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/jsesc": { "version": "3.1.0", @@ -4353,8 +4360,7 @@ }, "node_modules/memory-pager": { "version": "1.5.0", - "license": "MIT", - "optional": true + "license": "MIT" }, "node_modules/meow": { "version": "12.1.1", @@ -4546,25 +4552,25 @@ } }, "node_modules/mongodb": { - "version": "5.9.2", - "license": "Apache-2.0", + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.18.0.tgz", + "integrity": "sha512-fO5ttN9VC8P0F5fqtQmclAkgXZxbIkYRTUi1j8JO6IYwvamkhtYDilJr35jOPELR49zqCJgXZWwCtW7B+TM8vQ==", "dependencies": { - "bson": "^5.5.0", - "mongodb-connection-string-url": "^2.6.0", - "socks": "^2.7.1" + "@mongodb-js/saslprep": "^1.1.9", + "bson": "^6.10.4", + "mongodb-connection-string-url": "^3.0.0" }, "engines": { - "node": ">=14.20.1" - }, - "optionalDependencies": { - "@mongodb-js/saslprep": "^1.1.0" + "node": ">=16.20.1" }, "peerDependencies": { "@aws-sdk/credential-providers": "^3.188.0", - "@mongodb-js/zstd": "^1.0.0", - "kerberos": "^1.0.0 || ^2.0.0", - "mongodb-client-encryption": ">=2.3.0 <3", - "snappy": "^7.2.2" + "@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": { @@ -4573,6 +4579,9 @@ "@mongodb-js/zstd": { "optional": true }, + "gcp-metadata": { + "optional": true + }, "kerberos": { "optional": true }, @@ -4581,22 +4590,27 @@ }, "snappy": { "optional": true + }, + "socks": { + "optional": true } } }, "node_modules/mongodb-connection-string-url": { - "version": "2.6.0", - "license": "Apache-2.0", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.2.tgz", + "integrity": "sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==", "dependencies": { - "@types/whatwg-url": "^8.2.1", - "whatwg-url": "^11.0.0" + "@types/whatwg-url": "^11.0.2", + "whatwg-url": "^14.1.0 || ^13.0.0" } }, "node_modules/mongodb/node_modules/bson": { - "version": "5.5.1", - "license": "Apache-2.0", + "version": "6.10.4", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.4.tgz", + "integrity": "sha512-WIsKqkSC0ABoBJuT1LEX+2HEvNmNKKgnTAyd0fL8qzK4SH2i9NXg+t08YtdZp/V9IZ33cxe3iV4yM0qg8lMQng==", "engines": { - "node": ">=14.20.1" + "node": ">=16.20.1" } }, "node_modules/ms": { @@ -5206,8 +5220,9 @@ } }, "node_modules/punycode": { - "version": "2.1.1", - "license": "MIT", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "engines": { "node": ">=6" } @@ -5550,6 +5565,8 @@ "node_modules/smart-buffer": { "version": "4.2.0", "license": "MIT", + "optional": true, + "peer": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -5567,6 +5584,8 @@ "node_modules/socks": { "version": "2.8.4", "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" @@ -5579,7 +5598,6 @@ "node_modules/sparse-bitfield": { "version": "3.0.3", "license": "MIT", - "optional": true, "dependencies": { "memory-pager": "^1.0.2" } @@ -5784,13 +5802,14 @@ "license": "MIT" }, "node_modules/tr46": { - "version": "3.0.0", - "license": "MIT", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz", + "integrity": "sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==", "dependencies": { - "punycode": "^2.1.1" + "punycode": "^2.3.1" }, "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/traverse": { @@ -5934,20 +5953,22 @@ }, "node_modules/webidl-conversions": { "version": "7.0.0", - "license": "BSD-2-Clause", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", "engines": { "node": ">=12" } }, "node_modules/whatwg-url": { - "version": "11.0.0", - "license": "MIT", + "version": "14.2.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz", + "integrity": "sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==", "dependencies": { - "tr46": "^3.0.0", + "tr46": "^5.1.0", "webidl-conversions": "^7.0.0" }, "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/which": { @@ -7272,7 +7293,6 @@ }, "@mongodb-js/saslprep": { "version": "1.2.2", - "optional": true, "requires": { "sparse-bitfield": "^3.0.3" } @@ -7762,15 +7782,19 @@ } }, "@types/node": { - "version": "20.5.1" + "version": "20.5.1", + "dev": true }, "@types/webidl-conversions": { - "version": "7.0.3" + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz", + "integrity": "sha512-CiJJvcRtIgzadHCYXw7dqEnMNRjhGZlYK05Mj9OyktqV8uVT8fD2BFOB7S1uwBE3Kj2Z+4UyPmFw/Ixgw/LAlA==" }, "@types/whatwg-url": { - "version": "8.2.2", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-11.0.5.tgz", + "integrity": "sha512-coYR071JRaHa+xoEvvYqvnIHaVqaYrLPbsufM9BF63HkwI5Lgmy2QR8Q5K/lYDYo5AK82wOvSOS0UsLTpTG7uQ==", "requires": { - "@types/node": "*", "@types/webidl-conversions": "*" } }, @@ -8689,13 +8713,17 @@ }, "ip-address": { "version": "9.0.5", + "optional": true, + "peer": true, "requires": { "jsbn": "1.1.0", "sprintf-js": "^1.1.3" }, "dependencies": { "sprintf-js": { - "version": "1.1.3" + "version": "1.1.3", + "optional": true, + "peer": true } } }, @@ -8857,7 +8885,9 @@ } }, "jsbn": { - "version": "1.1.0" + "version": "1.1.0", + "optional": true, + "peer": true }, "jsesc": { "version": "3.1.0", @@ -9079,8 +9109,7 @@ } }, "memory-pager": { - "version": "1.5.0", - "optional": true + "version": "1.5.0" }, "meow": { "version": "12.1.1", @@ -9194,24 +9223,29 @@ } }, "mongodb": { - "version": "5.9.2", + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.18.0.tgz", + "integrity": "sha512-fO5ttN9VC8P0F5fqtQmclAkgXZxbIkYRTUi1j8JO6IYwvamkhtYDilJr35jOPELR49zqCJgXZWwCtW7B+TM8vQ==", "requires": { - "@mongodb-js/saslprep": "^1.1.0", - "bson": "^5.5.0", - "mongodb-connection-string-url": "^2.6.0", - "socks": "^2.7.1" + "@mongodb-js/saslprep": "^1.1.9", + "bson": "^6.10.4", + "mongodb-connection-string-url": "^3.0.0" }, "dependencies": { "bson": { - "version": "5.5.1" + "version": "6.10.4", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.10.4.tgz", + "integrity": "sha512-WIsKqkSC0ABoBJuT1LEX+2HEvNmNKKgnTAyd0fL8qzK4SH2i9NXg+t08YtdZp/V9IZ33cxe3iV4yM0qg8lMQng==" } } }, "mongodb-connection-string-url": { - "version": "2.6.0", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-3.0.2.tgz", + "integrity": "sha512-rMO7CGo/9BFwyZABcKAWL8UJwH/Kc2x0g72uhDWzG48URRax5TCIcJ7Rc3RZqffZzO/Gwff/jyKwCU9TN8gehA==", "requires": { - "@types/whatwg-url": "^8.2.1", - "whatwg-url": "^11.0.0" + "@types/whatwg-url": "^11.0.2", + "whatwg-url": "^14.1.0 || ^13.0.0" } }, "ms": { @@ -9619,7 +9653,9 @@ } }, "punycode": { - "version": "2.1.1" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==" }, "qs": { "version": "6.10.1", @@ -9829,7 +9865,9 @@ } }, "smart-buffer": { - "version": "4.2.0" + "version": "4.2.0", + "optional": true, + "peer": true }, "snake-case": { "version": "3.0.4", @@ -9841,6 +9879,8 @@ }, "socks": { "version": "2.8.4", + "optional": true, + "peer": true, "requires": { "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" @@ -9848,7 +9888,6 @@ }, "sparse-bitfield": { "version": "3.0.3", - "optional": true, "requires": { "memory-pager": "^1.0.2" } @@ -9982,9 +10021,11 @@ "dev": true }, "tr46": { - "version": "3.0.0", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz", + "integrity": "sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==", "requires": { - "punycode": "^2.1.1" + "punycode": "^2.3.1" } }, "traverse": { @@ -10067,12 +10108,16 @@ "dev": true }, "webidl-conversions": { - "version": "7.0.0" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==" }, "whatwg-url": { - "version": "11.0.0", + "version": "14.2.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz", + "integrity": "sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==", "requires": { - "tr46": "^3.0.0", + "tr46": "^5.1.0", "webidl-conversions": "^7.0.0" } }, diff --git a/package.json b/package.json index c1b4c20f4..a10a4cb01 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "bson": "^1.1.6", "debug": "^4.4.1", "loopback-connector": "^5.3.3", - "mongodb": "^5.9.2", + "mongodb": "^6.18.0", "strong-globalize": "^6.0.6" }, "devDependencies": {