Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 57 additions & 57 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/compass-aggregations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"hadron-document": "^8.9.6",
"hadron-type-checker": "^7.4.18",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-collection-model": "^5.31.2",
"mongodb-data-service": "^22.30.2",
"mongodb-database-model": "^2.31.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@mongodb-js/mongodb-constants": "^0.14.0",
"compass-preferences-model": "^2.51.0",
"hadron-document": "^8.9.6",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-collection-model": "^5.31.2",
"mongodb-ns": "^2.4.2",
"mongodb-schema": "^12.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-connections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"bson": "^6.10.4",
"compass-preferences-model": "^2.51.0",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-data-service": "^22.30.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"hadron-type-checker": "^7.4.18",
"jsondiffpatch": "^0.5.0",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-data-service": "^22.30.2",
"mongodb-ns": "^2.4.2",
"mongodb-query-parser": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-data-modeling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"compass-preferences-model": "^2.51.0",
"html-to-image": "1.11.11",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-ns": "^2.4.2",
"mongodb-schema": "^12.6.2",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"hadron-build": "^25.8.11",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-log-writer": "^2.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-explain-plan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"d3-flextree": "^2.1.2",
"d3-hierarchy": "^3.1.2",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"react": "^17.0.2",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-generative-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@mongodb-js/compass-utils": "^0.9.11",
"bson": "^6.10.4",
"compass-preferences-model": "^2.51.0",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-schema": "^12.6.2",
"react": "^17.0.2",
"react-redux": "^8.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-import-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"hadron-document": "^8.9.6",
"hadron-ipc": "^3.5.11",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-data-service": "^22.30.2",
"mongodb-ns": "^2.4.2",
"mongodb-query-parser": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-indexes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"bson": "^6.10.4",
"compass-preferences-model": "^2.51.0",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-collection-model": "^5.31.2",
"mongodb-data-service": "^22.30.2",
"mongodb-mql-engines": "^0.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-query-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"bson": "^6.10.4",
"compass-preferences-model": "^2.51.0",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-instance-model": "^12.43.0",
"mongodb-ns": "^2.4.2",
"mongodb-query-parser": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-schema-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"compass-preferences-model": "^2.51.0",
"javascript-stringify": "^2.0.1",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-ns": "^2.4.2",
"mongodb-query-parser": "^4.3.0",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"leaflet-defaulticon-compatibility": "^0.1.1",
"leaflet-draw": "^1.0.4",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-query-util": "^2.5.6",
"mongodb-schema": "^12.6.2",
"numeral": "^1.5.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-sidebar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@mongodb-js/mongodb-constants": "^0.14.0",
"compass-preferences-model": "^2.51.0",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-instance-model": "^12.43.0",
"mongodb-ns": "^2.4.2",
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"is-ip": "^5.0.1",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-data-service": "^22.30.2",
"mongodb-log-writer": "^2.3.4",
"mongodb-ns": "^2.4.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/compass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"clipboard": "^2.0.6",
"kerberos": "^2.2.1",
"keytar": "^7.9.0",
"mongodb-client-encryption": "^6.3.0",
"mongodb-client-encryption": "^6.5.0",
"native-machine-id": "^0.1.1",
"os-dns-native": "^1.2.1",
"system-ca": "^2.0.0"
Expand Down Expand Up @@ -262,7 +262,7 @@
"hadron-ipc": "^3.5.11",
"make-fetch-happen": "^10.2.1",
"minimatch": "^10.0.1",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-build-info": "^1.7.2",
"mongodb-cloud-info": "^2.1.7",
"mongodb-connection-string-url": "^3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/connection-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mongodb-js/connection-info": "^0.17.2",
"@mongodb-js/shell-bson-parser": "^1.2.0",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-data-service": "^22.30.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/connection-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-data-service": "^22.30.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/data-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@mongodb-js/devtools-proxy-support": "^0.5.2",
"bson": "^6.10.4",
"lodash": "^4.17.21",
"mongodb": "^6.17.0",
"mongodb": "^6.19.0",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-ns": "^2.4.2"
Expand All @@ -84,6 +84,6 @@
"typescript": "^5.9.2"
},
"optionalDependencies": {
"mongodb-client-encryption": "^6.3.0"
"mongodb-client-encryption": "^6.5.0"
}
}
7 changes: 6 additions & 1 deletion packages/data-service/src/connect-mongo-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,12 @@ export async function connectMongoClientDataService({
connectLogger,
CompassMongoClient
);
await runCommand(client.db('admin'), { ping: 1 });
try {
await runCommand(client.db('admin'), { ping: 1 });
} catch (err) {
await client.close().catch(() => {});
throw err;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nbbeeken I think this bit here was always incorrect, so it's good that the driver bump forces us to fix it, but it's still interesting that failing the ping didn't keep the event loop alive in older versions of the driver

return {
client: Object.assign(client, {
async [createClonedClient]() {
Expand Down
2 changes: 1 addition & 1 deletion packages/hadron-document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"eventemitter3": "^4.0.0",
"hadron-type-checker": "^7.4.18",
"lodash": "^4.17.21",
"mongodb": "^6.17.0"
"mongodb": "^6.19.0"
},
"devDependencies": {
"@mongodb-js/eslint-config-compass": "^1.4.7",
Expand Down
Loading