Skip to content

Commit c8e2697

Browse files
authored
chore: bump driver to 6.18.0, bson to 6.10.4 MONGOSH-2413 (#2511)
Bumps the node driver to the latest version, removes the force option from mongosh close as the driver now closes connections automatically.
1 parent 5103977 commit c8e2697

30 files changed

+63
-165
lines changed

package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"glob": "^10.3.12",
117117
"husky": "^9.0.11",
118118
"mocha": "^10.2.0",
119-
"mongodb": "^6.16.0",
119+
"mongodb": "^6.18.0",
120120
"mongodb-runner": "^5.7.1",
121121
"node-gyp": "^9.0.0 || ^10.2.0",
122122
"nyc": "^15.1.0",

packages/arg-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
4747
"depcheck": "^1.4.7",
4848
"eslint": "^7.25.0",
49-
"mongodb": "^6.16.0",
49+
"mongodb": "^6.18.0",
5050
"prettier": "^2.8.8"
5151
}
5252
}

packages/browser-repl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@babel/plugin-proposal-class-properties": "^7.18.6",
7272
"@babel/preset-react": "^7.26.3",
7373
"@babel/preset-typescript": "^7.27.0",
74-
"mongodb": "^6.16.0",
74+
"mongodb": "^6.18.0",
7575
"@mongodb-js/compass-components": "*",
7676
"@mongodb-js/compass-editor": "*",
7777
"@mongodb-js/eslint-config-mongosh": "^1.0.0",

packages/browser-runtime-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
4444
"@mongodb-js/mongodb-ts-autocomplete": "^0.4.4",
4545
"@mongosh/types": "3.10.0",
46-
"bson": "^6.10.3",
46+
"bson": "^6.10.4",
4747
"depcheck": "^1.4.7",
4848
"eslint": "^7.25.0",
4949
"prettier": "^2.8.8",

packages/cli-repl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"glibc-version": "^1.0.0"
9696
},
9797
"devDependencies": {
98-
"mongodb": "^6.16.0",
98+
"mongodb": "^6.18.0",
9999
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
100100
"@mongodb-js/prettier-config-devtools": "^1.0.1",
101101
"@mongodb-js/sbom-tools": "^0.8.1",

packages/cli-repl/src/mongosh-repl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ class MongoshNodeRepl implements EvaluationListener {
11511151
rs.repl.close();
11521152
await once(rs.repl, 'exit');
11531153
}
1154-
await rs.instanceState.close(true);
1154+
await rs.instanceState.close();
11551155
await new Promise((resolve) =>
11561156
this.output.write(this.outputFinishString, resolve)
11571157
);

packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
"@types/chai-as-promised": "^7.1.3",
4242
"@types/node": "^22.15.30",
4343
"@types/rimraf": "^3.0.0",
44-
"bson": "^6.10.3",
44+
"bson": "^6.10.4",
4545
"chai-as-promised": "^7.1.1",
4646
"depcheck": "^1.4.7",
4747
"eslint": "^7.25.0",
4848
"lodash": "^4.17.21",
4949
"moment": "^2.29.1",
50-
"mongodb": "^6.16.0",
50+
"mongodb": "^6.18.0",
5151
"node-fetch": "^3.3.2",
5252
"prettier": "^2.8.8",
5353
"rimraf": "^3.0.2"

packages/node-runtime-worker-thread/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"@mongosh/service-provider-core": "3.3.5",
4646
"@mongosh/service-provider-node-driver": "^3.12.0",
4747
"@mongosh/types": "3.10.0",
48-
"bson": "^6.10.3",
48+
"bson": "^6.10.4",
4949
"depcheck": "^1.4.7",
5050
"eslint": "^7.25.0",
5151
"mocha": "^10.2.0",

packages/service-provider-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"dependencies": {
4646
"@aws-sdk/credential-providers": "^3.525.0",
4747
"@mongosh/errors": "2.4.2",
48-
"bson": "^6.10.3",
49-
"mongodb": "^6.16.0",
48+
"bson": "^6.10.4",
49+
"mongodb": "^6.18.0",
5050
"mongodb-build-info": "^1.7.2",
5151
"mongodb-connection-string-url": "^3.0.1",
5252
"mongodb-client-encryption": "^6.3.0"

0 commit comments

Comments
 (0)